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 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_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_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_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 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
1668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1671 cat >>confdefs.h <<\_ACEOF
1678 cat >>confdefs.h <<\_ACEOF
1683 if test "x$TMP" = "xalpha"; then
1685 cat >>confdefs.h <<\_ACEOF
1690 DEFAULT_DEFAULT_wxUSE_GTK=1
1694 cat >>confdefs.h <<\_ACEOF
1699 if test "x$TMP" = "xalpha"; then
1701 cat >>confdefs.h <<\_ACEOF
1706 DEFAULT_DEFAULT_wxUSE_GTK=1
1708 *-*-irix5* | *-*-irix6* )
1711 cat >>confdefs.h <<\_ACEOF
1715 cat >>confdefs.h <<\_ACEOF
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1725 cat >>confdefs.h <<\_ACEOF
1729 cat >>confdefs.h <<\_ACEOF
1730 #define __SOLARIS__ 1
1733 cat >>confdefs.h <<\_ACEOF
1737 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1744 cat >>confdefs.h <<\_ACEOF
1748 cat >>confdefs.h <<\_ACEOF
1752 cat >>confdefs.h <<\_ACEOF
1756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1761 cat >>confdefs.h <<\_ACEOF
1762 #define __FREEBSD__ 1
1765 cat >>confdefs.h <<\_ACEOF
1769 DEFAULT_DEFAULT_wxUSE_GTK=1
1774 cat >>confdefs.h <<\_ACEOF
1775 #define __OPENBSD__ 1
1778 cat >>confdefs.h <<\_ACEOF
1782 DEFAULT_DEFAULT_wxUSE_GTK=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __NETBSD__ 1
1791 cat >>confdefs.h <<\_ACEOF
1795 DEFAULT_DEFAULT_wxUSE_GTK=1
1800 cat >>confdefs.h <<\_ACEOF
1804 cat >>confdefs.h <<\_ACEOF
1808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1809 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1814 cat >>confdefs.h <<\_ACEOF
1818 cat >>confdefs.h <<\_ACEOF
1822 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1827 cat >>confdefs.h <<\_ACEOF
1831 cat >>confdefs.h <<\_ACEOF
1835 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1842 cat >>confdefs.h <<\_ACEOF
1846 cat >>confdefs.h <<\_ACEOF
1850 cat >>confdefs.h <<\_ACEOF
1854 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __UNIXWARE__ 1
1867 *-*-cygwin* | *-*-mingw32* )
1871 DEFAULT_DEFAULT_wxUSE_MSW=1
1877 cat >>confdefs.h <<\_ACEOF
1882 DEFAULT_DEFAULT_wxUSE_MGL=1
1883 LIBS="$LIBS -lstdc++"
1886 *-pc-os2_emx | *-pc-os2-emx )
1887 cat >>confdefs.h <<\_ACEOF
1892 DEFAULT_DEFAULT_wxUSE_PM=1
1899 cat >>confdefs.h <<\_ACEOF
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __DARWIN__ 1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __POWERPC__ 1
1911 cat >>confdefs.h <<\_ACEOF
1912 #define TARGET_CARBON 1
1915 DEFAULT_DEFAULT_wxUSE_MAC=1
1920 cat >>confdefs.h <<\_ACEOF
1927 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1928 echo "$as_me: error: unknown system type ${host}." >&2;}
1929 { (exit 1); exit 1; }; }
1935 wx_arg_cache_file="configarg.cache"
1936 echo "loading argument cache $wx_arg_cache_file"
1937 rm -f ${wx_arg_cache_file}.tmp
1938 touch ${wx_arg_cache_file}.tmp
1939 touch ${wx_arg_cache_file}
1943 if test $DEBUG_CONFIGURE = 1; then
1944 DEFAULT_wxUSE_UNIVERSAL=no
1945 DEFAULT_wxUSE_STL=no
1947 DEFAULT_wxUSE_NANOX=no
1949 DEFAULT_wxUSE_THREADS=yes
1951 DEFAULT_wxUSE_SHARED=yes
1952 DEFAULT_wxUSE_OPTIMISE=no
1953 DEFAULT_wxUSE_PROFILE=no
1954 DEFAULT_wxUSE_NO_DEPS=no
1955 DEFAULT_wxUSE_NO_RTTI=no
1956 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1957 DEFAULT_wxUSE_PERMISSIVE=no
1958 DEFAULT_wxUSE_DEBUG_FLAG=yes
1959 DEFAULT_wxUSE_DEBUG_INFO=yes
1960 DEFAULT_wxUSE_DEBUG_GDB=yes
1961 DEFAULT_wxUSE_MEM_TRACING=no
1962 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1963 DEFAULT_wxUSE_DMALLOC=no
1964 DEFAULT_wxUSE_APPLE_IEEE=no
1966 DEFAULT_wxUSE_LOG=yes
1967 DEFAULT_wxUSE_LOGWINDOW=no
1968 DEFAULT_wxUSE_LOGGUI=no
1969 DEFAULT_wxUSE_LOGDIALOG=no
1971 DEFAULT_wxUSE_GUI=yes
1972 DEFAULT_wxUSE_CONTROLS=no
1974 DEFAULT_wxUSE_REGEX=no
1975 DEFAULT_wxUSE_XML=no
1976 DEFAULT_wxUSE_EXPAT=no
1977 DEFAULT_wxUSE_ZLIB=no
1978 DEFAULT_wxUSE_LIBPNG=no
1979 DEFAULT_wxUSE_LIBJPEG=no
1980 DEFAULT_wxUSE_LIBTIFF=no
1981 DEFAULT_wxUSE_ODBC=no
1982 DEFAULT_wxUSE_OPENGL=no
1984 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1985 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1986 DEFAULT_wxUSE_STD_IOSTREAM=no
1987 DEFAULT_wxUSE_CMDLINE_PARSER=no
1988 DEFAULT_wxUSE_DATETIME=no
1989 DEFAULT_wxUSE_TIMER=no
1990 DEFAULT_wxUSE_STOPWATCH=no
1991 DEFAULT_wxUSE_FILE=no
1992 DEFAULT_wxUSE_FFILE=no
1993 DEFAULT_wxUSE_TEXTBUFFER=no
1994 DEFAULT_wxUSE_TEXTFILE=no
1995 DEFAULT_wxUSE_WAVE=no
1996 DEFAULT_wxUSE_INTL=no
1997 DEFAULT_wxUSE_CONFIG=no
1998 DEFAULT_wxUSE_FONTMAP=no
1999 DEFAULT_wxUSE_STREAMS=no
2000 DEFAULT_wxUSE_SOCKETS=no
2001 DEFAULT_wxUSE_OLE=no
2002 DEFAULT_wxUSE_DATAOBJ=no
2003 DEFAULT_wxUSE_DIALUP_MANAGER=no
2004 DEFAULT_wxUSE_JOYSTICK=no
2005 DEFAULT_wxUSE_DYNLIB_CLASS=no
2006 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2007 DEFAULT_wxUSE_LONGLONG=no
2008 DEFAULT_wxUSE_GEOMETRY=no
2010 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2011 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2012 DEFAULT_wxUSE_POSTSCRIPT=no
2014 DEFAULT_wxUSE_CLIPBOARD=no
2015 DEFAULT_wxUSE_TOOLTIPS=no
2016 DEFAULT_wxUSE_DRAG_AND_DROP=no
2017 DEFAULT_wxUSE_DRAGIMAGE=no
2018 DEFAULT_wxUSE_SPLINES=no
2020 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2021 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2022 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2024 DEFAULT_wxUSE_RESOURCES=no
2025 DEFAULT_wxUSE_CONSTRAINTS=no
2026 DEFAULT_wxUSE_IPC=no
2027 DEFAULT_wxUSE_HELP=no
2028 DEFAULT_wxUSE_MS_HTML_HELP=no
2029 DEFAULT_wxUSE_WXHTML_HELP=no
2030 DEFAULT_wxUSE_TREELAYOUT=no
2031 DEFAULT_wxUSE_METAFILE=no
2032 DEFAULT_wxUSE_MIMETYPE=no
2033 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2034 DEFAULT_wxUSE_PROTOCOL=no
2035 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2036 DEFAULT_wxUSE_PROTOCOL_FTP=no
2037 DEFAULT_wxUSE_PROTOCOL_FILE=no
2038 DEFAULT_wxUSE_URL=no
2040 DEFAULT_wxUSE_COMMONDLGS=no
2041 DEFAULT_wxUSE_CHOICEDLG=no
2042 DEFAULT_wxUSE_COLOURDLG=no
2043 DEFAULT_wxUSE_DIRDLG=no
2044 DEFAULT_wxUSE_FILEDLG=no
2045 DEFAULT_wxUSE_FINDREPLDLG=no
2046 DEFAULT_wxUSE_FONTDLG=no
2047 DEFAULT_wxUSE_MSGDLG=no
2048 DEFAULT_wxUSE_NUMBERDLG=no
2049 DEFAULT_wxUSE_TEXTDLG=no
2050 DEFAULT_wxUSE_SPLASH=no
2051 DEFAULT_wxUSE_STARTUP_TIPS=no
2052 DEFAULT_wxUSE_PROGRESSDLG=no
2053 DEFAULT_wxUSE_WIZARDDLG=no
2055 DEFAULT_wxUSE_MENUS=no
2056 DEFAULT_wxUSE_MINIFRAME=no
2057 DEFAULT_wxUSE_HTML=no
2058 DEFAULT_wxUSE_FILESYSTEM=no
2059 DEFAULT_wxUSE_FS_INET=no
2060 DEFAULT_wxUSE_FS_ZIP=no
2061 DEFAULT_wxUSE_BUSYINFO=no
2062 DEFAULT_wxUSE_ZIPSTREAM=no
2063 DEFAULT_wxUSE_VALIDATORS=no
2065 DEFAULT_wxUSE_ACCEL=no
2066 DEFAULT_wxUSE_BUTTON=no
2067 DEFAULT_wxUSE_BMPBUTTON=no
2068 DEFAULT_wxUSE_CALCTRL=no
2069 DEFAULT_wxUSE_CARET=no
2070 DEFAULT_wxUSE_CHECKBOX=no
2071 DEFAULT_wxUSE_CHECKLST=no
2072 DEFAULT_wxUSE_CHOICE=no
2073 DEFAULT_wxUSE_COMBOBOX=no
2074 DEFAULT_wxUSE_DISPLAY=no
2075 DEFAULT_wxUSE_GAUGE=no
2076 DEFAULT_wxUSE_GRID=no
2077 DEFAULT_wxUSE_IMAGLIST=no
2078 DEFAULT_wxUSE_LISTBOX=no
2079 DEFAULT_wxUSE_LISTCTRL=no
2080 DEFAULT_wxUSE_NOTEBOOK=no
2081 DEFAULT_wxUSE_RADIOBOX=no
2082 DEFAULT_wxUSE_RADIOBTN=no
2083 DEFAULT_wxUSE_SASH=no
2084 DEFAULT_wxUSE_SCROLLBAR=no
2085 DEFAULT_wxUSE_SLIDER=no
2086 DEFAULT_wxUSE_SPINBTN=no
2087 DEFAULT_wxUSE_SPINCTRL=no
2088 DEFAULT_wxUSE_SPLITTER=no
2089 DEFAULT_wxUSE_STATBMP=no
2090 DEFAULT_wxUSE_STATBOX=no
2091 DEFAULT_wxUSE_STATLINE=no
2092 DEFAULT_wxUSE_STATTEXT=no
2093 DEFAULT_wxUSE_STATUSBAR=yes
2094 DEFAULT_wxUSE_TABDIALOG=no
2095 DEFAULT_wxUSE_TEXTCTRL=no
2096 DEFAULT_wxUSE_TOGGLEBTN=no
2097 DEFAULT_wxUSE_TOOLBAR=no
2098 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2099 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2100 DEFAULT_wxUSE_TREECTRL=no
2101 DEFAULT_wxUSE_POPUPWIN=no
2102 DEFAULT_wxUSE_TIPWINDOW=no
2104 DEFAULT_wxUSE_UNICODE=no
2105 DEFAULT_wxUSE_UNICODE_MSLU=no
2106 DEFAULT_wxUSE_WCSRTOMBS=no
2108 DEFAULT_wxUSE_PALETTE=no
2109 DEFAULT_wxUSE_IMAGE=no
2110 DEFAULT_wxUSE_GIF=no
2111 DEFAULT_wxUSE_PCX=no
2112 DEFAULT_wxUSE_PNM=no
2113 DEFAULT_wxUSE_IFF=no
2114 DEFAULT_wxUSE_XPM=no
2115 DEFAULT_wxUSE_ICO_CUR=no
2116 DEFAULT_wxUSE_ACCESSIBILITY=no
2118 DEFAULT_wxUSE_MONOLITHIC=no
2119 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2121 DEFAULT_wxUSE_UNIVERSAL=no
2122 DEFAULT_wxUSE_STL=no
2124 DEFAULT_wxUSE_NANOX=no
2126 DEFAULT_wxUSE_THREADS=yes
2128 DEFAULT_wxUSE_SHARED=yes
2129 DEFAULT_wxUSE_OPTIMISE=yes
2130 DEFAULT_wxUSE_PROFILE=no
2131 DEFAULT_wxUSE_NO_DEPS=no
2132 DEFAULT_wxUSE_NO_RTTI=no
2133 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2134 DEFAULT_wxUSE_PERMISSIVE=no
2135 DEFAULT_wxUSE_DEBUG_FLAG=no
2136 DEFAULT_wxUSE_DEBUG_INFO=no
2137 DEFAULT_wxUSE_DEBUG_GDB=no
2138 DEFAULT_wxUSE_MEM_TRACING=no
2139 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2140 DEFAULT_wxUSE_DMALLOC=no
2141 DEFAULT_wxUSE_APPLE_IEEE=yes
2143 DEFAULT_wxUSE_LOG=yes
2144 DEFAULT_wxUSE_LOGWINDOW=yes
2145 DEFAULT_wxUSE_LOGGUI=yes
2146 DEFAULT_wxUSE_LOGDIALOG=yes
2148 DEFAULT_wxUSE_GUI=yes
2150 DEFAULT_wxUSE_REGEX=yes
2151 DEFAULT_wxUSE_XML=yes
2152 DEFAULT_wxUSE_EXPAT=yes
2153 DEFAULT_wxUSE_ZLIB=yes
2154 DEFAULT_wxUSE_LIBPNG=yes
2155 DEFAULT_wxUSE_LIBJPEG=yes
2156 DEFAULT_wxUSE_LIBTIFF=yes
2157 DEFAULT_wxUSE_ODBC=no
2158 DEFAULT_wxUSE_OPENGL=no
2160 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2161 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2162 DEFAULT_wxUSE_STD_IOSTREAM=no
2163 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2164 DEFAULT_wxUSE_DATETIME=yes
2165 DEFAULT_wxUSE_TIMER=yes
2166 DEFAULT_wxUSE_STOPWATCH=yes
2167 DEFAULT_wxUSE_FILE=yes
2168 DEFAULT_wxUSE_FFILE=yes
2169 DEFAULT_wxUSE_TEXTBUFFER=yes
2170 DEFAULT_wxUSE_TEXTFILE=yes
2171 DEFAULT_wxUSE_WAVE=no
2172 DEFAULT_wxUSE_INTL=yes
2173 DEFAULT_wxUSE_CONFIG=yes
2174 DEFAULT_wxUSE_FONTMAP=yes
2175 DEFAULT_wxUSE_STREAMS=yes
2176 DEFAULT_wxUSE_SOCKETS=yes
2177 DEFAULT_wxUSE_OLE=yes
2178 DEFAULT_wxUSE_DATAOBJ=yes
2179 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2180 DEFAULT_wxUSE_JOYSTICK=yes
2181 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2182 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2183 DEFAULT_wxUSE_LONGLONG=yes
2184 DEFAULT_wxUSE_GEOMETRY=yes
2186 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2187 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2188 DEFAULT_wxUSE_POSTSCRIPT=yes
2190 DEFAULT_wxUSE_CLIPBOARD=yes
2191 DEFAULT_wxUSE_TOOLTIPS=yes
2192 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2193 DEFAULT_wxUSE_DRAGIMAGE=yes
2194 DEFAULT_wxUSE_SPLINES=yes
2196 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2197 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2198 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2200 DEFAULT_wxUSE_RESOURCES=no
2201 DEFAULT_wxUSE_CONSTRAINTS=yes
2202 DEFAULT_wxUSE_IPC=yes
2203 DEFAULT_wxUSE_HELP=yes
2204 DEFAULT_wxUSE_MS_HTML_HELP=yes
2205 DEFAULT_wxUSE_WXHTML_HELP=yes
2206 DEFAULT_wxUSE_TREELAYOUT=yes
2207 DEFAULT_wxUSE_METAFILE=yes
2208 DEFAULT_wxUSE_MIMETYPE=yes
2209 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2210 DEFAULT_wxUSE_PROTOCOL=yes
2211 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2212 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2213 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2214 DEFAULT_wxUSE_URL=yes
2216 DEFAULT_wxUSE_COMMONDLGS=yes
2217 DEFAULT_wxUSE_CHOICEDLG=yes
2218 DEFAULT_wxUSE_COLOURDLG=yes
2219 DEFAULT_wxUSE_DIRDLG=yes
2220 DEFAULT_wxUSE_FILEDLG=yes
2221 DEFAULT_wxUSE_FINDREPLDLG=yes
2222 DEFAULT_wxUSE_FONTDLG=yes
2223 DEFAULT_wxUSE_MSGDLG=yes
2224 DEFAULT_wxUSE_NUMBERDLG=yes
2225 DEFAULT_wxUSE_TEXTDLG=yes
2226 DEFAULT_wxUSE_SPLASH=yes
2227 DEFAULT_wxUSE_STARTUP_TIPS=yes
2228 DEFAULT_wxUSE_PROGRESSDLG=yes
2229 DEFAULT_wxUSE_WIZARDDLG=yes
2231 DEFAULT_wxUSE_MENUS=yes
2232 DEFAULT_wxUSE_MINIFRAME=yes
2233 DEFAULT_wxUSE_HTML=yes
2234 DEFAULT_wxUSE_FILESYSTEM=yes
2235 DEFAULT_wxUSE_FS_INET=yes
2236 DEFAULT_wxUSE_FS_ZIP=yes
2237 DEFAULT_wxUSE_BUSYINFO=yes
2238 DEFAULT_wxUSE_ZIPSTREAM=yes
2239 DEFAULT_wxUSE_VALIDATORS=yes
2241 DEFAULT_wxUSE_ACCEL=yes
2242 DEFAULT_wxUSE_BUTTON=yes
2243 DEFAULT_wxUSE_BMPBUTTON=yes
2244 DEFAULT_wxUSE_CALCTRL=yes
2245 DEFAULT_wxUSE_CARET=yes
2246 DEFAULT_wxUSE_CHECKBOX=yes
2247 DEFAULT_wxUSE_CHECKLST=yes
2248 DEFAULT_wxUSE_CHOICE=yes
2249 DEFAULT_wxUSE_COMBOBOX=yes
2250 DEFAULT_wxUSE_DISPLAY=no
2251 DEFAULT_wxUSE_GAUGE=yes
2252 DEFAULT_wxUSE_GRID=yes
2253 DEFAULT_wxUSE_IMAGLIST=yes
2254 DEFAULT_wxUSE_LISTBOX=yes
2255 DEFAULT_wxUSE_LISTCTRL=yes
2256 DEFAULT_wxUSE_NOTEBOOK=yes
2257 DEFAULT_wxUSE_RADIOBOX=yes
2258 DEFAULT_wxUSE_RADIOBTN=yes
2259 DEFAULT_wxUSE_SASH=yes
2260 DEFAULT_wxUSE_SCROLLBAR=yes
2261 DEFAULT_wxUSE_SLIDER=yes
2262 DEFAULT_wxUSE_SPINBTN=yes
2263 DEFAULT_wxUSE_SPINCTRL=yes
2264 DEFAULT_wxUSE_SPLITTER=yes
2265 DEFAULT_wxUSE_STATBMP=yes
2266 DEFAULT_wxUSE_STATBOX=yes
2267 DEFAULT_wxUSE_STATLINE=yes
2268 DEFAULT_wxUSE_STATTEXT=yes
2269 DEFAULT_wxUSE_STATUSBAR=yes
2270 DEFAULT_wxUSE_TABDIALOG=no
2271 DEFAULT_wxUSE_TEXTCTRL=yes
2272 DEFAULT_wxUSE_TOGGLEBTN=yes
2273 DEFAULT_wxUSE_TOOLBAR=yes
2274 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2275 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2276 DEFAULT_wxUSE_TREECTRL=yes
2277 DEFAULT_wxUSE_POPUPWIN=yes
2278 DEFAULT_wxUSE_TIPWINDOW=yes
2280 DEFAULT_wxUSE_UNICODE=no
2281 DEFAULT_wxUSE_UNICODE_MSLU=yes
2282 DEFAULT_wxUSE_WCSRTOMBS=no
2284 DEFAULT_wxUSE_PALETTE=yes
2285 DEFAULT_wxUSE_IMAGE=yes
2286 DEFAULT_wxUSE_GIF=yes
2287 DEFAULT_wxUSE_PCX=yes
2288 DEFAULT_wxUSE_IFF=no
2289 DEFAULT_wxUSE_PNM=yes
2290 DEFAULT_wxUSE_XPM=yes
2291 DEFAULT_wxUSE_ICO_CUR=yes
2292 DEFAULT_wxUSE_ACCESSIBILITY=no
2294 DEFAULT_wxUSE_MONOLITHIC=no
2295 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2300 for toolkit in `echo $ALL_TOOLKITS`; do
2301 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2302 if test "x$LINE" != "x" ; then
2303 has_toolkit_in_cache=1
2304 eval "DEFAULT_$LINE"
2305 eval "CACHE_$toolkit=1"
2312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2313 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2315 # Check whether --enable-gui or --disable-gui was given.
2316 if test "${enable_gui+set}" = set; then
2317 enableval="$enable_gui"
2319 if test "$enableval" = yes; then
2320 ac_cv_use_gui='wxUSE_GUI
=yes'
2322 ac_cv_use_gui='wxUSE_GUI
=no
'
2327 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2328 if test "x$LINE" != x ; then
2329 eval "DEFAULT_$LINE"
2334 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2338 eval "$ac_cv_use_gui"
2339 if test "$no_cache" != 1; then
2340 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2343 if test "$wxUSE_GUI" = yes; then
2344 echo "$as_me:$LINENO: result: yes" >&5
2345 echo "${ECHO_T}yes" >&6
2347 echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6
2353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2354 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2356 # Check whether --enable-monolithic or --disable-monolithic was given.
2357 if test "${enable_monolithic+set}" = set; then
2358 enableval="$enable_monolithic"
2360 if test "$enableval" = yes; then
2361 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2363 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2368 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2369 if test "x$LINE" != x ; then
2370 eval "DEFAULT_$LINE"
2375 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2379 eval "$ac_cv_use_monolithic"
2380 if test "$no_cache" != 1; then
2381 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2384 if test "$wxUSE_MONOLITHIC" = yes; then
2385 echo "$as_me:$LINENO: result: yes" >&5
2386 echo "${ECHO_T}yes" >&6
2388 echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6
2393 if test "$wxUSE_GUI" = "yes"; then
2397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2398 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2400 # Check whether --enable-universal or --disable-universal was given.
2401 if test "${enable_universal+set}" = set; then
2402 enableval="$enable_universal"
2404 if test "$enableval" = yes; then
2405 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2407 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2412 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2413 if test "x$LINE" != x ; then
2414 eval "DEFAULT_$LINE"
2419 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2423 eval "$ac_cv_use_universal"
2424 if test "$no_cache" != 1; then
2425 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2428 if test "$wxUSE_UNIVERSAL" = yes; then
2429 echo "$as_me:$LINENO: result: yes" >&5
2430 echo "${ECHO_T}yes" >&6
2432 echo "$as_me:$LINENO: result: no" >&5
2433 echo "${ECHO_T}no" >&6
2437 # Check whether --with-gtk or --without-gtk was given.
2438 if test "${with_gtk+set}" = set; then
2440 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2443 # Check whether --with-motif or --without-motif was given.
2444 if test "${with_motif+set}" = set; then
2445 withval="$with_motif"
2446 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2449 # Check whether --with-mac or --without-mac was given.
2450 if test "${with_mac+set}" = set; then
2452 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2455 # Check whether --with-cocoa or --without-cocoa was given.
2456 if test "${with_cocoa+set}" = set; then
2457 withval="$with_cocoa"
2458 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2461 # Check whether --with-wine or --without-wine was given.
2462 if test "${with_wine+set}" = set; then
2463 withval="$with_wine"
2464 wxUSE_WINE="$withval" CACHE_WINE=1
2467 # Check whether --with-msw or --without-msw was given.
2468 if test "${with_msw+set}" = set; then
2470 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2473 # Check whether --with-pm or --without-pm was given.
2474 if test "${with_pm+set}" = set; then
2476 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2479 # Check whether --with-mgl or --without-mgl was given.
2480 if test "${with_mgl+set}" = set; then
2482 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2485 # Check whether --with-microwin or --without-microwin was given.
2486 if test "${with_microwin+set}" = set; then
2487 withval="$with_microwin"
2488 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2491 # Check whether --with-x11 or --without-x11 was given.
2492 if test "${with_x11+set}" = set; then
2494 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2499 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2501 # Check whether --enable-nanox or --disable-nanox was given.
2502 if test "${enable_nanox+set}" = set; then
2503 enableval="$enable_nanox"
2505 if test "$enableval" = yes; then
2506 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2508 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2513 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2514 if test "x$LINE" != x ; then
2515 eval "DEFAULT_$LINE"
2520 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2524 eval "$ac_cv_use_nanox"
2525 if test "$no_cache" != 1; then
2526 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2529 if test "$wxUSE_NANOX" = yes; then
2530 echo "$as_me:$LINENO: result: yes" >&5
2531 echo "${ECHO_T}yes" >&6
2533 echo "$as_me:$LINENO: result: no" >&5
2534 echo "${ECHO_T}no" >&6
2540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2541 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2543 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2544 if test "${enable_gtk2+set}" = set; then
2545 enableval="$enable_gtk2"
2547 if test "$enableval" = yes; then
2548 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2550 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2555 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2556 if test "x$LINE" != x ; then
2557 eval "DEFAULT_$LINE"
2562 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2566 eval "$ac_cv_use_gtk2"
2567 if test "$no_cache" != 1; then
2568 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2571 if test "$wxUSE_GTK2" = yes; then
2572 echo "$as_me:$LINENO: result: yes" >&5
2573 echo "${ECHO_T}yes" >&6
2575 echo "$as_me:$LINENO: result: no" >&5
2576 echo "${ECHO_T}no" >&6
2581 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2582 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2585 # Check whether --with-libpng or --without-libpng was given.
2586 if test "${with_libpng+set}" = set; then
2587 withval="$with_libpng"
2589 if test "$withval" = yes; then
2590 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2591 elif test "$withval" = no; then
2592 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2593 elif test "$withval" = sys; then
2594 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2595 elif test "$withval" = builtin; then
2596 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2598 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2599 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2600 { (exit 1); exit 1; }; }
2605 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2606 if test "x$LINE" != x ; then
2607 eval "DEFAULT_$LINE"
2612 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2616 eval "$ac_cv_use_libpng"
2617 if test "$no_cache" != 1; then
2618 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2621 if test "$wxUSE_LIBPNG" = yes; then
2622 echo "$as_me:$LINENO: result: yes" >&5
2623 echo "${ECHO_T}yes" >&6
2624 elif test "$wxUSE_LIBPNG" = no; then
2625 echo "$as_me:$LINENO: result: no" >&5
2626 echo "${ECHO_T}no" >&6
2627 elif test "$wxUSE_LIBPNG" = sys; then
2628 echo "$as_me:$LINENO: result: system version" >&5
2629 echo "${ECHO_T}system version" >&6
2630 elif test "$wxUSE_LIBPNG" = builtin; then
2631 echo "$as_me:$LINENO: result: builtin version" >&5
2632 echo "${ECHO_T}builtin version" >&6
2634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2635 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2636 { (exit 1); exit 1; }; }
2640 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2641 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2644 # Check whether --with-libjpeg or --without-libjpeg was given.
2645 if test "${with_libjpeg+set}" = set; then
2646 withval="$with_libjpeg"
2648 if test "$withval" = yes; then
2649 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2650 elif test "$withval" = no; then
2651 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2652 elif test "$withval" = sys; then
2653 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2654 elif test "$withval" = builtin; then
2655 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2657 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2658 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2659 { (exit 1); exit 1; }; }
2664 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x ; then
2666 eval "DEFAULT_$LINE"
2671 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2675 eval "$ac_cv_use_libjpeg"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2680 if test "$wxUSE_LIBJPEG" = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2683 elif test "$wxUSE_LIBJPEG" = no; then
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2686 elif test "$wxUSE_LIBJPEG" = sys; then
2687 echo "$as_me:$LINENO: result: system version" >&5
2688 echo "${ECHO_T}system version" >&6
2689 elif test "$wxUSE_LIBJPEG" = builtin; then
2690 echo "$as_me:$LINENO: result: builtin version" >&5
2691 echo "${ECHO_T}builtin version" >&6
2693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2694 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2695 { (exit 1); exit 1; }; }
2699 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2700 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2703 # Check whether --with-libtiff or --without-libtiff was given.
2704 if test "${with_libtiff+set}" = set; then
2705 withval="$with_libtiff"
2707 if test "$withval" = yes; then
2708 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2709 elif test "$withval" = no; then
2710 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2711 elif test "$withval" = sys; then
2712 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2713 elif test "$withval" = builtin; then
2714 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2717 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2718 { (exit 1); exit 1; }; }
2723 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2724 if test "x$LINE" != x ; then
2725 eval "DEFAULT_$LINE"
2730 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2734 eval "$ac_cv_use_libtiff"
2735 if test "$no_cache" != 1; then
2736 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2739 if test "$wxUSE_LIBTIFF" = yes; then
2740 echo "$as_me:$LINENO: result: yes" >&5
2741 echo "${ECHO_T}yes" >&6
2742 elif test "$wxUSE_LIBTIFF" = no; then
2743 echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6
2745 elif test "$wxUSE_LIBTIFF" = sys; then
2746 echo "$as_me:$LINENO: result: system version" >&5
2747 echo "${ECHO_T}system version" >&6
2748 elif test "$wxUSE_LIBTIFF" = builtin; then
2749 echo "$as_me:$LINENO: result: builtin version" >&5
2750 echo "${ECHO_T}builtin version" >&6
2752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2753 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2754 { (exit 1); exit 1; }; }
2758 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2759 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2762 # Check whether --with-opengl or --without-opengl was given.
2763 if test "${with_opengl+set}" = set; then
2764 withval="$with_opengl"
2766 if test "$withval" = yes; then
2767 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2769 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2774 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2775 if test "x$LINE" != x ; then
2776 eval "DEFAULT_$LINE"
2781 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2785 eval "$ac_cv_use_opengl"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2790 if test "$wxUSE_OPENGL" = yes; then
2791 echo "$as_me:$LINENO: result: yes" >&5
2792 echo "${ECHO_T}yes" >&6
2794 echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6
2802 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2803 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2806 # Check whether --with-dmalloc or --without-dmalloc was given.
2807 if test "${with_dmalloc+set}" = set; then
2808 withval="$with_dmalloc"
2810 if test "$withval" = yes; then
2811 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2813 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2818 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x ; then
2820 eval "DEFAULT_$LINE"
2825 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2829 eval "$ac_cv_use_dmalloc"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2834 if test "$wxUSE_DMALLOC" = yes; then
2835 echo "$as_me:$LINENO: result: yes" >&5
2836 echo "${ECHO_T}yes" >&6
2838 echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6
2843 echo "$as_me:$LINENO: checking for --with-regex" >&5
2844 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2847 # Check whether --with-regex or --without-regex was given.
2848 if test "${with_regex+set}" = set; then
2849 withval="$with_regex"
2851 if test "$withval" = yes; then
2852 ac_cv_use_regex='wxUSE_REGEX
=yes'
2853 elif test "$withval" = no; then
2854 ac_cv_use_regex='wxUSE_REGEX
=no
'
2855 elif test "$withval" = sys; then
2856 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2857 elif test "$withval" = builtin; then
2858 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2860 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2861 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2862 { (exit 1); exit 1; }; }
2867 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2868 if test "x$LINE" != x ; then
2869 eval "DEFAULT_$LINE"
2874 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2878 eval "$ac_cv_use_regex"
2879 if test "$no_cache" != 1; then
2880 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2883 if test "$wxUSE_REGEX" = yes; then
2884 echo "$as_me:$LINENO: result: yes" >&5
2885 echo "${ECHO_T}yes" >&6
2886 elif test "$wxUSE_REGEX" = no; then
2887 echo "$as_me:$LINENO: result: no" >&5
2888 echo "${ECHO_T}no" >&6
2889 elif test "$wxUSE_REGEX" = sys; then
2890 echo "$as_me:$LINENO: result: system version" >&5
2891 echo "${ECHO_T}system version" >&6
2892 elif test "$wxUSE_REGEX" = builtin; then
2893 echo "$as_me:$LINENO: result: builtin version" >&5
2894 echo "${ECHO_T}builtin version" >&6
2896 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2897 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2898 { (exit 1); exit 1; }; }
2902 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2903 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2906 # Check whether --with-zlib or --without-zlib was given.
2907 if test "${with_zlib+set}" = set; then
2908 withval="$with_zlib"
2910 if test "$withval" = yes; then
2911 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2912 elif test "$withval" = no; then
2913 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2914 elif test "$withval" = sys; then
2915 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2916 elif test "$withval" = builtin; then
2917 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2919 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2920 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2921 { (exit 1); exit 1; }; }
2926 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2927 if test "x$LINE" != x ; then
2928 eval "DEFAULT_$LINE"
2933 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2937 eval "$ac_cv_use_zlib"
2938 if test "$no_cache" != 1; then
2939 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2942 if test "$wxUSE_ZLIB" = yes; then
2943 echo "$as_me:$LINENO: result: yes" >&5
2944 echo "${ECHO_T}yes" >&6
2945 elif test "$wxUSE_ZLIB" = no; then
2946 echo "$as_me:$LINENO: result: no" >&5
2947 echo "${ECHO_T}no" >&6
2948 elif test "$wxUSE_ZLIB" = sys; then
2949 echo "$as_me:$LINENO: result: system version" >&5
2950 echo "${ECHO_T}system version" >&6
2951 elif test "$wxUSE_ZLIB" = builtin; then
2952 echo "$as_me:$LINENO: result: builtin version" >&5
2953 echo "${ECHO_T}builtin version" >&6
2955 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2956 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2957 { (exit 1); exit 1; }; }
2961 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2962 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2965 # Check whether --with-odbc or --without-odbc was given.
2966 if test "${with_odbc+set}" = set; then
2967 withval="$with_odbc"
2969 if test "$withval" = yes; then
2970 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2971 elif test "$withval" = no; then
2972 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2973 elif test "$withval" = sys; then
2974 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
2975 elif test "$withval" = builtin; then
2976 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
2978 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2979 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2980 { (exit 1); exit 1; }; }
2985 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2986 if test "x$LINE" != x ; then
2987 eval "DEFAULT_$LINE"
2992 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
2996 eval "$ac_cv_use_odbc"
2997 if test "$no_cache" != 1; then
2998 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3001 if test "$wxUSE_ODBC" = yes; then
3002 echo "$as_me:$LINENO: result: yes" >&5
3003 echo "${ECHO_T}yes" >&6
3004 elif test "$wxUSE_ODBC" = no; then
3005 echo "$as_me:$LINENO: result: no" >&5
3006 echo "${ECHO_T}no" >&6
3007 elif test "$wxUSE_ODBC" = sys; then
3008 echo "$as_me:$LINENO: result: system version" >&5
3009 echo "${ECHO_T}system version" >&6
3010 elif test "$wxUSE_ODBC" = builtin; then
3011 echo "$as_me:$LINENO: result: builtin version" >&5
3012 echo "${ECHO_T}builtin version" >&6
3014 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3015 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3016 { (exit 1); exit 1; }; }
3020 echo "$as_me:$LINENO: checking for --with-expat" >&5
3021 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3024 # Check whether --with-expat or --without-expat was given.
3025 if test "${with_expat+set}" = set; then
3026 withval="$with_expat"
3028 if test "$withval" = yes; then
3029 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3030 elif test "$withval" = no; then
3031 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3032 elif test "$withval" = sys; then
3033 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3034 elif test "$withval" = builtin; then
3035 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3037 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3038 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3039 { (exit 1); exit 1; }; }
3044 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x ; then
3046 eval "DEFAULT_$LINE"
3051 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3055 eval "$ac_cv_use_expat"
3056 if test "$no_cache" != 1; then
3057 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3060 if test "$wxUSE_EXPAT" = yes; then
3061 echo "$as_me:$LINENO: result: yes" >&5
3062 echo "${ECHO_T}yes" >&6
3063 elif test "$wxUSE_EXPAT" = no; then
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3066 elif test "$wxUSE_EXPAT" = sys; then
3067 echo "$as_me:$LINENO: result: system version" >&5
3068 echo "${ECHO_T}system version" >&6
3069 elif test "$wxUSE_EXPAT" = builtin; then
3070 echo "$as_me:$LINENO: result: builtin version" >&5
3071 echo "${ECHO_T}builtin version" >&6
3073 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3074 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3075 { (exit 1); exit 1; }; }
3082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3083 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3085 # Check whether --enable-shared or --disable-shared was given.
3086 if test "${enable_shared+set}" = set; then
3087 enableval="$enable_shared"
3089 if test "$enableval" = yes; then
3090 ac_cv_use_shared='wxUSE_SHARED
=yes'
3092 ac_cv_use_shared='wxUSE_SHARED
=no
'
3097 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x ; then
3099 eval "DEFAULT_$LINE"
3104 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3108 eval "$ac_cv_use_shared"
3109 if test "$no_cache" != 1; then
3110 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3113 if test "$wxUSE_SHARED" = yes; then
3114 echo "$as_me:$LINENO: result: yes" >&5
3115 echo "${ECHO_T}yes" >&6
3117 echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6
3123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3124 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3126 # Check whether --enable-optimise or --disable-optimise was given.
3127 if test "${enable_optimise+set}" = set; then
3128 enableval="$enable_optimise"
3130 if test "$enableval" = yes; then
3131 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3133 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3138 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x ; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3149 eval "$ac_cv_use_optimise"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3154 if test "$wxUSE_OPTIMISE" = yes; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3165 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3167 # Check whether --enable-debug or --disable-debug was given.
3168 if test "${enable_debug+set}" = set; then
3169 enableval="$enable_debug"
3171 if test "$enableval" = yes; then
3172 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3174 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3179 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x ; then
3181 eval "DEFAULT_$LINE"
3186 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3190 eval "$ac_cv_use_debug"
3191 if test "$no_cache" != 1; then
3192 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3195 if test "$wxUSE_DEBUG" = yes; then
3196 echo "$as_me:$LINENO: result: yes" >&5
3197 echo "${ECHO_T}yes" >&6
3199 echo "$as_me:$LINENO: result: no" >&5
3200 echo "${ECHO_T}no" >&6
3205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3208 # Check whether --enable-stl or --disable-stl was given.
3209 if test "${enable_stl+set}" = set; then
3210 enableval="$enable_stl"
3212 if test "$enableval" = yes; then
3213 ac_cv_use_stl='wxUSE_STL
=yes'
3215 ac_cv_use_stl='wxUSE_STL
=no
'
3220 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3221 if test "x$LINE" != x ; then
3222 eval "DEFAULT_$LINE"
3227 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3231 eval "$ac_cv_use_stl"
3232 if test "$no_cache" != 1; then
3233 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3236 if test "$wxUSE_STL" = yes; then
3237 echo "$as_me:$LINENO: result: yes" >&5
3238 echo "${ECHO_T}yes" >&6
3240 echo "$as_me:$LINENO: result: no" >&5
3241 echo "${ECHO_T}no" >&6
3245 if test "$wxUSE_DEBUG" = "yes"; then
3246 DEFAULT_wxUSE_DEBUG_FLAG=yes
3247 DEFAULT_wxUSE_DEBUG_INFO=yes
3249 elif test "$wxUSE_DEBUG" = "no"; then
3250 DEFAULT_wxUSE_DEBUG_FLAG=no
3251 DEFAULT_wxUSE_DEBUG_INFO=no
3257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3260 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3261 if test "${enable_debug_flag+set}" = set; then
3262 enableval="$enable_debug_flag"
3264 if test "$enableval" = yes; then
3265 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3267 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3272 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3273 if test "x$LINE" != x ; then
3274 eval "DEFAULT_$LINE"
3279 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3283 eval "$ac_cv_use_debug_flag"
3284 if test "$no_cache" != 1; then
3285 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3288 if test "$wxUSE_DEBUG_FLAG" = yes; then
3289 echo "$as_me:$LINENO: result: yes" >&5
3290 echo "${ECHO_T}yes" >&6
3292 echo "$as_me:$LINENO: result: no" >&5
3293 echo "${ECHO_T}no" >&6
3298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3299 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3301 # Check whether --enable-debug_info or --disable-debug_info was given.
3302 if test "${enable_debug_info+set}" = set; then
3303 enableval="$enable_debug_info"
3305 if test "$enableval" = yes; then
3306 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3308 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3313 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3314 if test "x$LINE" != x ; then
3315 eval "DEFAULT_$LINE"
3320 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3324 eval "$ac_cv_use_debug_info"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3329 if test "$wxUSE_DEBUG_INFO" = yes; then
3330 echo "$as_me:$LINENO: result: yes" >&5
3331 echo "${ECHO_T}yes" >&6
3333 echo "$as_me:$LINENO: result: no" >&5
3334 echo "${ECHO_T}no" >&6
3339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3340 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3342 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3343 if test "${enable_debug_gdb+set}" = set; then
3344 enableval="$enable_debug_gdb"
3346 if test "$enableval" = yes; then
3347 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3349 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3354 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3361 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3365 eval "$ac_cv_use_debug_gdb"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3370 if test "$wxUSE_DEBUG_GDB" = yes; then
3371 echo "$as_me:$LINENO: result: yes" >&5
3372 echo "${ECHO_T}yes" >&6
3374 echo "$as_me:$LINENO: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3381 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3383 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3384 if test "${enable_debug_cntxt+set}" = set; then
3385 enableval="$enable_debug_cntxt"
3387 if test "$enableval" = yes; then
3388 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3390 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3395 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3396 if test "x$LINE" != x ; then
3397 eval "DEFAULT_$LINE"
3402 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3406 eval "$ac_cv_use_debug_cntxt"
3407 if test "$no_cache" != 1; then
3408 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3411 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3412 echo "$as_me:$LINENO: result: yes" >&5
3413 echo "${ECHO_T}yes" >&6
3415 echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6
3421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3422 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3424 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3425 if test "${enable_mem_tracing+set}" = set; then
3426 enableval="$enable_mem_tracing"
3428 if test "$enableval" = yes; then
3429 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3431 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3436 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3437 if test "x$LINE" != x ; then
3438 eval "DEFAULT_$LINE"
3443 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3447 eval "$ac_cv_use_mem_tracing"
3448 if test "$no_cache" != 1; then
3449 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3452 if test "$wxUSE_MEM_TRACING" = yes; then
3453 echo "$as_me:$LINENO: result: yes" >&5
3454 echo "${ECHO_T}yes" >&6
3456 echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6
3462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3463 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3465 # Check whether --enable-profile or --disable-profile was given.
3466 if test "${enable_profile+set}" = set; then
3467 enableval="$enable_profile"
3469 if test "$enableval" = yes; then
3470 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3472 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3477 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3478 if test "x$LINE" != x ; then
3479 eval "DEFAULT_$LINE"
3484 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3488 eval "$ac_cv_use_profile"
3489 if test "$no_cache" != 1; then
3490 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3493 if test "$wxUSE_PROFILE" = yes; then
3494 echo "$as_me:$LINENO: result: yes" >&5
3495 echo "${ECHO_T}yes" >&6
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3504 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3506 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3507 if test "${enable_no_rtti+set}" = set; then
3508 enableval="$enable_no_rtti"
3510 if test "$enableval" = yes; then
3511 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3513 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3518 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x ; then
3520 eval "DEFAULT_$LINE"
3525 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3529 eval "$ac_cv_use_no_rtti"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3534 if test "$wxUSE_NO_RTTI" = yes; then
3535 echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3538 echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6
3544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3545 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3547 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3548 if test "${enable_no_exceptions+set}" = set; then
3549 enableval="$enable_no_exceptions"
3551 if test "$enableval" = yes; then
3552 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3554 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3559 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3560 if test "x$LINE" != x ; then
3561 eval "DEFAULT_$LINE"
3566 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3570 eval "$ac_cv_use_no_exceptions"
3571 if test "$no_cache" != 1; then
3572 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3575 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3576 echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6
3579 echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6
3585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3586 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3588 # Check whether --enable-permissive or --disable-permissive was given.
3589 if test "${enable_permissive+set}" = set; then
3590 enableval="$enable_permissive"
3592 if test "$enableval" = yes; then
3593 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3595 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3600 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x ; then
3602 eval "DEFAULT_$LINE"
3607 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3611 eval "$ac_cv_use_permissive"
3612 if test "$no_cache" != 1; then
3613 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3616 if test "$wxUSE_PERMISSIVE" = yes; then
3617 echo "$as_me:$LINENO: result: yes" >&5
3618 echo "${ECHO_T}yes" >&6
3620 echo "$as_me:$LINENO: result: no" >&5
3621 echo "${ECHO_T}no" >&6
3626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3627 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3629 # Check whether --enable-no_deps or --disable-no_deps was given.
3630 if test "${enable_no_deps+set}" = set; then
3631 enableval="$enable_no_deps"
3633 if test "$enableval" = yes; then
3634 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3636 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3641 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x ; then
3643 eval "DEFAULT_$LINE"
3648 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3652 eval "$ac_cv_use_no_deps"
3653 if test "$no_cache" != 1; then
3654 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3657 if test "$wxUSE_NO_DEPS" = yes; then
3658 echo "$as_me:$LINENO: result: yes" >&5
3659 echo "${ECHO_T}yes" >&6
3661 echo "$as_me:$LINENO: result: no" >&5
3662 echo "${ECHO_T}no" >&6
3668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3669 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3671 # Check whether --enable-compat20 or --disable-compat20 was given.
3672 if test "${enable_compat20+set}" = set; then
3673 enableval="$enable_compat20"
3675 if test "$enableval" = yes; then
3676 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=yes'
3678 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=no
'
3683 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x ; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
='$DEFAULT_WXWIN_COMPATIBILITY_2
3694 eval "$ac_cv_use_compat20"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3699 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3700 echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6
3703 echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6
3709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3710 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3712 # Check whether --enable-compat22 or --disable-compat22 was given.
3713 if test "${enable_compat22+set}" = set; then
3714 enableval="$enable_compat22"
3716 if test "$enableval" = yes; then
3717 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3719 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3724 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3731 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3735 eval "$ac_cv_use_compat22"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3740 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3741 echo "$as_me:$LINENO: result: yes" >&5
3742 echo "${ECHO_T}yes" >&6
3744 echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6
3749 enablestring=disable
3750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3751 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3753 # Check whether --enable-compat24 or --disable-compat24 was given.
3754 if test "${enable_compat24+set}" = set; then
3755 enableval="$enable_compat24"
3757 if test "$enableval" = yes; then
3758 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3760 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3765 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3766 if test "x$LINE" != x ; then
3767 eval "DEFAULT_$LINE"
3772 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3776 eval "$ac_cv_use_compat24"
3777 if test "$no_cache" != 1; then
3778 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3781 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3782 echo "$as_me:$LINENO: result: yes" >&5
3783 echo "${ECHO_T}yes" >&6
3785 echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6
3790 # Check whether --enable-rpath or --disable-rpath was given.
3791 if test "${enable_rpath+set}" = set; then
3792 enableval="$enable_rpath"
3793 wxRPATH_DIR="$enableval"
3796 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3797 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3807 # Check whether --enable-intl or --disable-intl was given.
3808 if test "${enable_intl+set}" = set; then
3809 enableval="$enable_intl"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_intl='wxUSE_INTL
=yes'
3814 ac_cv_use_intl='wxUSE_INTL
=no
'
3819 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3830 eval "$ac_cv_use_intl"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3835 if test "$wxUSE_INTL" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3848 # Check whether --enable-config or --disable-config was given.
3849 if test "${enable_config+set}" = set; then
3850 enableval="$enable_config"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_config='wxUSE_CONFIG
=yes'
3855 ac_cv_use_config='wxUSE_CONFIG
=no
'
3860 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3871 eval "$ac_cv_use_config"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3876 if test "$wxUSE_CONFIG" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3888 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3890 # Check whether --enable-protocols or --disable-protocols was given.
3891 if test "${enable_protocols+set}" = set; then
3892 enableval="$enable_protocols"
3894 if test "$enableval" = yes; then
3895 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3897 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3902 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x ; then
3904 eval "DEFAULT_$LINE"
3909 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3913 eval "$ac_cv_use_protocols"
3914 if test "$no_cache" != 1; then
3915 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3918 if test "$wxUSE_PROTOCOL" = yes; then
3919 echo "$as_me:$LINENO: result: yes" >&5
3920 echo "${ECHO_T}yes" >&6
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3929 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3931 # Check whether --enable-ftp or --disable-ftp was given.
3932 if test "${enable_ftp+set}" = set; then
3933 enableval="$enable_ftp"
3935 if test "$enableval" = yes; then
3936 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3938 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3943 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3944 if test "x$LINE" != x ; then
3945 eval "DEFAULT_$LINE"
3950 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3954 eval "$ac_cv_use_ftp"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3959 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3960 echo "$as_me:$LINENO: result: yes" >&5
3961 echo "${ECHO_T}yes" >&6
3963 echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6
3969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3970 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3972 # Check whether --enable-http or --disable-http was given.
3973 if test "${enable_http+set}" = set; then
3974 enableval="$enable_http"
3976 if test "$enableval" = yes; then
3977 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3979 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3984 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x ; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3995 eval "$ac_cv_use_http"
3996 if test "$no_cache" != 1; then
3997 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4000 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4001 echo "$as_me:$LINENO: result: yes" >&5
4002 echo "${ECHO_T}yes" >&6
4004 echo "$as_me:$LINENO: result: no" >&5
4005 echo "${ECHO_T}no" >&6
4010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4011 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4013 # Check whether --enable-fileproto or --disable-fileproto was given.
4014 if test "${enable_fileproto+set}" = set; then
4015 enableval="$enable_fileproto"
4017 if test "$enableval" = yes; then
4018 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4020 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4025 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x ; then
4027 eval "DEFAULT_$LINE"
4032 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4036 eval "$ac_cv_use_fileproto"
4037 if test "$no_cache" != 1; then
4038 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4041 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4042 echo "$as_me:$LINENO: result: yes" >&5
4043 echo "${ECHO_T}yes" >&6
4045 echo "$as_me:$LINENO: result: no" >&5
4046 echo "${ECHO_T}no" >&6
4051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4052 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4054 # Check whether --enable-sockets or --disable-sockets was given.
4055 if test "${enable_sockets+set}" = set; then
4056 enableval="$enable_sockets"
4058 if test "$enableval" = yes; then
4059 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4061 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4066 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4067 if test "x$LINE" != x ; then
4068 eval "DEFAULT_$LINE"
4073 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4077 eval "$ac_cv_use_sockets"
4078 if test "$no_cache" != 1; then
4079 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4082 if test "$wxUSE_SOCKETS" = yes; then
4083 echo "$as_me:$LINENO: result: yes" >&5
4084 echo "${ECHO_T}yes" >&6
4086 echo "$as_me:$LINENO: result: no" >&5
4087 echo "${ECHO_T}no" >&6
4092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4093 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4095 # Check whether --enable-ole or --disable-ole was given.
4096 if test "${enable_ole+set}" = set; then
4097 enableval="$enable_ole"
4099 if test "$enableval" = yes; then
4100 ac_cv_use_ole='wxUSE_OLE
=yes'
4102 ac_cv_use_ole='wxUSE_OLE
=no
'
4107 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x ; then
4109 eval "DEFAULT_$LINE"
4114 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4118 eval "$ac_cv_use_ole"
4119 if test "$no_cache" != 1; then
4120 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4123 if test "$wxUSE_OLE" = yes; then
4124 echo "$as_me:$LINENO: result: yes" >&5
4125 echo "${ECHO_T}yes" >&6
4127 echo "$as_me:$LINENO: result: no" >&5
4128 echo "${ECHO_T}no" >&6
4133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4134 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4136 # Check whether --enable-dataobj or --disable-dataobj was given.
4137 if test "${enable_dataobj+set}" = set; then
4138 enableval="$enable_dataobj"
4140 if test "$enableval" = yes; then
4141 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4143 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4148 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4149 if test "x$LINE" != x ; then
4150 eval "DEFAULT_$LINE"
4155 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4159 eval "$ac_cv_use_dataobj"
4160 if test "$no_cache" != 1; then
4161 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4164 if test "$wxUSE_DATAOBJ" = yes; then
4165 echo "$as_me:$LINENO: result: yes" >&5
4166 echo "${ECHO_T}yes" >&6
4168 echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
4175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4176 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4178 # Check whether --enable-ipc or --disable-ipc was given.
4179 if test "${enable_ipc+set}" = set; then
4180 enableval="$enable_ipc"
4182 if test "$enableval" = yes; then
4183 ac_cv_use_ipc='wxUSE_IPC
=yes'
4185 ac_cv_use_ipc='wxUSE_IPC
=no
'
4190 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4191 if test "x$LINE" != x ; then
4192 eval "DEFAULT_$LINE"
4197 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4201 eval "$ac_cv_use_ipc"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4206 if test "$wxUSE_IPC" = yes; then
4207 echo "$as_me:$LINENO: result: yes" >&5
4208 echo "${ECHO_T}yes" >&6
4210 echo "$as_me:$LINENO: result: no" >&5
4211 echo "${ECHO_T}no" >&6
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4220 # Check whether --enable-cmdline or --disable-cmdline was given.
4221 if test "${enable_cmdline+set}" = set; then
4222 enableval="$enable_cmdline"
4224 if test "$enableval" = yes; then
4225 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4227 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4232 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x ; then
4234 eval "DEFAULT_$LINE"
4239 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4243 eval "$ac_cv_use_cmdline"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4261 # Check whether --enable-datetime or --disable-datetime was given.
4262 if test "${enable_datetime+set}" = set; then
4263 enableval="$enable_datetime"
4265 if test "$enableval" = yes; then
4266 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4268 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4273 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x ; then
4275 eval "DEFAULT_$LINE"
4280 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4284 eval "$ac_cv_use_datetime"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4289 if test "$wxUSE_DATETIME" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4302 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4303 if test "${enable_stopwatch+set}" = set; then
4304 enableval="$enable_stopwatch"
4306 if test "$enableval" = yes; then
4307 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
4309 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
4314 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x ; then
4316 eval "DEFAULT_$LINE"
4321 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
4325 eval "$ac_cv_use_stopwatch"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_STOPWATCH" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4343 # Check whether --enable-dialupman or --disable-dialupman was given.
4344 if test "${enable_dialupman+set}" = set; then
4345 enableval="$enable_dialupman"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4350 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4355 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4366 eval "$ac_cv_use_dialupman"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4384 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4385 if test "${enable_apple_ieee+set}" = set; then
4386 enableval="$enable_apple_ieee"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4391 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4396 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4407 eval "$ac_cv_use_apple_ieee"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_APPLE_IEEE" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4425 # Check whether --enable-timer or --disable-timer was given.
4426 if test "${enable_timer+set}" = set; then
4427 enableval="$enable_timer"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_timer='wxUSE_TIMER
=yes'
4432 ac_cv_use_timer='wxUSE_TIMER
=no
'
4437 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x ; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4448 eval "$ac_cv_use_timer"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4453 if test "$wxUSE_TIMER" = yes; then
4454 echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4464 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4466 # Check whether --enable-wave or --disable-wave was given.
4467 if test "${enable_wave+set}" = set; then
4468 enableval="$enable_wave"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_wave='wxUSE_WAVE
=yes'
4473 ac_cv_use_wave='wxUSE_WAVE
=no
'
4478 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x ; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4489 eval "$ac_cv_use_wave"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_WAVE" = yes; then
4495 echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4507 # Check whether --enable-fraction or --disable-fraction was given.
4508 if test "${enable_fraction+set}" = set; then
4509 enableval="$enable_fraction"
4511 if test "$enableval" = yes; then
4512 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4514 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4519 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x ; then
4521 eval "DEFAULT_$LINE"
4526 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4530 eval "$ac_cv_use_fraction"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4535 if test "$wxUSE_FRACTION" = yes; then
4536 echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4548 # Check whether --enable-dynlib or --disable-dynlib was given.
4549 if test "${enable_dynlib+set}" = set; then
4550 enableval="$enable_dynlib"
4552 if test "$enableval" = yes; then
4553 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4555 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4560 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x ; then
4562 eval "DEFAULT_$LINE"
4567 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4571 eval "$ac_cv_use_dynlib"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4576 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4577 echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4589 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4590 if test "${enable_dynamicloader+set}" = set; then
4591 enableval="$enable_dynamicloader"
4593 if test "$enableval" = yes; then
4594 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4596 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4601 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x ; then
4603 eval "DEFAULT_$LINE"
4608 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4612 eval "$ac_cv_use_dynamicloader"
4613 if test "$no_cache" != 1; then
4614 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4617 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4618 echo "$as_me:$LINENO: result: yes" >&5
4619 echo "${ECHO_T}yes" >&6
4621 echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6
4627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4628 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4630 # Check whether --enable-longlong or --disable-longlong was given.
4631 if test "${enable_longlong+set}" = set; then
4632 enableval="$enable_longlong"
4634 if test "$enableval" = yes; then
4635 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4637 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4642 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4643 if test "x$LINE" != x ; then
4644 eval "DEFAULT_$LINE"
4649 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4653 eval "$ac_cv_use_longlong"
4654 if test "$no_cache" != 1; then
4655 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4658 if test "$wxUSE_LONGLONG" = yes; then
4659 echo "$as_me:$LINENO: result: yes" >&5
4660 echo "${ECHO_T}yes" >&6
4662 echo "$as_me:$LINENO: result: no" >&5
4663 echo "${ECHO_T}no" >&6
4668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4669 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4671 # Check whether --enable-geometry or --disable-geometry was given.
4672 if test "${enable_geometry+set}" = set; then
4673 enableval="$enable_geometry"
4675 if test "$enableval" = yes; then
4676 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4678 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4683 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4684 if test "x$LINE" != x ; then
4685 eval "DEFAULT_$LINE"
4690 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4694 eval "$ac_cv_use_geometry"
4695 if test "$no_cache" != 1; then
4696 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4699 if test "$wxUSE_GEOMETRY" = yes; then
4700 echo "$as_me:$LINENO: result: yes" >&5
4701 echo "${ECHO_T}yes" >&6
4703 echo "$as_me:$LINENO: result: no" >&5
4704 echo "${ECHO_T}no" >&6
4709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4712 # Check whether --enable-log or --disable-log was given.
4713 if test "${enable_log+set}" = set; then
4714 enableval="$enable_log"
4716 if test "$enableval" = yes; then
4717 ac_cv_use_log='wxUSE_LOG
=yes'
4719 ac_cv_use_log='wxUSE_LOG
=no
'
4724 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4725 if test "x$LINE" != x ; then
4726 eval "DEFAULT_$LINE"
4731 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4735 eval "$ac_cv_use_log"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4740 if test "$wxUSE_LOG" = yes; then
4741 echo "$as_me:$LINENO: result: yes" >&5
4742 echo "${ECHO_T}yes" >&6
4744 echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6
4750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4753 # Check whether --enable-streams or --disable-streams was given.
4754 if test "${enable_streams+set}" = set; then
4755 enableval="$enable_streams"
4757 if test "$enableval" = yes; then
4758 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4760 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4765 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4766 if test "x$LINE" != x ; then
4767 eval "DEFAULT_$LINE"
4772 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4776 eval "$ac_cv_use_streams"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4781 if test "$wxUSE_STREAMS" = yes; then
4782 echo "$as_me:$LINENO: result: yes" >&5
4783 echo "${ECHO_T}yes" >&6
4785 echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6
4791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4794 # Check whether --enable-file or --disable-file was given.
4795 if test "${enable_file+set}" = set; then
4796 enableval="$enable_file"
4798 if test "$enableval" = yes; then
4799 ac_cv_use_file='wxUSE_FILE
=yes'
4801 ac_cv_use_file='wxUSE_FILE
=no
'
4806 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4813 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4817 eval "$ac_cv_use_file"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4822 if test "$wxUSE_FILE" = yes; then
4823 echo "$as_me:$LINENO: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6
4826 echo "$as_me:$LINENO: result: no" >&5
4827 echo "${ECHO_T}no" >&6
4832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4835 # Check whether --enable-ffile or --disable-ffile was given.
4836 if test "${enable_ffile+set}" = set; then
4837 enableval="$enable_ffile"
4839 if test "$enableval" = yes; then
4840 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4842 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4847 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4854 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4858 eval "$ac_cv_use_ffile"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4863 if test "$wxUSE_FFILE" = yes; then
4864 echo "$as_me:$LINENO: result: yes" >&5
4865 echo "${ECHO_T}yes" >&6
4867 echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6
4873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4876 # Check whether --enable-textbuf or --disable-textbuf was given.
4877 if test "${enable_textbuf+set}" = set; then
4878 enableval="$enable_textbuf"
4880 if test "$enableval" = yes; then
4881 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4883 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4888 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4895 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4899 eval "$ac_cv_use_textbuf"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4904 if test "$wxUSE_TEXTBUFFER" = yes; then
4905 echo "$as_me:$LINENO: result: yes" >&5
4906 echo "${ECHO_T}yes" >&6
4908 echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6
4914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4917 # Check whether --enable-textfile or --disable-textfile was given.
4918 if test "${enable_textfile+set}" = set; then
4919 enableval="$enable_textfile"
4921 if test "$enableval" = yes; then
4922 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4924 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4929 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4936 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4940 eval "$ac_cv_use_textfile"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4945 if test "$wxUSE_TEXTFILE" = yes; then
4946 echo "$as_me:$LINENO: result: yes" >&5
4947 echo "${ECHO_T}yes" >&6
4949 echo "$as_me:$LINENO: result: no" >&5
4950 echo "${ECHO_T}no" >&6
4955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4958 # Check whether --enable-fontmap or --disable-fontmap was given.
4959 if test "${enable_fontmap+set}" = set; then
4960 enableval="$enable_fontmap"
4962 if test "$enableval" = yes; then
4963 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4965 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4970 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4977 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4981 eval "$ac_cv_use_fontmap"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4986 if test "$wxUSE_FONTMAP" = yes; then
4987 echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4997 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4999 # Check whether --enable-unicode or --disable-unicode was given.
5000 if test "${enable_unicode+set}" = set; then
5001 enableval="$enable_unicode"
5003 if test "$enableval" = yes; then
5004 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5006 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5011 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x ; then
5013 eval "DEFAULT_$LINE"
5018 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5022 eval "$ac_cv_use_unicode"
5023 if test "$no_cache" != 1; then
5024 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5027 if test "$wxUSE_UNICODE" = yes; then
5028 echo "$as_me:$LINENO: result: yes" >&5
5029 echo "${ECHO_T}yes" >&6
5031 echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6
5037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5038 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5040 # Check whether --enable-mslu or --disable-mslu was given.
5041 if test "${enable_mslu+set}" = set; then
5042 enableval="$enable_mslu"
5044 if test "$enableval" = yes; then
5045 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5047 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5052 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5053 if test "x$LINE" != x ; then
5054 eval "DEFAULT_$LINE"
5059 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5063 eval "$ac_cv_use_mslu"
5064 if test "$no_cache" != 1; then
5065 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5068 if test "$wxUSE_UNICODE_MSLU" = yes; then
5069 echo "$as_me:$LINENO: result: yes" >&5
5070 echo "${ECHO_T}yes" >&6
5072 echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6
5078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5079 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5081 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5082 if test "${enable_wxprintfv+set}" = set; then
5083 enableval="$enable_wxprintfv"
5085 if test "$enableval" = yes; then
5086 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5088 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5093 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x ; then
5095 eval "DEFAULT_$LINE"
5100 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5104 eval "$ac_cv_use_wxprintfv"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5109 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5110 echo "$as_me:$LINENO: result: yes" >&5
5111 echo "${ECHO_T}yes" >&6
5113 echo "$as_me:$LINENO: result: no" >&5
5114 echo "${ECHO_T}no" >&6
5119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5120 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5122 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5123 if test "${enable_std_iostreams+set}" = set; then
5124 enableval="$enable_std_iostreams"
5126 if test "$enableval" = yes; then
5127 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5129 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5134 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5135 if test "x$LINE" != x ; then
5136 eval "DEFAULT_$LINE"
5141 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5145 eval "$ac_cv_use_std_iostreams"
5146 if test "$no_cache" != 1; then
5147 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5150 if test "$wxUSE_STD_IOSTREAM" = yes; then
5151 echo "$as_me:$LINENO: result: yes" >&5
5152 echo "${ECHO_T}yes" >&6
5154 echo "$as_me:$LINENO: result: no" >&5
5155 echo "${ECHO_T}no" >&6
5160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5161 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5163 # Check whether --enable-filesystem or --disable-filesystem was given.
5164 if test "${enable_filesystem+set}" = set; then
5165 enableval="$enable_filesystem"
5167 if test "$enableval" = yes; then
5168 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5170 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5175 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5176 if test "x$LINE" != x ; then
5177 eval "DEFAULT_$LINE"
5182 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5186 eval "$ac_cv_use_filesystem"
5187 if test "$no_cache" != 1; then
5188 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5191 if test "$wxUSE_FILESYSTEM" = yes; then
5192 echo "$as_me:$LINENO: result: yes" >&5
5193 echo "${ECHO_T}yes" >&6
5195 echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6
5201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5202 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5204 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5205 if test "${enable_fs_inet+set}" = set; then
5206 enableval="$enable_fs_inet"
5208 if test "$enableval" = yes; then
5209 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5211 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5216 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5217 if test "x$LINE" != x ; then
5218 eval "DEFAULT_$LINE"
5223 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5227 eval "$ac_cv_use_fs_inet"
5228 if test "$no_cache" != 1; then
5229 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5232 if test "$wxUSE_FS_INET" = yes; then
5233 echo "$as_me:$LINENO: result: yes" >&5
5234 echo "${ECHO_T}yes" >&6
5236 echo "$as_me:$LINENO: result: no" >&5
5237 echo "${ECHO_T}no" >&6
5242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5243 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5245 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5246 if test "${enable_fs_zip+set}" = set; then
5247 enableval="$enable_fs_zip"
5249 if test "$enableval" = yes; then
5250 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5252 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5257 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5258 if test "x$LINE" != x ; then
5259 eval "DEFAULT_$LINE"
5264 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5268 eval "$ac_cv_use_fs_zip"
5269 if test "$no_cache" != 1; then
5270 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5273 if test "$wxUSE_FS_ZIP" = yes; then
5274 echo "$as_me:$LINENO: result: yes" >&5
5275 echo "${ECHO_T}yes" >&6
5277 echo "$as_me:$LINENO: result: no" >&5
5278 echo "${ECHO_T}no" >&6
5283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5284 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5286 # Check whether --enable-zipstream or --disable-zipstream was given.
5287 if test "${enable_zipstream+set}" = set; then
5288 enableval="$enable_zipstream"
5290 if test "$enableval" = yes; then
5291 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5293 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5298 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5299 if test "x$LINE" != x ; then
5300 eval "DEFAULT_$LINE"
5305 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5309 eval "$ac_cv_use_zipstream"
5310 if test "$no_cache" != 1; then
5311 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5314 if test "$wxUSE_ZIPSTREAM" = yes; then
5315 echo "$as_me:$LINENO: result: yes" >&5
5316 echo "${ECHO_T}yes" >&6
5318 echo "$as_me:$LINENO: result: no" >&5
5319 echo "${ECHO_T}no" >&6
5325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5326 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5328 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5329 if test "${enable_catch_segvs+set}" = set; then
5330 enableval="$enable_catch_segvs"
5332 if test "$enableval" = yes; then
5333 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5335 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5340 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5341 if test "x$LINE" != x ; then
5342 eval "DEFAULT_$LINE"
5347 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5351 eval "$ac_cv_use_catch_segvs"
5352 if test "$no_cache" != 1; then
5353 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5356 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5357 echo "$as_me:$LINENO: result: yes" >&5
5358 echo "${ECHO_T}yes" >&6
5360 echo "$as_me:$LINENO: result: no" >&5
5361 echo "${ECHO_T}no" >&6
5366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5367 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5369 # Check whether --enable-snglinst or --disable-snglinst was given.
5370 if test "${enable_snglinst+set}" = set; then
5371 enableval="$enable_snglinst"
5373 if test "$enableval" = yes; then
5374 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5376 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5381 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5382 if test "x$LINE" != x ; then
5383 eval "DEFAULT_$LINE"
5388 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5392 eval "$ac_cv_use_snglinst"
5393 if test "$no_cache" != 1; then
5394 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5397 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5398 echo "$as_me:$LINENO: result: yes" >&5
5399 echo "${ECHO_T}yes" >&6
5401 echo "$as_me:$LINENO: result: no" >&5
5402 echo "${ECHO_T}no" >&6
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5411 # Check whether --enable-mimetype or --disable-mimetype was given.
5412 if test "${enable_mimetype+set}" = set; then
5413 enableval="$enable_mimetype"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5418 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5423 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5434 eval "$ac_cv_use_mimetype"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_MIMETYPE" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5452 # Check whether --enable-system_options or --disable-system_options was given.
5453 if test "${enable_system_options+set}" = set; then
5454 enableval="$enable_system_options"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5459 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5464 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5475 eval "$ac_cv_use_system_options"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5492 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5494 # Check whether --enable-url or --disable-url was given.
5495 if test "${enable_url+set}" = set; then
5496 enableval="$enable_url"
5498 if test "$enableval" = yes; then
5499 ac_cv_use_url='wxUSE_URL
=yes'
5501 ac_cv_use_url='wxUSE_URL
=no
'
5506 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5507 if test "x$LINE" != x ; then
5508 eval "DEFAULT_$LINE"
5513 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5517 eval "$ac_cv_use_url"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5522 if test "$wxUSE_URL" = yes; then
5523 echo "$as_me:$LINENO: result: yes" >&5
5524 echo "${ECHO_T}yes" >&6
5526 echo "$as_me:$LINENO: result: no" >&5
5527 echo "${ECHO_T}no" >&6
5532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5535 # Check whether --enable-protocol or --disable-protocol was given.
5536 if test "${enable_protocol+set}" = set; then
5537 enableval="$enable_protocol"
5539 if test "$enableval" = yes; then
5540 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5542 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5547 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5548 if test "x$LINE" != x ; then
5549 eval "DEFAULT_$LINE"
5554 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5558 eval "$ac_cv_use_protocol"
5559 if test "$no_cache" != 1; then
5560 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5563 if test "$wxUSE_PROTOCOL" = yes; then
5564 echo "$as_me:$LINENO: result: yes" >&5
5565 echo "${ECHO_T}yes" >&6
5567 echo "$as_me:$LINENO: result: no" >&5
5568 echo "${ECHO_T}no" >&6
5573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5574 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5576 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5577 if test "${enable_protocol_http+set}" = set; then
5578 enableval="$enable_protocol_http"
5580 if test "$enableval" = yes; then
5581 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5583 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5588 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5589 if test "x$LINE" != x ; then
5590 eval "DEFAULT_$LINE"
5595 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5599 eval "$ac_cv_use_protocol_http"
5600 if test "$no_cache" != 1; then
5601 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5604 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5605 echo "$as_me:$LINENO: result: yes" >&5
5606 echo "${ECHO_T}yes" >&6
5608 echo "$as_me:$LINENO: result: no" >&5
5609 echo "${ECHO_T}no" >&6
5614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5615 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5617 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5618 if test "${enable_protocol_ftp+set}" = set; then
5619 enableval="$enable_protocol_ftp"
5621 if test "$enableval" = yes; then
5622 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5624 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5629 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5630 if test "x$LINE" != x ; then
5631 eval "DEFAULT_$LINE"
5636 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5640 eval "$ac_cv_use_protocol_ftp"
5641 if test "$no_cache" != 1; then
5642 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5645 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5646 echo "$as_me:$LINENO: result: yes" >&5
5647 echo "${ECHO_T}yes" >&6
5649 echo "$as_me:$LINENO: result: no" >&5
5650 echo "${ECHO_T}no" >&6
5655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5658 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5659 if test "${enable_protocol_file+set}" = set; then
5660 enableval="$enable_protocol_file"
5662 if test "$enableval" = yes; then
5663 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5665 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5670 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5671 if test "x$LINE" != x ; then
5672 eval "DEFAULT_$LINE"
5677 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5681 eval "$ac_cv_use_protocol_file"
5682 if test "$no_cache" != 1; then
5683 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5686 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5687 echo "$as_me:$LINENO: result: yes" >&5
5688 echo "${ECHO_T}yes" >&6
5690 echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6
5699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5700 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5702 # Check whether --enable-threads or --disable-threads was given.
5703 if test "${enable_threads+set}" = set; then
5704 enableval="$enable_threads"
5706 if test "$enableval" = yes; then
5707 ac_cv_use_threads='wxUSE_THREADS
=yes'
5709 ac_cv_use_threads='wxUSE_THREADS
=no
'
5714 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5715 if test "x$LINE" != x ; then
5716 eval "DEFAULT_$LINE"
5721 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5725 eval "$ac_cv_use_threads"
5726 if test "$no_cache" != 1; then
5727 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5730 if test "$wxUSE_THREADS" = yes; then
5731 echo "$as_me:$LINENO: result: yes" >&5
5732 echo "${ECHO_T}yes" >&6
5734 echo "$as_me:$LINENO: result: no" >&5
5735 echo "${ECHO_T}no" >&6
5739 if test "$wxUSE_GUI" = "yes"; then
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5747 # Check whether --enable-docview or --disable-docview was given.
5748 if test "${enable_docview+set}" = set; then
5749 enableval="$enable_docview"
5751 if test "$enableval" = yes; then
5752 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5754 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5759 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x ; then
5761 eval "DEFAULT_$LINE"
5766 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5770 eval "$ac_cv_use_docview"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5788 # Check whether --enable-help or --disable-help was given.
5789 if test "${enable_help+set}" = set; then
5790 enableval="$enable_help"
5792 if test "$enableval" = yes; then
5793 ac_cv_use_help='wxUSE_HELP
=yes'
5795 ac_cv_use_help='wxUSE_HELP
=no
'
5800 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x ; then
5802 eval "DEFAULT_$LINE"
5807 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5811 eval "$ac_cv_use_help"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5816 if test "$wxUSE_HELP" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5829 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5830 if test "${enable_mshtmlhelp+set}" = set; then
5831 enableval="$enable_mshtmlhelp"
5833 if test "$enableval" = yes; then
5834 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5836 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5841 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x ; then
5843 eval "DEFAULT_$LINE"
5848 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5852 eval "$ac_cv_use_mshtmlhelp"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_MS_HTML_HELP" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5870 # Check whether --enable-html or --disable-html was given.
5871 if test "${enable_html+set}" = set; then
5872 enableval="$enable_html"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_html='wxUSE_HTML
=yes'
5877 ac_cv_use_html='wxUSE_HTML
=no
'
5882 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5893 eval "$ac_cv_use_html"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_HTML" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5911 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5912 if test "${enable_htmlhelp+set}" = set; then
5913 enableval="$enable_htmlhelp"
5915 if test "$enableval" = yes; then
5916 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5918 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5923 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5930 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5934 eval "$ac_cv_use_htmlhelp"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_WXHTML_HELP" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5952 # Check whether --enable-constraints or --disable-constraints was given.
5953 if test "${enable_constraints+set}" = set; then
5954 enableval="$enable_constraints"
5956 if test "$enableval" = yes; then
5957 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5959 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5964 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5971 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5975 eval "$ac_cv_use_constraints"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_CONSTRAINTS" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5993 # Check whether --enable-printarch or --disable-printarch was given.
5994 if test "${enable_printarch+set}" = set; then
5995 enableval="$enable_printarch"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6000 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6005 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6016 eval "$ac_cv_use_printarch"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6034 # Check whether --enable-mdi or --disable-mdi was given.
6035 if test "${enable_mdi+set}" = set; then
6036 enableval="$enable_mdi"
6038 if test "$enableval" = yes; then
6039 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6041 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6046 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6053 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6057 eval "$ac_cv_use_mdi"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6075 # Check whether --enable-loggui or --disable-loggui was given.
6076 if test "${enable_loggui+set}" = set; then
6077 enableval="$enable_loggui"
6079 if test "$enableval" = yes; then
6080 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6082 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6087 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6094 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6098 eval "$ac_cv_use_loggui"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_LOGGUI" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6116 # Check whether --enable-logwin or --disable-logwin was given.
6117 if test "${enable_logwin+set}" = set; then
6118 enableval="$enable_logwin"
6120 if test "$enableval" = yes; then
6121 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6123 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6128 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x ; then
6130 eval "DEFAULT_$LINE"
6135 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6139 eval "$ac_cv_use_logwin"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6144 if test "$wxUSE_LOGWINDOW" = yes; then
6145 echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6157 # Check whether --enable-logdialog or --disable-logdialog was given.
6158 if test "${enable_logdialog+set}" = set; then
6159 enableval="$enable_logdialog"
6161 if test "$enableval" = yes; then
6162 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6164 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6169 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x ; then
6171 eval "DEFAULT_$LINE"
6176 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6180 eval "$ac_cv_use_logdialog"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6185 if test "$wxUSE_LOGDIALOG" = yes; then
6186 echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6
6189 echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6199 # Check whether --enable-postscript or --disable-postscript was given.
6200 if test "${enable_postscript+set}" = set; then
6201 enableval="$enable_postscript"
6203 if test "$enableval" = yes; then
6204 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6206 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6211 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x ; then
6213 eval "DEFAULT_$LINE"
6218 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6222 eval "$ac_cv_use_postscript"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6227 if test "$wxUSE_POSTSCRIPT" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6241 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6243 # Check whether --enable-prologio or --disable-prologio was given.
6244 if test "${enable_prologio+set}" = set; then
6245 enableval="$enable_prologio"
6247 if test "$enableval" = yes; then
6248 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6250 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6255 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x ; then
6257 eval "DEFAULT_$LINE"
6262 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6266 eval "$ac_cv_use_prologio"
6267 if test "$no_cache" != 1; then
6268 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6271 if test "$wxUSE_PROLOGIO" = yes; then
6272 echo "$as_me:$LINENO: result: yes" >&5
6273 echo "${ECHO_T}yes" >&6
6275 echo "$as_me:$LINENO: result: no" >&5
6276 echo "${ECHO_T}no" >&6
6281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6282 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6284 # Check whether --enable-resources or --disable-resources was given.
6285 if test "${enable_resources+set}" = set; then
6286 enableval="$enable_resources"
6288 if test "$enableval" = yes; then
6289 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6291 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6296 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6297 if test "x$LINE" != x ; then
6298 eval "DEFAULT_$LINE"
6303 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6307 eval "$ac_cv_use_resources"
6308 if test "$no_cache" != 1; then
6309 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6312 if test "$wxUSE_RESOURCES" = yes; then
6313 echo "$as_me:$LINENO: result: yes" >&5
6314 echo "${ECHO_T}yes" >&6
6316 echo "$as_me:$LINENO: result: no" >&5
6317 echo "${ECHO_T}no" >&6
6324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6325 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6327 # Check whether --enable-clipboard or --disable-clipboard was given.
6328 if test "${enable_clipboard+set}" = set; then
6329 enableval="$enable_clipboard"
6331 if test "$enableval" = yes; then
6332 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6334 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6339 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6340 if test "x$LINE" != x ; then
6341 eval "DEFAULT_$LINE"
6346 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6350 eval "$ac_cv_use_clipboard"
6351 if test "$no_cache" != 1; then
6352 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6355 if test "$wxUSE_CLIPBOARD" = yes; then
6356 echo "$as_me:$LINENO: result: yes" >&5
6357 echo "${ECHO_T}yes" >&6
6359 echo "$as_me:$LINENO: result: no" >&5
6360 echo "${ECHO_T}no" >&6
6365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6368 # Check whether --enable-dnd or --disable-dnd was given.
6369 if test "${enable_dnd+set}" = set; then
6370 enableval="$enable_dnd"
6372 if test "$enableval" = yes; then
6373 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6375 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6380 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6381 if test "x$LINE" != x ; then
6382 eval "DEFAULT_$LINE"
6387 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6391 eval "$ac_cv_use_dnd"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6396 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6397 echo "$as_me:$LINENO: result: yes" >&5
6398 echo "${ECHO_T}yes" >&6
6400 echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6
6406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6409 # Check whether --enable-metafile or --disable-metafile was given.
6410 if test "${enable_metafile+set}" = set; then
6411 enableval="$enable_metafile"
6413 if test "$enableval" = yes; then
6414 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6416 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6421 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6422 if test "x$LINE" != x ; then
6423 eval "DEFAULT_$LINE"
6428 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6432 eval "$ac_cv_use_metafile"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6437 if test "$wxUSE_METAFILE" = yes; then
6438 echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6
6441 echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6
6450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6451 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6453 # Check whether --enable-controls or --disable-controls was given.
6454 if test "${enable_controls+set}" = set; then
6455 enableval="$enable_controls"
6457 if test "$enableval" = yes; then
6458 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6460 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6465 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6466 if test "x$LINE" != x ; then
6467 eval "DEFAULT_$LINE"
6472 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6476 eval "$ac_cv_use_controls"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6481 if test "$wxUSE_CONTROLS" = yes; then
6482 echo "$as_me:$LINENO: result: yes" >&5
6483 echo "${ECHO_T}yes" >&6
6485 echo "$as_me:$LINENO: result: no" >&5
6486 echo "${ECHO_T}no" >&6
6490 if test "$wxUSE_CONTROLS" = "yes"; then
6491 DEFAULT_wxUSE_ACCEL=yes
6492 DEFAULT_wxUSE_BMPBUTTON=yes
6493 DEFAULT_wxUSE_BUTTON=yes
6494 DEFAULT_wxUSE_CALCTRL=no
6495 DEFAULT_wxUSE_CARET=yes
6496 DEFAULT_wxUSE_COMBOBOX=yes
6497 DEFAULT_wxUSE_CHECKBOX=yes
6498 DEFAULT_wxUSE_CHECKLISTBOX=yes
6499 DEFAULT_wxUSE_CHOICE=yes
6500 DEFAULT_wxUSE_GAUGE=yes
6501 DEFAULT_wxUSE_GRID=yes
6502 DEFAULT_wxUSE_IMAGLIST=yes
6503 DEFAULT_wxUSE_LISTBOX=yes
6504 DEFAULT_wxUSE_LISTCTRL=yes
6505 DEFAULT_wxUSE_NOTEBOOK=yes
6506 DEFAULT_wxUSE_RADIOBOX=yes
6507 DEFAULT_wxUSE_RADIOBTN=yes
6508 DEFAULT_wxUSE_SASH=yes
6509 DEFAULT_wxUSE_SCROLLBAR=yes
6510 DEFAULT_wxUSE_SLIDER=yes
6511 DEFAULT_wxUSE_SPINBTN=yes
6512 DEFAULT_wxUSE_SPINCTRL=yes
6513 DEFAULT_wxUSE_SPLITTER=yes
6514 DEFAULT_wxUSE_STATBMP=yes
6515 DEFAULT_wxUSE_STATBOX=yes
6516 DEFAULT_wxUSE_STATLINE=yes
6517 DEFAULT_wxUSE_STATUSBAR=yes
6518 DEFAULT_wxUSE_TAB_DIALOG=yes
6519 DEFAULT_wxUSE_TOGGLEBTN=yes
6520 DEFAULT_wxUSE_TOOLBAR=yes
6521 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6522 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6523 DEFAULT_wxUSE_TOOLTIPS=yes
6524 DEFAULT_wxUSE_TREECTRL=yes
6525 DEFAULT_wxUSE_POPUPWIN=yes
6526 DEFAULT_wxUSE_TIPWINDOW=yes
6527 elif test "$wxUSE_CONTROLS" = "no"; then
6528 DEFAULT_wxUSE_ACCEL=no
6529 DEFAULT_wxUSE_BMPBUTTON=no
6530 DEFAULT_wxUSE_BUTTON=no
6531 DEFAULT_wxUSE_CALCTRL=no
6532 DEFAULT_wxUSE_CARET=no
6533 DEFAULT_wxUSE_COMBOBOX=no
6534 DEFAULT_wxUSE_CHECKBOX=no
6535 DEFAULT_wxUSE_CHECKLISTBOX=no
6536 DEFAULT_wxUSE_CHOICE=no
6537 DEFAULT_wxUSE_GAUGE=no
6538 DEFAULT_wxUSE_GRID=no
6539 DEFAULT_wxUSE_IMAGLIST=no
6540 DEFAULT_wxUSE_LISTBOX=no
6541 DEFAULT_wxUSE_LISTCTRL=no
6542 DEFAULT_wxUSE_NOTEBOOK=no
6543 DEFAULT_wxUSE_RADIOBOX=no
6544 DEFAULT_wxUSE_RADIOBTN=no
6545 DEFAULT_wxUSE_SASH=no
6546 DEFAULT_wxUSE_SCROLLBAR=no
6547 DEFAULT_wxUSE_SLIDER=no
6548 DEFAULT_wxUSE_SPINBTN=no
6549 DEFAULT_wxUSE_SPINCTRL=no
6550 DEFAULT_wxUSE_SPLITTER=no
6551 DEFAULT_wxUSE_STATBMP=no
6552 DEFAULT_wxUSE_STATBOX=no
6553 DEFAULT_wxUSE_STATLINE=no
6554 DEFAULT_wxUSE_STATUSBAR=no
6555 DEFAULT_wxUSE_TAB_DIALOG=no
6556 DEFAULT_wxUSE_TOGGLEBTN=no
6557 DEFAULT_wxUSE_TOOLBAR=no
6558 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6559 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6560 DEFAULT_wxUSE_TOOLTIPS=no
6561 DEFAULT_wxUSE_TREECTRL=no
6562 DEFAULT_wxUSE_POPUPWIN=no
6563 DEFAULT_wxUSE_TIPWINDOW=no
6566 ## FIXME: This is a blatant hack
6567 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6568 wxUSE_PRINTING_ARCHITECTURE=no
6569 wxUSE_DRAG_AND_DROP=no
6570 # Generic notebook requires tab dialog
6571 DEFAULT_wxUSE_TABDIALOG=yes
6572 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6573 DEFAULT_wxUSE_SCROLLBAR=no
6574 DEFAULT_wxUSE_TOOLTIPS=no
6575 DEFAULT_wxUSE_DRAGIMAGE=no
6580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6581 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6583 # Check whether --enable-accel or --disable-accel was given.
6584 if test "${enable_accel+set}" = set; then
6585 enableval="$enable_accel"
6587 if test "$enableval" = yes; then
6588 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6590 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6595 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6596 if test "x$LINE" != x ; then
6597 eval "DEFAULT_$LINE"
6602 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6606 eval "$ac_cv_use_accel"
6607 if test "$no_cache" != 1; then
6608 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6611 if test "$wxUSE_ACCEL" = yes; then
6612 echo "$as_me:$LINENO: result: yes" >&5
6613 echo "${ECHO_T}yes" >&6
6615 echo "$as_me:$LINENO: result: no" >&5
6616 echo "${ECHO_T}no" >&6
6621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6622 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6624 # Check whether --enable-button or --disable-button was given.
6625 if test "${enable_button+set}" = set; then
6626 enableval="$enable_button"
6628 if test "$enableval" = yes; then
6629 ac_cv_use_button='wxUSE_BUTTON
=yes'
6631 ac_cv_use_button='wxUSE_BUTTON
=no
'
6636 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6637 if test "x$LINE" != x ; then
6638 eval "DEFAULT_$LINE"
6643 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6647 eval "$ac_cv_use_button"
6648 if test "$no_cache" != 1; then
6649 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6652 if test "$wxUSE_BUTTON" = yes; then
6653 echo "$as_me:$LINENO: result: yes" >&5
6654 echo "${ECHO_T}yes" >&6
6656 echo "$as_me:$LINENO: result: no" >&5
6657 echo "${ECHO_T}no" >&6
6662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6663 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6665 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6666 if test "${enable_bmpbutton+set}" = set; then
6667 enableval="$enable_bmpbutton"
6669 if test "$enableval" = yes; then
6670 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6672 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6677 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6678 if test "x$LINE" != x ; then
6679 eval "DEFAULT_$LINE"
6684 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6688 eval "$ac_cv_use_bmpbutton"
6689 if test "$no_cache" != 1; then
6690 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6693 if test "$wxUSE_BMPBUTTON" = yes; then
6694 echo "$as_me:$LINENO: result: yes" >&5
6695 echo "${ECHO_T}yes" >&6
6697 echo "$as_me:$LINENO: result: no" >&5
6698 echo "${ECHO_T}no" >&6
6703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6704 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6706 # Check whether --enable-calendar or --disable-calendar was given.
6707 if test "${enable_calendar+set}" = set; then
6708 enableval="$enable_calendar"
6710 if test "$enableval" = yes; then
6711 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6713 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6718 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6719 if test "x$LINE" != x ; then
6720 eval "DEFAULT_$LINE"
6725 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6729 eval "$ac_cv_use_calendar"
6730 if test "$no_cache" != 1; then
6731 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6734 if test "$wxUSE_CALCTRL" = yes; then
6735 echo "$as_me:$LINENO: result: yes" >&5
6736 echo "${ECHO_T}yes" >&6
6738 echo "$as_me:$LINENO: result: no" >&5
6739 echo "${ECHO_T}no" >&6
6744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6745 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6747 # Check whether --enable-caret or --disable-caret was given.
6748 if test "${enable_caret+set}" = set; then
6749 enableval="$enable_caret"
6751 if test "$enableval" = yes; then
6752 ac_cv_use_caret='wxUSE_CARET
=yes'
6754 ac_cv_use_caret='wxUSE_CARET
=no
'
6759 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x ; then
6761 eval "DEFAULT_$LINE"
6766 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6770 eval "$ac_cv_use_caret"
6771 if test "$no_cache" != 1; then
6772 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6775 if test "$wxUSE_CARET" = yes; then
6776 echo "$as_me:$LINENO: result: yes" >&5
6777 echo "${ECHO_T}yes" >&6
6779 echo "$as_me:$LINENO: result: no" >&5
6780 echo "${ECHO_T}no" >&6
6785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6788 # Check whether --enable-checkbox or --disable-checkbox was given.
6789 if test "${enable_checkbox+set}" = set; then
6790 enableval="$enable_checkbox"
6792 if test "$enableval" = yes; then
6793 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6795 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6800 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x ; then
6802 eval "DEFAULT_$LINE"
6807 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6811 eval "$ac_cv_use_checkbox"
6812 if test "$no_cache" != 1; then
6813 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6816 if test "$wxUSE_CHECKBOX" = yes; then
6817 echo "$as_me:$LINENO: result: yes" >&5
6818 echo "${ECHO_T}yes" >&6
6820 echo "$as_me:$LINENO: result: no" >&5
6821 echo "${ECHO_T}no" >&6
6826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6827 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6829 # Check whether --enable-checklst or --disable-checklst was given.
6830 if test "${enable_checklst+set}" = set; then
6831 enableval="$enable_checklst"
6833 if test "$enableval" = yes; then
6834 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6836 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6841 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6842 if test "x$LINE" != x ; then
6843 eval "DEFAULT_$LINE"
6848 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6852 eval "$ac_cv_use_checklst"
6853 if test "$no_cache" != 1; then
6854 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6857 if test "$wxUSE_CHECKLST" = yes; then
6858 echo "$as_me:$LINENO: result: yes" >&5
6859 echo "${ECHO_T}yes" >&6
6861 echo "$as_me:$LINENO: result: no" >&5
6862 echo "${ECHO_T}no" >&6
6867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6868 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6870 # Check whether --enable-choice or --disable-choice was given.
6871 if test "${enable_choice+set}" = set; then
6872 enableval="$enable_choice"
6874 if test "$enableval" = yes; then
6875 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6877 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6882 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6883 if test "x$LINE" != x ; then
6884 eval "DEFAULT_$LINE"
6889 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6893 eval "$ac_cv_use_choice"
6894 if test "$no_cache" != 1; then
6895 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6898 if test "$wxUSE_CHOICE" = yes; then
6899 echo "$as_me:$LINENO: result: yes" >&5
6900 echo "${ECHO_T}yes" >&6
6902 echo "$as_me:$LINENO: result: no" >&5
6903 echo "${ECHO_T}no" >&6
6908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6909 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6911 # Check whether --enable-combobox or --disable-combobox was given.
6912 if test "${enable_combobox+set}" = set; then
6913 enableval="$enable_combobox"
6915 if test "$enableval" = yes; then
6916 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6918 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6923 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6924 if test "x$LINE" != x ; then
6925 eval "DEFAULT_$LINE"
6930 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6934 eval "$ac_cv_use_combobox"
6935 if test "$no_cache" != 1; then
6936 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6939 if test "$wxUSE_COMBOBOX" = yes; then
6940 echo "$as_me:$LINENO: result: yes" >&5
6941 echo "${ECHO_T}yes" >&6
6943 echo "$as_me:$LINENO: result: no" >&5
6944 echo "${ECHO_T}no" >&6
6949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6950 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6952 # Check whether --enable-display or --disable-display was given.
6953 if test "${enable_display+set}" = set; then
6954 enableval="$enable_display"
6956 if test "$enableval" = yes; then
6957 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6959 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6964 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6965 if test "x$LINE" != x ; then
6966 eval "DEFAULT_$LINE"
6971 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
6975 eval "$ac_cv_use_display"
6976 if test "$no_cache" != 1; then
6977 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6980 if test "$wxUSE_DISPLAY" = yes; then
6981 echo "$as_me:$LINENO: result: yes" >&5
6982 echo "${ECHO_T}yes" >&6
6984 echo "$as_me:$LINENO: result: no" >&5
6985 echo "${ECHO_T}no" >&6
6990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6991 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6993 # Check whether --enable-gauge or --disable-gauge was given.
6994 if test "${enable_gauge+set}" = set; then
6995 enableval="$enable_gauge"
6997 if test "$enableval" = yes; then
6998 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7000 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7005 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7006 if test "x$LINE" != x ; then
7007 eval "DEFAULT_$LINE"
7012 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7016 eval "$ac_cv_use_gauge"
7017 if test "$no_cache" != 1; then
7018 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7021 if test "$wxUSE_GAUGE" = yes; then
7022 echo "$as_me:$LINENO: result: yes" >&5
7023 echo "${ECHO_T}yes" >&6
7025 echo "$as_me:$LINENO: result: no" >&5
7026 echo "${ECHO_T}no" >&6
7031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7032 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7034 # Check whether --enable-grid or --disable-grid was given.
7035 if test "${enable_grid+set}" = set; then
7036 enableval="$enable_grid"
7038 if test "$enableval" = yes; then
7039 ac_cv_use_grid='wxUSE_GRID
=yes'
7041 ac_cv_use_grid='wxUSE_GRID
=no
'
7046 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7047 if test "x$LINE" != x ; then
7048 eval "DEFAULT_$LINE"
7053 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7057 eval "$ac_cv_use_grid"
7058 if test "$no_cache" != 1; then
7059 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7062 if test "$wxUSE_GRID" = yes; then
7063 echo "$as_me:$LINENO: result: yes" >&5
7064 echo "${ECHO_T}yes" >&6
7066 echo "$as_me:$LINENO: result: no" >&5
7067 echo "${ECHO_T}no" >&6
7072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7073 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7075 # Check whether --enable-imaglist or --disable-imaglist was given.
7076 if test "${enable_imaglist+set}" = set; then
7077 enableval="$enable_imaglist"
7079 if test "$enableval" = yes; then
7080 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7082 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7087 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7088 if test "x$LINE" != x ; then
7089 eval "DEFAULT_$LINE"
7094 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7098 eval "$ac_cv_use_imaglist"
7099 if test "$no_cache" != 1; then
7100 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7103 if test "$wxUSE_IMAGLIST" = yes; then
7104 echo "$as_me:$LINENO: result: yes" >&5
7105 echo "${ECHO_T}yes" >&6
7107 echo "$as_me:$LINENO: result: no" >&5
7108 echo "${ECHO_T}no" >&6
7113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7114 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7116 # Check whether --enable-listbox or --disable-listbox was given.
7117 if test "${enable_listbox+set}" = set; then
7118 enableval="$enable_listbox"
7120 if test "$enableval" = yes; then
7121 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7123 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7128 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7129 if test "x$LINE" != x ; then
7130 eval "DEFAULT_$LINE"
7135 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7139 eval "$ac_cv_use_listbox"
7140 if test "$no_cache" != 1; then
7141 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7144 if test "$wxUSE_LISTBOX" = yes; then
7145 echo "$as_me:$LINENO: result: yes" >&5
7146 echo "${ECHO_T}yes" >&6
7148 echo "$as_me:$LINENO: result: no" >&5
7149 echo "${ECHO_T}no" >&6
7154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7155 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7157 # Check whether --enable-listctrl or --disable-listctrl was given.
7158 if test "${enable_listctrl+set}" = set; then
7159 enableval="$enable_listctrl"
7161 if test "$enableval" = yes; then
7162 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7164 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7169 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7170 if test "x$LINE" != x ; then
7171 eval "DEFAULT_$LINE"
7176 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7180 eval "$ac_cv_use_listctrl"
7181 if test "$no_cache" != 1; then
7182 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7185 if test "$wxUSE_LISTCTRL" = yes; then
7186 echo "$as_me:$LINENO: result: yes" >&5
7187 echo "${ECHO_T}yes" >&6
7189 echo "$as_me:$LINENO: result: no" >&5
7190 echo "${ECHO_T}no" >&6
7195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7196 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7198 # Check whether --enable-notebook or --disable-notebook was given.
7199 if test "${enable_notebook+set}" = set; then
7200 enableval="$enable_notebook"
7202 if test "$enableval" = yes; then
7203 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7205 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7210 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7211 if test "x$LINE" != x ; then
7212 eval "DEFAULT_$LINE"
7217 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7221 eval "$ac_cv_use_notebook"
7222 if test "$no_cache" != 1; then
7223 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7226 if test "$wxUSE_NOTEBOOK" = yes; then
7227 echo "$as_me:$LINENO: result: yes" >&5
7228 echo "${ECHO_T}yes" >&6
7230 echo "$as_me:$LINENO: result: no" >&5
7231 echo "${ECHO_T}no" >&6
7236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7237 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7239 # Check whether --enable-radiobox or --disable-radiobox was given.
7240 if test "${enable_radiobox+set}" = set; then
7241 enableval="$enable_radiobox"
7243 if test "$enableval" = yes; then
7244 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7246 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7251 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7252 if test "x$LINE" != x ; then
7253 eval "DEFAULT_$LINE"
7258 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7262 eval "$ac_cv_use_radiobox"
7263 if test "$no_cache" != 1; then
7264 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7267 if test "$wxUSE_RADIOBOX" = yes; then
7268 echo "$as_me:$LINENO: result: yes" >&5
7269 echo "${ECHO_T}yes" >&6
7271 echo "$as_me:$LINENO: result: no" >&5
7272 echo "${ECHO_T}no" >&6
7277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7278 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7280 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7281 if test "${enable_radiobtn+set}" = set; then
7282 enableval="$enable_radiobtn"
7284 if test "$enableval" = yes; then
7285 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7287 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7292 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7293 if test "x$LINE" != x ; then
7294 eval "DEFAULT_$LINE"
7299 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7303 eval "$ac_cv_use_radiobtn"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7308 if test "$wxUSE_RADIOBTN" = yes; then
7309 echo "$as_me:$LINENO: result: yes" >&5
7310 echo "${ECHO_T}yes" >&6
7312 echo "$as_me:$LINENO: result: no" >&5
7313 echo "${ECHO_T}no" >&6
7318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7319 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7321 # Check whether --enable-sash or --disable-sash was given.
7322 if test "${enable_sash+set}" = set; then
7323 enableval="$enable_sash"
7325 if test "$enableval" = yes; then
7326 ac_cv_use_sash='wxUSE_SASH
=yes'
7328 ac_cv_use_sash='wxUSE_SASH
=no
'
7333 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7334 if test "x$LINE" != x ; then
7335 eval "DEFAULT_$LINE"
7340 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7344 eval "$ac_cv_use_sash"
7345 if test "$no_cache" != 1; then
7346 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7349 if test "$wxUSE_SASH" = yes; then
7350 echo "$as_me:$LINENO: result: yes" >&5
7351 echo "${ECHO_T}yes" >&6
7353 echo "$as_me:$LINENO: result: no" >&5
7354 echo "${ECHO_T}no" >&6
7359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7360 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7362 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7363 if test "${enable_scrollbar+set}" = set; then
7364 enableval="$enable_scrollbar"
7366 if test "$enableval" = yes; then
7367 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7369 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7374 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x ; then
7376 eval "DEFAULT_$LINE"
7381 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7385 eval "$ac_cv_use_scrollbar"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7390 if test "$wxUSE_SCROLLBAR" = yes; then
7391 echo "$as_me:$LINENO: result: yes" >&5
7392 echo "${ECHO_T}yes" >&6
7394 echo "$as_me:$LINENO: result: no" >&5
7395 echo "${ECHO_T}no" >&6
7400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7401 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7403 # Check whether --enable-slider or --disable-slider was given.
7404 if test "${enable_slider+set}" = set; then
7405 enableval="$enable_slider"
7407 if test "$enableval" = yes; then
7408 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7410 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7415 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7416 if test "x$LINE" != x ; then
7417 eval "DEFAULT_$LINE"
7422 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7426 eval "$ac_cv_use_slider"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7431 if test "$wxUSE_SLIDER" = yes; then
7432 echo "$as_me:$LINENO: result: yes" >&5
7433 echo "${ECHO_T}yes" >&6
7435 echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6
7441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7444 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7445 if test "${enable_spinbtn+set}" = set; then
7446 enableval="$enable_spinbtn"
7448 if test "$enableval" = yes; then
7449 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7451 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7456 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7457 if test "x$LINE" != x ; then
7458 eval "DEFAULT_$LINE"
7463 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7467 eval "$ac_cv_use_spinbtn"
7468 if test "$no_cache" != 1; then
7469 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7472 if test "$wxUSE_SPINBTN" = yes; then
7473 echo "$as_me:$LINENO: result: yes" >&5
7474 echo "${ECHO_T}yes" >&6
7476 echo "$as_me:$LINENO: result: no" >&5
7477 echo "${ECHO_T}no" >&6
7482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7485 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7486 if test "${enable_spinctrl+set}" = set; then
7487 enableval="$enable_spinctrl"
7489 if test "$enableval" = yes; then
7490 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7492 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7497 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7498 if test "x$LINE" != x ; then
7499 eval "DEFAULT_$LINE"
7504 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7508 eval "$ac_cv_use_spinctrl"
7509 if test "$no_cache" != 1; then
7510 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7513 if test "$wxUSE_SPINCTRL" = yes; then
7514 echo "$as_me:$LINENO: result: yes" >&5
7515 echo "${ECHO_T}yes" >&6
7517 echo "$as_me:$LINENO: result: no" >&5
7518 echo "${ECHO_T}no" >&6
7523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7526 # Check whether --enable-splitter or --disable-splitter was given.
7527 if test "${enable_splitter+set}" = set; then
7528 enableval="$enable_splitter"
7530 if test "$enableval" = yes; then
7531 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7533 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7538 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7539 if test "x$LINE" != x ; then
7540 eval "DEFAULT_$LINE"
7545 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7549 eval "$ac_cv_use_splitter"
7550 if test "$no_cache" != 1; then
7551 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7554 if test "$wxUSE_SPLITTER" = yes; then
7555 echo "$as_me:$LINENO: result: yes" >&5
7556 echo "${ECHO_T}yes" >&6
7558 echo "$as_me:$LINENO: result: no" >&5
7559 echo "${ECHO_T}no" >&6
7564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7567 # Check whether --enable-statbmp or --disable-statbmp was given.
7568 if test "${enable_statbmp+set}" = set; then
7569 enableval="$enable_statbmp"
7571 if test "$enableval" = yes; then
7572 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7574 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7579 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7580 if test "x$LINE" != x ; then
7581 eval "DEFAULT_$LINE"
7586 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7590 eval "$ac_cv_use_statbmp"
7591 if test "$no_cache" != 1; then
7592 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7595 if test "$wxUSE_STATBMP" = yes; then
7596 echo "$as_me:$LINENO: result: yes" >&5
7597 echo "${ECHO_T}yes" >&6
7599 echo "$as_me:$LINENO: result: no" >&5
7600 echo "${ECHO_T}no" >&6
7605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7606 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7608 # Check whether --enable-statbox or --disable-statbox was given.
7609 if test "${enable_statbox+set}" = set; then
7610 enableval="$enable_statbox"
7612 if test "$enableval" = yes; then
7613 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7615 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7620 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7621 if test "x$LINE" != x ; then
7622 eval "DEFAULT_$LINE"
7627 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7631 eval "$ac_cv_use_statbox"
7632 if test "$no_cache" != 1; then
7633 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7636 if test "$wxUSE_STATBOX" = yes; then
7637 echo "$as_me:$LINENO: result: yes" >&5
7638 echo "${ECHO_T}yes" >&6
7640 echo "$as_me:$LINENO: result: no" >&5
7641 echo "${ECHO_T}no" >&6
7646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7649 # Check whether --enable-statline or --disable-statline was given.
7650 if test "${enable_statline+set}" = set; then
7651 enableval="$enable_statline"
7653 if test "$enableval" = yes; then
7654 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7656 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7661 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7662 if test "x$LINE" != x ; then
7663 eval "DEFAULT_$LINE"
7668 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7672 eval "$ac_cv_use_statline"
7673 if test "$no_cache" != 1; then
7674 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7677 if test "$wxUSE_STATLINE" = yes; then
7678 echo "$as_me:$LINENO: result: yes" >&5
7679 echo "${ECHO_T}yes" >&6
7681 echo "$as_me:$LINENO: result: no" >&5
7682 echo "${ECHO_T}no" >&6
7687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7688 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7690 # Check whether --enable-stattext or --disable-stattext was given.
7691 if test "${enable_stattext+set}" = set; then
7692 enableval="$enable_stattext"
7694 if test "$enableval" = yes; then
7695 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7697 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7702 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7703 if test "x$LINE" != x ; then
7704 eval "DEFAULT_$LINE"
7709 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7713 eval "$ac_cv_use_stattext"
7714 if test "$no_cache" != 1; then
7715 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7718 if test "$wxUSE_STATTEXT" = yes; then
7719 echo "$as_me:$LINENO: result: yes" >&5
7720 echo "${ECHO_T}yes" >&6
7722 echo "$as_me:$LINENO: result: no" >&5
7723 echo "${ECHO_T}no" >&6
7728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7729 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7731 # Check whether --enable-statusbar or --disable-statusbar was given.
7732 if test "${enable_statusbar+set}" = set; then
7733 enableval="$enable_statusbar"
7735 if test "$enableval" = yes; then
7736 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7738 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7743 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7744 if test "x$LINE" != x ; then
7745 eval "DEFAULT_$LINE"
7750 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7754 eval "$ac_cv_use_statusbar"
7755 if test "$no_cache" != 1; then
7756 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7759 if test "$wxUSE_STATUSBAR" = yes; then
7760 echo "$as_me:$LINENO: result: yes" >&5
7761 echo "${ECHO_T}yes" >&6
7763 echo "$as_me:$LINENO: result: no" >&5
7764 echo "${ECHO_T}no" >&6
7769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7770 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7772 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7773 if test "${enable_tabdialog+set}" = set; then
7774 enableval="$enable_tabdialog"
7776 if test "$enableval" = yes; then
7777 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7779 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7784 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7785 if test "x$LINE" != x ; then
7786 eval "DEFAULT_$LINE"
7791 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7795 eval "$ac_cv_use_tabdialog"
7796 if test "$no_cache" != 1; then
7797 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7800 if test "$wxUSE_TABDIALOG" = yes; then
7801 echo "$as_me:$LINENO: result: yes" >&5
7802 echo "${ECHO_T}yes" >&6
7804 echo "$as_me:$LINENO: result: no" >&5
7805 echo "${ECHO_T}no" >&6
7810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7811 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7813 # Check whether --enable-textctrl or --disable-textctrl was given.
7814 if test "${enable_textctrl+set}" = set; then
7815 enableval="$enable_textctrl"
7817 if test "$enableval" = yes; then
7818 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7820 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7825 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7826 if test "x$LINE" != x ; then
7827 eval "DEFAULT_$LINE"
7832 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7836 eval "$ac_cv_use_textctrl"
7837 if test "$no_cache" != 1; then
7838 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7841 if test "$wxUSE_TEXTCTRL" = yes; then
7842 echo "$as_me:$LINENO: result: yes" >&5
7843 echo "${ECHO_T}yes" >&6
7845 echo "$as_me:$LINENO: result: no" >&5
7846 echo "${ECHO_T}no" >&6
7851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7852 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7854 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7855 if test "${enable_togglebtn+set}" = set; then
7856 enableval="$enable_togglebtn"
7858 if test "$enableval" = yes; then
7859 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7861 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7866 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7867 if test "x$LINE" != x ; then
7868 eval "DEFAULT_$LINE"
7873 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7877 eval "$ac_cv_use_togglebtn"
7878 if test "$no_cache" != 1; then
7879 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7882 if test "$wxUSE_TOGGLEBTN" = yes; then
7883 echo "$as_me:$LINENO: result: yes" >&5
7884 echo "${ECHO_T}yes" >&6
7886 echo "$as_me:$LINENO: result: no" >&5
7887 echo "${ECHO_T}no" >&6
7892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7893 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7895 # Check whether --enable-toolbar or --disable-toolbar was given.
7896 if test "${enable_toolbar+set}" = set; then
7897 enableval="$enable_toolbar"
7899 if test "$enableval" = yes; then
7900 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7902 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7907 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7908 if test "x$LINE" != x ; then
7909 eval "DEFAULT_$LINE"
7914 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7918 eval "$ac_cv_use_toolbar"
7919 if test "$no_cache" != 1; then
7920 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7923 if test "$wxUSE_TOOLBAR" = yes; then
7924 echo "$as_me:$LINENO: result: yes" >&5
7925 echo "${ECHO_T}yes" >&6
7927 echo "$as_me:$LINENO: result: no" >&5
7928 echo "${ECHO_T}no" >&6
7933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7934 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7936 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7937 if test "${enable_tbarnative+set}" = set; then
7938 enableval="$enable_tbarnative"
7940 if test "$enableval" = yes; then
7941 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7943 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7948 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7949 if test "x$LINE" != x ; then
7950 eval "DEFAULT_$LINE"
7955 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7959 eval "$ac_cv_use_tbarnative"
7960 if test "$no_cache" != 1; then
7961 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7964 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7965 echo "$as_me:$LINENO: result: yes" >&5
7966 echo "${ECHO_T}yes" >&6
7968 echo "$as_me:$LINENO: result: no" >&5
7969 echo "${ECHO_T}no" >&6
7974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7977 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7978 if test "${enable_tbarsmpl+set}" = set; then
7979 enableval="$enable_tbarsmpl"
7981 if test "$enableval" = yes; then
7982 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
7984 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
7989 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7990 if test "x$LINE" != x ; then
7991 eval "DEFAULT_$LINE"
7996 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8000 eval "$ac_cv_use_tbarsmpl"
8001 if test "$no_cache" != 1; then
8002 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8005 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8006 echo "$as_me:$LINENO: result: yes" >&5
8007 echo "${ECHO_T}yes" >&6
8009 echo "$as_me:$LINENO: result: no" >&5
8010 echo "${ECHO_T}no" >&6
8015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8018 # Check whether --enable-treectrl or --disable-treectrl was given.
8019 if test "${enable_treectrl+set}" = set; then
8020 enableval="$enable_treectrl"
8022 if test "$enableval" = yes; then
8023 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8025 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8030 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x ; then
8032 eval "DEFAULT_$LINE"
8037 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8041 eval "$ac_cv_use_treectrl"
8042 if test "$no_cache" != 1; then
8043 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8046 if test "$wxUSE_TREECTRL" = yes; then
8047 echo "$as_me:$LINENO: result: yes" >&5
8048 echo "${ECHO_T}yes" >&6
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8059 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8060 if test "${enable_tipwindow+set}" = set; then
8061 enableval="$enable_tipwindow"
8063 if test "$enableval" = yes; then
8064 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8066 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8071 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8072 if test "x$LINE" != x ; then
8073 eval "DEFAULT_$LINE"
8078 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8082 eval "$ac_cv_use_tipwindow"
8083 if test "$no_cache" != 1; then
8084 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8087 if test "$wxUSE_TIPWINDOW" = yes; then
8088 echo "$as_me:$LINENO: result: yes" >&5
8089 echo "${ECHO_T}yes" >&6
8091 echo "$as_me:$LINENO: result: no" >&5
8092 echo "${ECHO_T}no" >&6
8097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8100 # Check whether --enable-popupwin or --disable-popupwin was given.
8101 if test "${enable_popupwin+set}" = set; then
8102 enableval="$enable_popupwin"
8104 if test "$enableval" = yes; then
8105 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8107 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8112 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x ; then
8114 eval "DEFAULT_$LINE"
8119 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8123 eval "$ac_cv_use_popupwin"
8124 if test "$no_cache" != 1; then
8125 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8128 if test "$wxUSE_POPUPWIN" = yes; then
8129 echo "$as_me:$LINENO: result: yes" >&5
8130 echo "${ECHO_T}yes" >&6
8132 echo "$as_me:$LINENO: result: no" >&5
8133 echo "${ECHO_T}no" >&6
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8143 # Check whether --enable-commondlg or --disable-commondlg was given.
8144 if test "${enable_commondlg+set}" = set; then
8145 enableval="$enable_commondlg"
8147 if test "$enableval" = yes; then
8148 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8150 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8155 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8162 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8166 eval "$ac_cv_use_commondlg"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8171 if test "$wxUSE_COMMONDLGS" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8184 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8185 if test "${enable_choicedlg+set}" = set; then
8186 enableval="$enable_choicedlg"
8188 if test "$enableval" = yes; then
8189 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8191 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8196 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8203 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8207 eval "$ac_cv_use_choicedlg"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8212 if test "$wxUSE_CHOICEDLG" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8225 # Check whether --enable-coldlg or --disable-coldlg was given.
8226 if test "${enable_coldlg+set}" = set; then
8227 enableval="$enable_coldlg"
8229 if test "$enableval" = yes; then
8230 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8232 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8237 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x ; then
8239 eval "DEFAULT_$LINE"
8244 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8248 eval "$ac_cv_use_coldlg"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8253 if test "$wxUSE_COLOURDLG" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8266 # Check whether --enable-filedlg or --disable-filedlg was given.
8267 if test "${enable_filedlg+set}" = set; then
8268 enableval="$enable_filedlg"
8270 if test "$enableval" = yes; then
8271 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8273 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8278 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x ; then
8280 eval "DEFAULT_$LINE"
8285 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8289 eval "$ac_cv_use_filedlg"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8294 if test "$wxUSE_FILEDLG" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8307 # Check whether --enable-finddlg or --disable-finddlg was given.
8308 if test "${enable_finddlg+set}" = set; then
8309 enableval="$enable_finddlg"
8311 if test "$enableval" = yes; then
8312 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8314 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8319 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8326 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8330 eval "$ac_cv_use_finddlg"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8335 if test "$wxUSE_FINDREPLDLG" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8348 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8349 if test "${enable_fontdlg+set}" = set; then
8350 enableval="$enable_fontdlg"
8352 if test "$enableval" = yes; then
8353 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8355 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8360 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x ; then
8362 eval "DEFAULT_$LINE"
8367 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8371 eval "$ac_cv_use_fontdlg"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8376 if test "$wxUSE_FONTDLG" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8389 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8390 if test "${enable_dirdlg+set}" = set; then
8391 enableval="$enable_dirdlg"
8393 if test "$enableval" = yes; then
8394 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8396 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8401 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x ; then
8403 eval "DEFAULT_$LINE"
8408 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8412 eval "$ac_cv_use_dirdlg"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8417 if test "$wxUSE_DIRDLG" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8430 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8431 if test "${enable_msgdlg+set}" = set; then
8432 enableval="$enable_msgdlg"
8434 if test "$enableval" = yes; then
8435 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8437 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8442 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x ; then
8444 eval "DEFAULT_$LINE"
8449 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8453 eval "$ac_cv_use_msgdlg"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8458 if test "$wxUSE_MSGDLG" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8471 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8472 if test "${enable_numberdlg+set}" = set; then
8473 enableval="$enable_numberdlg"
8475 if test "$enableval" = yes; then
8476 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8478 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8483 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x ; then
8485 eval "DEFAULT_$LINE"
8490 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8494 eval "$ac_cv_use_numberdlg"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8499 if test "$wxUSE_NUMBERDLG" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8512 # Check whether --enable-splash or --disable-splash was given.
8513 if test "${enable_splash+set}" = set; then
8514 enableval="$enable_splash"
8516 if test "$enableval" = yes; then
8517 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8519 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8524 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x ; then
8526 eval "DEFAULT_$LINE"
8531 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8535 eval "$ac_cv_use_splash"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8540 if test "$wxUSE_SPLASH" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8553 # Check whether --enable-textdlg or --disable-textdlg was given.
8554 if test "${enable_textdlg+set}" = set; then
8555 enableval="$enable_textdlg"
8557 if test "$enableval" = yes; then
8558 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8560 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8565 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x ; then
8567 eval "DEFAULT_$LINE"
8572 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8576 eval "$ac_cv_use_textdlg"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8581 if test "$wxUSE_TEXTDLG" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8594 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8595 if test "${enable_tipdlg+set}" = set; then
8596 enableval="$enable_tipdlg"
8598 if test "$enableval" = yes; then
8599 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8601 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8606 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x ; then
8608 eval "DEFAULT_$LINE"
8613 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8617 eval "$ac_cv_use_tipdlg"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8622 if test "$wxUSE_STARTUP_TIPS" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8635 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8636 if test "${enable_progressdlg+set}" = set; then
8637 enableval="$enable_progressdlg"
8639 if test "$enableval" = yes; then
8640 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8642 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8647 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8654 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8658 eval "$ac_cv_use_progressdlg"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8663 if test "$wxUSE_PROGRESSDLG" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8676 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8677 if test "${enable_wizarddlg+set}" = set; then
8678 enableval="$enable_wizarddlg"
8680 if test "$enableval" = yes; then
8681 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8683 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8688 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x ; then
8690 eval "DEFAULT_$LINE"
8695 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8699 eval "$ac_cv_use_wizarddlg"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8704 if test "$wxUSE_WIZARDDLG" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8719 # Check whether --enable-menus or --disable-menus was given.
8720 if test "${enable_menus+set}" = set; then
8721 enableval="$enable_menus"
8723 if test "$enableval" = yes; then
8724 ac_cv_use_menus='wxUSE_MENUS
=yes'
8726 ac_cv_use_menus='wxUSE_MENUS
=no
'
8731 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8732 if test "x$LINE" != x ; then
8733 eval "DEFAULT_$LINE"
8738 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8742 eval "$ac_cv_use_menus"
8743 if test "$no_cache" != 1; then
8744 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8747 if test "$wxUSE_MENUS" = yes; then
8748 echo "$as_me:$LINENO: result: yes" >&5
8749 echo "${ECHO_T}yes" >&6
8751 echo "$as_me:$LINENO: result: no" >&5
8752 echo "${ECHO_T}no" >&6
8757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8760 # Check whether --enable-miniframe or --disable-miniframe was given.
8761 if test "${enable_miniframe+set}" = set; then
8762 enableval="$enable_miniframe"
8764 if test "$enableval" = yes; then
8765 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8767 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8772 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8773 if test "x$LINE" != x ; then
8774 eval "DEFAULT_$LINE"
8779 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8783 eval "$ac_cv_use_miniframe"
8784 if test "$no_cache" != 1; then
8785 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8788 if test "$wxUSE_MINIFRAME" = yes; then
8789 echo "$as_me:$LINENO: result: yes" >&5
8790 echo "${ECHO_T}yes" >&6
8792 echo "$as_me:$LINENO: result: no" >&5
8793 echo "${ECHO_T}no" >&6
8798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8799 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8801 # Check whether --enable-tooltips or --disable-tooltips was given.
8802 if test "${enable_tooltips+set}" = set; then
8803 enableval="$enable_tooltips"
8805 if test "$enableval" = yes; then
8806 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8808 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8813 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8814 if test "x$LINE" != x ; then
8815 eval "DEFAULT_$LINE"
8820 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8824 eval "$ac_cv_use_tooltips"
8825 if test "$no_cache" != 1; then
8826 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8829 if test "$wxUSE_TOOLTIPS" = yes; then
8830 echo "$as_me:$LINENO: result: yes" >&5
8831 echo "${ECHO_T}yes" >&6
8833 echo "$as_me:$LINENO: result: no" >&5
8834 echo "${ECHO_T}no" >&6
8839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8840 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8842 # Check whether --enable-splines or --disable-splines was given.
8843 if test "${enable_splines+set}" = set; then
8844 enableval="$enable_splines"
8846 if test "$enableval" = yes; then
8847 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8849 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8854 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8855 if test "x$LINE" != x ; then
8856 eval "DEFAULT_$LINE"
8861 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8865 eval "$ac_cv_use_splines"
8866 if test "$no_cache" != 1; then
8867 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8870 if test "$wxUSE_SPLINES" = yes; then
8871 echo "$as_me:$LINENO: result: yes" >&5
8872 echo "${ECHO_T}yes" >&6
8874 echo "$as_me:$LINENO: result: no" >&5
8875 echo "${ECHO_T}no" >&6
8880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8883 # Check whether --enable-validators or --disable-validators was given.
8884 if test "${enable_validators+set}" = set; then
8885 enableval="$enable_validators"
8887 if test "$enableval" = yes; then
8888 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8890 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8895 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8896 if test "x$LINE" != x ; then
8897 eval "DEFAULT_$LINE"
8902 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8906 eval "$ac_cv_use_validators"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8911 if test "$wxUSE_VALIDATORS" = yes; then
8912 echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6
8915 echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6
8921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8924 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8925 if test "${enable_busyinfo+set}" = set; then
8926 enableval="$enable_busyinfo"
8928 if test "$enableval" = yes; then
8929 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8931 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8936 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8937 if test "x$LINE" != x ; then
8938 eval "DEFAULT_$LINE"
8943 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8947 eval "$ac_cv_use_busyinfo"
8948 if test "$no_cache" != 1; then
8949 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8952 if test "$wxUSE_BUSYINFO" = yes; then
8953 echo "$as_me:$LINENO: result: yes" >&5
8954 echo "${ECHO_T}yes" >&6
8956 echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6
8962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8965 # Check whether --enable-joystick or --disable-joystick was given.
8966 if test "${enable_joystick+set}" = set; then
8967 enableval="$enable_joystick"
8969 if test "$enableval" = yes; then
8970 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8972 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
8977 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8978 if test "x$LINE" != x ; then
8979 eval "DEFAULT_$LINE"
8984 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
8988 eval "$ac_cv_use_joystick"
8989 if test "$no_cache" != 1; then
8990 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8993 if test "$wxUSE_JOYSTICK" = yes; then
8994 echo "$as_me:$LINENO: result: yes" >&5
8995 echo "${ECHO_T}yes" >&6
8997 echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9006 # Check whether --enable-metafile or --disable-metafile was given.
9007 if test "${enable_metafile+set}" = set; then
9008 enableval="$enable_metafile"
9010 if test "$enableval" = yes; then
9011 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9013 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9018 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x ; then
9020 eval "DEFAULT_$LINE"
9025 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9029 eval "$ac_cv_use_metafile"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9034 if test "$wxUSE_METAFILE" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9047 # Check whether --enable-dragimage or --disable-dragimage was given.
9048 if test "${enable_dragimage+set}" = set; then
9049 enableval="$enable_dragimage"
9051 if test "$enableval" = yes; then
9052 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9054 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9059 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x ; then
9061 eval "DEFAULT_$LINE"
9066 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9070 eval "$ac_cv_use_dragimage"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9075 if test "$wxUSE_DRAGIMAGE" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9088 # Check whether --enable-accessibility or --disable-accessibility was given.
9089 if test "${enable_accessibility+set}" = set; then
9090 enableval="$enable_accessibility"
9092 if test "$enableval" = yes; then
9093 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9095 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9100 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x ; then
9102 eval "DEFAULT_$LINE"
9107 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9111 eval "$ac_cv_use_accessibility"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9116 if test "$wxUSE_ACCESSIBILITY" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9129 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9131 # Check whether --enable-palette or --disable-palette was given.
9132 if test "${enable_palette+set}" = set; then
9133 enableval="$enable_palette"
9135 if test "$enableval" = yes; then
9136 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9138 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9143 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9150 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9154 eval "$ac_cv_use_palette"
9155 if test "$no_cache" != 1; then
9156 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9159 if test "$wxUSE_PALETTE" = yes; then
9160 echo "$as_me:$LINENO: result: yes" >&5
9161 echo "${ECHO_T}yes" >&6
9163 echo "$as_me:$LINENO: result: no" >&5
9164 echo "${ECHO_T}no" >&6
9169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9170 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9172 # Check whether --enable-image or --disable-image was given.
9173 if test "${enable_image+set}" = set; then
9174 enableval="$enable_image"
9176 if test "$enableval" = yes; then
9177 ac_cv_use_image='wxUSE_IMAGE
=yes'
9179 ac_cv_use_image='wxUSE_IMAGE
=no
'
9184 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9191 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9195 eval "$ac_cv_use_image"
9196 if test "$no_cache" != 1; then
9197 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9200 if test "$wxUSE_IMAGE" = yes; then
9201 echo "$as_me:$LINENO: result: yes" >&5
9202 echo "${ECHO_T}yes" >&6
9204 echo "$as_me:$LINENO: result: no" >&5
9205 echo "${ECHO_T}no" >&6
9210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9211 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9213 # Check whether --enable-gif or --disable-gif was given.
9214 if test "${enable_gif+set}" = set; then
9215 enableval="$enable_gif"
9217 if test "$enableval" = yes; then
9218 ac_cv_use_gif='wxUSE_GIF
=yes'
9220 ac_cv_use_gif='wxUSE_GIF
=no
'
9225 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9232 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9236 eval "$ac_cv_use_gif"
9237 if test "$no_cache" != 1; then
9238 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9241 if test "$wxUSE_GIF" = yes; then
9242 echo "$as_me:$LINENO: result: yes" >&5
9243 echo "${ECHO_T}yes" >&6
9245 echo "$as_me:$LINENO: result: no" >&5
9246 echo "${ECHO_T}no" >&6
9251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9254 # Check whether --enable-pcx or --disable-pcx was given.
9255 if test "${enable_pcx+set}" = set; then
9256 enableval="$enable_pcx"
9258 if test "$enableval" = yes; then
9259 ac_cv_use_pcx='wxUSE_PCX
=yes'
9261 ac_cv_use_pcx='wxUSE_PCX
=no
'
9266 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9273 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9277 eval "$ac_cv_use_pcx"
9278 if test "$no_cache" != 1; then
9279 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9282 if test "$wxUSE_PCX" = yes; then
9283 echo "$as_me:$LINENO: result: yes" >&5
9284 echo "${ECHO_T}yes" >&6
9286 echo "$as_me:$LINENO: result: no" >&5
9287 echo "${ECHO_T}no" >&6
9292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9293 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9295 # Check whether --enable-iff or --disable-iff was given.
9296 if test "${enable_iff+set}" = set; then
9297 enableval="$enable_iff"
9299 if test "$enableval" = yes; then
9300 ac_cv_use_iff='wxUSE_IFF
=yes'
9302 ac_cv_use_iff='wxUSE_IFF
=no
'
9307 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9308 if test "x$LINE" != x ; then
9309 eval "DEFAULT_$LINE"
9314 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9318 eval "$ac_cv_use_iff"
9319 if test "$no_cache" != 1; then
9320 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9323 if test "$wxUSE_IFF" = yes; then
9324 echo "$as_me:$LINENO: result: yes" >&5
9325 echo "${ECHO_T}yes" >&6
9327 echo "$as_me:$LINENO: result: no" >&5
9328 echo "${ECHO_T}no" >&6
9333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9334 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9336 # Check whether --enable-pnm or --disable-pnm was given.
9337 if test "${enable_pnm+set}" = set; then
9338 enableval="$enable_pnm"
9340 if test "$enableval" = yes; then
9341 ac_cv_use_pnm='wxUSE_PNM
=yes'
9343 ac_cv_use_pnm='wxUSE_PNM
=no
'
9348 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9349 if test "x$LINE" != x ; then
9350 eval "DEFAULT_$LINE"
9355 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9359 eval "$ac_cv_use_pnm"
9360 if test "$no_cache" != 1; then
9361 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9364 if test "$wxUSE_PNM" = yes; then
9365 echo "$as_me:$LINENO: result: yes" >&5
9366 echo "${ECHO_T}yes" >&6
9368 echo "$as_me:$LINENO: result: no" >&5
9369 echo "${ECHO_T}no" >&6
9374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9375 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9377 # Check whether --enable-xpm or --disable-xpm was given.
9378 if test "${enable_xpm+set}" = set; then
9379 enableval="$enable_xpm"
9381 if test "$enableval" = yes; then
9382 ac_cv_use_xpm='wxUSE_XPM
=yes'
9384 ac_cv_use_xpm='wxUSE_XPM
=no
'
9389 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9390 if test "x$LINE" != x ; then
9391 eval "DEFAULT_$LINE"
9396 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9400 eval "$ac_cv_use_xpm"
9401 if test "$no_cache" != 1; then
9402 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9405 if test "$wxUSE_XPM" = yes; then
9406 echo "$as_me:$LINENO: result: yes" >&5
9407 echo "${ECHO_T}yes" >&6
9409 echo "$as_me:$LINENO: result: no" >&5
9410 echo "${ECHO_T}no" >&6
9415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9416 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9418 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9419 if test "${enable_ico_cur+set}" = set; then
9420 enableval="$enable_ico_cur"
9422 if test "$enableval" = yes; then
9423 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9425 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9430 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9431 if test "x$LINE" != x ; then
9432 eval "DEFAULT_$LINE"
9437 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9441 eval "$ac_cv_use_ico_cur"
9442 if test "$no_cache" != 1; then
9443 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9446 if test "$wxUSE_ICO_CUR" = yes; then
9447 echo "$as_me:$LINENO: result: yes" >&5
9448 echo "${ECHO_T}yes" >&6
9450 echo "$as_me:$LINENO: result: no" >&5
9451 echo "${ECHO_T}no" >&6
9460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9461 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9463 # Check whether --enable-official_build or --disable-official_build was given.
9464 if test "${enable_official_build+set}" = set; then
9465 enableval="$enable_official_build"
9467 if test "$enableval" = yes; then
9468 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9470 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9475 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9476 if test "x$LINE" != x ; then
9477 eval "DEFAULT_$LINE"
9482 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9486 eval "$ac_cv_use_official_build"
9487 if test "$no_cache" != 1; then
9488 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9491 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9492 echo "$as_me:$LINENO: result: yes" >&5
9493 echo "${ECHO_T}yes" >&6
9495 echo "$as_me:$LINENO: result: no" >&5
9496 echo "${ECHO_T}no" >&6
9499 # Check whether --enable-vendor or --disable-vendor was given.
9500 if test "${enable_vendor+set}" = set; then
9501 enableval="$enable_vendor"
9504 if test "x$VENDOR" = "x"; then
9509 *-pc-os2_emx | *-pc-os2-emx )
9521 echo "saving argument cache $wx_arg_cache_file"
9522 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9526 echo "$as_me:$LINENO: checking for toolkit" >&5
9527 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9529 # In Wine, we need to default to MSW, not GTK or MOTIF
9530 if test "$wxUSE_WINE" = "yes"; then
9531 DEFAULT_DEFAULT_wxUSE_GTK=0
9532 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9533 DEFAULT_DEFAULT_wxUSE_MSW=1
9536 if test "$wxUSE_GUI" = "yes"; then
9538 if test "$USE_BEOS" = 1; then
9539 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9540 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9541 { (exit 1); exit 1; }; }
9544 if test "$TOOLKIT_GIVEN" = 1; then
9545 for toolkit in `echo $ALL_TOOLKITS`; do
9547 eval "value=\$${var}"
9548 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9551 for toolkit in `echo $ALL_TOOLKITS`; do
9552 if test "$has_toolkit_in_cache" != 1; then
9553 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9555 var=DEFAULT_wxUSE_$toolkit
9557 eval "wxUSE_$toolkit=\$${var}"
9561 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9562 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9563 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9566 *-pc-os2_emx | *-pc-os2-emx )
9567 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9570 case "$NUM_TOOLKITS" in
9574 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9575 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9576 { (exit 1); exit 1; }; }
9579 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9580 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9581 { (exit 1); exit 1; }; }
9584 for toolkit in `echo $ALL_TOOLKITS`; do
9586 eval "value=\$${var}"
9587 if test "x$value" != x; then
9588 cache_var=CACHE_$toolkit
9589 eval "cache=\$${cache_var}"
9590 if test "$cache" = 1; then
9591 echo "$var=$value" >> ${wx_arg_cache_file}
9593 if test "$value" = 1; then
9594 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9595 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9596 echo "${ECHO_T}$toolkit_echo" >&6
9601 if test "x$host_alias" != "x"; then
9602 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9603 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9605 echo "$as_me:$LINENO: result: base only" >&5
9606 echo "${ECHO_T}base only" >&6
9614 if test "$wxUSE_MSW" = 1 ; then
9625 if test "$wxUSE_WINE" = "yes"; then
9632 if test "$wants_win32" = 1 ; then
9635 cat >>confdefs.h <<\_ACEOF
9639 cat >>confdefs.h <<\_ACEOF
9643 cat >>confdefs.h <<\_ACEOF
9644 #define __WINDOWS__ 1
9647 cat >>confdefs.h <<\_ACEOF
9648 #define __GNUWIN32__ 1
9651 cat >>confdefs.h <<\_ACEOF
9655 cat >>confdefs.h <<\_ACEOF
9656 #define WINVER 0x0400
9660 if test "$doesnt_want_win32" = 1 ; then
9665 if test "$USE_UNIX" = 1 ; then
9667 cat >>confdefs.h <<\_ACEOF
9674 cat >confcache <<\_ACEOF
9675 # This file is a shell script that caches the results of configure
9676 # tests run on this system so they can be shared between configure
9677 # scripts and configure runs, see configure's option
--config-cache.
9678 # It is not useful on other systems. If it contains results you don't
9679 # want to keep, you may remove or edit it.
9681 # config.status only pays attention to the cache file if you give it
9682 # the --recheck option to rerun configure.
9684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9690 # The following way of writing the cache mishandles newlines in values,
9691 # but we know of no workaround that is simple, portable, and efficient.
9692 # So, don't put newlines in cache variables' values.
9693 # Ultrix sh set writes to stderr and can't be redirected directly,
9694 # and sets the high bit in the cache file unless we assign to the vars.
9697 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9699 # `set' does not quote correctly, so add quotes (double-quote
9700 # substitution turns \\\\ into \\, and sed turns \\ into \).
9703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9706 # `set' quotes correctly as required by POSIX, so do not add quotes.
9708 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9715 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9717 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9719 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9720 if test -w $cache_file; then
9721 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9722 cat confcache
>$cache_file
9724 echo "not updating unwritable cache $cache_file"
9729 if test "$build" != "$host" ; then
9730 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9734 RANLIB
=$host_alias-ranlib
9735 DLLTOOL
=$host_alias-dlltool
9736 RESCOMP
=$host_alias-windres
9739 STRIP
=$host_alias-strip
9741 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9742 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9743 { (exit 1); exit 1; }; }
9749 ac_cpp
='$CPP $CPPFLAGS'
9750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9753 if test -n "$ac_tool_prefix"; then
9754 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9755 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9756 echo "$as_me:$LINENO: checking for $ac_word" >&5
9757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9758 if test "${ac_cv_prog_CC+set}" = set; then
9759 echo $ECHO_N "(cached) $ECHO_C" >&6
9761 if test -n "$CC"; then
9762 ac_cv_prog_CC
="$CC" # Let the user override the test.
9764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9768 test -z "$as_dir" && as_dir
=.
9769 for ac_exec_ext
in '' $ac_executable_extensions; do
9770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9771 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9781 if test -n "$CC"; then
9782 echo "$as_me:$LINENO: result: $CC" >&5
9783 echo "${ECHO_T}$CC" >&6
9785 echo "$as_me:$LINENO: result: no" >&5
9786 echo "${ECHO_T}no" >&6
9790 if test -z "$ac_cv_prog_CC"; then
9792 # Extract the first word of "gcc", so it can be a program name with args.
9793 set dummy gcc
; ac_word
=$2
9794 echo "$as_me:$LINENO: checking for $ac_word" >&5
9795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9797 echo $ECHO_N "(cached) $ECHO_C" >&6
9799 if test -n "$ac_ct_CC"; then
9800 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9806 test -z "$as_dir" && as_dir
=.
9807 for ac_exec_ext
in '' $ac_executable_extensions; do
9808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9809 ac_cv_prog_ac_ct_CC
="gcc"
9810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9818 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9819 if test -n "$ac_ct_CC"; then
9820 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9821 echo "${ECHO_T}$ac_ct_CC" >&6
9823 echo "$as_me:$LINENO: result: no" >&5
9824 echo "${ECHO_T}no" >&6
9832 if test -z "$CC"; then
9833 if test -n "$ac_tool_prefix"; then
9834 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9835 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9836 echo "$as_me:$LINENO: checking for $ac_word" >&5
9837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9838 if test "${ac_cv_prog_CC+set}" = set; then
9839 echo $ECHO_N "(cached) $ECHO_C" >&6
9841 if test -n "$CC"; then
9842 ac_cv_prog_CC
="$CC" # Let the user override the test.
9844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9848 test -z "$as_dir" && as_dir
=.
9849 for ac_exec_ext
in '' $ac_executable_extensions; do
9850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9851 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9861 if test -n "$CC"; then
9862 echo "$as_me:$LINENO: result: $CC" >&5
9863 echo "${ECHO_T}$CC" >&6
9865 echo "$as_me:$LINENO: result: no" >&5
9866 echo "${ECHO_T}no" >&6
9870 if test -z "$ac_cv_prog_CC"; then
9872 # Extract the first word of "cc", so it can be a program name with args.
9873 set dummy cc
; ac_word
=$2
9874 echo "$as_me:$LINENO: checking for $ac_word" >&5
9875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9879 if test -n "$ac_ct_CC"; then
9880 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9886 test -z "$as_dir" && as_dir
=.
9887 for ac_exec_ext
in '' $ac_executable_extensions; do
9888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9889 ac_cv_prog_ac_ct_CC
="cc"
9890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9899 if test -n "$ac_ct_CC"; then
9900 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9901 echo "${ECHO_T}$ac_ct_CC" >&6
9903 echo "$as_me:$LINENO: result: no" >&5
9904 echo "${ECHO_T}no" >&6
9913 if test -z "$CC"; then
9914 # Extract the first word of "cc", so it can be a program name with args.
9915 set dummy cc
; ac_word
=$2
9916 echo "$as_me:$LINENO: checking for $ac_word" >&5
9917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9918 if test "${ac_cv_prog_CC+set}" = set; then
9919 echo $ECHO_N "(cached) $ECHO_C" >&6
9921 if test -n "$CC"; then
9922 ac_cv_prog_CC
="$CC" # Let the user override the test.
9925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9929 test -z "$as_dir" && as_dir
=.
9930 for ac_exec_ext
in '' $ac_executable_extensions; do
9931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9932 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9933 ac_prog_rejected
=yes
9937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9943 if test $ac_prog_rejected = yes; then
9944 # We found a bogon in the path, so make sure we never use it.
9945 set dummy
$ac_cv_prog_CC
9947 if test $# != 0; then
9948 # We chose a different compiler from the bogus one.
9949 # However, it has the same basename, so the bogon will be chosen
9950 # first if we set CC to just the basename; use the full file name.
9952 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9958 if test -n "$CC"; then
9959 echo "$as_me:$LINENO: result: $CC" >&5
9960 echo "${ECHO_T}$CC" >&6
9962 echo "$as_me:$LINENO: result: no" >&5
9963 echo "${ECHO_T}no" >&6
9967 if test -z "$CC"; then
9968 if test -n "$ac_tool_prefix"; then
9971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9972 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9973 echo "$as_me:$LINENO: checking for $ac_word" >&5
9974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9975 if test "${ac_cv_prog_CC+set}" = set; then
9976 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 if test -n "$CC"; then
9979 ac_cv_prog_CC
="$CC" # Let the user override the test.
9981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9985 test -z "$as_dir" && as_dir
=.
9986 for ac_exec_ext
in '' $ac_executable_extensions; do
9987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9988 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9998 if test -n "$CC"; then
9999 echo "$as_me:$LINENO: result: $CC" >&5
10000 echo "${ECHO_T}$CC" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10006 test -n "$CC" && break
10009 if test -z "$CC"; then
10013 # Extract the first word of "$ac_prog", so it can be a program name with args.
10014 set dummy
$ac_prog; ac_word
=$2
10015 echo "$as_me:$LINENO: checking for $ac_word" >&5
10016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10018 echo $ECHO_N "(cached) $ECHO_C" >&6
10020 if test -n "$ac_ct_CC"; then
10021 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10024 for as_dir
in $PATH
10027 test -z "$as_dir" && as_dir
=.
10028 for ac_exec_ext
in '' $ac_executable_extensions; do
10029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10030 ac_cv_prog_ac_ct_CC
="$ac_prog"
10031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10039 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10040 if test -n "$ac_ct_CC"; then
10041 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10042 echo "${ECHO_T}$ac_ct_CC" >&6
10044 echo "$as_me:$LINENO: result: no" >&5
10045 echo "${ECHO_T}no" >&6
10048 test -n "$ac_ct_CC" && break
10057 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10058 See \`config.log' for more details." >&5
10059 echo "$as_me: error: no acceptable C compiler found in \$PATH
10060 See \`config.log' for more details." >&2;}
10061 { (exit 1); exit 1; }; }
10063 # Provide some information about the compiler.
10064 echo "$as_me:$LINENO:" \
10065 "checking for C compiler version" >&5
10066 ac_compiler
=`set X $ac_compile; echo $2`
10067 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10068 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); }
10072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10073 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); }
10077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10078 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); }
10083 cat >conftest.
$ac_ext <<_ACEOF
10084 #line $LINENO "configure"
10087 cat confdefs.h
>>conftest.
$ac_ext
10088 cat >>conftest.
$ac_ext <<_ACEOF
10089 /* end confdefs.h. */
10099 ac_clean_files_save
=$ac_clean_files
10100 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10101 # Try to create an executable without -o first, disregard a.out.
10102 # It will help us diagnose broken compilers, and finding out an intuition
10104 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10105 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10106 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10107 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10108 (eval $ac_link_default) 2>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; then
10112 # Find the output, starting from the most likely. This scheme is
10113 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10116 # Be careful to initialize this variable, since it used to be cached.
10117 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10119 # b.out is created by i960 compilers.
10120 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10122 test -f "$ac_file" || continue
10124 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10127 # This is the source file.
10130 # We found the default executable, but exeext='' is most
10134 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10135 # FIXME: I believe we export ac_cv_exeext for Libtool,
10136 # but it would be cool to find out if it's true. Does anybody
10137 # maintain Libtool? --akim.
10138 export ac_cv_exeext
10145 echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.
$ac_ext >&5
10148 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10149 See \`config.log' for more details." >&5
10150 echo "$as_me: error: C compiler cannot create executables
10151 See \`config.log' for more details." >&2;}
10152 { (exit 77); exit 77; }; }
10155 ac_exeext
=$ac_cv_exeext
10156 echo "$as_me:$LINENO: result: $ac_file" >&5
10157 echo "${ECHO_T}$ac_file" >&6
10159 # Check the compiler produces executables we can run. If not, either
10160 # the compiler is broken, or we cross compile.
10161 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10164 # If not cross compiling, check that we can run a simple program.
10165 if test "$cross_compiling" != yes; then
10166 if { ac_try
='./$ac_file'
10167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10168 (eval $ac_try) 2>&5
10170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10171 (exit $ac_status); }; }; then
10174 if test "$cross_compiling" = maybe
; then
10175 cross_compiling
=yes
10177 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10178 If you meant to cross compile, use \`--host'.
10179 See \`config.log' for more details." >&5
10180 echo "$as_me: error: cannot run C compiled programs.
10181 If you meant to cross compile, use \`--host'.
10182 See \`config.log' for more details." >&2;}
10183 { (exit 1); exit 1; }; }
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10190 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10191 ac_clean_files
=$ac_clean_files_save
10192 # Check the compiler produces executables we can run. If not, either
10193 # the compiler is broken, or we cross compile.
10194 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10195 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10196 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10197 echo "${ECHO_T}$cross_compiling" >&6
10199 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10200 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10202 (eval $ac_link) 2>&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); }; then
10206 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10207 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10208 # work properly (i.e., refer to `conftest.exe'), while it won't with
10210 for ac_file
in conftest.exe conftest conftest.
*; do
10211 test -f "$ac_file" || continue
10213 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10214 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10215 export ac_cv_exeext
10221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10222 See \`config.log' for more details." >&5
10223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10224 See \`config.log' for more details." >&2;}
10225 { (exit 1); exit 1; }; }
10228 rm -f conftest
$ac_cv_exeext
10229 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10230 echo "${ECHO_T}$ac_cv_exeext" >&6
10232 rm -f conftest.
$ac_ext
10233 EXEEXT
=$ac_cv_exeext
10235 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10237 if test "${ac_cv_objext+set}" = set; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10240 cat >conftest.
$ac_ext <<_ACEOF
10241 #line $LINENO "configure"
10244 cat confdefs.h
>>conftest.
$ac_ext
10245 cat >>conftest.
$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10256 rm -f conftest.o conftest.obj
10257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10258 (eval $ac_compile) 2>&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }; then
10262 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10264 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10265 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10270 echo "$as_me: failed program was:" >&5
10271 sed 's/^/| /' conftest.
$ac_ext >&5
10273 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10274 See \`config.log' for more details." >&5
10275 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10276 See \`config.log' for more details." >&2;}
10277 { (exit 1); exit 1; }; }
10280 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10282 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10283 echo "${ECHO_T}$ac_cv_objext" >&6
10284 OBJEXT
=$ac_cv_objext
10286 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10287 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10288 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10289 echo $ECHO_N "(cached) $ECHO_C" >&6
10291 cat >conftest.
$ac_ext <<_ACEOF
10292 #line $LINENO "configure"
10295 cat confdefs.h
>>conftest.
$ac_ext
10296 cat >>conftest.
$ac_ext <<_ACEOF
10297 /* end confdefs.h. */
10310 rm -f conftest.
$ac_objext
10311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10312 (eval $ac_compile) 2>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } &&
10316 { ac_try
='test -s conftest.$ac_objext'
10317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10318 (eval $ac_try) 2>&5
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); }; }; then
10322 ac_compiler_gnu
=yes
10324 echo "$as_me: failed program was:" >&5
10325 sed 's/^/| /' conftest.
$ac_ext >&5
10329 rm -f conftest.
$ac_objext conftest.
$ac_ext
10330 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10333 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10334 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10335 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10336 ac_test_CFLAGS
=${CFLAGS+set}
10337 ac_save_CFLAGS
=$CFLAGS
10339 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10340 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10341 if test "${ac_cv_prog_cc_g+set}" = set; then
10342 echo $ECHO_N "(cached) $ECHO_C" >&6
10344 cat >conftest.
$ac_ext <<_ACEOF
10345 #line $LINENO "configure"
10348 cat confdefs.h
>>conftest.
$ac_ext
10349 cat >>conftest.
$ac_ext <<_ACEOF
10350 /* end confdefs.h. */
10360 rm -f conftest.
$ac_objext
10361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10362 (eval $ac_compile) 2>&5
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365 (exit $ac_status); } &&
10366 { ac_try
='test -s conftest.$ac_objext'
10367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 (eval $ac_try) 2>&5
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); }; }; then
10372 ac_cv_prog_cc_g
=yes
10374 echo "$as_me: failed program was:" >&5
10375 sed 's/^/| /' conftest.
$ac_ext >&5
10379 rm -f conftest.
$ac_objext conftest.
$ac_ext
10381 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10382 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10383 if test "$ac_test_CFLAGS" = set; then
10384 CFLAGS
=$ac_save_CFLAGS
10385 elif test $ac_cv_prog_cc_g = yes; then
10386 if test "$GCC" = yes; then
10392 if test "$GCC" = yes; then
10398 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10399 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10400 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10401 echo $ECHO_N "(cached) $ECHO_C" >&6
10403 ac_cv_prog_cc_stdc
=no
10405 cat >conftest.
$ac_ext <<_ACEOF
10406 #line $LINENO "configure"
10409 cat confdefs.h
>>conftest.
$ac_ext
10410 cat >>conftest.
$ac_ext <<_ACEOF
10411 /* end confdefs.h. */
10412 #include <stdarg.h>
10414 #include <sys/types.h>
10415 #include <sys/stat.h>
10416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10417 struct buf { int x; };
10418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10419 static char *e (p, i)
10425 static char *f (char * (*g) (char **, int), char **p, ...)
10430 s = g (p, va_arg (v,int));
10434 int test (int i, double x);
10435 struct s1 {int (*f) (int a);};
10436 struct s2 {int (*f) (double a);};
10437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10448 # Don't try gcc -ansi; that turns off useful extensions and
10449 # breaks some systems' header files.
10450 # AIX -qlanglvl=ansi
10451 # Ultrix and OSF/1 -std1
10452 # HP-UX 10.20 and later -Ae
10453 # HP-UX older versions -Aa -D_HPUX_SOURCE
10454 # SVR4 -Xc -D__EXTENSIONS__
10455 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10457 CC
="$ac_save_CC $ac_arg"
10458 rm -f conftest.
$ac_objext
10459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10460 (eval $ac_compile) 2>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } &&
10464 { ac_try
='test -s conftest.$ac_objext'
10465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10466 (eval $ac_try) 2>&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); }; }; then
10470 ac_cv_prog_cc_stdc
=$ac_arg
10473 echo "$as_me: failed program was:" >&5
10474 sed 's/^/| /' conftest.
$ac_ext >&5
10477 rm -f conftest.
$ac_objext
10479 rm -f conftest.
$ac_ext conftest.
$ac_objext
10484 case "x$ac_cv_prog_cc_stdc" in
10486 echo "$as_me:$LINENO: result: none needed" >&5
10487 echo "${ECHO_T}none needed" >&6 ;;
10489 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10490 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10491 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10494 # Some people use a C++ compiler to compile C. Since we use `exit',
10495 # in C++ we need to declare it. In case someone uses the same compiler
10496 # for both compiling C and C++ we need to have the C++ compiler decide
10497 # the declaration of exit, since it's the most demanding environment.
10498 cat >conftest.
$ac_ext <<_ACEOF
10499 #ifndef __cplusplus
10503 rm -f conftest.
$ac_objext
10504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10505 (eval $ac_compile) 2>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); } &&
10509 { ac_try
='test -s conftest.$ac_objext'
10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511 (eval $ac_try) 2>&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); }; }; then
10515 for ac_declaration
in \
10517 '#include <stdlib.h>' \
10518 'extern "C" void std::exit (int) throw (); using std::exit;' \
10519 'extern "C" void std::exit (int); using std::exit;' \
10520 'extern "C" void exit (int) throw ();' \
10521 'extern "C" void exit (int);' \
10524 cat >conftest.
$ac_ext <<_ACEOF
10525 #line $LINENO "configure"
10528 cat confdefs.h
>>conftest.
$ac_ext
10529 cat >>conftest.
$ac_ext <<_ACEOF
10530 /* end confdefs.h. */
10531 #include <stdlib.h>
10541 rm -f conftest.
$ac_objext
10542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10543 (eval $ac_compile) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); } &&
10547 { ac_try
='test -s conftest.$ac_objext'
10548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10549 (eval $ac_try) 2>&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); }; }; then
10555 echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.
$ac_ext >&5
10560 rm -f conftest.
$ac_objext conftest.
$ac_ext
10561 cat >conftest.
$ac_ext <<_ACEOF
10562 #line $LINENO "configure"
10565 cat confdefs.h
>>conftest.
$ac_ext
10566 cat >>conftest.
$ac_ext <<_ACEOF
10567 /* end confdefs.h. */
10577 rm -f conftest.
$ac_objext
10578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10579 (eval $ac_compile) 2>&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); } &&
10583 { ac_try
='test -s conftest.$ac_objext'
10584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10585 (eval $ac_try) 2>&5
10587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); }; }; then
10591 echo "$as_me: failed program was:" >&5
10592 sed 's/^/| /' conftest.
$ac_ext >&5
10595 rm -f conftest.
$ac_objext conftest.
$ac_ext
10598 if test -n "$ac_declaration"; then
10599 echo '#ifdef __cplusplus' >>confdefs.h
10600 echo $ac_declaration >>confdefs.h
10601 echo '#endif' >>confdefs.h
10605 echo "$as_me: failed program was:" >&5
10606 sed 's/^/| /' conftest.
$ac_ext >&5
10609 rm -f conftest.
$ac_objext conftest.
$ac_ext
10611 ac_cpp
='$CPP $CPPFLAGS'
10612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10619 ac_cpp
='$CPP $CPPFLAGS'
10620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10623 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10624 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10625 # On Suns, sometimes $CPP names a directory.
10626 if test -n "$CPP" && test -d "$CPP"; then
10629 if test -z "$CPP"; then
10630 if test "${ac_cv_prog_CPP+set}" = set; then
10631 echo $ECHO_N "(cached) $ECHO_C" >&6
10633 # Double quotes because CPP needs to be expanded
10634 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10636 ac_preproc_ok
=false
10637 for ac_c_preproc_warn_flag
in '' yes
10639 # Use a header file that comes with gcc, so configuring glibc
10640 # with a fresh cross-compiler works.
10641 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10642 # <limits.h> exists even on freestanding compilers.
10643 # On the NeXT, cc -E runs the code through the compiler's parser,
10644 # not just through cpp. "Syntax error" is here to catch this case.
10645 cat >conftest.
$ac_ext <<_ACEOF
10646 #line $LINENO "configure"
10649 cat confdefs.h
>>conftest.
$ac_ext
10650 cat >>conftest.
$ac_ext <<_ACEOF
10651 /* end confdefs.h. */
10653 # include <limits.h>
10655 # include <assert.h>
10659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10660 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10662 grep -v '^ *+' conftest.er1
>conftest.err
10664 cat conftest.err
>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } >/dev
/null
; then
10667 if test -s conftest.err
; then
10668 ac_cpp_err
=$ac_c_preproc_warn_flag
10675 if test -z "$ac_cpp_err"; then
10678 echo "$as_me: failed program was:" >&5
10679 sed 's/^/| /' conftest.
$ac_ext >&5
10681 # Broken: fails on valid input.
10684 rm -f conftest.err conftest.
$ac_ext
10686 # OK, works on sane cases. Now check whether non-existent headers
10687 # can be detected and how.
10688 cat >conftest.
$ac_ext <<_ACEOF
10689 #line $LINENO "configure"
10692 cat confdefs.h
>>conftest.
$ac_ext
10693 cat >>conftest.
$ac_ext <<_ACEOF
10694 /* end confdefs.h. */
10695 #include <ac_nonexistent.h>
10697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10700 grep -v '^ *+' conftest.er1
>conftest.err
10702 cat conftest.err
>&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); } >/dev
/null
; then
10705 if test -s conftest.err
; then
10706 ac_cpp_err
=$ac_c_preproc_warn_flag
10713 if test -z "$ac_cpp_err"; then
10714 # Broken: success on invalid input.
10717 echo "$as_me: failed program was:" >&5
10718 sed 's/^/| /' conftest.
$ac_ext >&5
10720 # Passes both tests.
10724 rm -f conftest.err conftest.
$ac_ext
10727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10728 rm -f conftest.err conftest.
$ac_ext
10729 if $ac_preproc_ok; then
10734 ac_cv_prog_CPP
=$CPP
10737 CPP
=$ac_cv_prog_CPP
10739 ac_cv_prog_CPP
=$CPP
10741 echo "$as_me:$LINENO: result: $CPP" >&5
10742 echo "${ECHO_T}$CPP" >&6
10743 ac_preproc_ok
=false
10744 for ac_c_preproc_warn_flag
in '' yes
10746 # Use a header file that comes with gcc, so configuring glibc
10747 # with a fresh cross-compiler works.
10748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10749 # <limits.h> exists even on freestanding compilers.
10750 # On the NeXT, cc -E runs the code through the compiler's parser,
10751 # not just through cpp. "Syntax error" is here to catch this case.
10752 cat >conftest.
$ac_ext <<_ACEOF
10753 #line $LINENO "configure"
10756 cat confdefs.h
>>conftest.
$ac_ext
10757 cat >>conftest.
$ac_ext <<_ACEOF
10758 /* end confdefs.h. */
10760 # include <limits.h>
10762 # include <assert.h>
10766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10767 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10769 grep -v '^ *+' conftest.er1
>conftest.err
10771 cat conftest.err
>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } >/dev
/null
; then
10774 if test -s conftest.err
; then
10775 ac_cpp_err
=$ac_c_preproc_warn_flag
10782 if test -z "$ac_cpp_err"; then
10785 echo "$as_me: failed program was:" >&5
10786 sed 's/^/| /' conftest.
$ac_ext >&5
10788 # Broken: fails on valid input.
10791 rm -f conftest.err conftest.
$ac_ext
10793 # OK, works on sane cases. Now check whether non-existent headers
10794 # can be detected and how.
10795 cat >conftest.
$ac_ext <<_ACEOF
10796 #line $LINENO "configure"
10799 cat confdefs.h
>>conftest.
$ac_ext
10800 cat >>conftest.
$ac_ext <<_ACEOF
10801 /* end confdefs.h. */
10802 #include <ac_nonexistent.h>
10804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10807 grep -v '^ *+' conftest.er1
>conftest.err
10809 cat conftest.err
>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } >/dev
/null
; then
10812 if test -s conftest.err
; then
10813 ac_cpp_err
=$ac_c_preproc_warn_flag
10820 if test -z "$ac_cpp_err"; then
10821 # Broken: success on invalid input.
10824 echo "$as_me: failed program was:" >&5
10825 sed 's/^/| /' conftest.
$ac_ext >&5
10827 # Passes both tests.
10831 rm -f conftest.err conftest.
$ac_ext
10834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10835 rm -f conftest.err conftest.
$ac_ext
10836 if $ac_preproc_ok; then
10839 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10840 See \`config.log' for more details." >&5
10841 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10842 See \`config.log' for more details." >&2;}
10843 { (exit 1); exit 1; }; }
10847 ac_cpp
='$CPP $CPPFLAGS'
10848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10853 echo "$as_me:$LINENO: checking for egrep" >&5
10854 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10855 if test "${ac_cv_prog_egrep+set}" = set; then
10856 echo $ECHO_N "(cached) $ECHO_C" >&6
10858 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10859 then ac_cv_prog_egrep
='grep -E'
10860 else ac_cv_prog_egrep
='egrep'
10863 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10864 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10865 EGREP
=$ac_cv_prog_egrep
10868 if test $ac_cv_c_compiler_gnu = yes; then
10869 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10870 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10871 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 ac_pattern
="Autoconf.*'x'"
10875 cat >conftest.
$ac_ext <<_ACEOF
10876 #line $LINENO "configure"
10879 cat confdefs.h
>>conftest.
$ac_ext
10880 cat >>conftest.
$ac_ext <<_ACEOF
10881 /* end confdefs.h. */
10885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10886 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10887 ac_cv_prog_gcc_traditional
=yes
10889 ac_cv_prog_gcc_traditional
=no
10894 if test $ac_cv_prog_gcc_traditional = no
; then
10895 cat >conftest.
$ac_ext <<_ACEOF
10896 #line $LINENO "configure"
10899 cat confdefs.h
>>conftest.
$ac_ext
10900 cat >>conftest.
$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10902 #include <termio.h>
10905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10906 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10907 ac_cv_prog_gcc_traditional
=yes
10913 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10914 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10915 if test $ac_cv_prog_gcc_traditional = yes; then
10916 CC
="$CC -traditional"
10924 ac_cpp
='$CXXCPP $CPPFLAGS'
10925 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10926 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10927 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10930 CXXFLAGS
=${CXXFLAGS:=}
10932 ac_cpp
='$CXXCPP $CPPFLAGS'
10933 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10934 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10935 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10936 if test -n "$ac_tool_prefix"; then
10937 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10940 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10941 echo "$as_me:$LINENO: checking for $ac_word" >&5
10942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10943 if test "${ac_cv_prog_CXX+set}" = set; then
10944 echo $ECHO_N "(cached) $ECHO_C" >&6
10946 if test -n "$CXX"; then
10947 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10950 for as_dir
in $PATH
10953 test -z "$as_dir" && as_dir
=.
10954 for ac_exec_ext
in '' $ac_executable_extensions; do
10955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10956 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10965 CXX
=$ac_cv_prog_CXX
10966 if test -n "$CXX"; then
10967 echo "$as_me:$LINENO: result: $CXX" >&5
10968 echo "${ECHO_T}$CXX" >&6
10970 echo "$as_me:$LINENO: result: no" >&5
10971 echo "${ECHO_T}no" >&6
10974 test -n "$CXX" && break
10977 if test -z "$CXX"; then
10979 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10981 # Extract the first word of "$ac_prog", so it can be a program name with args.
10982 set dummy
$ac_prog; ac_word
=$2
10983 echo "$as_me:$LINENO: checking for $ac_word" >&5
10984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10985 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 if test -n "$ac_ct_CXX"; then
10989 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10992 for as_dir
in $PATH
10995 test -z "$as_dir" && as_dir
=.
10996 for ac_exec_ext
in '' $ac_executable_extensions; do
10997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10998 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11007 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11008 if test -n "$ac_ct_CXX"; then
11009 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11010 echo "${ECHO_T}$ac_ct_CXX" >&6
11012 echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6
11016 test -n "$ac_ct_CXX" && break
11018 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11024 # Provide some information about the compiler.
11025 echo "$as_me:$LINENO:" \
11026 "checking for C++ compiler version" >&5
11027 ac_compiler
=`set X $ac_compile; echo $2`
11028 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11029 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }
11033 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11034 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }
11038 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11039 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }
11044 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11045 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11046 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11047 echo $ECHO_N "(cached) $ECHO_C" >&6
11049 cat >conftest.
$ac_ext <<_ACEOF
11050 #line $LINENO "configure"
11053 cat confdefs.h
>>conftest.
$ac_ext
11054 cat >>conftest.
$ac_ext <<_ACEOF
11055 /* end confdefs.h. */
11068 rm -f conftest.
$ac_objext
11069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11070 (eval $ac_compile) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); } &&
11074 { ac_try
='test -s conftest.$ac_objext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11080 ac_compiler_gnu
=yes
11082 echo "$as_me: failed program was:" >&5
11083 sed 's/^/| /' conftest.
$ac_ext >&5
11087 rm -f conftest.
$ac_objext conftest.
$ac_ext
11088 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11091 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11092 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11093 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11094 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11095 ac_save_CXXFLAGS
=$CXXFLAGS
11097 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11098 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11099 if test "${ac_cv_prog_cxx_g+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 cat >conftest.
$ac_ext <<_ACEOF
11103 #line $LINENO "configure"
11106 cat confdefs.h
>>conftest.
$ac_ext
11107 cat >>conftest.
$ac_ext <<_ACEOF
11108 /* end confdefs.h. */
11118 rm -f conftest.
$ac_objext
11119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11120 (eval $ac_compile) 2>&5
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); } &&
11124 { ac_try
='test -s conftest.$ac_objext'
11125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11126 (eval $ac_try) 2>&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); }; }; then
11130 ac_cv_prog_cxx_g
=yes
11132 echo "$as_me: failed program was:" >&5
11133 sed 's/^/| /' conftest.
$ac_ext >&5
11135 ac_cv_prog_cxx_g
=no
11137 rm -f conftest.
$ac_objext conftest.
$ac_ext
11139 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11140 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11141 if test "$ac_test_CXXFLAGS" = set; then
11142 CXXFLAGS
=$ac_save_CXXFLAGS
11143 elif test $ac_cv_prog_cxx_g = yes; then
11144 if test "$GXX" = yes; then
11150 if test "$GXX" = yes; then
11156 for ac_declaration
in \
11158 '#include <stdlib.h>' \
11159 'extern "C" void std::exit (int) throw (); using std::exit;' \
11160 'extern "C" void std::exit (int); using std::exit;' \
11161 'extern "C" void exit (int) throw ();' \
11162 'extern "C" void exit (int);' \
11165 cat >conftest.
$ac_ext <<_ACEOF
11166 #line $LINENO "configure"
11169 cat confdefs.h
>>conftest.
$ac_ext
11170 cat >>conftest.
$ac_ext <<_ACEOF
11171 /* end confdefs.h. */
11172 #include <stdlib.h>
11182 rm -f conftest.
$ac_objext
11183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11184 (eval $ac_compile) 2>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); } &&
11188 { ac_try
='test -s conftest.$ac_objext'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; }; then
11196 echo "$as_me: failed program was:" >&5
11197 sed 's/^/| /' conftest.
$ac_ext >&5
11201 rm -f conftest.
$ac_objext conftest.
$ac_ext
11202 cat >conftest.
$ac_ext <<_ACEOF
11203 #line $LINENO "configure"
11206 cat confdefs.h
>>conftest.
$ac_ext
11207 cat >>conftest.
$ac_ext <<_ACEOF
11208 /* end confdefs.h. */
11218 rm -f conftest.
$ac_objext
11219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11220 (eval $ac_compile) 2>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); } &&
11224 { ac_try
='test -s conftest.$ac_objext'
11225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226 (eval $ac_try) 2>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); }; }; then
11232 echo "$as_me: failed program was:" >&5
11233 sed 's/^/| /' conftest.
$ac_ext >&5
11236 rm -f conftest.
$ac_objext conftest.
$ac_ext
11239 if test -n "$ac_declaration"; then
11240 echo '#ifdef __cplusplus' >>confdefs.h
11241 echo $ac_declaration >>confdefs.h
11242 echo '#endif' >>confdefs.h
11246 ac_cpp
='$CXXCPP $CPPFLAGS'
11247 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11248 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11249 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11253 ac_cpp
='$CPP $CPPFLAGS'
11254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11259 if test -n "$ac_tool_prefix"; then
11260 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11261 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11262 echo "$as_me:$LINENO: checking for $ac_word" >&5
11263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11264 if test "${ac_cv_prog_RANLIB+set}" = set; then
11265 echo $ECHO_N "(cached) $ECHO_C" >&6
11267 if test -n "$RANLIB"; then
11268 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11271 for as_dir
in $PATH
11274 test -z "$as_dir" && as_dir
=.
11275 for ac_exec_ext
in '' $ac_executable_extensions; do
11276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11277 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11286 RANLIB
=$ac_cv_prog_RANLIB
11287 if test -n "$RANLIB"; then
11288 echo "$as_me:$LINENO: result: $RANLIB" >&5
11289 echo "${ECHO_T}$RANLIB" >&6
11291 echo "$as_me:$LINENO: result: no" >&5
11292 echo "${ECHO_T}no" >&6
11296 if test -z "$ac_cv_prog_RANLIB"; then
11297 ac_ct_RANLIB
=$RANLIB
11298 # Extract the first word of "ranlib", so it can be a program name with args.
11299 set dummy ranlib
; ac_word
=$2
11300 echo "$as_me:$LINENO: checking for $ac_word" >&5
11301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11302 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 if test -n "$ac_ct_RANLIB"; then
11306 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11309 for as_dir
in $PATH
11312 test -z "$as_dir" && as_dir
=.
11313 for ac_exec_ext
in '' $ac_executable_extensions; do
11314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11315 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11322 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11325 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11326 if test -n "$ac_ct_RANLIB"; then
11327 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11328 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11330 echo "$as_me:$LINENO: result: no" >&5
11331 echo "${ECHO_T}no" >&6
11334 RANLIB
=$ac_ct_RANLIB
11336 RANLIB
="$ac_cv_prog_RANLIB"
11340 # Extract the first word of "ar", so it can be a program name with args.
11341 set dummy
ar; ac_word
=$2
11342 echo "$as_me:$LINENO: checking for $ac_word" >&5
11343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11344 if test "${ac_cv_prog_AR+set}" = set; then
11345 echo $ECHO_N "(cached) $ECHO_C" >&6
11347 if test -n "$AR"; then
11348 ac_cv_prog_AR
="$AR" # Let the user override the test.
11350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11351 for as_dir
in $PATH
11354 test -z "$as_dir" && as_dir
=.
11355 for ac_exec_ext
in '' $ac_executable_extensions; do
11356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11364 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
11368 if test -n "$AR"; then
11369 echo "$as_me:$LINENO: result: $AR" >&5
11370 echo "${ECHO_T}$AR" >&6
11372 echo "$as_me:$LINENO: result: no" >&5
11373 echo "${ECHO_T}no" >&6
11377 # Find a good install program. We prefer a C program (faster),
11378 # so one script is as good as another. But avoid the broken or
11379 # incompatible versions:
11380 # SysV /etc/install, /usr/sbin/install
11381 # SunOS /usr/etc/install
11382 # IRIX /sbin/install
11384 # AmigaOS /C/install, which installs bootblocks on floppy discs
11385 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11386 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11387 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11388 # ./install, which can be erroneously created by make from ./install.sh.
11389 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11390 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11391 if test -z "$INSTALL"; then
11392 if test "${ac_cv_path_install+set}" = set; then
11393 echo $ECHO_N "(cached) $ECHO_C" >&6
11395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11396 for as_dir
in $PATH
11399 test -z "$as_dir" && as_dir
=.
11400 # Account for people who put trailing slashes in PATH elements.
11402 .
/ | .
// | /cC
/* | \
11403 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11406 # OSF1 and SCO ODT 3.0 have their own names for install.
11407 # Don't use installbsd from OSF since it installs stuff as root
11409 for ac_prog
in ginstall scoinst
install; do
11410 for ac_exec_ext
in '' $ac_executable_extensions; do
11411 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11412 if test $ac_prog = install &&
11413 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11414 # AIX install. It has an incompatible calling convention.
11416 elif test $ac_prog = install &&
11417 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11418 # program-specific install script used by HP pwplus--don't use.
11421 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11433 if test "${ac_cv_path_install+set}" = set; then
11434 INSTALL
=$ac_cv_path_install
11436 # As a last resort, use the slow shell script. We don't cache a
11437 # path for INSTALL within a source directory, because that will
11438 # break other packages using the cache if that directory is
11439 # removed, or if the path is relative.
11440 INSTALL
=$ac_install_sh
11443 echo "$as_me:$LINENO: result: $INSTALL" >&5
11444 echo "${ECHO_T}$INSTALL" >&6
11446 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11447 # It thinks the first close brace ends the variable substitution.
11448 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11450 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11452 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11458 ?
:* ) # Drive letter, considered as absolute.
11461 INSTALL
=`pwd`/${INSTALL} ;;
11466 INSTALL_DIR
="mkdir"
11469 *) INSTALL_DIR
="$INSTALL -d"
11476 powerpc
-*-darwin* )
11477 INSTALL_PROGRAM
="cp -fp"
11478 INSTALL_DATA
="cp -fp"
11484 # Extract the first word of "strip", so it can be a program name with args.
11485 set dummy strip
; ac_word
=$2
11486 echo "$as_me:$LINENO: checking for $ac_word" >&5
11487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11488 if test "${ac_cv_prog_STRIP+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11491 if test -n "$STRIP"; then
11492 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11495 for as_dir
in $PATH
11498 test -z "$as_dir" && as_dir
=.
11499 for ac_exec_ext
in '' $ac_executable_extensions; do
11500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11501 ac_cv_prog_STRIP
="strip"
11502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11508 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11511 STRIP
=$ac_cv_prog_STRIP
11512 if test -n "$STRIP"; then
11513 echo "$as_me:$LINENO: result: $STRIP" >&5
11514 echo "${ECHO_T}$STRIP" >&6
11516 echo "$as_me:$LINENO: result: no" >&5
11517 echo "${ECHO_T}no" >&6
11521 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11522 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11523 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11524 echo $ECHO_N "(cached) $ECHO_C" >&6
11527 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11528 egrep -s GNU
> /dev
/null
); then
11529 wx_cv_prog_makeisgnu
="yes"
11531 wx_cv_prog_makeisgnu
="no"
11535 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11536 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11538 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11546 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11547 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11548 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11549 if test "${wx_cv_prog_makevpath+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6
11553 cat - << EOF > confMake
11559 if test ! -d sub
; then
11562 echo dummy
> sub
/file
11563 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11565 rm -f sub
/file check final_file confMake
11567 if test "$RESULT" = 0; then
11568 wx_cv_prog_makevpath
="yes"
11570 wx_cv_prog_makevpath
="no"
11574 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11575 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11577 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11578 { { echo "$as_me:$LINENO: error:
11579 You need a make-utility that is able to use the variable
11581 If your version of make does not support VPATH correctly,
11582 please install GNU-make (possibly as gmake), and start
11583 configure with the following command:
11584 export MAKE=gmake; ./configure for sh-type shells
11585 setenv MAKE gmake; ./configure for csh-type shells
11586 Also please do remember to use gmake in this case every time
11587 you are trying to compile.
11589 echo "$as_me: error:
11590 You need a make-utility that is able to use the variable
11592 If your version of make does not support VPATH correctly,
11593 please install GNU-make (possibly as gmake), and start
11594 configure with the following command:
11595 export MAKE=gmake; ./configure for sh-type shells
11596 setenv MAKE gmake; ./configure for csh-type shells
11597 Also please do remember to use gmake in this case every time
11598 you are trying to compile.
11600 { (exit 1); exit 1; }; }
11602 for ac_prog
in 'bison -y' byacc
11604 # Extract the first word of "$ac_prog", so it can be a program name with args.
11605 set dummy
$ac_prog; ac_word
=$2
11606 echo "$as_me:$LINENO: checking for $ac_word" >&5
11607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11608 if test "${ac_cv_prog_YACC+set}" = set; then
11609 echo $ECHO_N "(cached) $ECHO_C" >&6
11611 if test -n "$YACC"; then
11612 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11615 for as_dir
in $PATH
11618 test -z "$as_dir" && as_dir
=.
11619 for ac_exec_ext
in '' $ac_executable_extensions; do
11620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11621 ac_cv_prog_YACC
="$ac_prog"
11622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11630 YACC
=$ac_cv_prog_YACC
11631 if test -n "$YACC"; then
11632 echo "$as_me:$LINENO: result: $YACC" >&5
11633 echo "${ECHO_T}$YACC" >&6
11635 echo "$as_me:$LINENO: result: no" >&5
11636 echo "${ECHO_T}no" >&6
11639 test -n "$YACC" && break
11641 test -n "$YACC" || YACC
="yacc"
11644 for ac_prog
in flex
lex
11646 # Extract the first word of "$ac_prog", so it can be a program name with args.
11647 set dummy
$ac_prog; ac_word
=$2
11648 echo "$as_me:$LINENO: checking for $ac_word" >&5
11649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11650 if test "${ac_cv_prog_LEX+set}" = set; then
11651 echo $ECHO_N "(cached) $ECHO_C" >&6
11653 if test -n "$LEX"; then
11654 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11657 for as_dir
in $PATH
11660 test -z "$as_dir" && as_dir
=.
11661 for ac_exec_ext
in '' $ac_executable_extensions; do
11662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11663 ac_cv_prog_LEX
="$ac_prog"
11664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11672 LEX
=$ac_cv_prog_LEX
11673 if test -n "$LEX"; then
11674 echo "$as_me:$LINENO: result: $LEX" >&5
11675 echo "${ECHO_T}$LEX" >&6
11677 echo "$as_me:$LINENO: result: no" >&5
11678 echo "${ECHO_T}no" >&6
11681 test -n "$LEX" && break
11683 test -n "$LEX" || LEX
=":"
11685 if test -z "$LEXLIB"
11687 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11688 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11689 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 ac_check_lib_save_LIBS
=$LIBS
11694 cat >conftest.
$ac_ext <<_ACEOF
11695 #line $LINENO "configure"
11698 cat confdefs.h
>>conftest.
$ac_ext
11699 cat >>conftest.
$ac_ext <<_ACEOF
11700 /* end confdefs.h. */
11702 /* Override any gcc2 internal prototype to avoid an error. */
11706 /* We use char because int might match the return type of a gcc2
11707 builtin and then its argument prototype would still apply. */
11717 rm -f conftest.
$ac_objext conftest
$ac_exeext
11718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11719 (eval $ac_link) 2>&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); } &&
11723 { ac_try
='test -s conftest$ac_exeext'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; }; then
11729 ac_cv_lib_fl_yywrap
=yes
11731 echo "$as_me: failed program was:" >&5
11732 sed 's/^/| /' conftest.
$ac_ext >&5
11734 ac_cv_lib_fl_yywrap
=no
11736 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11737 LIBS
=$ac_check_lib_save_LIBS
11739 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11740 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11741 if test $ac_cv_lib_fl_yywrap = yes; then
11744 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11745 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11746 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 ac_check_lib_save_LIBS
=$LIBS
11751 cat >conftest.
$ac_ext <<_ACEOF
11752 #line $LINENO "configure"
11755 cat confdefs.h
>>conftest.
$ac_ext
11756 cat >>conftest.
$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11759 /* Override any gcc2 internal prototype to avoid an error. */
11763 /* We use char because int might match the return type of a gcc2
11764 builtin and then its argument prototype would still apply. */
11774 rm -f conftest.
$ac_objext conftest
$ac_exeext
11775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11776 (eval $ac_link) 2>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try
='test -s conftest$ac_exeext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11786 ac_cv_lib_l_yywrap
=yes
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.
$ac_ext >&5
11791 ac_cv_lib_l_yywrap
=no
11793 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11794 LIBS
=$ac_check_lib_save_LIBS
11796 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11797 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11798 if test $ac_cv_lib_l_yywrap = yes; then
11806 if test "x$LEX" != "x:"; then
11807 echo "$as_me:$LINENO: checking lex output file root" >&5
11808 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11809 if test "${ac_cv_prog_lex_root+set}" = set; then
11810 echo $ECHO_N "(cached) $ECHO_C" >&6
11812 # The minimal lex program is just a single line: %%. But some broken lexes
11813 # (Solaris, I think it was) want two %% lines, so accommodate them.
11814 cat >conftest.l
<<_ACEOF
11818 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11819 (eval $LEX conftest.l
) 2>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); }
11823 if test -f lex.yy.c
; then
11824 ac_cv_prog_lex_root
=lex.yy
11825 elif test -f lexyy.c
; then
11826 ac_cv_prog_lex_root
=lexyy
11828 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11829 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11830 { (exit 1); exit 1; }; }
11833 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11834 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11836 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11838 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11839 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11840 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11841 echo $ECHO_N "(cached) $ECHO_C" >&6
11843 # POSIX says lex can declare yytext either as a pointer or an array; the
11844 # default is implementation-dependent. Figure out which it is, since
11845 # not all implementations provide the %pointer and %array declarations.
11846 ac_cv_prog_lex_yytext_pointer
=no
11847 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11849 LIBS
="$LIBS $LEXLIB"
11850 cat >conftest.
$ac_ext <<_ACEOF
11851 `cat $LEX_OUTPUT_ROOT.c`
11853 rm -f conftest.
$ac_objext conftest
$ac_exeext
11854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11855 (eval $ac_link) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); } &&
11859 { ac_try
='test -s conftest$ac_exeext'
11860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; }; then
11865 ac_cv_prog_lex_yytext_pointer
=yes
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.
$ac_ext >&5
11871 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11873 rm -f "${LEX_OUTPUT_ROOT}.c"
11876 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11877 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11878 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11880 cat >>confdefs.h
<<\_ACEOF
11881 #define YYTEXT_POINTER 1
11888 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11889 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11891 if test "$LN_S" = "ln -s"; then
11892 echo "$as_me:$LINENO: result: yes" >&5
11893 echo "${ECHO_T}yes" >&6
11895 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11896 echo "${ECHO_T}no, using $LN_S" >&6
11901 *-pc-os2_emx | *-pc-os2-emx )
11902 LIBS
="$LIBS -lstdcpp"
11903 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11904 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11905 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11906 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11907 echo $ECHO_N "(cached) $ECHO_C" >&6
11909 ac_check_lib_save_LIBS
=$LIBS
11910 LIBS
="-lcExt $LIBS"
11911 cat >conftest.
$ac_ext <<_ACEOF
11912 #line $LINENO "configure"
11915 cat confdefs.h
>>conftest.
$ac_ext
11916 cat >>conftest.
$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11919 /* Override any gcc2 internal prototype to avoid an error. */
11923 /* We use char because int might match the return type of a gcc2
11924 builtin and then its argument prototype would still apply. */
11934 rm -f conftest.
$ac_objext conftest
$ac_exeext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11936 (eval $ac_link) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try
='test -s conftest$ac_exeext'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; }; then
11946 ac_cv_lib_cExt_drand48
=yes
11948 echo "$as_me: failed program was:" >&5
11949 sed 's/^/| /' conftest.
$ac_ext >&5
11951 ac_cv_lib_cExt_drand48
=no
11953 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11954 LIBS
=$ac_check_lib_save_LIBS
11956 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11957 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11958 if test $ac_cv_lib_cExt_drand48 = yes; then
11959 LIBS
="$LIBS -lcExt"
11963 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11969 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11970 echo "$as_me:$LINENO: checking for strings.h" >&5
11971 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11972 if test "${ac_cv_header_strings_h+set}" = set; then
11973 echo $ECHO_N "(cached) $ECHO_C" >&6
11975 ac_cv_header_strings_h
=no
11977 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11978 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11979 if test "$ac_cv_header_strings_h" = "no"; then
11980 echo "$as_me:$LINENO: result: forced no into cache" >&5
11981 echo "${ECHO_T}forced no into cache" >&6
11983 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11984 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11987 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11988 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11989 if test "${ac_cv_header_stdc+set}" = set; then
11990 echo $ECHO_N "(cached) $ECHO_C" >&6
11992 cat >conftest.
$ac_ext <<_ACEOF
11993 #line $LINENO "configure"
11996 cat confdefs.h
>>conftest.
$ac_ext
11997 cat >>conftest.
$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
11999 #include <stdlib.h>
12000 #include <stdarg.h>
12001 #include <string.h>
12012 rm -f conftest.
$ac_objext
12013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12014 (eval $ac_compile) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); } &&
12018 { ac_try
='test -s conftest.$ac_objext'
12019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12020 (eval $ac_try) 2>&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); }; }; then
12024 ac_cv_header_stdc
=yes
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.
$ac_ext >&5
12029 ac_cv_header_stdc
=no
12031 rm -f conftest.
$ac_objext conftest.
$ac_ext
12033 if test $ac_cv_header_stdc = yes; then
12034 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12035 cat >conftest.
$ac_ext <<_ACEOF
12036 #line $LINENO "configure"
12039 cat confdefs.h
>>conftest.
$ac_ext
12040 cat >>conftest.
$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042 #include <string.h>
12045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12046 $EGREP "memchr" >/dev
/null
2>&1; then
12049 ac_cv_header_stdc
=no
12055 if test $ac_cv_header_stdc = yes; then
12056 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12057 cat >conftest.
$ac_ext <<_ACEOF
12058 #line $LINENO "configure"
12061 cat confdefs.h
>>conftest.
$ac_ext
12062 cat >>conftest.
$ac_ext <<_ACEOF
12063 /* end confdefs.h. */
12064 #include <stdlib.h>
12067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12068 $EGREP "free" >/dev
/null
2>&1; then
12071 ac_cv_header_stdc
=no
12077 if test $ac_cv_header_stdc = yes; then
12078 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12079 if test "$cross_compiling" = yes; then
12082 cat >conftest.
$ac_ext <<_ACEOF
12083 #line $LINENO "configure"
12086 cat confdefs.h
>>conftest.
$ac_ext
12087 cat >>conftest.
$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12090 #if ((' ' & 0x0FF) == 0x020)
12091 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12092 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12094 # define ISLOWER(c) \
12095 (('a' <= (c) && (c) <= 'i') \
12096 || ('j' <= (c) && (c) <= 'r') \
12097 || ('s' <= (c) && (c) <= 'z'))
12098 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12101 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12106 for (i = 0; i < 256; i++)
12107 if (XOR (islower (i), ISLOWER (i))
12108 || toupper (i) != TOUPPER (i))
12113 rm -f conftest
$ac_exeext
12114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12115 (eval $ac_link) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12126 echo "$as_me: program exited with status $ac_status" >&5
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.
$ac_ext >&5
12130 ( exit $ac_status )
12131 ac_cv_header_stdc
=no
12133 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12137 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12138 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12139 if test $ac_cv_header_stdc = yes; then
12141 cat >>confdefs.h
<<\_ACEOF
12142 #define STDC_HEADERS 1
12147 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12157 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12158 inttypes.h stdint.h unistd.h
12160 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12161 echo "$as_me:$LINENO: checking for $ac_header" >&5
12162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12164 echo $ECHO_N "(cached) $ECHO_C" >&6
12166 cat >conftest.
$ac_ext <<_ACEOF
12167 #line $LINENO "configure"
12170 cat confdefs.h
>>conftest.
$ac_ext
12171 cat >>conftest.
$ac_ext <<_ACEOF
12172 /* end confdefs.h. */
12173 $ac_includes_default
12175 #include <$ac_header>
12177 rm -f conftest.
$ac_objext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12179 (eval $ac_compile) 2>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } &&
12183 { ac_try
='test -s conftest.$ac_objext'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; }; then
12189 eval "$as_ac_Header=yes"
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.
$ac_ext >&5
12194 eval "$as_ac_Header=no"
12196 rm -f conftest.
$ac_objext conftest.
$ac_ext
12198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12201 cat >>confdefs.h
<<_ACEOF
12202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12211 for ac_header
in strings.h
12213 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12215 echo "$as_me:$LINENO: checking for $ac_header" >&5
12216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12218 echo $ECHO_N "(cached) $ECHO_C" >&6
12220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12223 # Is the header compilable?
12224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12226 cat >conftest.
$ac_ext <<_ACEOF
12227 #line $LINENO "configure"
12230 cat confdefs.h
>>conftest.
$ac_ext
12231 cat >>conftest.
$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12233 $ac_includes_default
12234 #include <$ac_header>
12236 rm -f conftest.
$ac_objext
12237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12238 (eval $ac_compile) 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); } &&
12242 { ac_try
='test -s conftest.$ac_objext'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; }; then
12248 ac_header_compiler
=yes
12250 echo "$as_me: failed program was:" >&5
12251 sed 's/^/| /' conftest.
$ac_ext >&5
12253 ac_header_compiler
=no
12255 rm -f conftest.
$ac_objext conftest.
$ac_ext
12256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12257 echo "${ECHO_T}$ac_header_compiler" >&6
12259 # Is the header present?
12260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12262 cat >conftest.
$ac_ext <<_ACEOF
12263 #line $LINENO "configure"
12266 cat confdefs.h
>>conftest.
$ac_ext
12267 cat >>conftest.
$ac_ext <<_ACEOF
12268 /* end confdefs.h. */
12269 #include <$ac_header>
12271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12272 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12274 grep -v '^ *+' conftest.er1
>conftest.err
12276 cat conftest.err
>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); } >/dev
/null
; then
12279 if test -s conftest.err
; then
12280 ac_cpp_err
=$ac_c_preproc_warn_flag
12287 if test -z "$ac_cpp_err"; then
12288 ac_header_preproc
=yes
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.
$ac_ext >&5
12293 ac_header_preproc
=no
12295 rm -f conftest.err conftest.
$ac_ext
12296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12297 echo "${ECHO_T}$ac_header_preproc" >&6
12299 # So? What about this header?
12300 case $ac_header_compiler:$ac_header_preproc in
12302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12308 ## ------------------------------------ ##
12309 ## Report this to bug-autoconf@gnu.org. ##
12310 ## ------------------------------------ ##
12313 sed "s/^/$as_me: WARNING: /" >&2
12316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12324 ## ------------------------------------ ##
12325 ## Report this to bug-autoconf@gnu.org. ##
12326 ## ------------------------------------ ##
12329 sed "s/^/$as_me: WARNING: /" >&2
12332 echo "$as_me:$LINENO: checking for $ac_header" >&5
12333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12335 echo $ECHO_N "(cached) $ECHO_C" >&6
12337 eval "$as_ac_Header=$ac_header_preproc"
12339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12344 cat >>confdefs.h
<<_ACEOF
12345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12354 for ac_header
in stdlib.h
12356 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12358 echo "$as_me:$LINENO: checking for $ac_header" >&5
12359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12361 echo $ECHO_N "(cached) $ECHO_C" >&6
12363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12366 # Is the header compilable?
12367 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12369 cat >conftest.
$ac_ext <<_ACEOF
12370 #line $LINENO "configure"
12373 cat confdefs.h
>>conftest.
$ac_ext
12374 cat >>conftest.
$ac_ext <<_ACEOF
12375 /* end confdefs.h. */
12376 $ac_includes_default
12377 #include <$ac_header>
12379 rm -f conftest.
$ac_objext
12380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12381 (eval $ac_compile) 2>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try
='test -s conftest.$ac_objext'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; }; then
12391 ac_header_compiler
=yes
12393 echo "$as_me: failed program was:" >&5
12394 sed 's/^/| /' conftest.
$ac_ext >&5
12396 ac_header_compiler
=no
12398 rm -f conftest.
$ac_objext conftest.
$ac_ext
12399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12400 echo "${ECHO_T}$ac_header_compiler" >&6
12402 # Is the header present?
12403 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12404 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12405 cat >conftest.
$ac_ext <<_ACEOF
12406 #line $LINENO "configure"
12409 cat confdefs.h
>>conftest.
$ac_ext
12410 cat >>conftest.
$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12412 #include <$ac_header>
12414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12415 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12417 grep -v '^ *+' conftest.er1
>conftest.err
12419 cat conftest.err
>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } >/dev
/null
; then
12422 if test -s conftest.err
; then
12423 ac_cpp_err
=$ac_c_preproc_warn_flag
12430 if test -z "$ac_cpp_err"; then
12431 ac_header_preproc
=yes
12433 echo "$as_me: failed program was:" >&5
12434 sed 's/^/| /' conftest.
$ac_ext >&5
12436 ac_header_preproc
=no
12438 rm -f conftest.err conftest.
$ac_ext
12439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12440 echo "${ECHO_T}$ac_header_preproc" >&6
12442 # So? What about this header?
12443 case $ac_header_compiler:$ac_header_preproc in
12445 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12446 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12451 ## ------------------------------------ ##
12452 ## Report this to bug-autoconf@gnu.org. ##
12453 ## ------------------------------------ ##
12456 sed "s/^/$as_me: WARNING: /" >&2
12459 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12460 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12461 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12462 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12467 ## ------------------------------------ ##
12468 ## Report this to bug-autoconf@gnu.org. ##
12469 ## ------------------------------------ ##
12472 sed "s/^/$as_me: WARNING: /" >&2
12475 echo "$as_me:$LINENO: checking for $ac_header" >&5
12476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 eval "$as_ac_Header=$ac_header_preproc"
12482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12487 cat >>confdefs.h
<<_ACEOF
12488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12496 for ac_header
in malloc.h
12498 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12500 echo "$as_me:$LINENO: checking for $ac_header" >&5
12501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12508 # Is the header compilable?
12509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12511 cat >conftest.
$ac_ext <<_ACEOF
12512 #line $LINENO "configure"
12515 cat confdefs.h
>>conftest.
$ac_ext
12516 cat >>conftest.
$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12518 $ac_includes_default
12519 #include <$ac_header>
12521 rm -f conftest.
$ac_objext
12522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12523 (eval $ac_compile) 2>&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); } &&
12527 { ac_try
='test -s conftest.$ac_objext'
12528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 (eval $ac_try) 2>&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); }; }; then
12533 ac_header_compiler
=yes
12535 echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.
$ac_ext >&5
12538 ac_header_compiler
=no
12540 rm -f conftest.
$ac_objext conftest.
$ac_ext
12541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12542 echo "${ECHO_T}$ac_header_compiler" >&6
12544 # Is the header present?
12545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12547 cat >conftest.
$ac_ext <<_ACEOF
12548 #line $LINENO "configure"
12551 cat confdefs.h
>>conftest.
$ac_ext
12552 cat >>conftest.
$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12554 #include <$ac_header>
12556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12559 grep -v '^ *+' conftest.er1
>conftest.err
12561 cat conftest.err
>&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } >/dev
/null
; then
12564 if test -s conftest.err
; then
12565 ac_cpp_err
=$ac_c_preproc_warn_flag
12572 if test -z "$ac_cpp_err"; then
12573 ac_header_preproc
=yes
12575 echo "$as_me: failed program was:" >&5
12576 sed 's/^/| /' conftest.
$ac_ext >&5
12578 ac_header_preproc
=no
12580 rm -f conftest.err conftest.
$ac_ext
12581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12582 echo "${ECHO_T}$ac_header_preproc" >&6
12584 # So? What about this header?
12585 case $ac_header_compiler:$ac_header_preproc in
12587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12593 ## ------------------------------------ ##
12594 ## Report this to bug-autoconf@gnu.org. ##
12595 ## ------------------------------------ ##
12598 sed "s/^/$as_me: WARNING: /" >&2
12601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12609 ## ------------------------------------ ##
12610 ## Report this to bug-autoconf@gnu.org. ##
12611 ## ------------------------------------ ##
12614 sed "s/^/$as_me: WARNING: /" >&2
12617 echo "$as_me:$LINENO: checking for $ac_header" >&5
12618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12620 echo $ECHO_N "(cached) $ECHO_C" >&6
12622 eval "$as_ac_Header=$ac_header_preproc"
12624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12629 cat >>confdefs.h
<<_ACEOF
12630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12638 for ac_header
in unistd.h
12640 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12642 echo "$as_me:$LINENO: checking for $ac_header" >&5
12643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12650 # Is the header compilable?
12651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12653 cat >conftest.
$ac_ext <<_ACEOF
12654 #line $LINENO "configure"
12657 cat confdefs.h
>>conftest.
$ac_ext
12658 cat >>conftest.
$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12660 $ac_includes_default
12661 #include <$ac_header>
12663 rm -f conftest.
$ac_objext
12664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12665 (eval $ac_compile) 2>&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } &&
12669 { ac_try
='test -s conftest.$ac_objext'
12670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12671 (eval $ac_try) 2>&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); }; }; then
12675 ac_header_compiler
=yes
12677 echo "$as_me: failed program was:" >&5
12678 sed 's/^/| /' conftest.
$ac_ext >&5
12680 ac_header_compiler
=no
12682 rm -f conftest.
$ac_objext conftest.
$ac_ext
12683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12684 echo "${ECHO_T}$ac_header_compiler" >&6
12686 # Is the header present?
12687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12689 cat >conftest.
$ac_ext <<_ACEOF
12690 #line $LINENO "configure"
12693 cat confdefs.h
>>conftest.
$ac_ext
12694 cat >>conftest.
$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12696 #include <$ac_header>
12698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12701 grep -v '^ *+' conftest.er1
>conftest.err
12703 cat conftest.err
>&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } >/dev
/null
; then
12706 if test -s conftest.err
; then
12707 ac_cpp_err
=$ac_c_preproc_warn_flag
12714 if test -z "$ac_cpp_err"; then
12715 ac_header_preproc
=yes
12717 echo "$as_me: failed program was:" >&5
12718 sed 's/^/| /' conftest.
$ac_ext >&5
12720 ac_header_preproc
=no
12722 rm -f conftest.err conftest.
$ac_ext
12723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12724 echo "${ECHO_T}$ac_header_preproc" >&6
12726 # So? What about this header?
12727 case $ac_header_compiler:$ac_header_preproc in
12729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12735 ## ------------------------------------ ##
12736 ## Report this to bug-autoconf@gnu.org. ##
12737 ## ------------------------------------ ##
12740 sed "s/^/$as_me: WARNING: /" >&2
12743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12751 ## ------------------------------------ ##
12752 ## Report this to bug-autoconf@gnu.org. ##
12753 ## ------------------------------------ ##
12756 sed "s/^/$as_me: WARNING: /" >&2
12759 echo "$as_me:$LINENO: checking for $ac_header" >&5
12760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12762 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 eval "$as_ac_Header=$ac_header_preproc"
12766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12771 cat >>confdefs.h
<<_ACEOF
12772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12780 for ac_header
in wchar.h
12782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12784 echo "$as_me:$LINENO: checking for $ac_header" >&5
12785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12792 # Is the header compilable?
12793 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12795 cat >conftest.
$ac_ext <<_ACEOF
12796 #line $LINENO "configure"
12799 cat confdefs.h
>>conftest.
$ac_ext
12800 cat >>conftest.
$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12802 $ac_includes_default
12803 #include <$ac_header>
12805 rm -f conftest.
$ac_objext
12806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12807 (eval $ac_compile) 2>&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); } &&
12811 { ac_try
='test -s conftest.$ac_objext'
12812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12813 (eval $ac_try) 2>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); }; }; then
12817 ac_header_compiler
=yes
12819 echo "$as_me: failed program was:" >&5
12820 sed 's/^/| /' conftest.
$ac_ext >&5
12822 ac_header_compiler
=no
12824 rm -f conftest.
$ac_objext conftest.
$ac_ext
12825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12826 echo "${ECHO_T}$ac_header_compiler" >&6
12828 # Is the header present?
12829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12831 cat >conftest.
$ac_ext <<_ACEOF
12832 #line $LINENO "configure"
12835 cat confdefs.h
>>conftest.
$ac_ext
12836 cat >>conftest.
$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12838 #include <$ac_header>
12840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12841 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12843 grep -v '^ *+' conftest.er1
>conftest.err
12845 cat conftest.err
>&5
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); } >/dev
/null
; then
12848 if test -s conftest.err
; then
12849 ac_cpp_err
=$ac_c_preproc_warn_flag
12856 if test -z "$ac_cpp_err"; then
12857 ac_header_preproc
=yes
12859 echo "$as_me: failed program was:" >&5
12860 sed 's/^/| /' conftest.
$ac_ext >&5
12862 ac_header_preproc
=no
12864 rm -f conftest.err conftest.
$ac_ext
12865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12866 echo "${ECHO_T}$ac_header_preproc" >&6
12868 # So? What about this header?
12869 case $ac_header_compiler:$ac_header_preproc in
12871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12877 ## ------------------------------------ ##
12878 ## Report this to bug-autoconf@gnu.org. ##
12879 ## ------------------------------------ ##
12882 sed "s/^/$as_me: WARNING: /" >&2
12885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12893 ## ------------------------------------ ##
12894 ## Report this to bug-autoconf@gnu.org. ##
12895 ## ------------------------------------ ##
12898 sed "s/^/$as_me: WARNING: /" >&2
12901 echo "$as_me:$LINENO: checking for $ac_header" >&5
12902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 eval "$as_ac_Header=$ac_header_preproc"
12908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12913 cat >>confdefs.h
<<_ACEOF
12914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12922 if test "$ac_cv_header_wchar_h" != "yes"; then
12924 for ac_header
in wcstr.h
12926 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12928 echo "$as_me:$LINENO: checking for $ac_header" >&5
12929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12936 # Is the header compilable?
12937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12939 cat >conftest.
$ac_ext <<_ACEOF
12940 #line $LINENO "configure"
12943 cat confdefs.h
>>conftest.
$ac_ext
12944 cat >>conftest.
$ac_ext <<_ACEOF
12945 /* end confdefs.h. */
12946 $ac_includes_default
12947 #include <$ac_header>
12949 rm -f conftest.
$ac_objext
12950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12951 (eval $ac_compile) 2>&5
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); } &&
12955 { ac_try
='test -s conftest.$ac_objext'
12956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12957 (eval $ac_try) 2>&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); }; }; then
12961 ac_header_compiler
=yes
12963 echo "$as_me: failed program was:" >&5
12964 sed 's/^/| /' conftest.
$ac_ext >&5
12966 ac_header_compiler
=no
12968 rm -f conftest.
$ac_objext conftest.
$ac_ext
12969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12970 echo "${ECHO_T}$ac_header_compiler" >&6
12972 # Is the header present?
12973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12975 cat >conftest.
$ac_ext <<_ACEOF
12976 #line $LINENO "configure"
12979 cat confdefs.h
>>conftest.
$ac_ext
12980 cat >>conftest.
$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12982 #include <$ac_header>
12984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12985 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12987 grep -v '^ *+' conftest.er1
>conftest.err
12989 cat conftest.err
>&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); } >/dev
/null
; then
12992 if test -s conftest.err
; then
12993 ac_cpp_err
=$ac_c_preproc_warn_flag
13000 if test -z "$ac_cpp_err"; then
13001 ac_header_preproc
=yes
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.
$ac_ext >&5
13006 ac_header_preproc
=no
13008 rm -f conftest.err conftest.
$ac_ext
13009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13010 echo "${ECHO_T}$ac_header_preproc" >&6
13012 # So? What about this header?
13013 case $ac_header_compiler:$ac_header_preproc in
13015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13018 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13021 ## ------------------------------------ ##
13022 ## Report this to bug-autoconf@gnu.org. ##
13023 ## ------------------------------------ ##
13026 sed "s/^/$as_me: WARNING: /" >&2
13029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13037 ## ------------------------------------ ##
13038 ## Report this to bug-autoconf@gnu.org. ##
13039 ## ------------------------------------ ##
13042 sed "s/^/$as_me: WARNING: /" >&2
13045 echo "$as_me:$LINENO: checking for $ac_header" >&5
13046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13050 eval "$as_ac_Header=$ac_header_preproc"
13052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13057 cat >>confdefs.h
<<_ACEOF
13058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13068 for ac_header
in fnmatch.h
13070 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13072 echo "$as_me:$LINENO: checking for $ac_header" >&5
13073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13075 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13080 # Is the header compilable?
13081 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13083 cat >conftest.
$ac_ext <<_ACEOF
13084 #line $LINENO "configure"
13087 cat confdefs.h
>>conftest.
$ac_ext
13088 cat >>conftest.
$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13090 $ac_includes_default
13091 #include <$ac_header>
13093 rm -f conftest.
$ac_objext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13095 (eval $ac_compile) 2>&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); } &&
13099 { ac_try
='test -s conftest.$ac_objext'
13100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13101 (eval $ac_try) 2>&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); }; }; then
13105 ac_header_compiler
=yes
13107 echo "$as_me: failed program was:" >&5
13108 sed 's/^/| /' conftest.
$ac_ext >&5
13110 ac_header_compiler
=no
13112 rm -f conftest.
$ac_objext conftest.
$ac_ext
13113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13114 echo "${ECHO_T}$ac_header_compiler" >&6
13116 # Is the header present?
13117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13119 cat >conftest.
$ac_ext <<_ACEOF
13120 #line $LINENO "configure"
13123 cat confdefs.h
>>conftest.
$ac_ext
13124 cat >>conftest.
$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126 #include <$ac_header>
13128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13129 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13131 grep -v '^ *+' conftest.er1
>conftest.err
13133 cat conftest.err
>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } >/dev
/null
; then
13136 if test -s conftest.err
; then
13137 ac_cpp_err
=$ac_c_preproc_warn_flag
13144 if test -z "$ac_cpp_err"; then
13145 ac_header_preproc
=yes
13147 echo "$as_me: failed program was:" >&5
13148 sed 's/^/| /' conftest.
$ac_ext >&5
13150 ac_header_preproc
=no
13152 rm -f conftest.err conftest.
$ac_ext
13153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13154 echo "${ECHO_T}$ac_header_preproc" >&6
13156 # So? What about this header?
13157 case $ac_header_compiler:$ac_header_preproc in
13159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13165 ## ------------------------------------ ##
13166 ## Report this to bug-autoconf@gnu.org. ##
13167 ## ------------------------------------ ##
13170 sed "s/^/$as_me: WARNING: /" >&2
13173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13176 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13181 ## ------------------------------------ ##
13182 ## Report this to bug-autoconf@gnu.org. ##
13183 ## ------------------------------------ ##
13186 sed "s/^/$as_me: WARNING: /" >&2
13189 echo "$as_me:$LINENO: checking for $ac_header" >&5
13190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 eval "$as_ac_Header=$ac_header_preproc"
13196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13201 cat >>confdefs.h
<<_ACEOF
13202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13210 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13212 for ac_func
in fnmatch
13214 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13215 echo "$as_me:$LINENO: checking for $ac_func" >&5
13216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13217 if eval "test \"\${$as_ac_var+set}\" = set"; then
13218 echo $ECHO_N "(cached) $ECHO_C" >&6
13220 cat >conftest.
$ac_ext <<_ACEOF
13221 #line $LINENO "configure"
13224 cat confdefs.h
>>conftest.
$ac_ext
13225 cat >>conftest.
$ac_ext <<_ACEOF
13226 /* end confdefs.h. */
13227 /* System header to define __stub macros and hopefully few prototypes,
13228 which can conflict with char $ac_func (); below.
13229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13230 <limits.h> exists even on freestanding compilers. */
13232 # include <limits.h>
13234 # include <assert.h>
13236 /* Override any gcc2 internal prototype to avoid an error. */
13241 /* We use char because int might match the return type of a gcc2
13242 builtin and then its argument prototype would still apply. */
13244 /* The GNU C library defines this for functions which it implements
13245 to always fail with ENOSYS. Some functions are actually named
13246 something starting with __ and the normal name is an alias. */
13247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13250 char (*f) () = $ac_func;
13259 return f != $ac_func;
13264 rm -f conftest.
$ac_objext conftest
$ac_exeext
13265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13266 (eval $ac_link) 2>&5
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); } &&
13270 { ac_try
='test -s conftest$ac_exeext'
13271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13272 (eval $ac_try) 2>&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); }; }; then
13276 eval "$as_ac_var=yes"
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.
$ac_ext >&5
13281 eval "$as_ac_var=no"
13283 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13287 if test `eval echo '${'$as_ac_var'}'` = yes; then
13288 cat >>confdefs.h
<<_ACEOF
13289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13298 for ac_header
in langinfo.h
13300 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13302 echo "$as_me:$LINENO: checking for $ac_header" >&5
13303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13310 # Is the header compilable?
13311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13313 cat >conftest.
$ac_ext <<_ACEOF
13314 #line $LINENO "configure"
13317 cat confdefs.h
>>conftest.
$ac_ext
13318 cat >>conftest.
$ac_ext <<_ACEOF
13319 /* end confdefs.h. */
13320 $ac_includes_default
13321 #include <$ac_header>
13323 rm -f conftest.
$ac_objext
13324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13325 (eval $ac_compile) 2>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try
='test -s conftest.$ac_objext'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; }; then
13335 ac_header_compiler
=yes
13337 echo "$as_me: failed program was:" >&5
13338 sed 's/^/| /' conftest.
$ac_ext >&5
13340 ac_header_compiler
=no
13342 rm -f conftest.
$ac_objext conftest.
$ac_ext
13343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13344 echo "${ECHO_T}$ac_header_compiler" >&6
13346 # Is the header present?
13347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13349 cat >conftest.
$ac_ext <<_ACEOF
13350 #line $LINENO "configure"
13353 cat confdefs.h
>>conftest.
$ac_ext
13354 cat >>conftest.
$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13356 #include <$ac_header>
13358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13361 grep -v '^ *+' conftest.er1
>conftest.err
13363 cat conftest.err
>&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } >/dev
/null
; then
13366 if test -s conftest.err
; then
13367 ac_cpp_err
=$ac_c_preproc_warn_flag
13374 if test -z "$ac_cpp_err"; then
13375 ac_header_preproc
=yes
13377 echo "$as_me: failed program was:" >&5
13378 sed 's/^/| /' conftest.
$ac_ext >&5
13380 ac_header_preproc
=no
13382 rm -f conftest.err conftest.
$ac_ext
13383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13384 echo "${ECHO_T}$ac_header_preproc" >&6
13386 # So? What about this header?
13387 case $ac_header_compiler:$ac_header_preproc in
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13395 ## ------------------------------------ ##
13396 ## Report this to bug-autoconf@gnu.org. ##
13397 ## ------------------------------------ ##
13400 sed "s/^/$as_me: WARNING: /" >&2
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13411 ## ------------------------------------ ##
13412 ## Report this to bug-autoconf@gnu.org. ##
13413 ## ------------------------------------ ##
13416 sed "s/^/$as_me: WARNING: /" >&2
13419 echo "$as_me:$LINENO: checking for $ac_header" >&5
13420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 eval "$as_ac_Header=$ac_header_preproc"
13426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13431 cat >>confdefs.h
<<_ACEOF
13432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13441 *-pc-os2_emx | *-pc-os2-emx )
13442 if test $ac_cv_header_langinfo_h = "yes"; then
13443 LIBS
="$LIBS -lintl"
13448 if test "$wxUSE_GUI" = "yes"; then
13449 if test "$wxUSE_UNIX" = "yes"; then
13451 for ac_header
in X
11/XKBlib.h
13453 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13455 echo "$as_me:$LINENO: checking for $ac_header" >&5
13456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13458 echo $ECHO_N "(cached) $ECHO_C" >&6
13460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13463 # Is the header compilable?
13464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13466 cat >conftest.
$ac_ext <<_ACEOF
13467 #line $LINENO "configure"
13470 cat confdefs.h
>>conftest.
$ac_ext
13471 cat >>conftest.
$ac_ext <<_ACEOF
13472 /* end confdefs.h. */
13473 $ac_includes_default
13474 #include <$ac_header>
13476 rm -f conftest.
$ac_objext
13477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13478 (eval $ac_compile) 2>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); } &&
13482 { ac_try
='test -s conftest.$ac_objext'
13483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13484 (eval $ac_try) 2>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); }; }; then
13488 ac_header_compiler
=yes
13490 echo "$as_me: failed program was:" >&5
13491 sed 's/^/| /' conftest.
$ac_ext >&5
13493 ac_header_compiler
=no
13495 rm -f conftest.
$ac_objext conftest.
$ac_ext
13496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13497 echo "${ECHO_T}$ac_header_compiler" >&6
13499 # Is the header present?
13500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13502 cat >conftest.
$ac_ext <<_ACEOF
13503 #line $LINENO "configure"
13506 cat confdefs.h
>>conftest.
$ac_ext
13507 cat >>conftest.
$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13509 #include <$ac_header>
13511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13512 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13514 grep -v '^ *+' conftest.er1
>conftest.err
13516 cat conftest.err
>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); } >/dev
/null
; then
13519 if test -s conftest.err
; then
13520 ac_cpp_err
=$ac_c_preproc_warn_flag
13527 if test -z "$ac_cpp_err"; then
13528 ac_header_preproc
=yes
13530 echo "$as_me: failed program was:" >&5
13531 sed 's/^/| /' conftest.
$ac_ext >&5
13533 ac_header_preproc
=no
13535 rm -f conftest.err conftest.
$ac_ext
13536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13537 echo "${ECHO_T}$ac_header_preproc" >&6
13539 # So? What about this header?
13540 case $ac_header_compiler:$ac_header_preproc in
13542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13548 ## ------------------------------------ ##
13549 ## Report this to bug-autoconf@gnu.org. ##
13550 ## ------------------------------------ ##
13553 sed "s/^/$as_me: WARNING: /" >&2
13556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13564 ## ------------------------------------ ##
13565 ## Report this to bug-autoconf@gnu.org. ##
13566 ## ------------------------------------ ##
13569 sed "s/^/$as_me: WARNING: /" >&2
13572 echo "$as_me:$LINENO: checking for $ac_header" >&5
13573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13575 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 eval "$as_ac_Header=$ac_header_preproc"
13579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13584 cat >>confdefs.h
<<_ACEOF
13585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13596 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13597 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13598 if test "${ac_cv_c_const+set}" = set; then
13599 echo $ECHO_N "(cached) $ECHO_C" >&6
13601 cat >conftest.
$ac_ext <<_ACEOF
13602 #line $LINENO "configure"
13605 cat confdefs.h
>>conftest.
$ac_ext
13606 cat >>conftest.
$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13612 /* FIXME: Include the comments suggested by Paul. */
13613 #ifndef __cplusplus
13614 /* Ultrix mips cc rejects this. */
13615 typedef int charset[2];
13617 /* SunOS 4.1.1 cc rejects this. */
13618 char const *const *ccp;
13620 /* NEC SVR4.0.2 mips cc rejects this. */
13621 struct point {int x, y;};
13622 static struct point const zero = {0,0};
13623 /* AIX XL C 1.02.0.0 rejects this.
13624 It does not let you subtract one const X* pointer from another in
13625 an arm of an if-expression whose if-part is not a constant
13627 const char *g = "string";
13628 ccp = &g + (g ? g-g : 0);
13629 /* HPUX 7.0 cc rejects these. */
13632 ccp = (char const *const *) p;
13633 { /* SCO 3.2v4 cc rejects this. */
13635 char const *s = 0 ? (char *) 0 : (char const *) 0;
13639 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13640 int x[] = {25, 17};
13641 const int *foo = &x[0];
13644 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13645 typedef const int *iptr;
13649 { /* AIX XL C 1.02.0.0 rejects this saying
13650 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13651 struct s { int j; const int *ap[3]; };
13652 struct s *b; b->j = 5;
13654 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13655 const int foo = 10;
13663 rm -f conftest.
$ac_objext
13664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13665 (eval $ac_compile) 2>&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } &&
13669 { ac_try
='test -s conftest.$ac_objext'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; }; then
13677 echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.
$ac_ext >&5
13682 rm -f conftest.
$ac_objext conftest.
$ac_ext
13684 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13685 echo "${ECHO_T}$ac_cv_c_const" >&6
13686 if test $ac_cv_c_const = no
; then
13688 cat >>confdefs.h
<<\_ACEOF
13694 echo "$as_me:$LINENO: checking for inline" >&5
13695 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13696 if test "${ac_cv_c_inline+set}" = set; then
13697 echo $ECHO_N "(cached) $ECHO_C" >&6
13700 for ac_kw
in inline __inline__ __inline
; do
13701 cat >conftest.
$ac_ext <<_ACEOF
13702 #line $LINENO "configure"
13705 cat confdefs.h
>>conftest.
$ac_ext
13706 cat >>conftest.
$ac_ext <<_ACEOF
13707 /* end confdefs.h. */
13708 #ifndef __cplusplus
13710 static $ac_kw foo_t static_foo () {return 0; }
13711 $ac_kw foo_t foo () {return 0; }
13715 rm -f conftest.
$ac_objext
13716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13717 (eval $ac_compile) 2>&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); } &&
13721 { ac_try
='test -s conftest.$ac_objext'
13722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13723 (eval $ac_try) 2>&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); }; }; then
13727 ac_cv_c_inline
=$ac_kw; break
13729 echo "$as_me: failed program was:" >&5
13730 sed 's/^/| /' conftest.
$ac_ext >&5
13733 rm -f conftest.
$ac_objext conftest.
$ac_ext
13737 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13738 echo "${ECHO_T}$ac_cv_c_inline" >&6
13739 case $ac_cv_c_inline in
13742 cat >>confdefs.h
<<\_ACEOF
13746 *) cat >>confdefs.h
<<_ACEOF
13747 #define inline $ac_cv_c_inline
13753 echo "$as_me:$LINENO: checking for char" >&5
13754 echo $ECHO_N "checking for char... $ECHO_C" >&6
13755 if test "${ac_cv_type_char+set}" = set; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13758 cat >conftest.
$ac_ext <<_ACEOF
13759 #line $LINENO "configure"
13762 cat confdefs.h
>>conftest.
$ac_ext
13763 cat >>conftest.
$ac_ext <<_ACEOF
13764 /* end confdefs.h. */
13765 $ac_includes_default
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_type_char
=yes
13791 echo "$as_me: failed program was:" >&5
13792 sed 's/^/| /' conftest.
$ac_ext >&5
13796 rm -f conftest.
$ac_objext conftest.
$ac_ext
13798 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13799 echo "${ECHO_T}$ac_cv_type_char" >&6
13801 echo "$as_me:$LINENO: checking size of char" >&5
13802 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13803 if test "${ac_cv_sizeof_char+set}" = set; then
13804 echo $ECHO_N "(cached) $ECHO_C" >&6
13806 if test "$ac_cv_type_char" = yes; then
13807 # The cast to unsigned long works around a bug in the HP C Compiler
13808 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13809 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13810 # This bug is HP SR number 8606223364.
13811 if test "$cross_compiling" = yes; then
13812 # Depending upon the size, compute the lo and hi bounds.
13813 cat >conftest.
$ac_ext <<_ACEOF
13814 #line $LINENO "configure"
13817 cat confdefs.h
>>conftest.
$ac_ext
13818 cat >>conftest.
$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13820 $ac_includes_default
13824 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13831 rm -f conftest.
$ac_objext
13832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13833 (eval $ac_compile) 2>&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); } &&
13837 { ac_try
='test -s conftest.$ac_objext'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; }; then
13845 cat >conftest.
$ac_ext <<_ACEOF
13846 #line $LINENO "configure"
13849 cat confdefs.h
>>conftest.
$ac_ext
13850 cat >>conftest.
$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13852 $ac_includes_default
13856 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13863 rm -f conftest.
$ac_objext
13864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13865 (eval $ac_compile) 2>&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); } &&
13869 { ac_try
='test -s conftest.$ac_objext'
13870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13871 (eval $ac_try) 2>&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); }; }; then
13875 ac_hi
=$ac_mid; break
13877 echo "$as_me: failed program was:" >&5
13878 sed 's/^/| /' conftest.
$ac_ext >&5
13880 ac_lo
=`expr $ac_mid + 1`
13881 if test $ac_lo -le $ac_mid; then
13885 ac_mid
=`expr 2 '*' $ac_mid + 1`
13887 rm -f conftest.
$ac_objext conftest.
$ac_ext
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.
$ac_ext >&5
13893 cat >conftest.
$ac_ext <<_ACEOF
13894 #line $LINENO "configure"
13897 cat confdefs.h
>>conftest.
$ac_ext
13898 cat >>conftest.
$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13900 $ac_includes_default
13904 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13911 rm -f conftest.
$ac_objext
13912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13913 (eval $ac_compile) 2>&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); } &&
13917 { ac_try
='test -s conftest.$ac_objext'
13918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13919 (eval $ac_try) 2>&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }; }; then
13925 cat >conftest.
$ac_ext <<_ACEOF
13926 #line $LINENO "configure"
13929 cat confdefs.h
>>conftest.
$ac_ext
13930 cat >>conftest.
$ac_ext <<_ACEOF
13931 /* end confdefs.h. */
13932 $ac_includes_default
13936 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13943 rm -f conftest.
$ac_objext
13944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13945 (eval $ac_compile) 2>&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } &&
13949 { ac_try
='test -s conftest.$ac_objext'
13950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13951 (eval $ac_try) 2>&5
13953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954 (exit $ac_status); }; }; then
13955 ac_lo
=$ac_mid; break
13957 echo "$as_me: failed program was:" >&5
13958 sed 's/^/| /' conftest.
$ac_ext >&5
13960 ac_hi
=`expr '(' $ac_mid ')' - 1`
13961 if test $ac_mid -le $ac_hi; then
13965 ac_mid
=`expr 2 '*' $ac_mid`
13967 rm -f conftest.
$ac_objext conftest.
$ac_ext
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.
$ac_ext >&5
13975 rm -f conftest.
$ac_objext conftest.
$ac_ext
13977 rm -f conftest.
$ac_objext conftest.
$ac_ext
13978 # Binary search between lo and hi bounds.
13979 while test "x$ac_lo" != "x$ac_hi"; do
13980 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13981 cat >conftest.
$ac_ext <<_ACEOF
13982 #line $LINENO "configure"
13985 cat confdefs.h
>>conftest.
$ac_ext
13986 cat >>conftest.
$ac_ext <<_ACEOF
13987 /* end confdefs.h. */
13988 $ac_includes_default
13992 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13999 rm -f conftest.
$ac_objext
14000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14001 (eval $ac_compile) 2>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); } &&
14005 { ac_try
='test -s conftest.$ac_objext'
14006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14007 (eval $ac_try) 2>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; }; then
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.
$ac_ext >&5
14016 ac_lo
=`expr '(' $ac_mid ')' + 1`
14018 rm -f conftest.
$ac_objext conftest.
$ac_ext
14021 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14022 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14023 See \`config.log' for more details." >&5
14024 echo "$as_me: error: cannot compute sizeof (char), 77
14025 See \`config.log' for more details." >&2;}
14026 { (exit 1); exit 1; }; } ;;
14029 if test "$cross_compiling" = yes; then
14030 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14031 See \`config.log' for more details." >&5
14032 echo "$as_me: error: cannot run test program while cross compiling
14033 See \`config.log' for more details." >&2;}
14034 { (exit 1); exit 1; }; }
14036 cat >conftest.
$ac_ext <<_ACEOF
14037 #line $LINENO "configure"
14040 cat confdefs.h
>>conftest.
$ac_ext
14041 cat >>conftest.
$ac_ext <<_ACEOF
14042 /* end confdefs.h. */
14043 $ac_includes_default
14044 long longval () { return (long) (sizeof (char)); }
14045 unsigned long ulongval () { return (long) (sizeof (char)); }
14047 #include <stdlib.h>
14052 FILE *f = fopen ("conftest.val", "w");
14055 if (((long) (sizeof (char))) < 0)
14057 long i = longval ();
14058 if (i != ((long) (sizeof (char))))
14060 fprintf (f, "%ld\n", i);
14064 unsigned long i = ulongval ();
14065 if (i != ((long) (sizeof (char))))
14067 fprintf (f, "%lu\n", i);
14069 exit (ferror (f) || fclose (f) != 0);
14075 rm -f conftest
$ac_exeext
14076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14077 (eval $ac_link) 2>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14082 (eval $ac_try) 2>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; }; then
14086 ac_cv_sizeof_char
=`cat conftest.val`
14088 echo "$as_me: program exited with status $ac_status" >&5
14089 echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.
$ac_ext >&5
14092 ( exit $ac_status )
14093 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14094 See \`config.log' for more details." >&5
14095 echo "$as_me: error: cannot compute sizeof (char), 77
14096 See \`config.log' for more details." >&2;}
14097 { (exit 1); exit 1; }; }
14099 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14104 ac_cv_sizeof_char
=0
14107 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14108 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14109 cat >>confdefs.h
<<_ACEOF
14110 #define SIZEOF_CHAR $ac_cv_sizeof_char
14114 echo "$as_me:$LINENO: checking for short" >&5
14115 echo $ECHO_N "checking for short... $ECHO_C" >&6
14116 if test "${ac_cv_type_short+set}" = set; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 cat >conftest.
$ac_ext <<_ACEOF
14120 #line $LINENO "configure"
14123 cat confdefs.h
>>conftest.
$ac_ext
14124 cat >>conftest.
$ac_ext <<_ACEOF
14125 /* end confdefs.h. */
14126 $ac_includes_default
14132 if (sizeof (short))
14138 rm -f conftest.
$ac_objext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14140 (eval $ac_compile) 2>&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } &&
14144 { ac_try
='test -s conftest.$ac_objext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_cv_type_short
=yes
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.
$ac_ext >&5
14155 ac_cv_type_short
=no
14157 rm -f conftest.
$ac_objext conftest.
$ac_ext
14159 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14160 echo "${ECHO_T}$ac_cv_type_short" >&6
14162 echo "$as_me:$LINENO: checking size of short" >&5
14163 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14164 if test "${ac_cv_sizeof_short+set}" = set; then
14165 echo $ECHO_N "(cached) $ECHO_C" >&6
14167 if test "$ac_cv_type_short" = yes; then
14168 # The cast to unsigned long works around a bug in the HP C Compiler
14169 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14170 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14171 # This bug is HP SR number 8606223364.
14172 if test "$cross_compiling" = yes; then
14173 # Depending upon the size, compute the lo and hi bounds.
14174 cat >conftest.
$ac_ext <<_ACEOF
14175 #line $LINENO "configure"
14178 cat confdefs.h
>>conftest.
$ac_ext
14179 cat >>conftest.
$ac_ext <<_ACEOF
14180 /* end confdefs.h. */
14181 $ac_includes_default
14185 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14192 rm -f conftest.
$ac_objext
14193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14194 (eval $ac_compile) 2>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); } &&
14198 { ac_try
='test -s conftest.$ac_objext'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; }; then
14206 cat >conftest.
$ac_ext <<_ACEOF
14207 #line $LINENO "configure"
14210 cat confdefs.h
>>conftest.
$ac_ext
14211 cat >>conftest.
$ac_ext <<_ACEOF
14212 /* end confdefs.h. */
14213 $ac_includes_default
14217 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14224 rm -f conftest.
$ac_objext
14225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14226 (eval $ac_compile) 2>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try
='test -s conftest.$ac_objext'
14231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232 (eval $ac_try) 2>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); }; }; then
14236 ac_hi
=$ac_mid; break
14238 echo "$as_me: failed program was:" >&5
14239 sed 's/^/| /' conftest.
$ac_ext >&5
14241 ac_lo
=`expr $ac_mid + 1`
14242 if test $ac_lo -le $ac_mid; then
14246 ac_mid
=`expr 2 '*' $ac_mid + 1`
14248 rm -f conftest.
$ac_objext conftest.
$ac_ext
14251 echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.
$ac_ext >&5
14254 cat >conftest.
$ac_ext <<_ACEOF
14255 #line $LINENO "configure"
14258 cat confdefs.h
>>conftest.
$ac_ext
14259 cat >>conftest.
$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14261 $ac_includes_default
14265 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14272 rm -f conftest.
$ac_objext
14273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14274 (eval $ac_compile) 2>&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); } &&
14278 { ac_try
='test -s conftest.$ac_objext'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; }; then
14286 cat >conftest.
$ac_ext <<_ACEOF
14287 #line $LINENO "configure"
14290 cat confdefs.h
>>conftest.
$ac_ext
14291 cat >>conftest.
$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 $ac_includes_default
14297 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14304 rm -f conftest.
$ac_objext
14305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14306 (eval $ac_compile) 2>&5
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); } &&
14310 { ac_try
='test -s conftest.$ac_objext'
14311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312 (eval $ac_try) 2>&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; }; then
14316 ac_lo
=$ac_mid; break
14318 echo "$as_me: failed program was:" >&5
14319 sed 's/^/| /' conftest.
$ac_ext >&5
14321 ac_hi
=`expr '(' $ac_mid ')' - 1`
14322 if test $ac_mid -le $ac_hi; then
14326 ac_mid
=`expr 2 '*' $ac_mid`
14328 rm -f conftest.
$ac_objext conftest.
$ac_ext
14331 echo "$as_me: failed program was:" >&5
14332 sed 's/^/| /' conftest.
$ac_ext >&5
14336 rm -f conftest.
$ac_objext conftest.
$ac_ext
14338 rm -f conftest.
$ac_objext conftest.
$ac_ext
14339 # Binary search between lo and hi bounds.
14340 while test "x$ac_lo" != "x$ac_hi"; do
14341 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14342 cat >conftest.
$ac_ext <<_ACEOF
14343 #line $LINENO "configure"
14346 cat confdefs.h
>>conftest.
$ac_ext
14347 cat >>conftest.
$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349 $ac_includes_default
14353 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14360 rm -f conftest.
$ac_objext
14361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14362 (eval $ac_compile) 2>&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } &&
14366 { ac_try
='test -s conftest.$ac_objext'
14367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); }; }; then
14374 echo "$as_me: failed program was:" >&5
14375 sed 's/^/| /' conftest.
$ac_ext >&5
14377 ac_lo
=`expr '(' $ac_mid ')' + 1`
14379 rm -f conftest.
$ac_objext conftest.
$ac_ext
14382 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14383 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14384 See \`config.log' for more details." >&5
14385 echo "$as_me: error: cannot compute sizeof (short), 77
14386 See \`config.log' for more details." >&2;}
14387 { (exit 1); exit 1; }; } ;;
14390 if test "$cross_compiling" = yes; then
14391 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14392 See \`config.log' for more details." >&5
14393 echo "$as_me: error: cannot run test program while cross compiling
14394 See \`config.log' for more details." >&2;}
14395 { (exit 1); exit 1; }; }
14397 cat >conftest.
$ac_ext <<_ACEOF
14398 #line $LINENO "configure"
14401 cat confdefs.h
>>conftest.
$ac_ext
14402 cat >>conftest.
$ac_ext <<_ACEOF
14403 /* end confdefs.h. */
14404 $ac_includes_default
14405 long longval () { return (long) (sizeof (short)); }
14406 unsigned long ulongval () { return (long) (sizeof (short)); }
14408 #include <stdlib.h>
14413 FILE *f = fopen ("conftest.val", "w");
14416 if (((long) (sizeof (short))) < 0)
14418 long i = longval ();
14419 if (i != ((long) (sizeof (short))))
14421 fprintf (f, "%ld\n", i);
14425 unsigned long i = ulongval ();
14426 if (i != ((long) (sizeof (short))))
14428 fprintf (f, "%lu\n", i);
14430 exit (ferror (f) || fclose (f) != 0);
14436 rm -f conftest
$ac_exeext
14437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14438 (eval $ac_link) 2>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ac_cv_sizeof_short
=`cat conftest.val`
14449 echo "$as_me: program exited with status $ac_status" >&5
14450 echo "$as_me: failed program was:" >&5
14451 sed 's/^/| /' conftest.
$ac_ext >&5
14453 ( exit $ac_status )
14454 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14455 See \`config.log' for more details." >&5
14456 echo "$as_me: error: cannot compute sizeof (short), 77
14457 See \`config.log' for more details." >&2;}
14458 { (exit 1); exit 1; }; }
14460 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14465 ac_cv_sizeof_short
=0
14468 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14469 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14470 cat >>confdefs.h
<<_ACEOF
14471 #define SIZEOF_SHORT $ac_cv_sizeof_short
14475 echo "$as_me:$LINENO: checking for void *" >&5
14476 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14477 if test "${ac_cv_type_void_p+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 cat >conftest.
$ac_ext <<_ACEOF
14481 #line $LINENO "configure"
14484 cat confdefs.h
>>conftest.
$ac_ext
14485 cat >>conftest.
$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487 $ac_includes_default
14493 if (sizeof (void *))
14499 rm -f conftest.
$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try
='test -s conftest.$ac_objext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 ac_cv_type_void_p
=yes
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.
$ac_ext >&5
14516 ac_cv_type_void_p
=no
14518 rm -f conftest.
$ac_objext conftest.
$ac_ext
14520 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14521 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14523 echo "$as_me:$LINENO: checking size of void *" >&5
14524 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14525 if test "${ac_cv_sizeof_void_p+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 if test "$ac_cv_type_void_p" = yes; then
14529 # The cast to unsigned long works around a bug in the HP C Compiler
14530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14532 # This bug is HP SR number 8606223364.
14533 if test "$cross_compiling" = yes; then
14534 # Depending upon the size, compute the lo and hi bounds.
14535 cat >conftest.
$ac_ext <<_ACEOF
14536 #line $LINENO "configure"
14539 cat confdefs.h
>>conftest.
$ac_ext
14540 cat >>conftest.
$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14542 $ac_includes_default
14546 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14553 rm -f conftest.
$ac_objext
14554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14555 (eval $ac_compile) 2>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } &&
14559 { ac_try
='test -s conftest.$ac_objext'
14560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561 (eval $ac_try) 2>&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); }; }; then
14567 cat >conftest.
$ac_ext <<_ACEOF
14568 #line $LINENO "configure"
14571 cat confdefs.h
>>conftest.
$ac_ext
14572 cat >>conftest.
$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14574 $ac_includes_default
14578 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14585 rm -f conftest.
$ac_objext
14586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14587 (eval $ac_compile) 2>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); } &&
14591 { ac_try
='test -s conftest.$ac_objext'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; }; then
14597 ac_hi
=$ac_mid; break
14599 echo "$as_me: failed program was:" >&5
14600 sed 's/^/| /' conftest.
$ac_ext >&5
14602 ac_lo
=`expr $ac_mid + 1`
14603 if test $ac_lo -le $ac_mid; then
14607 ac_mid
=`expr 2 '*' $ac_mid + 1`
14609 rm -f conftest.
$ac_objext conftest.
$ac_ext
14612 echo "$as_me: failed program was:" >&5
14613 sed 's/^/| /' conftest.
$ac_ext >&5
14615 cat >conftest.
$ac_ext <<_ACEOF
14616 #line $LINENO "configure"
14619 cat confdefs.h
>>conftest.
$ac_ext
14620 cat >>conftest.
$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14622 $ac_includes_default
14626 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14633 rm -f conftest.
$ac_objext
14634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14635 (eval $ac_compile) 2>&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } &&
14639 { ac_try
='test -s conftest.$ac_objext'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; }; then
14647 cat >conftest.
$ac_ext <<_ACEOF
14648 #line $LINENO "configure"
14651 cat confdefs.h
>>conftest.
$ac_ext
14652 cat >>conftest.
$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14654 $ac_includes_default
14658 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14665 rm -f conftest.
$ac_objext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); } &&
14671 { ac_try
='test -s conftest.$ac_objext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14677 ac_lo
=$ac_mid; break
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.
$ac_ext >&5
14682 ac_hi
=`expr '(' $ac_mid ')' - 1`
14683 if test $ac_mid -le $ac_hi; then
14687 ac_mid
=`expr 2 '*' $ac_mid`
14689 rm -f conftest.
$ac_objext conftest.
$ac_ext
14692 echo "$as_me: failed program was:" >&5
14693 sed 's/^/| /' conftest.
$ac_ext >&5
14697 rm -f conftest.
$ac_objext conftest.
$ac_ext
14699 rm -f conftest.
$ac_objext conftest.
$ac_ext
14700 # Binary search between lo and hi bounds.
14701 while test "x$ac_lo" != "x$ac_hi"; do
14702 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14703 cat >conftest.
$ac_ext <<_ACEOF
14704 #line $LINENO "configure"
14707 cat confdefs.h
>>conftest.
$ac_ext
14708 cat >>conftest.
$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14710 $ac_includes_default
14714 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14721 rm -f conftest.
$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } &&
14727 { ac_try
='test -s conftest.$ac_objext'
14728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14729 (eval $ac_try) 2>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); }; }; then
14735 echo "$as_me: failed program was:" >&5
14736 sed 's/^/| /' conftest.
$ac_ext >&5
14738 ac_lo
=`expr '(' $ac_mid ')' + 1`
14740 rm -f conftest.
$ac_objext conftest.
$ac_ext
14743 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14744 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14745 See \`config.log' for more details." >&5
14746 echo "$as_me: error: cannot compute sizeof (void *), 77
14747 See \`config.log' for more details." >&2;}
14748 { (exit 1); exit 1; }; } ;;
14751 if test "$cross_compiling" = yes; then
14752 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14753 See \`config.log' for more details." >&5
14754 echo "$as_me: error: cannot run test program while cross compiling
14755 See \`config.log' for more details." >&2;}
14756 { (exit 1); exit 1; }; }
14758 cat >conftest.
$ac_ext <<_ACEOF
14759 #line $LINENO "configure"
14762 cat confdefs.h
>>conftest.
$ac_ext
14763 cat >>conftest.
$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14765 $ac_includes_default
14766 long longval () { return (long) (sizeof (void *)); }
14767 unsigned long ulongval () { return (long) (sizeof (void *)); }
14769 #include <stdlib.h>
14774 FILE *f = fopen ("conftest.val", "w");
14777 if (((long) (sizeof (void *))) < 0)
14779 long i = longval ();
14780 if (i != ((long) (sizeof (void *))))
14782 fprintf (f, "%ld\n", i);
14786 unsigned long i = ulongval ();
14787 if (i != ((long) (sizeof (void *))))
14789 fprintf (f, "%lu\n", i);
14791 exit (ferror (f) || fclose (f) != 0);
14797 rm -f conftest
$ac_exeext
14798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14799 (eval $ac_link) 2>&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14804 (eval $ac_try) 2>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; }; then
14808 ac_cv_sizeof_void_p
=`cat conftest.val`
14810 echo "$as_me: program exited with status $ac_status" >&5
14811 echo "$as_me: failed program was:" >&5
14812 sed 's/^/| /' conftest.
$ac_ext >&5
14814 ( exit $ac_status )
14815 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14816 See \`config.log' for more details." >&5
14817 echo "$as_me: error: cannot compute sizeof (void *), 77
14818 See \`config.log' for more details." >&2;}
14819 { (exit 1); exit 1; }; }
14821 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14826 ac_cv_sizeof_void_p
=0
14829 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14830 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14831 cat >>confdefs.h
<<_ACEOF
14832 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14836 echo "$as_me:$LINENO: checking for int" >&5
14837 echo $ECHO_N "checking for int... $ECHO_C" >&6
14838 if test "${ac_cv_type_int+set}" = set; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14841 cat >conftest.
$ac_ext <<_ACEOF
14842 #line $LINENO "configure"
14845 cat confdefs.h
>>conftest.
$ac_ext
14846 cat >>conftest.
$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14848 $ac_includes_default
14860 rm -f conftest.
$ac_objext
14861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14862 (eval $ac_compile) 2>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try
='test -s conftest.$ac_objext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.
$ac_ext >&5
14879 rm -f conftest.
$ac_objext conftest.
$ac_ext
14881 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14882 echo "${ECHO_T}$ac_cv_type_int" >&6
14884 echo "$as_me:$LINENO: checking size of int" >&5
14885 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14886 if test "${ac_cv_sizeof_int+set}" = set; then
14887 echo $ECHO_N "(cached) $ECHO_C" >&6
14889 if test "$ac_cv_type_int" = yes; then
14890 # The cast to unsigned long works around a bug in the HP C Compiler
14891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14893 # This bug is HP SR number 8606223364.
14894 if test "$cross_compiling" = yes; then
14895 # Depending upon the size, compute the lo and hi bounds.
14896 cat >conftest.
$ac_ext <<_ACEOF
14897 #line $LINENO "configure"
14900 cat confdefs.h
>>conftest.
$ac_ext
14901 cat >>conftest.
$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14903 $ac_includes_default
14907 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14914 rm -f conftest.
$ac_objext
14915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14916 (eval $ac_compile) 2>&5
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); } &&
14920 { ac_try
='test -s conftest.$ac_objext'
14921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922 (eval $ac_try) 2>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; }; then
14928 cat >conftest.
$ac_ext <<_ACEOF
14929 #line $LINENO "configure"
14932 cat confdefs.h
>>conftest.
$ac_ext
14933 cat >>conftest.
$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14935 $ac_includes_default
14939 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14946 rm -f conftest.
$ac_objext
14947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14948 (eval $ac_compile) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); } &&
14952 { ac_try
='test -s conftest.$ac_objext'
14953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14954 (eval $ac_try) 2>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; }; then
14958 ac_hi
=$ac_mid; break
14960 echo "$as_me: failed program was:" >&5
14961 sed 's/^/| /' conftest.
$ac_ext >&5
14963 ac_lo
=`expr $ac_mid + 1`
14964 if test $ac_lo -le $ac_mid; then
14968 ac_mid
=`expr 2 '*' $ac_mid + 1`
14970 rm -f conftest.
$ac_objext conftest.
$ac_ext
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14976 cat >conftest.
$ac_ext <<_ACEOF
14977 #line $LINENO "configure"
14980 cat confdefs.h
>>conftest.
$ac_ext
14981 cat >>conftest.
$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14983 $ac_includes_default
14987 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14994 rm -f conftest.
$ac_objext
14995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14996 (eval $ac_compile) 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } &&
15000 { ac_try
='test -s conftest.$ac_objext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15008 cat >conftest.
$ac_ext <<_ACEOF
15009 #line $LINENO "configure"
15012 cat confdefs.h
>>conftest.
$ac_ext
15013 cat >>conftest.
$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 $ac_includes_default
15019 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15026 rm -f conftest.
$ac_objext
15027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } &&
15032 { ac_try
='test -s conftest.$ac_objext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15038 ac_lo
=$ac_mid; break
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.
$ac_ext >&5
15043 ac_hi
=`expr '(' $ac_mid ')' - 1`
15044 if test $ac_mid -le $ac_hi; then
15048 ac_mid
=`expr 2 '*' $ac_mid`
15050 rm -f conftest.
$ac_objext conftest.
$ac_ext
15053 echo "$as_me: failed program was:" >&5
15054 sed 's/^/| /' conftest.
$ac_ext >&5
15058 rm -f conftest.
$ac_objext conftest.
$ac_ext
15060 rm -f conftest.
$ac_objext conftest.
$ac_ext
15061 # Binary search between lo and hi bounds.
15062 while test "x$ac_lo" != "x$ac_hi"; do
15063 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15064 cat >conftest.
$ac_ext <<_ACEOF
15065 #line $LINENO "configure"
15068 cat confdefs.h
>>conftest.
$ac_ext
15069 cat >>conftest.
$ac_ext <<_ACEOF
15070 /* end confdefs.h. */
15071 $ac_includes_default
15075 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15082 rm -f conftest.
$ac_objext
15083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15084 (eval $ac_compile) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); } &&
15088 { ac_try
='test -s conftest.$ac_objext'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; }; then
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.
$ac_ext >&5
15099 ac_lo
=`expr '(' $ac_mid ')' + 1`
15101 rm -f conftest.
$ac_objext conftest.
$ac_ext
15104 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15105 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15106 See \`config.log' for more details." >&5
15107 echo "$as_me: error: cannot compute sizeof (int), 77
15108 See \`config.log' for more details." >&2;}
15109 { (exit 1); exit 1; }; } ;;
15112 if test "$cross_compiling" = yes; then
15113 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15114 See \`config.log' for more details." >&5
15115 echo "$as_me: error: cannot run test program while cross compiling
15116 See \`config.log' for more details." >&2;}
15117 { (exit 1); exit 1; }; }
15119 cat >conftest.
$ac_ext <<_ACEOF
15120 #line $LINENO "configure"
15123 cat confdefs.h
>>conftest.
$ac_ext
15124 cat >>conftest.
$ac_ext <<_ACEOF
15125 /* end confdefs.h. */
15126 $ac_includes_default
15127 long longval () { return (long) (sizeof (int)); }
15128 unsigned long ulongval () { return (long) (sizeof (int)); }
15130 #include <stdlib.h>
15135 FILE *f = fopen ("conftest.val", "w");
15138 if (((long) (sizeof (int))) < 0)
15140 long i = longval ();
15141 if (i != ((long) (sizeof (int))))
15143 fprintf (f, "%ld\n", i);
15147 unsigned long i = ulongval ();
15148 if (i != ((long) (sizeof (int))))
15150 fprintf (f, "%lu\n", i);
15152 exit (ferror (f) || fclose (f) != 0);
15158 rm -f conftest
$ac_exeext
15159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15160 (eval $ac_link) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15165 (eval $ac_try) 2>&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); }; }; then
15169 ac_cv_sizeof_int
=`cat conftest.val`
15171 echo "$as_me: program exited with status $ac_status" >&5
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.
$ac_ext >&5
15175 ( exit $ac_status )
15176 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15177 See \`config.log' for more details." >&5
15178 echo "$as_me: error: cannot compute sizeof (int), 77
15179 See \`config.log' for more details." >&2;}
15180 { (exit 1); exit 1; }; }
15182 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15190 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15191 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15192 cat >>confdefs.h
<<_ACEOF
15193 #define SIZEOF_INT $ac_cv_sizeof_int
15197 echo "$as_me:$LINENO: checking for long" >&5
15198 echo $ECHO_N "checking for long... $ECHO_C" >&6
15199 if test "${ac_cv_type_long+set}" = set; then
15200 echo $ECHO_N "(cached) $ECHO_C" >&6
15202 cat >conftest.
$ac_ext <<_ACEOF
15203 #line $LINENO "configure"
15206 cat confdefs.h
>>conftest.
$ac_ext
15207 cat >>conftest.
$ac_ext <<_ACEOF
15208 /* end confdefs.h. */
15209 $ac_includes_default
15221 rm -f conftest.
$ac_objext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } &&
15227 { ac_try
='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15233 ac_cv_type_long
=yes
15235 echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.
$ac_ext >&5
15240 rm -f conftest.
$ac_objext conftest.
$ac_ext
15242 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15243 echo "${ECHO_T}$ac_cv_type_long" >&6
15245 echo "$as_me:$LINENO: checking size of long" >&5
15246 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15247 if test "${ac_cv_sizeof_long+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 if test "$ac_cv_type_long" = yes; then
15251 # The cast to unsigned long works around a bug in the HP C Compiler
15252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15254 # This bug is HP SR number 8606223364.
15255 if test "$cross_compiling" = yes; then
15256 # Depending upon the size, compute the lo and hi bounds.
15257 cat >conftest.
$ac_ext <<_ACEOF
15258 #line $LINENO "configure"
15261 cat confdefs.h
>>conftest.
$ac_ext
15262 cat >>conftest.
$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264 $ac_includes_default
15268 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15275 rm -f conftest.
$ac_objext
15276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15277 (eval $ac_compile) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } &&
15281 { ac_try
='test -s conftest.$ac_objext'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; }; then
15289 cat >conftest.
$ac_ext <<_ACEOF
15290 #line $LINENO "configure"
15293 cat confdefs.h
>>conftest.
$ac_ext
15294 cat >>conftest.
$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15296 $ac_includes_default
15300 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15307 rm -f conftest.
$ac_objext
15308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15309 (eval $ac_compile) 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); } &&
15313 { ac_try
='test -s conftest.$ac_objext'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15319 ac_hi
=$ac_mid; break
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.
$ac_ext >&5
15324 ac_lo
=`expr $ac_mid + 1`
15325 if test $ac_lo -le $ac_mid; then
15329 ac_mid
=`expr 2 '*' $ac_mid + 1`
15331 rm -f conftest.
$ac_objext conftest.
$ac_ext
15334 echo "$as_me: failed program was:" >&5
15335 sed 's/^/| /' conftest.
$ac_ext >&5
15337 cat >conftest.
$ac_ext <<_ACEOF
15338 #line $LINENO "configure"
15341 cat confdefs.h
>>conftest.
$ac_ext
15342 cat >>conftest.
$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15344 $ac_includes_default
15348 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15355 rm -f conftest.
$ac_objext
15356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15357 (eval $ac_compile) 2>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); } &&
15361 { ac_try
='test -s conftest.$ac_objext'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; }; then
15369 cat >conftest.
$ac_ext <<_ACEOF
15370 #line $LINENO "configure"
15373 cat confdefs.h
>>conftest.
$ac_ext
15374 cat >>conftest.
$ac_ext <<_ACEOF
15375 /* end confdefs.h. */
15376 $ac_includes_default
15380 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15387 rm -f conftest.
$ac_objext
15388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15389 (eval $ac_compile) 2>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try
='test -s conftest.$ac_objext'
15394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15395 (eval $ac_try) 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }; }; then
15399 ac_lo
=$ac_mid; break
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.
$ac_ext >&5
15404 ac_hi
=`expr '(' $ac_mid ')' - 1`
15405 if test $ac_mid -le $ac_hi; then
15409 ac_mid
=`expr 2 '*' $ac_mid`
15411 rm -f conftest.
$ac_objext conftest.
$ac_ext
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.
$ac_ext >&5
15419 rm -f conftest.
$ac_objext conftest.
$ac_ext
15421 rm -f conftest.
$ac_objext conftest.
$ac_ext
15422 # Binary search between lo and hi bounds.
15423 while test "x$ac_lo" != "x$ac_hi"; do
15424 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15425 cat >conftest.
$ac_ext <<_ACEOF
15426 #line $LINENO "configure"
15429 cat confdefs.h
>>conftest.
$ac_ext
15430 cat >>conftest.
$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 $ac_includes_default
15436 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15443 rm -f conftest.
$ac_objext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15445 (eval $ac_compile) 2>&5
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); } &&
15449 { ac_try
='test -s conftest.$ac_objext'
15450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15451 (eval $ac_try) 2>&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); }; }; then
15457 echo "$as_me: failed program was:" >&5
15458 sed 's/^/| /' conftest.
$ac_ext >&5
15460 ac_lo
=`expr '(' $ac_mid ')' + 1`
15462 rm -f conftest.
$ac_objext conftest.
$ac_ext
15465 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15466 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15467 See \`config.log' for more details." >&5
15468 echo "$as_me: error: cannot compute sizeof (long), 77
15469 See \`config.log' for more details." >&2;}
15470 { (exit 1); exit 1; }; } ;;
15473 if test "$cross_compiling" = yes; then
15474 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15475 See \`config.log' for more details." >&5
15476 echo "$as_me: error: cannot run test program while cross compiling
15477 See \`config.log' for more details." >&2;}
15478 { (exit 1); exit 1; }; }
15480 cat >conftest.
$ac_ext <<_ACEOF
15481 #line $LINENO "configure"
15484 cat confdefs.h
>>conftest.
$ac_ext
15485 cat >>conftest.
$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15487 $ac_includes_default
15488 long longval () { return (long) (sizeof (long)); }
15489 unsigned long ulongval () { return (long) (sizeof (long)); }
15491 #include <stdlib.h>
15496 FILE *f = fopen ("conftest.val", "w");
15499 if (((long) (sizeof (long))) < 0)
15501 long i = longval ();
15502 if (i != ((long) (sizeof (long))))
15504 fprintf (f, "%ld\n", i);
15508 unsigned long i = ulongval ();
15509 if (i != ((long) (sizeof (long))))
15511 fprintf (f, "%lu\n", i);
15513 exit (ferror (f) || fclose (f) != 0);
15519 rm -f conftest
$ac_exeext
15520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15521 (eval $ac_link) 2>&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526 (eval $ac_try) 2>&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); }; }; then
15530 ac_cv_sizeof_long
=`cat conftest.val`
15532 echo "$as_me: program exited with status $ac_status" >&5
15533 echo "$as_me: failed program was:" >&5
15534 sed 's/^/| /' conftest.
$ac_ext >&5
15536 ( exit $ac_status )
15537 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15538 See \`config.log' for more details." >&5
15539 echo "$as_me: error: cannot compute sizeof (long), 77
15540 See \`config.log' for more details." >&2;}
15541 { (exit 1); exit 1; }; }
15543 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15548 ac_cv_sizeof_long
=0
15551 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15552 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15553 cat >>confdefs.h
<<_ACEOF
15554 #define SIZEOF_LONG $ac_cv_sizeof_long
15561 echo "$as_me:$LINENO: checking for long long" >&5
15562 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15563 if test "${ac_cv_type_long_long+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15566 cat >conftest.
$ac_ext <<_ACEOF
15567 #line $LINENO "configure"
15570 cat confdefs.h
>>conftest.
$ac_ext
15571 cat >>conftest.
$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15573 $ac_includes_default
15577 if ((long long *) 0)
15579 if (sizeof (long long))
15585 rm -f conftest.
$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } &&
15591 { ac_try
='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15597 ac_cv_type_long_long
=yes
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.
$ac_ext >&5
15602 ac_cv_type_long_long
=no
15604 rm -f conftest.
$ac_objext conftest.
$ac_ext
15606 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15607 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15609 echo "$as_me:$LINENO: checking size of long long" >&5
15610 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15611 if test "${ac_cv_sizeof_long_long+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 if test "$ac_cv_type_long_long" = yes; then
15615 # The cast to unsigned long works around a bug in the HP C Compiler
15616 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15617 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15618 # This bug is HP SR number 8606223364.
15619 if test "$cross_compiling" = yes; then
15620 # Depending upon the size, compute the lo and hi bounds.
15621 cat >conftest.
$ac_ext <<_ACEOF
15622 #line $LINENO "configure"
15625 cat confdefs.h
>>conftest.
$ac_ext
15626 cat >>conftest.
$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15628 $ac_includes_default
15632 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15639 rm -f conftest.
$ac_objext
15640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15641 (eval $ac_compile) 2>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); } &&
15645 { ac_try
='test -s conftest.$ac_objext'
15646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15647 (eval $ac_try) 2>&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; }; then
15653 cat >conftest.
$ac_ext <<_ACEOF
15654 #line $LINENO "configure"
15657 cat confdefs.h
>>conftest.
$ac_ext
15658 cat >>conftest.
$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15660 $ac_includes_default
15664 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15671 rm -f conftest.
$ac_objext
15672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15673 (eval $ac_compile) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } &&
15677 { ac_try
='test -s conftest.$ac_objext'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; }; then
15683 ac_hi
=$ac_mid; break
15685 echo "$as_me: failed program was:" >&5
15686 sed 's/^/| /' conftest.
$ac_ext >&5
15688 ac_lo
=`expr $ac_mid + 1`
15689 if test $ac_lo -le $ac_mid; then
15693 ac_mid
=`expr 2 '*' $ac_mid + 1`
15695 rm -f conftest.
$ac_objext conftest.
$ac_ext
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.
$ac_ext >&5
15701 cat >conftest.
$ac_ext <<_ACEOF
15702 #line $LINENO "configure"
15705 cat confdefs.h
>>conftest.
$ac_ext
15706 cat >>conftest.
$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15708 $ac_includes_default
15712 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15719 rm -f conftest.
$ac_objext
15720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15721 (eval $ac_compile) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } &&
15725 { ac_try
='test -s conftest.$ac_objext'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; }; then
15733 cat >conftest.
$ac_ext <<_ACEOF
15734 #line $LINENO "configure"
15737 cat confdefs.h
>>conftest.
$ac_ext
15738 cat >>conftest.
$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15740 $ac_includes_default
15744 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15751 rm -f conftest.
$ac_objext
15752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15753 (eval $ac_compile) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try
='test -s conftest.$ac_objext'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; }; then
15763 ac_lo
=$ac_mid; break
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.
$ac_ext >&5
15768 ac_hi
=`expr '(' $ac_mid ')' - 1`
15769 if test $ac_mid -le $ac_hi; then
15773 ac_mid
=`expr 2 '*' $ac_mid`
15775 rm -f conftest.
$ac_objext conftest.
$ac_ext
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.
$ac_ext >&5
15783 rm -f conftest.
$ac_objext conftest.
$ac_ext
15785 rm -f conftest.
$ac_objext conftest.
$ac_ext
15786 # Binary search between lo and hi bounds.
15787 while test "x$ac_lo" != "x$ac_hi"; do
15788 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15789 cat >conftest.
$ac_ext <<_ACEOF
15790 #line $LINENO "configure"
15793 cat confdefs.h
>>conftest.
$ac_ext
15794 cat >>conftest.
$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15796 $ac_includes_default
15800 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15807 rm -f conftest.
$ac_objext
15808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15809 (eval $ac_compile) 2>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } &&
15813 { ac_try
='test -s conftest.$ac_objext'
15814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815 (eval $ac_try) 2>&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; }; then
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.
$ac_ext >&5
15824 ac_lo
=`expr '(' $ac_mid ')' + 1`
15826 rm -f conftest.
$ac_objext conftest.
$ac_ext
15829 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15830 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15831 See \`config.log' for more details." >&5
15832 echo "$as_me: error: cannot compute sizeof (long long), 77
15833 See \`config.log' for more details." >&2;}
15834 { (exit 1); exit 1; }; } ;;
15837 if test "$cross_compiling" = yes; then
15838 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15839 See \`config.log' for more details." >&5
15840 echo "$as_me: error: cannot run test program while cross compiling
15841 See \`config.log' for more details." >&2;}
15842 { (exit 1); exit 1; }; }
15844 cat >conftest.
$ac_ext <<_ACEOF
15845 #line $LINENO "configure"
15848 cat confdefs.h
>>conftest.
$ac_ext
15849 cat >>conftest.
$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851 $ac_includes_default
15852 long longval () { return (long) (sizeof (long long)); }
15853 unsigned long ulongval () { return (long) (sizeof (long long)); }
15855 #include <stdlib.h>
15860 FILE *f = fopen ("conftest.val", "w");
15863 if (((long) (sizeof (long long))) < 0)
15865 long i = longval ();
15866 if (i != ((long) (sizeof (long long))))
15868 fprintf (f, "%ld\n", i);
15872 unsigned long i = ulongval ();
15873 if (i != ((long) (sizeof (long long))))
15875 fprintf (f, "%lu\n", i);
15877 exit (ferror (f) || fclose (f) != 0);
15883 rm -f conftest
$ac_exeext
15884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15885 (eval $ac_link) 2>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; }; then
15894 ac_cv_sizeof_long_long
=`cat conftest.val`
15896 echo "$as_me: program exited with status $ac_status" >&5
15897 echo "$as_me: failed program was:" >&5
15898 sed 's/^/| /' conftest.
$ac_ext >&5
15900 ( exit $ac_status )
15901 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15902 See \`config.log' for more details." >&5
15903 echo "$as_me: error: cannot compute sizeof (long long), 77
15904 See \`config.log' for more details." >&2;}
15905 { (exit 1); exit 1; }; }
15907 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15912 ac_cv_sizeof_long_long
=0
15915 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15916 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15917 cat >>confdefs.h
<<_ACEOF
15918 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15924 echo "$as_me:$LINENO: checking for long long" >&5
15925 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15926 if test "${ac_cv_type_long_long+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 cat >conftest.
$ac_ext <<_ACEOF
15930 #line $LINENO "configure"
15933 cat confdefs.h
>>conftest.
$ac_ext
15934 cat >>conftest.
$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15936 $ac_includes_default
15940 if ((long long *) 0)
15942 if (sizeof (long long))
15948 rm -f conftest.
$ac_objext
15949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15950 (eval $ac_compile) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try
='test -s conftest.$ac_objext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15960 ac_cv_type_long_long
=yes
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.
$ac_ext >&5
15965 ac_cv_type_long_long
=no
15967 rm -f conftest.
$ac_objext conftest.
$ac_ext
15969 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15970 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15972 echo "$as_me:$LINENO: checking size of long long" >&5
15973 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15974 if test "${ac_cv_sizeof_long_long+set}" = set; then
15975 echo $ECHO_N "(cached) $ECHO_C" >&6
15977 if test "$ac_cv_type_long_long" = yes; then
15978 # The cast to unsigned long works around a bug in the HP C Compiler
15979 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15980 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15981 # This bug is HP SR number 8606223364.
15982 if test "$cross_compiling" = yes; then
15983 # Depending upon the size, compute the lo and hi bounds.
15984 cat >conftest.
$ac_ext <<_ACEOF
15985 #line $LINENO "configure"
15988 cat confdefs.h
>>conftest.
$ac_ext
15989 cat >>conftest.
$ac_ext <<_ACEOF
15990 /* end confdefs.h. */
15991 $ac_includes_default
15995 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16002 rm -f conftest.
$ac_objext
16003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16004 (eval $ac_compile) 2>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } &&
16008 { ac_try
='test -s conftest.$ac_objext'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; }; then
16016 cat >conftest.
$ac_ext <<_ACEOF
16017 #line $LINENO "configure"
16020 cat confdefs.h
>>conftest.
$ac_ext
16021 cat >>conftest.
$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16023 $ac_includes_default
16027 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16034 rm -f conftest.
$ac_objext
16035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16036 (eval $ac_compile) 2>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } &&
16040 { ac_try
='test -s conftest.$ac_objext'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16046 ac_hi
=$ac_mid; break
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.
$ac_ext >&5
16051 ac_lo
=`expr $ac_mid + 1`
16052 if test $ac_lo -le $ac_mid; then
16056 ac_mid
=`expr 2 '*' $ac_mid + 1`
16058 rm -f conftest.
$ac_objext conftest.
$ac_ext
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.
$ac_ext >&5
16064 cat >conftest.
$ac_ext <<_ACEOF
16065 #line $LINENO "configure"
16068 cat confdefs.h
>>conftest.
$ac_ext
16069 cat >>conftest.
$ac_ext <<_ACEOF
16070 /* end confdefs.h. */
16071 $ac_includes_default
16075 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16082 rm -f conftest.
$ac_objext
16083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16084 (eval $ac_compile) 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); } &&
16088 { ac_try
='test -s conftest.$ac_objext'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16096 cat >conftest.
$ac_ext <<_ACEOF
16097 #line $LINENO "configure"
16100 cat confdefs.h
>>conftest.
$ac_ext
16101 cat >>conftest.
$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103 $ac_includes_default
16107 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16114 rm -f conftest.
$ac_objext
16115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16116 (eval $ac_compile) 2>&5
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); } &&
16120 { ac_try
='test -s conftest.$ac_objext'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; }; then
16126 ac_lo
=$ac_mid; break
16128 echo "$as_me: failed program was:" >&5
16129 sed 's/^/| /' conftest.
$ac_ext >&5
16131 ac_hi
=`expr '(' $ac_mid ')' - 1`
16132 if test $ac_mid -le $ac_hi; then
16136 ac_mid
=`expr 2 '*' $ac_mid`
16138 rm -f conftest.
$ac_objext conftest.
$ac_ext
16141 echo "$as_me: failed program was:" >&5
16142 sed 's/^/| /' conftest.
$ac_ext >&5
16146 rm -f conftest.
$ac_objext conftest.
$ac_ext
16148 rm -f conftest.
$ac_objext conftest.
$ac_ext
16149 # Binary search between lo and hi bounds.
16150 while test "x$ac_lo" != "x$ac_hi"; do
16151 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16152 cat >conftest.
$ac_ext <<_ACEOF
16153 #line $LINENO "configure"
16156 cat confdefs.h
>>conftest.
$ac_ext
16157 cat >>conftest.
$ac_ext <<_ACEOF
16158 /* end confdefs.h. */
16159 $ac_includes_default
16163 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16170 rm -f conftest.
$ac_objext
16171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16172 (eval $ac_compile) 2>&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } &&
16176 { ac_try
='test -s conftest.$ac_objext'
16177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16178 (eval $ac_try) 2>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); }; }; then
16184 echo "$as_me: failed program was:" >&5
16185 sed 's/^/| /' conftest.
$ac_ext >&5
16187 ac_lo
=`expr '(' $ac_mid ')' + 1`
16189 rm -f conftest.
$ac_objext conftest.
$ac_ext
16192 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16193 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16194 See \`config.log' for more details." >&5
16195 echo "$as_me: error: cannot compute sizeof (long long), 77
16196 See \`config.log' for more details." >&2;}
16197 { (exit 1); exit 1; }; } ;;
16200 if test "$cross_compiling" = yes; then
16201 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16202 See \`config.log' for more details." >&5
16203 echo "$as_me: error: cannot run test program while cross compiling
16204 See \`config.log' for more details." >&2;}
16205 { (exit 1); exit 1; }; }
16207 cat >conftest.
$ac_ext <<_ACEOF
16208 #line $LINENO "configure"
16211 cat confdefs.h
>>conftest.
$ac_ext
16212 cat >>conftest.
$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 $ac_includes_default
16215 long longval () { return (long) (sizeof (long long)); }
16216 unsigned long ulongval () { return (long) (sizeof (long long)); }
16218 #include <stdlib.h>
16223 FILE *f = fopen ("conftest.val", "w");
16226 if (((long) (sizeof (long long))) < 0)
16228 long i = longval ();
16229 if (i != ((long) (sizeof (long long))))
16231 fprintf (f, "%ld\n", i);
16235 unsigned long i = ulongval ();
16236 if (i != ((long) (sizeof (long long))))
16238 fprintf (f, "%lu\n", i);
16240 exit (ferror (f) || fclose (f) != 0);
16246 rm -f conftest
$ac_exeext
16247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16248 (eval $ac_link) 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16257 ac_cv_sizeof_long_long
=`cat conftest.val`
16259 echo "$as_me: program exited with status $ac_status" >&5
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.
$ac_ext >&5
16263 ( exit $ac_status )
16264 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16265 See \`config.log' for more details." >&5
16266 echo "$as_me: error: cannot compute sizeof (long long), 77
16267 See \`config.log' for more details." >&2;}
16268 { (exit 1); exit 1; }; }
16270 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16275 ac_cv_sizeof_long_long
=0
16278 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16279 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16280 cat >>confdefs.h
<<_ACEOF
16281 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16285 if test "$ac_cv_sizeof_long_long" != "0"; then
16286 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16290 echo "$as_me:$LINENO: checking for long long" >&5
16291 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16292 if test "${ac_cv_type_long_long+set}" = set; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 cat >conftest.
$ac_ext <<_ACEOF
16296 #line $LINENO "configure"
16299 cat confdefs.h
>>conftest.
$ac_ext
16300 cat >>conftest.
$ac_ext <<_ACEOF
16301 /* end confdefs.h. */
16302 $ac_includes_default
16306 if ((long long *) 0)
16308 if (sizeof (long long))
16314 rm -f conftest.
$ac_objext
16315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16316 (eval $ac_compile) 2>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } &&
16320 { ac_try
='test -s conftest.$ac_objext'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16326 ac_cv_type_long_long
=yes
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.
$ac_ext >&5
16331 ac_cv_type_long_long
=no
16333 rm -f conftest.
$ac_objext conftest.
$ac_ext
16335 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16336 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16338 echo "$as_me:$LINENO: checking size of long long" >&5
16339 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16340 if test "${ac_cv_sizeof_long_long+set}" = set; then
16341 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 if test "$ac_cv_type_long_long" = yes; then
16344 # The cast to unsigned long works around a bug in the HP C Compiler
16345 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16346 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16347 # This bug is HP SR number 8606223364.
16348 if test "$cross_compiling" = yes; then
16349 # Depending upon the size, compute the lo and hi bounds.
16350 cat >conftest.
$ac_ext <<_ACEOF
16351 #line $LINENO "configure"
16354 cat confdefs.h
>>conftest.
$ac_ext
16355 cat >>conftest.
$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16357 $ac_includes_default
16361 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16368 rm -f conftest.
$ac_objext
16369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16370 (eval $ac_compile) 2>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); } &&
16374 { ac_try
='test -s conftest.$ac_objext'
16375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16376 (eval $ac_try) 2>&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); }; }; then
16382 cat >conftest.
$ac_ext <<_ACEOF
16383 #line $LINENO "configure"
16386 cat confdefs.h
>>conftest.
$ac_ext
16387 cat >>conftest.
$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16389 $ac_includes_default
16393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16400 rm -f conftest.
$ac_objext
16401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16402 (eval $ac_compile) 2>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try
='test -s conftest.$ac_objext'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; }; then
16412 ac_hi
=$ac_mid; break
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.
$ac_ext >&5
16417 ac_lo
=`expr $ac_mid + 1`
16418 if test $ac_lo -le $ac_mid; then
16422 ac_mid
=`expr 2 '*' $ac_mid + 1`
16424 rm -f conftest.
$ac_objext conftest.
$ac_ext
16427 echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.
$ac_ext >&5
16430 cat >conftest.
$ac_ext <<_ACEOF
16431 #line $LINENO "configure"
16434 cat confdefs.h
>>conftest.
$ac_ext
16435 cat >>conftest.
$ac_ext <<_ACEOF
16436 /* end confdefs.h. */
16437 $ac_includes_default
16441 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16448 rm -f conftest.
$ac_objext
16449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16450 (eval $ac_compile) 2>&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } &&
16454 { ac_try
='test -s conftest.$ac_objext'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; }; then
16462 cat >conftest.
$ac_ext <<_ACEOF
16463 #line $LINENO "configure"
16466 cat confdefs.h
>>conftest.
$ac_ext
16467 cat >>conftest.
$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 $ac_includes_default
16473 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16480 rm -f conftest.
$ac_objext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482 (eval $ac_compile) 2>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try
='test -s conftest.$ac_objext'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; }; then
16492 ac_lo
=$ac_mid; break
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.
$ac_ext >&5
16497 ac_hi
=`expr '(' $ac_mid ')' - 1`
16498 if test $ac_mid -le $ac_hi; then
16502 ac_mid
=`expr 2 '*' $ac_mid`
16504 rm -f conftest.
$ac_objext conftest.
$ac_ext
16507 echo "$as_me: failed program was:" >&5
16508 sed 's/^/| /' conftest.
$ac_ext >&5
16512 rm -f conftest.
$ac_objext conftest.
$ac_ext
16514 rm -f conftest.
$ac_objext conftest.
$ac_ext
16515 # Binary search between lo and hi bounds.
16516 while test "x$ac_lo" != "x$ac_hi"; do
16517 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16518 cat >conftest.
$ac_ext <<_ACEOF
16519 #line $LINENO "configure"
16522 cat confdefs.h
>>conftest.
$ac_ext
16523 cat >>conftest.
$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16525 $ac_includes_default
16529 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16536 rm -f conftest.
$ac_objext
16537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16538 (eval $ac_compile) 2>&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); } &&
16542 { ac_try
='test -s conftest.$ac_objext'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; }; then
16550 echo "$as_me: failed program was:" >&5
16551 sed 's/^/| /' conftest.
$ac_ext >&5
16553 ac_lo
=`expr '(' $ac_mid ')' + 1`
16555 rm -f conftest.
$ac_objext conftest.
$ac_ext
16558 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16560 See \`config.log' for more details." >&5
16561 echo "$as_me: error: cannot compute sizeof (long long), 77
16562 See \`config.log' for more details." >&2;}
16563 { (exit 1); exit 1; }; } ;;
16566 if test "$cross_compiling" = yes; then
16567 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16568 See \`config.log' for more details." >&5
16569 echo "$as_me: error: cannot run test program while cross compiling
16570 See \`config.log' for more details." >&2;}
16571 { (exit 1); exit 1; }; }
16573 cat >conftest.
$ac_ext <<_ACEOF
16574 #line $LINENO "configure"
16577 cat confdefs.h
>>conftest.
$ac_ext
16578 cat >>conftest.
$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16580 $ac_includes_default
16581 long longval () { return (long) (sizeof (long long)); }
16582 unsigned long ulongval () { return (long) (sizeof (long long)); }
16584 #include <stdlib.h>
16589 FILE *f = fopen ("conftest.val", "w");
16592 if (((long) (sizeof (long long))) < 0)
16594 long i = longval ();
16595 if (i != ((long) (sizeof (long long))))
16597 fprintf (f, "%ld\n", i);
16601 unsigned long i = ulongval ();
16602 if (i != ((long) (sizeof (long long))))
16604 fprintf (f, "%lu\n", i);
16606 exit (ferror (f) || fclose (f) != 0);
16612 rm -f conftest
$ac_exeext
16613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16614 (eval $ac_link) 2>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; }; then
16623 ac_cv_sizeof_long_long
=`cat conftest.val`
16625 echo "$as_me: program exited with status $ac_status" >&5
16626 echo "$as_me: failed program was:" >&5
16627 sed 's/^/| /' conftest.
$ac_ext >&5
16629 ( exit $ac_status )
16630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16631 See \`config.log' for more details." >&5
16632 echo "$as_me: error: cannot compute sizeof (long long), 77
16633 See \`config.log' for more details." >&2;}
16634 { (exit 1); exit 1; }; }
16636 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16641 ac_cv_sizeof_long_long
=0
16644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16645 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16646 cat >>confdefs.h
<<_ACEOF
16647 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16653 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16654 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16655 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16656 echo $ECHO_N "(cached) $ECHO_C" >&6
16659 if test "$cross_compiling" = yes; then
16663 wx_cv_sizeof_wchar_t
=0
16666 wx_cv_sizeof_wchar_t
=4
16672 cat >conftest.
$ac_ext <<_ACEOF
16673 #line $LINENO "configure"
16676 cat confdefs.h
>>conftest.
$ac_ext
16677 cat >>conftest.
$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16680 /* DJGPP only has fake wchar_t: */
16682 # error "fake wchar_t"
16684 #ifdef HAVE_WCHAR_H
16686 # include <stddef.h>
16688 # include <wchar.h>
16690 #ifdef HAVE_STDLIB_H
16691 # include <stdlib.h>
16696 FILE *f=fopen("conftestval", "w");
16698 fprintf(f, "%i", sizeof(wchar_t));
16703 rm -f conftest
$ac_exeext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16705 (eval $ac_link) 2>&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; }; then
16714 wx_cv_sizeof_wchar_t
=`cat conftestval`
16716 echo "$as_me: program exited with status $ac_status" >&5
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.
$ac_ext >&5
16720 ( exit $ac_status )
16721 wx_cv_sizeof_wchar_t
=0
16723 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16727 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16728 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16730 cat >>confdefs.h
<<_ACEOF
16731 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16735 # Check whether --enable-largefile or --disable-largefile was given.
16736 if test "${enable_largefile+set}" = set; then
16737 enableval
="$enable_largefile"
16740 if test "$enable_largefile" != no
; then
16743 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16744 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16745 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16749 cat >conftest.
$ac_ext <<_ACEOF
16750 #line $LINENO "configure"
16753 cat confdefs.h
>>conftest.
$ac_ext
16754 cat >>conftest.
$ac_ext <<_ACEOF
16755 /* end confdefs.h. */
16756 #define _FILE_OFFSET_BITS 64
16757 #include <sys/types.h>
16762 unsigned int field: sizeof(off_t) == 8;
16769 rm -f conftest.
$ac_objext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16771 (eval $ac_compile) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } &&
16775 { ac_try
='test -s conftest.$ac_objext'
16776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16777 (eval $ac_try) 2>&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; }; then
16781 ac_cv_sys_file_offset_bits
=64
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 ac_cv_sys_file_offset_bits
=no
16788 rm -f conftest.
$ac_objext conftest.
$ac_ext
16792 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16793 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16795 if test "$ac_cv_sys_file_offset_bits" != no
; then
16797 cat >>confdefs.h
<<_ACEOF
16798 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16803 if test "x$wx_largefile" != "xyes"; then
16805 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16806 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16807 if test "${ac_cv_sys_large_files+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 _LARGE_FILES 1
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_large_files
=1
16845 echo "$as_me: failed program was:" >&5
16846 sed 's/^/| /' conftest.
$ac_ext >&5
16848 ac_cv_sys_large_files
=no
16850 rm -f conftest.
$ac_objext conftest.
$ac_ext
16854 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16855 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16857 if test "$ac_cv_sys_large_files" != no
; then
16859 cat >>confdefs.h
<<_ACEOF
16860 #define _LARGE_FILES $ac_cv_sys_large_files
16867 echo "$as_me:$LINENO: checking if large file support is available" >&5
16868 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16869 if test "x$wx_largefile" = "xyes"; then
16870 cat >>confdefs.h
<<\_ACEOF
16871 #define HAVE_LARGEFILE_SUPPORT 1
16875 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16876 echo "${ECHO_T}$wx_largefile" >&6
16880 if test "x$wx_largefile" = "xyes"; then
16881 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16882 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16884 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16886 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16889 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16890 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16891 if test "${ac_cv_c_bigendian+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 ac_cv_c_bigendian
=unknown
16895 # See if sys/param.h defines the BYTE_ORDER macro.
16896 cat >conftest.
$ac_ext <<_ACEOF
16897 #line $LINENO "configure"
16900 cat confdefs.h
>>conftest.
$ac_ext
16901 cat >>conftest.
$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16903 #include <sys/types.h>
16904 #include <sys/param.h>
16909 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16910 bogus endian macros
16916 rm -f conftest.
$ac_objext
16917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16918 (eval $ac_compile) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } &&
16922 { ac_try
='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 # It does; now see whether it defined to BIG_ENDIAN or not.
16929 cat >conftest.
$ac_ext <<_ACEOF
16930 #line $LINENO "configure"
16933 cat confdefs.h
>>conftest.
$ac_ext
16934 cat >>conftest.
$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 #include <sys/types.h>
16937 #include <sys/param.h>
16942 #if BYTE_ORDER != BIG_ENDIAN
16949 rm -f conftest.
$ac_objext
16950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16951 (eval $ac_compile) 2>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } &&
16955 { ac_try
='test -s conftest.$ac_objext'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; }; then
16961 ac_cv_c_bigendian
=yes
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.
$ac_ext >&5
16966 ac_cv_c_bigendian
=no
16968 rm -f conftest.
$ac_objext conftest.
$ac_ext
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.
$ac_ext >&5
16974 rm -f conftest.
$ac_objext conftest.
$ac_ext
16975 if test $ac_cv_c_bigendian = unknown
; then
16976 if test "$cross_compiling" = yes; then
16977 ac_cv_c_bigendian
=unknown
16979 cat >conftest.
$ac_ext <<_ACEOF
16980 #line $LINENO "configure"
16983 cat confdefs.h
>>conftest.
$ac_ext
16984 cat >>conftest.
$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16987 /* Are we little or big endian? From Harbison&Steele. */
16991 char c[sizeof (long)];
16994 exit (u.c[sizeof (long) - 1] == 1);
16997 rm -f conftest
$ac_exeext
16998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16999 (eval $ac_link) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; }; then
17008 ac_cv_c_bigendian
=no
17010 echo "$as_me: program exited with status $ac_status" >&5
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.
$ac_ext >&5
17014 ( exit $ac_status )
17015 ac_cv_c_bigendian
=yes
17017 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17021 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17022 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17023 if test $ac_cv_c_bigendian = unknown
; then
17024 { 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
17025 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;}
17027 if test $ac_cv_c_bigendian = yes; then
17028 cat >>confdefs.h
<<\_ACEOF
17029 #define WORDS_BIGENDIAN 1
17037 ac_cpp
='$CXXCPP $CPPFLAGS'
17038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17041 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17042 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17043 if test -z "$CXXCPP"; then
17044 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 # Double quotes because CXXCPP needs to be expanded
17048 for CXXCPP
in "$CXX -E" "/lib/cpp"
17050 ac_preproc_ok
=false
17051 for ac_cxx_preproc_warn_flag
in '' yes
17053 # Use a header file that comes with gcc, so configuring glibc
17054 # with a fresh cross-compiler works.
17055 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17056 # <limits.h> exists even on freestanding compilers.
17057 # On the NeXT, cc -E runs the code through the compiler's parser,
17058 # not just through cpp. "Syntax error" is here to catch this case.
17059 cat >conftest.
$ac_ext <<_ACEOF
17060 #line $LINENO "configure"
17063 cat confdefs.h
>>conftest.
$ac_ext
17064 cat >>conftest.
$ac_ext <<_ACEOF
17065 /* end confdefs.h. */
17067 # include <limits.h>
17069 # include <assert.h>
17073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17074 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17076 grep -v '^ *+' conftest.er1
>conftest.err
17078 cat conftest.err
>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); } >/dev
/null
; then
17081 if test -s conftest.err
; then
17082 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17089 if test -z "$ac_cpp_err"; then
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.
$ac_ext >&5
17095 # Broken: fails on valid input.
17098 rm -f conftest.err conftest.
$ac_ext
17100 # OK, works on sane cases. Now check whether non-existent headers
17101 # can be detected and how.
17102 cat >conftest.
$ac_ext <<_ACEOF
17103 #line $LINENO "configure"
17106 cat confdefs.h
>>conftest.
$ac_ext
17107 cat >>conftest.
$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17109 #include <ac_nonexistent.h>
17111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17114 grep -v '^ *+' conftest.er1
>conftest.err
17116 cat conftest.err
>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } >/dev
/null
; then
17119 if test -s conftest.err
; then
17120 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17127 if test -z "$ac_cpp_err"; then
17128 # Broken: success on invalid input.
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.
$ac_ext >&5
17134 # Passes both tests.
17138 rm -f conftest.err conftest.
$ac_ext
17141 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17142 rm -f conftest.err conftest.
$ac_ext
17143 if $ac_preproc_ok; then
17148 ac_cv_prog_CXXCPP
=$CXXCPP
17151 CXXCPP
=$ac_cv_prog_CXXCPP
17153 ac_cv_prog_CXXCPP
=$CXXCPP
17155 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17156 echo "${ECHO_T}$CXXCPP" >&6
17157 ac_preproc_ok
=false
17158 for ac_cxx_preproc_warn_flag
in '' yes
17160 # Use a header file that comes with gcc, so configuring glibc
17161 # with a fresh cross-compiler works.
17162 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17163 # <limits.h> exists even on freestanding compilers.
17164 # On the NeXT, cc -E runs the code through the compiler's parser,
17165 # not just through cpp. "Syntax error" is here to catch this case.
17166 cat >conftest.
$ac_ext <<_ACEOF
17167 #line $LINENO "configure"
17170 cat confdefs.h
>>conftest.
$ac_ext
17171 cat >>conftest.
$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17174 # include <limits.h>
17176 # include <assert.h>
17180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17183 grep -v '^ *+' conftest.er1
>conftest.err
17185 cat conftest.err
>&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } >/dev
/null
; then
17188 if test -s conftest.err
; then
17189 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17196 if test -z "$ac_cpp_err"; then
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.
$ac_ext >&5
17202 # Broken: fails on valid input.
17205 rm -f conftest.err conftest.
$ac_ext
17207 # OK, works on sane cases. Now check whether non-existent headers
17208 # can be detected and how.
17209 cat >conftest.
$ac_ext <<_ACEOF
17210 #line $LINENO "configure"
17213 cat confdefs.h
>>conftest.
$ac_ext
17214 cat >>conftest.
$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17216 #include <ac_nonexistent.h>
17218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17221 grep -v '^ *+' conftest.er1
>conftest.err
17223 cat conftest.err
>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } >/dev
/null
; then
17226 if test -s conftest.err
; then
17227 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17234 if test -z "$ac_cpp_err"; then
17235 # Broken: success on invalid input.
17238 echo "$as_me: failed program was:" >&5
17239 sed 's/^/| /' conftest.
$ac_ext >&5
17241 # Passes both tests.
17245 rm -f conftest.err conftest.
$ac_ext
17248 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17249 rm -f conftest.err conftest.
$ac_ext
17250 if $ac_preproc_ok; then
17253 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17254 See \`config.log' for more details." >&5
17255 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17256 See \`config.log' for more details." >&2;}
17257 { (exit 1); exit 1; }; }
17261 ac_cpp
='$CXXCPP $CPPFLAGS'
17262 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17263 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17264 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17268 if test "$cross_compiling" = "yes"; then
17269 cat >>confdefs.h
<<\_ACEOF
17270 #define wxUSE_IOSTREAMH 1
17277 ac_cpp
='$CXXCPP $CPPFLAGS'
17278 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17279 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17280 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17284 for ac_header
in iostream
17286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17288 echo "$as_me:$LINENO: checking for $ac_header" >&5
17289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17291 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17296 # Is the header compilable?
17297 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17299 cat >conftest.
$ac_ext <<_ACEOF
17300 #line $LINENO "configure"
17303 cat confdefs.h
>>conftest.
$ac_ext
17304 cat >>conftest.
$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 $ac_includes_default
17307 #include <$ac_header>
17309 rm -f conftest.
$ac_objext
17310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17311 (eval $ac_compile) 2>&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } &&
17315 { ac_try
='test -s conftest.$ac_objext'
17316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17317 (eval $ac_try) 2>&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); }; }; then
17321 ac_header_compiler
=yes
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.
$ac_ext >&5
17326 ac_header_compiler
=no
17328 rm -f conftest.
$ac_objext conftest.
$ac_ext
17329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17330 echo "${ECHO_T}$ac_header_compiler" >&6
17332 # Is the header present?
17333 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17334 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17335 cat >conftest.
$ac_ext <<_ACEOF
17336 #line $LINENO "configure"
17339 cat confdefs.h
>>conftest.
$ac_ext
17340 cat >>conftest.
$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342 #include <$ac_header>
17344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17345 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17347 grep -v '^ *+' conftest.er1
>conftest.err
17349 cat conftest.err
>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } >/dev
/null
; then
17352 if test -s conftest.err
; then
17353 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17360 if test -z "$ac_cpp_err"; then
17361 ac_header_preproc
=yes
17363 echo "$as_me: failed program was:" >&5
17364 sed 's/^/| /' conftest.
$ac_ext >&5
17366 ac_header_preproc
=no
17368 rm -f conftest.err conftest.
$ac_ext
17369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17370 echo "${ECHO_T}$ac_header_preproc" >&6
17372 # So? What about this header?
17373 case $ac_header_compiler:$ac_header_preproc in
17375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17376 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17378 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17381 ## ------------------------------------ ##
17382 ## Report this to bug-autoconf@gnu.org. ##
17383 ## ------------------------------------ ##
17386 sed "s/^/$as_me: WARNING: /" >&2
17389 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17390 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17391 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17392 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17397 ## ------------------------------------ ##
17398 ## Report this to bug-autoconf@gnu.org. ##
17399 ## ------------------------------------ ##
17402 sed "s/^/$as_me: WARNING: /" >&2
17405 echo "$as_me:$LINENO: checking for $ac_header" >&5
17406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17408 echo $ECHO_N "(cached) $ECHO_C" >&6
17410 eval "$as_ac_Header=$ac_header_preproc"
17412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17417 cat >>confdefs.h
<<_ACEOF
17418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17426 if test "$ac_cv_header_iostream" = "yes" ; then
17429 cat >>confdefs.h
<<\_ACEOF
17430 #define wxUSE_IOSTREAMH 1
17436 ac_cpp
='$CPP $CPPFLAGS'
17437 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17438 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17439 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17445 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17446 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17447 if test "${wx_cv_cpp_bool+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 ac_cpp
='$CXXCPP $CPPFLAGS'
17455 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17456 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17457 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17460 cat >conftest.
$ac_ext <<_ACEOF
17461 #line $LINENO "configure"
17464 cat confdefs.h
>>conftest.
$ac_ext
17465 cat >>conftest.
$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17481 rm -f conftest.
$ac_objext
17482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17483 (eval $ac_compile) 2>&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } &&
17487 { ac_try
='test -s conftest.$ac_objext'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17497 echo "$as_me: failed program was:" >&5
17498 sed 's/^/| /' conftest.
$ac_ext >&5
17505 rm -f conftest.
$ac_objext conftest.
$ac_ext
17508 ac_cpp
='$CPP $CPPFLAGS'
17509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17515 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17516 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17518 if test "$wx_cv_cpp_bool" = "yes"; then
17519 cat >>confdefs.h
<<\_ACEOF
17520 #define HAVE_BOOL 1
17527 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17528 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17529 if test "${wx_cv_explicit+set}" = set; then
17530 echo $ECHO_N "(cached) $ECHO_C" >&6
17536 ac_cpp
='$CXXCPP $CPPFLAGS'
17537 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17538 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17539 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17542 cat >conftest.
$ac_ext <<_ACEOF
17543 #line $LINENO "configure"
17546 cat confdefs.h
>>conftest.
$ac_ext
17547 cat >>conftest.
$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17550 class Foo { public: explicit Foo(int) {} };
17562 rm -f conftest.
$ac_objext
17563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17564 (eval $ac_compile) 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try
='test -s conftest.$ac_objext'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; }; then
17575 cat >conftest.
$ac_ext <<_ACEOF
17576 #line $LINENO "configure"
17579 cat confdefs.h
>>conftest.
$ac_ext
17580 cat >>conftest.
$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17583 class Foo { public: explicit Foo(int) {} };
17584 static void TakeFoo(const Foo& foo) { }
17597 rm -f conftest.
$ac_objext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try
='test -s conftest.$ac_objext'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; }; then
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.
$ac_ext >&5
17617 rm -f conftest.
$ac_objext conftest.
$ac_ext
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.
$ac_ext >&5
17626 rm -f conftest.
$ac_objext conftest.
$ac_ext
17629 ac_cpp
='$CPP $CPPFLAGS'
17630 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17631 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17632 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17636 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17637 echo "${ECHO_T}$wx_cv_explicit" >&6
17639 if test "$wx_cv_explicit" = "yes"; then
17640 cat >>confdefs.h
<<\_ACEOF
17641 #define HAVE_EXPLICIT 1
17647 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17648 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17649 if test "${ac_cv_cxx_const_cast+set}" = set; then
17650 echo $ECHO_N "(cached) $ECHO_C" >&6
17655 ac_cpp
='$CXXCPP $CPPFLAGS'
17656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17660 cat >conftest.
$ac_ext <<_ACEOF
17661 #line $LINENO "configure"
17664 cat confdefs.h
>>conftest.
$ac_ext
17665 cat >>conftest.
$ac_ext <<_ACEOF
17666 /* end confdefs.h. */
17671 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17676 rm -f conftest.
$ac_objext
17677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17678 (eval $ac_compile) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); } &&
17682 { ac_try
='test -s conftest.$ac_objext'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; }; then
17688 ac_cv_cxx_const_cast
=yes
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.
$ac_ext >&5
17693 ac_cv_cxx_const_cast
=no
17695 rm -f conftest.
$ac_objext conftest.
$ac_ext
17697 ac_cpp
='$CPP $CPPFLAGS'
17698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17704 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17705 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17706 if test "$ac_cv_cxx_const_cast" = yes; then
17708 cat >>confdefs.h
<<\_ACEOF
17709 #define HAVE_CONST_CAST
17715 if test "$wxUSE_STL" = "yes"; then
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
17723 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17724 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17725 cat >conftest.
$ac_ext <<_ACEOF
17726 #line $LINENO "configure"
17729 cat confdefs.h
>>conftest.
$ac_ext
17730 cat >>conftest.
$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17733 #include <functional>
17734 #include <algorithm>
17740 std::vector<int> moo;
17741 std::list<int> foo;
17742 std::vector<int>::iterator it =
17743 std::find_if(moo.begin(), moo.end(),
17744 std::bind2nd(std::less<int>(), 3));
17749 rm -f conftest.
$ac_objext
17750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17751 (eval $ac_compile) 2>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } &&
17755 { ac_try
='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 echo "$as_me:$LINENO: result: yes" >&5
17762 echo "${ECHO_T}yes" >&6
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.
$ac_ext >&5
17767 echo "$as_me:$LINENO: result: no" >&5
17768 echo "${ECHO_T}no" >&6
17769 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17770 echo "$as_me: error: Basic STL functionality missing" >&2;}
17771 { (exit 1); exit 1; }; }
17773 rm -f conftest.
$ac_objext conftest.
$ac_ext
17775 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17776 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17777 cat >conftest.
$ac_ext <<_ACEOF
17778 #line $LINENO "configure"
17781 cat confdefs.h
>>conftest.
$ac_ext
17782 cat >>conftest.
$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17793 rm -f conftest.
$ac_objext
17794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17795 (eval $ac_compile) 2>&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } &&
17799 { ac_try
='test -s conftest.$ac_objext'
17800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 (eval $ac_try) 2>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); }; }; then
17805 echo "$as_me:$LINENO: result: yes" >&5
17806 echo "${ECHO_T}yes" >&6
17807 cat >>confdefs.h
<<\_ACEOF
17808 #define HAVE_STD_WSTRING 1
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.
$ac_ext >&5
17815 echo "$as_me:$LINENO: result: no" >&5
17816 echo "${ECHO_T}no" >&6
17818 rm -f conftest.
$ac_objext conftest.
$ac_ext
17820 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17821 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17822 cat >conftest.
$ac_ext <<_ACEOF
17823 #line $LINENO "configure"
17826 cat confdefs.h
>>conftest.
$ac_ext
17827 cat >>conftest.
$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17833 std::string foo, bar;
17835 foo.compare(1, 1, bar);
17836 foo.compare(1, 1, bar, 1, 1);
17838 foo.compare(1, 1, "");
17839 foo.compare(1, 1, "", 2);
17844 rm -f conftest.
$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846 (eval $ac_compile) 2>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try
='test -s conftest.$ac_objext'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; }; then
17856 echo "$as_me:$LINENO: result: yes" >&5
17857 echo "${ECHO_T}yes" >&6
17858 cat >>confdefs.h
<<\_ACEOF
17859 #define HAVE_STD_STRING_COMPARE 1
17863 echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.
$ac_ext >&5
17866 echo "$as_me:$LINENO: result: no" >&5
17867 echo "${ECHO_T}no" >&6
17869 rm -f conftest.
$ac_objext conftest.
$ac_ext
17872 ac_cpp
='$CPP $CPPFLAGS'
17873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17881 /usr/local/include \
17883 /usr/Motif-1.2/include \
17884 /usr/Motif-2.1/include \
17886 /usr/include/Motif1.2 \
17887 /opt/xpm/include/X11 \
17888 /opt/GBxpm/include/ \
17889 /opt/GBxpm/X11/include/ \
17891 /usr/Motif1.2/include \
17893 /usr/openwin/include \
17897 /usr/X11R6/include \
17898 /usr/X11R6.4/include \
17899 /usr/X11R5/include \
17900 /usr/X11R4/include \
17902 /usr/include/X11R6 \
17903 /usr/include/X11R5 \
17904 /usr/include/X11R4 \
17906 /usr/local/X11R6/include \
17907 /usr/local/X11R5/include \
17908 /usr/local/X11R4/include \
17910 /usr/local/include/X11R6 \
17911 /usr/local/include/X11R5 \
17912 /usr/local/include/X11R4 \
17916 /usr/local/X11/include \
17917 /usr/local/include/X11 \
17919 /usr/X386/include \
17920 /usr/x386/include \
17921 /usr/XFree86/include/X11 \
17923 X:/XFree86/include \
17924 X:/XFree86/include/X11 \
17927 /usr/local/include/gtk \
17928 /usr/include/glib \
17929 /usr/local/include/glib \
17932 /usr/local/include/qt \
17934 /usr/include/windows \
17935 /usr/include/wine \
17936 /usr/local/include/wine \
17938 /usr/unsupported/include \
17939 /usr/athena/include \
17940 /usr/local/x11r5/include \
17941 /usr/lpp/Xamples/include \
17943 /usr/openwin/share/include"
17945 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17948 cat >confcache
<<\_ACEOF
17949 # This file is a shell script that caches the results of configure
17950 # tests run on this system so they can be shared between configure
17951 # scripts and configure runs, see configure's option --config-cache.
17952 # It is not useful on other systems. If it contains results you don't
17953 # want to keep, you may remove or edit it.
17955 # config.status only pays attention to the cache file if you give it
17956 # the --recheck option to rerun configure.
17958 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17959 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17960 # following values.
17964 # The following way of writing the cache mishandles newlines in values,
17965 # but we know of no workaround that is simple, portable, and efficient.
17966 # So, don't put newlines in cache variables' values.
17967 # Ultrix sh set writes to stderr and can't be redirected directly,
17968 # and sets the high bit in the cache file unless we assign to the vars.
17971 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17973 # `set' does not quote correctly, so add quotes (double-quote
17974 # substitution turns \\\\ into \\, and sed turns \\ into \).
17977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17980 # `set' quotes correctly as required by POSIX, so do not add quotes.
17982 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17991 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17993 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17994 if test -w $cache_file; then
17995 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17996 cat confcache
>$cache_file
17998 echo "not updating unwritable cache $cache_file"
18003 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18004 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18005 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18006 if test "${wx_cv_lib_glibc21+set}" = set; then
18007 echo $ECHO_N "(cached) $ECHO_C" >&6
18010 cat >conftest.
$ac_ext <<_ACEOF
18011 #line $LINENO "configure"
18014 cat confdefs.h
>>conftest.
$ac_ext
18015 cat >>conftest.
$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017 #include <features.h>
18022 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18023 #error not glibc2.1
18030 rm -f conftest.
$ac_objext
18031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18032 (eval $ac_compile) 2>&5
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); } &&
18036 { ac_try
='test -s conftest.$ac_objext'
18037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18038 (eval $ac_try) 2>&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); }; }; then
18043 wx_cv_lib_glibc21
=yes
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.
$ac_ext >&5
18050 wx_cv_lib_glibc21
=no
18054 rm -f conftest.
$ac_objext conftest.
$ac_ext
18057 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18058 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18059 if test "$wx_cv_lib_glibc21" = "yes"; then
18060 cat >>confdefs.h
<<\_ACEOF
18061 #define wxHAVE_GLIBC2 1
18067 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18068 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18069 cat >>confdefs.h
<<\_ACEOF
18070 #define _GNU_SOURCE 1
18079 if test "$wxUSE_REGEX" != "no"; then
18080 cat >>confdefs.h
<<\_ACEOF
18081 #define wxUSE_REGEX 1
18085 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18086 if test "${ac_cv_header_regex_h+set}" = set; then
18087 echo "$as_me:$LINENO: checking for regex.h" >&5
18088 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18089 if test "${ac_cv_header_regex_h+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18093 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18095 # Is the header compilable?
18096 echo "$as_me:$LINENO: checking regex.h usability" >&5
18097 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18098 cat >conftest.
$ac_ext <<_ACEOF
18099 #line $LINENO "configure"
18102 cat confdefs.h
>>conftest.
$ac_ext
18103 cat >>conftest.
$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 $ac_includes_default
18108 rm -f conftest.
$ac_objext
18109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18110 (eval $ac_compile) 2>&5
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); } &&
18114 { ac_try
='test -s conftest.$ac_objext'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; }; then
18120 ac_header_compiler
=yes
18122 echo "$as_me: failed program was:" >&5
18123 sed 's/^/| /' conftest.
$ac_ext >&5
18125 ac_header_compiler
=no
18127 rm -f conftest.
$ac_objext conftest.
$ac_ext
18128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18129 echo "${ECHO_T}$ac_header_compiler" >&6
18131 # Is the header present?
18132 echo "$as_me:$LINENO: checking regex.h presence" >&5
18133 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18134 cat >conftest.
$ac_ext <<_ACEOF
18135 #line $LINENO "configure"
18138 cat confdefs.h
>>conftest.
$ac_ext
18139 cat >>conftest.
$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18146 grep -v '^ *+' conftest.er1
>conftest.err
18148 cat conftest.err
>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } >/dev
/null
; then
18151 if test -s conftest.err
; then
18152 ac_cpp_err
=$ac_c_preproc_warn_flag
18159 if test -z "$ac_cpp_err"; then
18160 ac_header_preproc
=yes
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.
$ac_ext >&5
18165 ac_header_preproc
=no
18167 rm -f conftest.err conftest.
$ac_ext
18168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18169 echo "${ECHO_T}$ac_header_preproc" >&6
18171 # So? What about this header?
18172 case $ac_header_compiler:$ac_header_preproc in
18174 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18175 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18176 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18177 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18180 ## ------------------------------------ ##
18181 ## Report this to bug-autoconf@gnu.org. ##
18182 ## ------------------------------------ ##
18185 sed "s/^/$as_me: WARNING: /" >&2
18188 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18189 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18190 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18191 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18192 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18193 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18196 ## ------------------------------------ ##
18197 ## Report this to bug-autoconf@gnu.org. ##
18198 ## ------------------------------------ ##
18201 sed "s/^/$as_me: WARNING: /" >&2
18204 echo "$as_me:$LINENO: checking for regex.h" >&5
18205 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18206 if test "${ac_cv_header_regex_h+set}" = set; then
18207 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 ac_cv_header_regex_h
=$ac_header_preproc
18211 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18212 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18215 if test $ac_cv_header_regex_h = yes; then
18217 for ac_func
in regcomp
18219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18220 echo "$as_me:$LINENO: checking for $ac_func" >&5
18221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18222 if eval "test \"\${$as_ac_var+set}\" = set"; then
18223 echo $ECHO_N "(cached) $ECHO_C" >&6
18225 cat >conftest.
$ac_ext <<_ACEOF
18226 #line $LINENO "configure"
18229 cat confdefs.h
>>conftest.
$ac_ext
18230 cat >>conftest.
$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 /* System header to define __stub macros and hopefully few prototypes,
18233 which can conflict with char $ac_func (); below.
18234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18235 <limits.h> exists even on freestanding compilers. */
18237 # include <limits.h>
18239 # include <assert.h>
18241 /* Override any gcc2 internal prototype to avoid an error. */
18246 /* We use char because int might match the return type of a gcc2
18247 builtin and then its argument prototype would still apply. */
18249 /* The GNU C library defines this for functions which it implements
18250 to always fail with ENOSYS. Some functions are actually named
18251 something starting with __ and the normal name is an alias. */
18252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18255 char (*f) () = $ac_func;
18264 return f != $ac_func;
18269 rm -f conftest.
$ac_objext conftest
$ac_exeext
18270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18271 (eval $ac_link) 2>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } &&
18275 { ac_try
='test -s conftest$ac_exeext'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; }; then
18281 eval "$as_ac_var=yes"
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.
$ac_ext >&5
18286 eval "$as_ac_var=no"
18288 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18292 if test `eval echo '${'$as_ac_var'}'` = yes; then
18293 cat >>confdefs.h
<<_ACEOF
18294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18304 if test "x$ac_cv_func_regcomp" != "xyes"; then
18305 if test "$wxUSE_REGEX" = "sys" ; then
18306 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18307 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18308 { (exit 1); exit 1; }; }
18310 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18311 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18312 wxUSE_REGEX
=builtin
18319 if test "$wxUSE_REGEX" = "builtin" ; then
18320 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18327 if test "$wxUSE_ZLIB" != "no" ; then
18328 cat >>confdefs.h
<<\_ACEOF
18329 #define wxUSE_ZLIB 1
18333 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18334 if test "$USE_DARWIN" = 1; then
18335 system_zlib_h_ok
="yes"
18337 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18338 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18339 if test "${ac_cv_header_zlib_h+set}" = set; then
18340 echo $ECHO_N "(cached) $ECHO_C" >&6
18342 if test "$cross_compiling" = yes; then
18343 unset ac_cv_header_zlib_h
18346 cat >conftest.
$ac_ext <<_ACEOF
18347 #line $LINENO "configure"
18350 cat confdefs.h
>>conftest.
$ac_ext
18351 cat >>conftest.
$ac_ext <<_ACEOF
18352 /* end confdefs.h. */
18359 FILE *f=fopen("conftestval", "w");
18362 ZLIB_VERSION[0] == '1' &&
18363 (ZLIB_VERSION[2] > '1' ||
18364 (ZLIB_VERSION[2] == '1' &&
18365 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18370 rm -f conftest
$ac_exeext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18372 (eval $ac_link) 2>&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18377 (eval $ac_try) 2>&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); }; }; then
18381 ac_cv_header_zlib_h
=`cat conftestval`
18383 echo "$as_me: program exited with status $ac_status" >&5
18384 echo "$as_me: failed program was:" >&5
18385 sed 's/^/| /' conftest.
$ac_ext >&5
18387 ( exit $ac_status )
18388 ac_cv_header_zlib_h
=no
18390 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18394 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18395 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18396 if test "${ac_cv_header_zlib_h+set}" = set; then
18397 echo "$as_me:$LINENO: checking for zlib.h" >&5
18398 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18399 if test "${ac_cv_header_zlib_h+set}" = set; then
18400 echo $ECHO_N "(cached) $ECHO_C" >&6
18402 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18403 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18405 # Is the header compilable?
18406 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18407 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
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. */
18415 $ac_includes_default
18418 rm -f conftest.
$ac_objext
18419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18420 (eval $ac_compile) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try
='test -s conftest.$ac_objext'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; }; then
18430 ac_header_compiler
=yes
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.
$ac_ext >&5
18435 ac_header_compiler
=no
18437 rm -f conftest.
$ac_objext conftest.
$ac_ext
18438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18439 echo "${ECHO_T}$ac_header_compiler" >&6
18441 # Is the header present?
18442 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18443 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18444 cat >conftest.
$ac_ext <<_ACEOF
18445 #line $LINENO "configure"
18448 cat confdefs.h
>>conftest.
$ac_ext
18449 cat >>conftest.
$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18454 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18456 grep -v '^ *+' conftest.er1
>conftest.err
18458 cat conftest.err
>&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); } >/dev
/null
; then
18461 if test -s conftest.err
; then
18462 ac_cpp_err
=$ac_c_preproc_warn_flag
18469 if test -z "$ac_cpp_err"; then
18470 ac_header_preproc
=yes
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.
$ac_ext >&5
18475 ac_header_preproc
=no
18477 rm -f conftest.err conftest.
$ac_ext
18478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18479 echo "${ECHO_T}$ac_header_preproc" >&6
18481 # So? What about this header?
18482 case $ac_header_compiler:$ac_header_preproc in
18484 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18485 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18486 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18487 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18490 ## ------------------------------------ ##
18491 ## Report this to bug-autoconf@gnu.org. ##
18492 ## ------------------------------------ ##
18495 sed "s/^/$as_me: WARNING: /" >&2
18498 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18499 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18500 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18501 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18502 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18503 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18506 ## ------------------------------------ ##
18507 ## Report this to bug-autoconf@gnu.org. ##
18508 ## ------------------------------------ ##
18511 sed "s/^/$as_me: WARNING: /" >&2
18514 echo "$as_me:$LINENO: checking for zlib.h" >&5
18515 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18516 if test "${ac_cv_header_zlib_h+set}" = set; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 ac_cv_header_zlib_h
=$ac_header_preproc
18521 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18522 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18528 system_zlib_h_ok
=$ac_cv_header_zlib_h
18531 if test "$system_zlib_h_ok" = "yes"; then
18532 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18533 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18534 if test "${ac_cv_lib_z_deflate+set}" = set; then
18535 echo $ECHO_N "(cached) $ECHO_C" >&6
18537 ac_check_lib_save_LIBS
=$LIBS
18539 cat >conftest.
$ac_ext <<_ACEOF
18540 #line $LINENO "configure"
18543 cat confdefs.h
>>conftest.
$ac_ext
18544 cat >>conftest.
$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18547 /* Override any gcc2 internal prototype to avoid an error. */
18551 /* We use char because int might match the return type of a gcc2
18552 builtin and then its argument prototype would still apply. */
18562 rm -f conftest.
$ac_objext conftest
$ac_exeext
18563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18564 (eval $ac_link) 2>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); } &&
18568 { ac_try
='test -s conftest$ac_exeext'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; }; then
18574 ac_cv_lib_z_deflate
=yes
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.
$ac_ext >&5
18579 ac_cv_lib_z_deflate
=no
18581 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18582 LIBS
=$ac_check_lib_save_LIBS
18584 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18585 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18586 if test $ac_cv_lib_z_deflate = yes; then
18592 if test "x$ZLIB_LINK" = "x" ; then
18593 if test "$wxUSE_ZLIB" = "sys" ; then
18594 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18595 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18596 { (exit 1); exit 1; }; }
18598 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18599 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18607 if test "$wxUSE_ZLIB" = "builtin" ; then
18608 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18615 if test "$wxUSE_LIBPNG" != "no" ; then
18616 cat >>confdefs.h
<<\_ACEOF
18617 #define wxUSE_LIBPNG 1
18621 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18622 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18623 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18627 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18628 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18629 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18630 wxUSE_LIBPNG
=builtin
18633 if test "$wxUSE_MGL" != 1 ; then
18634 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18635 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18636 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18637 if test "${ac_cv_header_png_h+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18640 if test "$cross_compiling" = yes; then
18641 unset ac_cv_header_png_h
18644 cat >conftest.
$ac_ext <<_ACEOF
18645 #line $LINENO "configure"
18648 cat confdefs.h
>>conftest.
$ac_ext
18649 cat >>conftest.
$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18657 FILE *f=fopen("conftestval", "w");
18660 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18665 rm -f conftest
$ac_exeext
18666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18667 (eval $ac_link) 2>&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 ac_cv_header_png_h
=`cat conftestval`
18678 echo "$as_me: program exited with status $ac_status" >&5
18679 echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.
$ac_ext >&5
18682 ( exit $ac_status )
18683 ac_cv_header_png_h
=no
18685 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18689 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18690 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18691 if test "${ac_cv_header_png_h+set}" = set; then
18692 echo "$as_me:$LINENO: checking for png.h" >&5
18693 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18694 if test "${ac_cv_header_png_h+set}" = set; then
18695 echo $ECHO_N "(cached) $ECHO_C" >&6
18697 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18698 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18700 # Is the header compilable?
18701 echo "$as_me:$LINENO: checking png.h usability" >&5
18702 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18703 cat >conftest.
$ac_ext <<_ACEOF
18704 #line $LINENO "configure"
18707 cat confdefs.h
>>conftest.
$ac_ext
18708 cat >>conftest.
$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18710 $ac_includes_default
18713 rm -f conftest.
$ac_objext
18714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18715 (eval $ac_compile) 2>&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } &&
18719 { ac_try
='test -s conftest.$ac_objext'
18720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721 (eval $ac_try) 2>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; }; then
18725 ac_header_compiler
=yes
18727 echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.
$ac_ext >&5
18730 ac_header_compiler
=no
18732 rm -f conftest.
$ac_objext conftest.
$ac_ext
18733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18734 echo "${ECHO_T}$ac_header_compiler" >&6
18736 # Is the header present?
18737 echo "$as_me:$LINENO: checking png.h presence" >&5
18738 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18739 cat >conftest.
$ac_ext <<_ACEOF
18740 #line $LINENO "configure"
18743 cat confdefs.h
>>conftest.
$ac_ext
18744 cat >>conftest.
$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18749 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18751 grep -v '^ *+' conftest.er1
>conftest.err
18753 cat conftest.err
>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } >/dev
/null
; then
18756 if test -s conftest.err
; then
18757 ac_cpp_err
=$ac_c_preproc_warn_flag
18764 if test -z "$ac_cpp_err"; then
18765 ac_header_preproc
=yes
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.
$ac_ext >&5
18770 ac_header_preproc
=no
18772 rm -f conftest.err conftest.
$ac_ext
18773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18774 echo "${ECHO_T}$ac_header_preproc" >&6
18776 # So? What about this header?
18777 case $ac_header_compiler:$ac_header_preproc in
18779 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18780 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18781 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18782 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18785 ## ------------------------------------ ##
18786 ## Report this to bug-autoconf@gnu.org. ##
18787 ## ------------------------------------ ##
18790 sed "s/^/$as_me: WARNING: /" >&2
18793 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18794 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18795 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18796 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18797 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18798 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18801 ## ------------------------------------ ##
18802 ## Report this to bug-autoconf@gnu.org. ##
18803 ## ------------------------------------ ##
18806 sed "s/^/$as_me: WARNING: /" >&2
18809 echo "$as_me:$LINENO: checking for png.h" >&5
18810 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18811 if test "${ac_cv_header_png_h+set}" = set; then
18812 echo $ECHO_N "(cached) $ECHO_C" >&6
18814 ac_cv_header_png_h
=$ac_header_preproc
18816 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18817 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18823 if test "$ac_cv_header_png_h" = "yes"; then
18824 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18825 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18826 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18829 ac_check_lib_save_LIBS
=$LIBS
18830 LIBS
="-lpng -lz -lm $LIBS"
18831 cat >conftest.
$ac_ext <<_ACEOF
18832 #line $LINENO "configure"
18835 cat confdefs.h
>>conftest.
$ac_ext
18836 cat >>conftest.
$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18839 /* Override any gcc2 internal prototype to avoid an error. */
18843 /* We use char because int might match the return type of a gcc2
18844 builtin and then its argument prototype would still apply. */
18845 char png_check_sig ();
18854 rm -f conftest.
$ac_objext conftest
$ac_exeext
18855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18856 (eval $ac_link) 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try
='test -s conftest$ac_exeext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18866 ac_cv_lib_png_png_check_sig
=yes
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.
$ac_ext >&5
18871 ac_cv_lib_png_png_check_sig
=no
18873 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18874 LIBS
=$ac_check_lib_save_LIBS
18876 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18877 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18878 if test $ac_cv_lib_png_png_check_sig = yes; then
18884 if test "x$PNG_LINK" = "x" ; then
18885 if test "$wxUSE_LIBPNG" = "sys" ; then
18886 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18887 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18888 { (exit 1); exit 1; }; }
18890 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18891 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18892 wxUSE_LIBPNG
=builtin
18900 if test "$wxUSE_LIBPNG" = "builtin" ; then
18901 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18910 if test "$wxUSE_LIBJPEG" != "no" ; then
18911 cat >>confdefs.h
<<\_ACEOF
18912 #define wxUSE_LIBJPEG 1
18916 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18917 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18918 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18922 if test "$wxUSE_MGL" != 1 ; then
18923 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18924 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18925 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18926 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 cat >conftest.
$ac_ext <<_ACEOF
18930 #line $LINENO "configure"
18933 cat confdefs.h
>>conftest.
$ac_ext
18934 cat >>conftest.
$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18937 #undef HAVE_STDLIB_H
18939 #include <jpeglib.h>
18950 rm -f conftest.
$ac_objext
18951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18952 (eval $ac_compile) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); } &&
18956 { ac_try
='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18962 ac_cv_header_jpeglib_h
=yes
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.
$ac_ext >&5
18967 ac_cv_header_jpeglib_h
=no
18970 rm -f conftest.
$ac_objext conftest.
$ac_ext
18974 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18975 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18977 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18978 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18979 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18980 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18983 ac_check_lib_save_LIBS
=$LIBS
18984 LIBS
="-ljpeg $LIBS"
18985 cat >conftest.
$ac_ext <<_ACEOF
18986 #line $LINENO "configure"
18989 cat confdefs.h
>>conftest.
$ac_ext
18990 cat >>conftest.
$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18993 /* Override any gcc2 internal prototype to avoid an error. */
18997 /* We use char because int might match the return type of a gcc2
18998 builtin and then its argument prototype would still apply. */
18999 char jpeg_read_header ();
19003 jpeg_read_header ();
19008 rm -f conftest.
$ac_objext conftest
$ac_exeext
19009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19010 (eval $ac_link) 2>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } &&
19014 { ac_try
='test -s conftest$ac_exeext'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; }; then
19020 ac_cv_lib_jpeg_jpeg_read_header
=yes
19022 echo "$as_me: failed program was:" >&5
19023 sed 's/^/| /' conftest.
$ac_ext >&5
19025 ac_cv_lib_jpeg_jpeg_read_header
=no
19027 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19028 LIBS
=$ac_check_lib_save_LIBS
19030 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19031 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19032 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19033 JPEG_LINK
=" -ljpeg"
19038 if test "x$JPEG_LINK" = "x" ; then
19039 if test "$wxUSE_LIBJPEG" = "sys" ; then
19040 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19041 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19042 { (exit 1); exit 1; }; }
19044 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19045 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19046 wxUSE_LIBJPEG
=builtin
19054 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19055 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
19062 TIFF_PREREQ_LINKS
=-lm
19063 if test "$wxUSE_LIBTIFF" != "no" ; then
19064 cat >>confdefs.h
<<\_ACEOF
19065 #define wxUSE_LIBTIFF 1
19069 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19070 if test "$wxUSE_LIBJPEG" = "sys"; then
19071 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19073 if test "$wxUSE_ZLIB" = "sys"; then
19074 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19076 if test "${ac_cv_header_tiffio_h+set}" = set; then
19077 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19078 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19079 if test "${ac_cv_header_tiffio_h+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19083 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19085 # Is the header compilable?
19086 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19087 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19088 cat >conftest.
$ac_ext <<_ACEOF
19089 #line $LINENO "configure"
19092 cat confdefs.h
>>conftest.
$ac_ext
19093 cat >>conftest.
$ac_ext <<_ACEOF
19094 /* end confdefs.h. */
19095 $ac_includes_default
19096 #include <tiffio.h>
19098 rm -f conftest.
$ac_objext
19099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19100 (eval $ac_compile) 2>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } &&
19104 { ac_try
='test -s conftest.$ac_objext'
19105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106 (eval $ac_try) 2>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; }; then
19110 ac_header_compiler
=yes
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.
$ac_ext >&5
19115 ac_header_compiler
=no
19117 rm -f conftest.
$ac_objext conftest.
$ac_ext
19118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19119 echo "${ECHO_T}$ac_header_compiler" >&6
19121 # Is the header present?
19122 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19123 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19124 cat >conftest.
$ac_ext <<_ACEOF
19125 #line $LINENO "configure"
19128 cat confdefs.h
>>conftest.
$ac_ext
19129 cat >>conftest.
$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 #include <tiffio.h>
19133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19136 grep -v '^ *+' conftest.er1
>conftest.err
19138 cat conftest.err
>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } >/dev
/null
; then
19141 if test -s conftest.err
; then
19142 ac_cpp_err
=$ac_c_preproc_warn_flag
19149 if test -z "$ac_cpp_err"; then
19150 ac_header_preproc
=yes
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.
$ac_ext >&5
19155 ac_header_preproc
=no
19157 rm -f conftest.err conftest.
$ac_ext
19158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19159 echo "${ECHO_T}$ac_header_preproc" >&6
19161 # So? What about this header?
19162 case $ac_header_compiler:$ac_header_preproc in
19164 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19165 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19166 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19167 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19170 ## ------------------------------------ ##
19171 ## Report this to bug-autoconf@gnu.org. ##
19172 ## ------------------------------------ ##
19175 sed "s/^/$as_me: WARNING: /" >&2
19178 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19179 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19180 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19181 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19182 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19183 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19186 ## ------------------------------------ ##
19187 ## Report this to bug-autoconf@gnu.org. ##
19188 ## ------------------------------------ ##
19191 sed "s/^/$as_me: WARNING: /" >&2
19194 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19195 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19196 if test "${ac_cv_header_tiffio_h+set}" = set; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 ac_cv_header_tiffio_h
=$ac_header_preproc
19201 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19202 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19205 if test $ac_cv_header_tiffio_h = yes; then
19206 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19207 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19208 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19209 echo $ECHO_N "(cached) $ECHO_C" >&6
19211 ac_check_lib_save_LIBS
=$LIBS
19212 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19213 cat >conftest.
$ac_ext <<_ACEOF
19214 #line $LINENO "configure"
19217 cat confdefs.h
>>conftest.
$ac_ext
19218 cat >>conftest.
$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19221 /* Override any gcc2 internal prototype to avoid an error. */
19225 /* We use char because int might match the return type of a gcc2
19226 builtin and then its argument prototype would still apply. */
19236 rm -f conftest.
$ac_objext conftest
$ac_exeext
19237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19238 (eval $ac_link) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try
='test -s conftest$ac_exeext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19248 ac_cv_lib_tiff_TIFFError
=yes
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.
$ac_ext >&5
19253 ac_cv_lib_tiff_TIFFError
=no
19255 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19256 LIBS
=$ac_check_lib_save_LIBS
19258 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19259 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19260 if test $ac_cv_lib_tiff_TIFFError = yes; then
19261 TIFF_LINK
=" -ltiff"
19269 if test "x$TIFF_LINK" = "x" ; then
19270 if test "$wxUSE_LIBTIFF" = "sys" ; then
19271 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19272 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19273 { (exit 1); exit 1; }; }
19275 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19276 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19277 wxUSE_LIBTIFF
=builtin
19284 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19285 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19290 if test "$wxUSE_EXPAT" != "no"; then
19292 cat >>confdefs.h
<<\_ACEOF
19293 #define wxUSE_EXPAT 1
19296 cat >>confdefs.h
<<\_ACEOF
19297 #define wxUSE_XML 1
19301 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19302 if test "${ac_cv_header_expat_h+set}" = set; then
19303 echo "$as_me:$LINENO: checking for expat.h" >&5
19304 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19305 if test "${ac_cv_header_expat_h+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19308 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19309 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19311 # Is the header compilable?
19312 echo "$as_me:$LINENO: checking expat.h usability" >&5
19313 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19314 cat >conftest.
$ac_ext <<_ACEOF
19315 #line $LINENO "configure"
19318 cat confdefs.h
>>conftest.
$ac_ext
19319 cat >>conftest.
$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 $ac_includes_default
19324 rm -f conftest.
$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try
='test -s conftest.$ac_objext'
19331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332 (eval $ac_try) 2>&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; }; then
19336 ac_header_compiler
=yes
19338 echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.
$ac_ext >&5
19341 ac_header_compiler
=no
19343 rm -f conftest.
$ac_objext conftest.
$ac_ext
19344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19345 echo "${ECHO_T}$ac_header_compiler" >&6
19347 # Is the header present?
19348 echo "$as_me:$LINENO: checking expat.h presence" >&5
19349 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19350 cat >conftest.
$ac_ext <<_ACEOF
19351 #line $LINENO "configure"
19354 cat confdefs.h
>>conftest.
$ac_ext
19355 cat >>conftest.
$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19360 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19362 grep -v '^ *+' conftest.er1
>conftest.err
19364 cat conftest.err
>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } >/dev
/null
; then
19367 if test -s conftest.err
; then
19368 ac_cpp_err
=$ac_c_preproc_warn_flag
19375 if test -z "$ac_cpp_err"; then
19376 ac_header_preproc
=yes
19378 echo "$as_me: failed program was:" >&5
19379 sed 's/^/| /' conftest.
$ac_ext >&5
19381 ac_header_preproc
=no
19383 rm -f conftest.err conftest.
$ac_ext
19384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19385 echo "${ECHO_T}$ac_header_preproc" >&6
19387 # So? What about this header?
19388 case $ac_header_compiler:$ac_header_preproc in
19390 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19391 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19392 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19393 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19396 ## ------------------------------------ ##
19397 ## Report this to bug-autoconf@gnu.org. ##
19398 ## ------------------------------------ ##
19401 sed "s/^/$as_me: WARNING: /" >&2
19404 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19405 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19406 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19407 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19408 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19409 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19412 ## ------------------------------------ ##
19413 ## Report this to bug-autoconf@gnu.org. ##
19414 ## ------------------------------------ ##
19417 sed "s/^/$as_me: WARNING: /" >&2
19420 echo "$as_me:$LINENO: checking for expat.h" >&5
19421 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19422 if test "${ac_cv_header_expat_h+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19425 ac_cv_header_expat_h
=$ac_header_preproc
19427 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19428 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19431 if test $ac_cv_header_expat_h = yes; then
19436 if test "x$found_expat_h" = "x1"; then
19437 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19438 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19439 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19446 ac_cpp
='$CXXCPP $CPPFLAGS'
19447 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19448 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19449 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19451 cat >conftest.
$ac_ext <<_ACEOF
19452 #line $LINENO "configure"
19455 cat confdefs.h
>>conftest.
$ac_ext
19456 cat >>conftest.
$ac_ext <<_ACEOF
19457 /* end confdefs.h. */
19467 rm -f conftest.
$ac_objext
19468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19469 (eval $ac_compile) 2>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try
='test -s conftest.$ac_objext'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; }; then
19479 wx_cv_expat_is_not_broken
=yes
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.
$ac_ext >&5
19484 wx_cv_expat_is_not_broken
=no
19487 rm -f conftest.
$ac_objext conftest.
$ac_ext
19489 ac_cpp
='$CPP $CPPFLAGS'
19490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19497 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19498 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19499 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19500 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19501 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19502 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19503 echo $ECHO_N "(cached) $ECHO_C" >&6
19505 ac_check_lib_save_LIBS
=$LIBS
19506 LIBS
="-lexpat $LIBS"
19507 cat >conftest.
$ac_ext <<_ACEOF
19508 #line $LINENO "configure"
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19515 /* Override any gcc2 internal prototype to avoid an error. */
19519 /* We use char because int might match the return type of a gcc2
19520 builtin and then its argument prototype would still apply. */
19521 char XML_ParserCreate ();
19525 XML_ParserCreate ();
19530 rm -f conftest.
$ac_objext conftest
$ac_exeext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19532 (eval $ac_link) 2>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try
='test -s conftest$ac_exeext'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; }; then
19542 ac_cv_lib_expat_XML_ParserCreate
=yes
19544 echo "$as_me: failed program was:" >&5
19545 sed 's/^/| /' conftest.
$ac_ext >&5
19547 ac_cv_lib_expat_XML_ParserCreate
=no
19549 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19550 LIBS
=$ac_check_lib_save_LIBS
19552 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19553 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19554 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19555 EXPAT_LINK
=" -lexpat"
19560 if test "x$EXPAT_LINK" = "x" ; then
19561 if test "$wxUSE_EXPAT" = "sys" ; then
19562 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19563 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19564 { (exit 1); exit 1; }; }
19566 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19567 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19568 wxUSE_EXPAT
=builtin
19574 if test "$wxUSE_EXPAT" = "builtin" ; then
19577 subdirs
="$subdirs src/expat"
19591 if test "$USE_WIN32" = 1 ; then
19593 for ac_header
in w32api.h
19595 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19597 echo "$as_me:$LINENO: checking for $ac_header" >&5
19598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19605 # Is the header compilable?
19606 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19607 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19608 cat >conftest.
$ac_ext <<_ACEOF
19609 #line $LINENO "configure"
19612 cat confdefs.h
>>conftest.
$ac_ext
19613 cat >>conftest.
$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19615 $ac_includes_default
19616 #include <$ac_header>
19618 rm -f conftest.
$ac_objext
19619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19620 (eval $ac_compile) 2>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try
='test -s conftest.$ac_objext'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; }; then
19630 ac_header_compiler
=yes
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.
$ac_ext >&5
19635 ac_header_compiler
=no
19637 rm -f conftest.
$ac_objext conftest.
$ac_ext
19638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19639 echo "${ECHO_T}$ac_header_compiler" >&6
19641 # Is the header present?
19642 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19644 cat >conftest.
$ac_ext <<_ACEOF
19645 #line $LINENO "configure"
19648 cat confdefs.h
>>conftest.
$ac_ext
19649 cat >>conftest.
$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 #include <$ac_header>
19653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19656 grep -v '^ *+' conftest.er1
>conftest.err
19658 cat conftest.err
>&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } >/dev
/null
; then
19661 if test -s conftest.err
; then
19662 ac_cpp_err
=$ac_c_preproc_warn_flag
19669 if test -z "$ac_cpp_err"; then
19670 ac_header_preproc
=yes
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.
$ac_ext >&5
19675 ac_header_preproc
=no
19677 rm -f conftest.err conftest.
$ac_ext
19678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19679 echo "${ECHO_T}$ac_header_preproc" >&6
19681 # So? What about this header?
19682 case $ac_header_compiler:$ac_header_preproc in
19684 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19685 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19690 ## ------------------------------------ ##
19691 ## Report this to bug-autoconf@gnu.org. ##
19692 ## ------------------------------------ ##
19695 sed "s/^/$as_me: WARNING: /" >&2
19698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19706 ## ------------------------------------ ##
19707 ## Report this to bug-autoconf@gnu.org. ##
19708 ## ------------------------------------ ##
19711 sed "s/^/$as_me: WARNING: /" >&2
19714 echo "$as_me:$LINENO: checking for $ac_header" >&5
19715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 eval "$as_ac_Header=$ac_header_preproc"
19721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19726 cat >>confdefs.h
<<_ACEOF
19727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19734 if test "${ac_cv_header_windows_h+set}" = set; then
19735 echo "$as_me:$LINENO: checking for windows.h" >&5
19736 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19737 if test "${ac_cv_header_windows_h+set}" = set; then
19738 echo $ECHO_N "(cached) $ECHO_C" >&6
19740 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19741 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19743 # Is the header compilable?
19744 echo "$as_me:$LINENO: checking windows.h usability" >&5
19745 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19746 cat >conftest.
$ac_ext <<_ACEOF
19747 #line $LINENO "configure"
19750 cat confdefs.h
>>conftest.
$ac_ext
19751 cat >>conftest.
$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 $ac_includes_default
19754 #include <windows.h>
19756 rm -f conftest.
$ac_objext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19758 (eval $ac_compile) 2>&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } &&
19762 { ac_try
='test -s conftest.$ac_objext'
19763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764 (eval $ac_try) 2>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; }; then
19768 ac_header_compiler
=yes
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.
$ac_ext >&5
19773 ac_header_compiler
=no
19775 rm -f conftest.
$ac_objext conftest.
$ac_ext
19776 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19777 echo "${ECHO_T}$ac_header_compiler" >&6
19779 # Is the header present?
19780 echo "$as_me:$LINENO: checking windows.h presence" >&5
19781 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19782 cat >conftest.
$ac_ext <<_ACEOF
19783 #line $LINENO "configure"
19786 cat confdefs.h
>>conftest.
$ac_ext
19787 cat >>conftest.
$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19789 #include <windows.h>
19791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19792 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19794 grep -v '^ *+' conftest.er1
>conftest.err
19796 cat conftest.err
>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } >/dev
/null
; then
19799 if test -s conftest.err
; then
19800 ac_cpp_err
=$ac_c_preproc_warn_flag
19807 if test -z "$ac_cpp_err"; then
19808 ac_header_preproc
=yes
19810 echo "$as_me: failed program was:" >&5
19811 sed 's/^/| /' conftest.
$ac_ext >&5
19813 ac_header_preproc
=no
19815 rm -f conftest.err conftest.
$ac_ext
19816 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19817 echo "${ECHO_T}$ac_header_preproc" >&6
19819 # So? What about this header?
19820 case $ac_header_compiler:$ac_header_preproc in
19822 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19823 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19824 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19825 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19828 ## ------------------------------------ ##
19829 ## Report this to bug-autoconf@gnu.org. ##
19830 ## ------------------------------------ ##
19833 sed "s/^/$as_me: WARNING: /" >&2
19836 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19837 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19838 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19839 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19840 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19841 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19844 ## ------------------------------------ ##
19845 ## Report this to bug-autoconf@gnu.org. ##
19846 ## ------------------------------------ ##
19849 sed "s/^/$as_me: WARNING: /" >&2
19852 echo "$as_me:$LINENO: checking for windows.h" >&5
19853 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19854 if test "${ac_cv_header_windows_h+set}" = set; then
19855 echo $ECHO_N "(cached) $ECHO_C" >&6
19857 ac_cv_header_windows_h
=$ac_header_preproc
19859 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19860 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19863 if test $ac_cv_header_windows_h = yes; then
19867 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19868 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19869 { (exit 1); exit 1; }; }
19875 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19877 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19878 LIBS
="$LIBS -loleacc"
19883 LIBS
="$LIBS -lkernel32 -luser32"
19884 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19887 if test "$wxUSE_ODBC" = "sys" ; then
19890 if test "$wxUSE_ODBC" = "yes" ; then
19891 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19892 cat >>confdefs.h
<<\_ACEOF
19893 #define wxUSE_ODBC 1
19898 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19899 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19901 WIN32INSTALL
=win32install
19904 if test "$wxUSE_GUI" = "yes"; then
19913 if test "$wxUSE_MSW" = 1 ; then
19918 if test "$wxUSE_GTK" = 1; then
19919 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19920 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19922 gtk_version_cached
=1
19923 if test "${wx_cv_lib_gtk+set}" = set; then
19924 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 gtk_version_cached
=0
19928 echo "$as_me:$LINENO: result: " >&5
19929 echo "${ECHO_T}" >&6
19932 if test "$wxUSE_THREADS" = "yes"; then
19933 GTK_MODULES
=gthread
19937 if test "x$wxUSE_GTK2" = "xyes"; then
19938 # Check whether --enable-gtktest or --disable-gtktest was given.
19939 if test "${enable_gtktest+set}" = set; then
19940 enableval
="$enable_gtktest"
19946 pkg_config_args
=gtk
+-2.0
19947 for module
in .
$GTK_MODULES
19951 pkg_config_args
="$pkg_config_args gthread-2.0"
19958 # Extract the first word of "pkg-config", so it can be a program name with args.
19959 set dummy pkg
-config; ac_word
=$2
19960 echo "$as_me:$LINENO: checking for $ac_word" >&5
19961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19962 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19963 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 case $PKG_CONFIG in
19967 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19971 for as_dir
in $PATH
19974 test -z "$as_dir" && as_dir
=.
19975 for ac_exec_ext
in '' $ac_executable_extensions; do
19976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19977 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19984 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19988 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19990 if test -n "$PKG_CONFIG"; then
19991 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19992 echo "${ECHO_T}$PKG_CONFIG" >&6
19994 echo "$as_me:$LINENO: result: no" >&5
19995 echo "${ECHO_T}no" >&6
19999 if test x
$PKG_CONFIG != xno
; then
20000 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20003 echo *** pkg
-config too old
; version
0.7 or better required.
20011 min_gtk_version
=2.0.0
20012 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20013 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20015 if test x
$PKG_CONFIG != xno
; then
20016 ## don't try to run the test against uninstalled libtool libs
20017 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20018 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20022 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20029 if test x
"$no_gtk" = x
; then
20030 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20031 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20032 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20034 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20036 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20038 if test "x$enable_gtktest" = "xyes" ; then
20039 ac_save_CFLAGS
="$CFLAGS"
20040 ac_save_LIBS
="$LIBS"
20041 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20042 LIBS
="$GTK_LIBS $LIBS"
20044 if test "$cross_compiling" = yes; then
20045 echo $ac_n "cross compiling; assumed OK... $ac_c"
20047 cat >conftest.
$ac_ext <<_ACEOF
20048 #line $LINENO "configure"
20051 cat confdefs.h
>>conftest.
$ac_ext
20052 cat >>conftest.
$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20055 #include <gtk/gtk.h>
20057 #include <stdlib.h>
20062 int major, minor, micro;
20065 system ("touch conf.gtktest");
20067 /* HP/UX 9 (%@#!) writes to sscanf strings */
20068 tmp_version = g_strdup("$min_gtk_version");
20069 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20070 printf("%s, bad version string\n", "$min_gtk_version");
20074 if ((gtk_major_version != $gtk_config_major_version) ||
20075 (gtk_minor_version != $gtk_config_minor_version) ||
20076 (gtk_micro_version != $gtk_config_micro_version))
20078 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20079 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20080 gtk_major_version, gtk_minor_version, gtk_micro_version);
20081 printf ("*** was found! If pkg-config was correct, then it is best\n");
20082 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20083 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20084 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20085 printf("*** required on your system.\n");
20086 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20087 printf("*** to point to the correct configuration files\n");
20089 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20090 (gtk_minor_version != GTK_MINOR_VERSION) ||
20091 (gtk_micro_version != GTK_MICRO_VERSION))
20093 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20094 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20095 printf("*** library (version %d.%d.%d)\n",
20096 gtk_major_version, gtk_minor_version, gtk_micro_version);
20100 if ((gtk_major_version > major) ||
20101 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20102 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20108 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20109 gtk_major_version, gtk_minor_version, gtk_micro_version);
20110 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20111 major, minor, micro);
20112 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20114 printf("*** If you have already installed a sufficiently new version, this error\n");
20115 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20116 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20117 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20118 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20119 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20120 printf("*** so that the correct libraries are found at run-time))\n");
20127 rm -f conftest
$ac_exeext
20128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20129 (eval $ac_link) 2>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; }; then
20140 echo "$as_me: program exited with status $ac_status" >&5
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.
$ac_ext >&5
20144 ( exit $ac_status )
20147 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20149 CFLAGS
="$ac_save_CFLAGS"
20150 LIBS
="$ac_save_LIBS"
20153 if test "x$no_gtk" = x
; then
20154 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20155 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20158 echo "$as_me:$LINENO: result: no" >&5
20159 echo "${ECHO_T}no" >&6
20160 if test "$PKG_CONFIG" = "no" ; then
20161 echo "*** A new enough version of pkg-config was not found."
20162 echo "*** See http://pkgconfig.sourceforge.net"
20164 if test -f conf.gtktest
; then
20167 echo "*** Could not run GTK+ test program, checking why..."
20168 ac_save_CFLAGS
="$CFLAGS"
20169 ac_save_LIBS
="$LIBS"
20170 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20171 LIBS
="$LIBS $GTK_LIBS"
20172 cat >conftest.
$ac_ext <<_ACEOF
20173 #line $LINENO "configure"
20176 cat confdefs.h
>>conftest.
$ac_ext
20177 cat >>conftest.
$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20180 #include <gtk/gtk.h>
20186 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20191 rm -f conftest.
$ac_objext conftest
$ac_exeext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20193 (eval $ac_link) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } &&
20197 { ac_try
='test -s conftest$ac_exeext'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; }; then
20203 echo "*** The test program compiled, but did not run. This usually means"
20204 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20205 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20206 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20207 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20208 echo "*** is required on your system"
20210 echo "*** If you have an old version installed, it is best to remove it, although"
20211 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.
$ac_ext >&5
20216 echo "*** The test program failed to compile or link. See the file config.log for the"
20217 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20219 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20220 CFLAGS
="$ac_save_CFLAGS"
20221 LIBS
="$ac_save_LIBS"
20234 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20235 if test "${with_gtk_prefix+set}" = set; then
20236 withval
="$with_gtk_prefix"
20237 gtk_config_prefix
="$withval"
20239 gtk_config_prefix
=""
20242 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20243 if test "${with_gtk_exec_prefix+set}" = set; then
20244 withval
="$with_gtk_exec_prefix"
20245 gtk_config_exec_prefix
="$withval"
20247 gtk_config_exec_prefix
=""
20249 # Check whether --enable-gtktest or --disable-gtktest was given.
20250 if test "${enable_gtktest+set}" = set; then
20251 enableval
="$enable_gtktest"
20257 for module
in .
$GTK_MODULES
20261 gtk_config_args
="$gtk_config_args gthread"
20266 if test x
$gtk_config_exec_prefix != x
; then
20267 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20268 if test x
${GTK_CONFIG+set} != xset
; then
20269 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20272 if test x
$gtk_config_prefix != x
; then
20273 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20274 if test x
${GTK_CONFIG+set} != xset
; then
20275 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20279 # Extract the first word of "gtk-config", so it can be a program name with args.
20280 set dummy gtk
-config; ac_word
=$2
20281 echo "$as_me:$LINENO: checking for $ac_word" >&5
20282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20283 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20284 echo $ECHO_N "(cached) $ECHO_C" >&6
20286 case $GTK_CONFIG in
20288 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20292 for as_dir
in $PATH
20295 test -z "$as_dir" && as_dir
=.
20296 for ac_exec_ext
in '' $ac_executable_extensions; do
20297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20298 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20305 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20309 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20311 if test -n "$GTK_CONFIG"; then
20312 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20313 echo "${ECHO_T}$GTK_CONFIG" >&6
20315 echo "$as_me:$LINENO: result: no" >&5
20316 echo "${ECHO_T}no" >&6
20319 min_gtk_version
=1.2.7
20320 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20321 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20323 if test "$GTK_CONFIG" = "no" ; then
20326 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20327 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20328 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20329 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20330 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20331 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20332 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20333 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20334 if test "x$enable_gtktest" = "xyes" ; then
20335 ac_save_CFLAGS
="$CFLAGS"
20336 ac_save_LIBS
="$LIBS"
20337 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20338 LIBS
="$GTK_LIBS $LIBS"
20340 if test "$cross_compiling" = yes; then
20341 echo $ac_n "cross compiling; assumed OK... $ac_c"
20343 cat >conftest.
$ac_ext <<_ACEOF
20344 #line $LINENO "configure"
20347 cat confdefs.h
>>conftest.
$ac_ext
20348 cat >>conftest.
$ac_ext <<_ACEOF
20349 /* end confdefs.h. */
20351 #include <gtk/gtk.h>
20353 #include <stdlib.h>
20358 int major, minor, micro;
20361 system ("touch conf.gtktest");
20363 /* HP/UX 9 (%@#!) writes to sscanf strings */
20364 tmp_version = g_strdup("$min_gtk_version");
20365 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20366 printf("%s, bad version string\n", "$min_gtk_version");
20370 if ((gtk_major_version != $gtk_config_major_version) ||
20371 (gtk_minor_version != $gtk_config_minor_version) ||
20372 (gtk_micro_version != $gtk_config_micro_version))
20374 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20375 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20376 gtk_major_version, gtk_minor_version, gtk_micro_version);
20377 printf ("*** was found! If gtk-config was correct, then it is best\n");
20378 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20379 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20380 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20381 printf("*** required on your system.\n");
20382 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20383 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20384 printf("*** before re-running configure\n");
20386 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20387 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20388 (gtk_minor_version != GTK_MINOR_VERSION) ||
20389 (gtk_micro_version != GTK_MICRO_VERSION))
20391 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20392 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20393 printf("*** library (version %d.%d.%d)\n",
20394 gtk_major_version, gtk_minor_version, gtk_micro_version);
20396 #endif /* defined (GTK_MAJOR_VERSION) ... */
20399 if ((gtk_major_version > major) ||
20400 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20401 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20407 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20408 gtk_major_version, gtk_minor_version, gtk_micro_version);
20409 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20410 major, minor, micro);
20411 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20413 printf("*** If you have already installed a sufficiently new version, this error\n");
20414 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20415 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20416 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20417 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20418 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20419 printf("*** so that the correct libraries are found at run-time))\n");
20426 rm -f conftest
$ac_exeext
20427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20428 (eval $ac_link) 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20433 (eval $ac_try) 2>&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); }; }; then
20439 echo "$as_me: program exited with status $ac_status" >&5
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.
$ac_ext >&5
20443 ( exit $ac_status )
20446 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20448 CFLAGS
="$ac_save_CFLAGS"
20449 LIBS
="$ac_save_LIBS"
20452 if test "x$no_gtk" = x
; then
20453 echo "$as_me:$LINENO: result: yes" >&5
20454 echo "${ECHO_T}yes" >&6
20455 wx_cv_lib_gtk
=1.2.7
20457 echo "$as_me:$LINENO: result: no" >&5
20458 echo "${ECHO_T}no" >&6
20459 if test "$GTK_CONFIG" = "no" ; then
20460 echo "*** The gtk-config script installed by GTK could not be found"
20461 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20462 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20463 echo "*** full path to gtk-config."
20465 if test -f conf.gtktest
; then
20468 echo "*** Could not run GTK test program, checking why..."
20469 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20470 LIBS
="$LIBS $GTK_LIBS"
20471 cat >conftest.
$ac_ext <<_ACEOF
20472 #line $LINENO "configure"
20475 cat confdefs.h
>>conftest.
$ac_ext
20476 cat >>conftest.
$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20479 #include <gtk/gtk.h>
20485 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20490 rm -f conftest.
$ac_objext conftest
$ac_exeext
20491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20492 (eval $ac_link) 2>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } &&
20496 { ac_try
='test -s conftest$ac_exeext'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20502 echo "*** The test program compiled, but did not run. This usually means"
20503 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20504 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20505 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20506 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20507 echo "*** is required on your system"
20509 echo "*** If you have an old version installed, it is best to remove it, although"
20510 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20512 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20513 echo "*** came with the system with the command"
20515 echo "*** rpm --erase --nodeps gtk gtk-devel"
20517 echo "$as_me: failed program was:" >&5
20518 sed 's/^/| /' conftest.
$ac_ext >&5
20520 echo "*** The test program failed to compile or link. See the file config.log for the"
20521 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20522 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20523 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20525 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20526 CFLAGS
="$ac_save_CFLAGS"
20527 LIBS
="$ac_save_LIBS"
20539 if test -z "$wx_cv_lib_gtk"; then
20541 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20542 if test "${with_gtk_prefix+set}" = set; then
20543 withval
="$with_gtk_prefix"
20544 gtk_config_prefix
="$withval"
20546 gtk_config_prefix
=""
20549 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20550 if test "${with_gtk_exec_prefix+set}" = set; then
20551 withval
="$with_gtk_exec_prefix"
20552 gtk_config_exec_prefix
="$withval"
20554 gtk_config_exec_prefix
=""
20556 # Check whether --enable-gtktest or --disable-gtktest was given.
20557 if test "${enable_gtktest+set}" = set; then
20558 enableval
="$enable_gtktest"
20564 for module
in .
$GTK_MODULES
20568 gtk_config_args
="$gtk_config_args gthread"
20573 if test x
$gtk_config_exec_prefix != x
; then
20574 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20575 if test x
${GTK_CONFIG+set} != xset
; then
20576 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20579 if test x
$gtk_config_prefix != x
; then
20580 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20581 if test x
${GTK_CONFIG+set} != xset
; then
20582 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20586 # Extract the first word of "gtk-config", so it can be a program name with args.
20587 set dummy gtk
-config; ac_word
=$2
20588 echo "$as_me:$LINENO: checking for $ac_word" >&5
20589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20590 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20591 echo $ECHO_N "(cached) $ECHO_C" >&6
20593 case $GTK_CONFIG in
20595 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20599 for as_dir
in $PATH
20602 test -z "$as_dir" && as_dir
=.
20603 for ac_exec_ext
in '' $ac_executable_extensions; do
20604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20605 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20612 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20616 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20618 if test -n "$GTK_CONFIG"; then
20619 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20620 echo "${ECHO_T}$GTK_CONFIG" >&6
20622 echo "$as_me:$LINENO: result: no" >&5
20623 echo "${ECHO_T}no" >&6
20626 min_gtk_version
=1.2.3
20627 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20628 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20630 if test "$GTK_CONFIG" = "no" ; then
20633 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20634 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20635 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20636 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20637 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20638 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20639 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20641 if test "x$enable_gtktest" = "xyes" ; then
20642 ac_save_CFLAGS
="$CFLAGS"
20643 ac_save_LIBS
="$LIBS"
20644 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20645 LIBS
="$GTK_LIBS $LIBS"
20647 if test "$cross_compiling" = yes; then
20648 echo $ac_n "cross compiling; assumed OK... $ac_c"
20650 cat >conftest.
$ac_ext <<_ACEOF
20651 #line $LINENO "configure"
20654 cat confdefs.h
>>conftest.
$ac_ext
20655 cat >>conftest.
$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20658 #include <gtk/gtk.h>
20660 #include <stdlib.h>
20665 int major, minor, micro;
20668 system ("touch conf.gtktest");
20670 /* HP/UX 9 (%@#!) writes to sscanf strings */
20671 tmp_version = g_strdup("$min_gtk_version");
20672 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20673 printf("%s, bad version string\n", "$min_gtk_version");
20677 if ((gtk_major_version != $gtk_config_major_version) ||
20678 (gtk_minor_version != $gtk_config_minor_version) ||
20679 (gtk_micro_version != $gtk_config_micro_version))
20681 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20682 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20683 gtk_major_version, gtk_minor_version, gtk_micro_version);
20684 printf ("*** was found! If gtk-config was correct, then it is best\n");
20685 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20686 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20687 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20688 printf("*** required on your system.\n");
20689 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20690 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20691 printf("*** before re-running configure\n");
20693 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20694 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20695 (gtk_minor_version != GTK_MINOR_VERSION) ||
20696 (gtk_micro_version != GTK_MICRO_VERSION))
20698 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20699 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20700 printf("*** library (version %d.%d.%d)\n",
20701 gtk_major_version, gtk_minor_version, gtk_micro_version);
20703 #endif /* defined (GTK_MAJOR_VERSION) ... */
20706 if ((gtk_major_version > major) ||
20707 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20708 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20714 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20715 gtk_major_version, gtk_minor_version, gtk_micro_version);
20716 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20717 major, minor, micro);
20718 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20720 printf("*** If you have already installed a sufficiently new version, this error\n");
20721 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20722 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20723 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20724 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20725 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20726 printf("*** so that the correct libraries are found at run-time))\n");
20733 rm -f conftest
$ac_exeext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20735 (eval $ac_link) 2>&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20740 (eval $ac_try) 2>&5
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); }; }; then
20746 echo "$as_me: program exited with status $ac_status" >&5
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.
$ac_ext >&5
20750 ( exit $ac_status )
20753 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20755 CFLAGS
="$ac_save_CFLAGS"
20756 LIBS
="$ac_save_LIBS"
20759 if test "x$no_gtk" = x
; then
20760 echo "$as_me:$LINENO: result: yes" >&5
20761 echo "${ECHO_T}yes" >&6
20762 wx_cv_lib_gtk
=1.2.3
20764 echo "$as_me:$LINENO: result: no" >&5
20765 echo "${ECHO_T}no" >&6
20766 if test "$GTK_CONFIG" = "no" ; then
20767 echo "*** The gtk-config script installed by GTK could not be found"
20768 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20769 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20770 echo "*** full path to gtk-config."
20772 if test -f conf.gtktest
; then
20775 echo "*** Could not run GTK test program, checking why..."
20776 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20777 LIBS
="$LIBS $GTK_LIBS"
20778 cat >conftest.
$ac_ext <<_ACEOF
20779 #line $LINENO "configure"
20782 cat confdefs.h
>>conftest.
$ac_ext
20783 cat >>conftest.
$ac_ext <<_ACEOF
20784 /* end confdefs.h. */
20786 #include <gtk/gtk.h>
20792 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20797 rm -f conftest.
$ac_objext conftest
$ac_exeext
20798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20799 (eval $ac_link) 2>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } &&
20803 { ac_try
='test -s conftest$ac_exeext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 echo "*** The test program compiled, but did not run. This usually means"
20810 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20811 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20812 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20813 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20814 echo "*** is required on your system"
20816 echo "*** If you have an old version installed, it is best to remove it, although"
20817 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20819 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20820 echo "*** came with the system with the command"
20822 echo "*** rpm --erase --nodeps gtk gtk-devel"
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.
$ac_ext >&5
20827 echo "*** The test program failed to compile or link. See the file config.log for the"
20828 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20829 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20830 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20832 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20833 CFLAGS
="$ac_save_CFLAGS"
20834 LIBS
="$ac_save_LIBS"
20848 if test -z "$wx_cv_lib_gtk"; then
20851 wx_cv_cflags_gtk
=$GTK_CFLAGS
20852 wx_cv_libs_gtk
=$GTK_LIBS
20859 if test "$gtk_version_cached" = 1; then
20860 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20861 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20864 case "$wx_cv_lib_gtk" in
20873 *) { { echo "$as_me:$LINENO: error:
20874 Please check that gtk-config is in path, the directory
20875 where GTK+ libraries are installed (returned by
20876 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20877 equivalent variable and GTK+ is version 1.2.3 or above.
20879 echo "$as_me: error:
20880 Please check that gtk-config is in path, the directory
20881 where GTK+ libraries are installed (returned by
20882 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20883 equivalent variable and GTK+ is version 1.2.3 or above.
20885 { (exit 1); exit 1; }; }
20889 if test "$WXGTK20" = 1; then
20890 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20894 if test -z "$PKG_CONFIG"; then
20895 # Extract the first word of "pkg-config", so it can be a program name with args.
20896 set dummy pkg
-config; ac_word
=$2
20897 echo "$as_me:$LINENO: checking for $ac_word" >&5
20898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20899 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20900 echo $ECHO_N "(cached) $ECHO_C" >&6
20902 case $PKG_CONFIG in
20904 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20908 for as_dir
in $PATH
20911 test -z "$as_dir" && as_dir
=.
20912 for ac_exec_ext
in '' $ac_executable_extensions; do
20913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20914 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20921 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20925 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20927 if test -n "$PKG_CONFIG"; then
20928 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20929 echo "${ECHO_T}$PKG_CONFIG" >&6
20931 echo "$as_me:$LINENO: result: no" >&5
20932 echo "${ECHO_T}no" >&6
20937 if test "$PKG_CONFIG" = "no" ; then
20938 echo "*** The pkg-config script could not be found. Make sure it is"
20939 echo "*** in your path, or set the PKG_CONFIG environment variable"
20940 echo "*** to the full path to pkg-config."
20941 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20943 PKG_CONFIG_MIN_VERSION
=0.9.0
20944 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20945 echo "$as_me:$LINENO: checking for pangoft2" >&5
20946 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20948 if $PKG_CONFIG --exists "pangoft2" ; then
20949 echo "$as_me:$LINENO: result: yes" >&5
20950 echo "${ECHO_T}yes" >&6
20953 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20954 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20955 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20956 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20957 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20959 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20960 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20961 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20962 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20963 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20967 ## If we have a custom action on failure, don't print errors, but
20968 ## do set a variable so people can do so.
20969 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20976 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20977 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20981 if test $succeeded = yes; then
20983 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20984 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20988 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20989 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20990 wxUSE_PRINTING_ARCHITECTURE
="no"
20997 if test "$wxUSE_UNICODE" = "yes"; then
20998 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20999 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21004 if test "$USE_DARWIN" != 1; then
21006 for ac_func
in poll
21008 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21009 echo "$as_me:$LINENO: checking for $ac_func" >&5
21010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21011 if eval "test \"\${$as_ac_var+set}\" = set"; then
21012 echo $ECHO_N "(cached) $ECHO_C" >&6
21014 cat >conftest.
$ac_ext <<_ACEOF
21015 #line $LINENO "configure"
21018 cat confdefs.h
>>conftest.
$ac_ext
21019 cat >>conftest.
$ac_ext <<_ACEOF
21020 /* end confdefs.h. */
21021 /* System header to define __stub macros and hopefully few prototypes,
21022 which can conflict with char $ac_func (); below.
21023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21024 <limits.h> exists even on freestanding compilers. */
21026 # include <limits.h>
21028 # include <assert.h>
21030 /* Override any gcc2 internal prototype to avoid an error. */
21035 /* We use char because int might match the return type of a gcc2
21036 builtin and then its argument prototype would still apply. */
21038 /* The GNU C library defines this for functions which it implements
21039 to always fail with ENOSYS. Some functions are actually named
21040 something starting with __ and the normal name is an alias. */
21041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21044 char (*f) () = $ac_func;
21053 return f != $ac_func;
21058 rm -f conftest.
$ac_objext conftest
$ac_exeext
21059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21060 (eval $ac_link) 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } &&
21064 { ac_try
='test -s conftest$ac_exeext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 eval "$as_ac_var=yes"
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.
$ac_ext >&5
21075 eval "$as_ac_var=no"
21077 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21081 if test `eval echo '${'$as_ac_var'}'` = yes; then
21082 cat >>confdefs.h
<<_ACEOF
21083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21091 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21092 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21094 AFMINSTALL
=afminstall
21098 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21099 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21100 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21103 ac_check_lib_save_LIBS
=$LIBS
21105 cat >conftest.
$ac_ext <<_ACEOF
21106 #line $LINENO "configure"
21109 cat confdefs.h
>>conftest.
$ac_ext
21110 cat >>conftest.
$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21113 /* Override any gcc2 internal prototype to avoid an error. */
21117 /* We use char because int might match the return type of a gcc2
21118 builtin and then its argument prototype would still apply. */
21119 char gdk_im_open ();
21128 rm -f conftest.
$ac_objext conftest
$ac_exeext
21129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21130 (eval $ac_link) 2>&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); } &&
21134 { ac_try
='test -s conftest$ac_exeext'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; }; then
21140 ac_cv_lib_gdk_gdk_im_open
=yes
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.
$ac_ext >&5
21145 ac_cv_lib_gdk_gdk_im_open
=no
21147 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21148 LIBS
=$ac_check_lib_save_LIBS
21150 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21151 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21152 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21153 cat >>confdefs.h
<<\_ACEOF
21161 if test "$wxUSE_MGL" = 1; then
21162 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21163 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21164 if test "x$MGL_ROOT" = x
; then
21165 echo "$as_me:$LINENO: result: not found" >&5
21166 echo "${ECHO_T}not found" >&6
21167 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21168 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21169 { (exit 1); exit 1; }; }
21171 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21172 echo "${ECHO_T}$MGL_ROOT" >&6
21175 echo "$as_me:$LINENO: checking for libmgl location" >&5
21176 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21179 if test "x$wxUSE_SHARED" = xyes
; then
21180 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
21182 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
21186 mgl_os_candidates
="dos32/dj2"
21189 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21190 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21191 { (exit 1); exit 1; }; }
21197 for mgl_os_i
in $mgl_os_candidates ; do
21198 if test "x$mgl_os" = x
; then
21199 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21200 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21201 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21206 if test "x$mgl_lib_type" = x
; then
21207 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21208 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21209 mgl_lib_type
=release
21216 if test "x$mgl_os" = x
; then
21217 echo "$as_me:$LINENO: result: not found" >&5
21218 echo "${ECHO_T}not found" >&6
21219 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21220 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21221 { (exit 1); exit 1; }; }
21223 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21224 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21226 wxUSE_UNIVERSAL
="yes"
21228 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21229 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21231 AFMINSTALL
=afminstall
21236 if test "$wxUSE_MICROWIN" = 1; then
21237 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21238 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21239 if test "x$MICROWINDOWS" = x
; then
21240 echo "$as_me:$LINENO: result: not found" >&5
21241 echo "${ECHO_T}not found" >&6
21242 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21243 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21244 { (exit 1); exit 1; }; }
21246 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21247 echo "${ECHO_T}$MICROWINDOWS" >&6
21250 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21251 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21252 echo "${ECHO_T}MicroWindows' libraries found." >&6
21254 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21255 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21256 { (exit 1); exit 1; }; }
21259 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21260 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21262 wxUSE_UNIVERSAL
="yes"
21264 AFMINSTALL
=afminstall
21266 GUIDIST
=MICROWIN_DIST
21268 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21271 if test "$wxUSE_X11" = 1; then
21272 echo "$as_me:$LINENO: checking for X" >&5
21273 echo $ECHO_N "checking for X... $ECHO_C" >&6
21276 # Check whether --with-x or --without-x was given.
21277 if test "${with_x+set}" = set; then
21281 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21282 if test "x$with_x" = xno
; then
21283 # The user explicitly disabled X.
21286 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21287 # Both variables are already set.
21290 if test "${ac_cv_have_x+set}" = set; then
21291 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 # One or both of the vars are not set, and there is no cached value.
21294 ac_x_includes
=no ac_x_libraries
=no
21295 rm -fr conftest.dir
21296 if mkdir conftest.dir
; then
21298 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21299 cat >Imakefile
<<'_ACEOF'
21301 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21303 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21304 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21305 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21306 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21307 for ac_extension
in a so sl
; do
21308 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21309 test -f $ac_im_libdir/libX11.
$ac_extension; then
21310 ac_im_usrlibdir
=$ac_im_libdir; break
21313 # Screen out bogus values from the imake configuration. They are
21314 # bogus both because they are the default anyway, and because
21315 # using them would break gcc on systems where it needs fixed includes.
21316 case $ac_im_incroot in
21318 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21320 case $ac_im_usrlibdir in
21321 /usr
/lib
| /lib
) ;;
21322 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21326 rm -fr conftest.dir
21329 # Standard set of common directories for X headers.
21330 # Check X11 before X11Rn because it is often a symlink to the current release.
21342 /usr/local/X11/include
21343 /usr/local/X11R6/include
21344 /usr/local/X11R5/include
21345 /usr/local/X11R4/include
21347 /usr/local/include/X11
21348 /usr/local/include/X11R6
21349 /usr/local/include/X11R5
21350 /usr/local/include/X11R4
21354 /usr/XFree86/include/X11
21358 /usr/unsupported/include
21359 /usr/athena/include
21360 /usr/local/x11r5/include
21361 /usr/lpp/Xamples/include
21363 /usr/openwin/include
21364 /usr/openwin/share/include'
21366 if test "$ac_x_includes" = no
; then
21367 # Guess where to find include files, by looking for Intrinsic.h.
21368 # First, try using that file with no special directory specified.
21369 cat >conftest.
$ac_ext <<_ACEOF
21370 #line $LINENO "configure"
21373 cat confdefs.h
>>conftest.
$ac_ext
21374 cat >>conftest.
$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21376 #include <X11/Intrinsic.h>
21378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21381 grep -v '^ *+' conftest.er1
>conftest.err
21383 cat conftest.err
>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } >/dev
/null
; then
21386 if test -s conftest.err
; then
21387 ac_cpp_err
=$ac_c_preproc_warn_flag
21394 if test -z "$ac_cpp_err"; then
21395 # We can compile using X headers with no special include directory.
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.
$ac_ext >&5
21401 for ac_dir
in $ac_x_header_dirs; do
21402 if test -r "$ac_dir/X11/Intrinsic.h"; then
21403 ac_x_includes
=$ac_dir
21408 rm -f conftest.err conftest.
$ac_ext
21409 fi # $ac_x_includes = no
21411 if test "$ac_x_libraries" = no
; then
21412 # Check for the libraries.
21413 # See if we find them without any special options.
21414 # Don't add to $LIBS permanently.
21417 cat >conftest.
$ac_ext <<_ACEOF
21418 #line $LINENO "configure"
21421 cat confdefs.h
>>conftest.
$ac_ext
21422 cat >>conftest.
$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21424 #include <X11/Intrinsic.h>
21433 rm -f conftest.
$ac_objext conftest
$ac_exeext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21435 (eval $ac_link) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } &&
21439 { ac_try
='test -s conftest$ac_exeext'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; }; then
21446 # We can link X programs with no special library path.
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.
$ac_ext >&5
21453 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21455 # Don't even attempt the hair of trying to link an X program!
21456 for ac_extension
in a so sl
; do
21457 if test -r $ac_dir/libXt.
$ac_extension; then
21458 ac_x_libraries
=$ac_dir
21464 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21465 fi # $ac_x_libraries = no
21467 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21468 # Didn't find X anywhere. Cache the known absence of X.
21469 ac_cv_have_x
="have_x=no"
21471 # Record where we found X for the cache.
21472 ac_cv_have_x
="have_x=yes \
21473 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21478 eval "$ac_cv_have_x"
21481 if test "$have_x" != yes; then
21482 echo "$as_me:$LINENO: result: $have_x" >&5
21483 echo "${ECHO_T}$have_x" >&6
21486 # If each of the values was on the command line, it overrides each guess.
21487 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21488 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21489 # Update the cache value to reflect the command line values.
21490 ac_cv_have_x
="have_x=yes \
21491 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21492 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21493 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21496 if test "$no_x" = yes; then
21497 # Not all programs may use this symbol, but it does not hurt to define it.
21499 cat >>confdefs.h
<<\_ACEOF
21500 #define X_DISPLAY_MISSING 1
21503 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21505 if test -n "$x_includes"; then
21506 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21509 # It would also be nice to do this for all -L options, not just this one.
21510 if test -n "$x_libraries"; then
21511 X_LIBS
="$X_LIBS -L$x_libraries"
21512 # For Solaris; some versions of Sun CC require a space after -R and
21513 # others require no space. Words are not sufficient . . . .
21514 case `(uname -sr) 2>/dev/null` in
21516 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21517 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21518 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21519 cat >conftest.
$ac_ext <<_ACEOF
21520 #line $LINENO "configure"
21523 cat confdefs.h
>>conftest.
$ac_ext
21524 cat >>conftest.
$ac_ext <<_ACEOF
21525 /* end confdefs.h. */
21535 rm -f conftest.
$ac_objext conftest
$ac_exeext
21536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21537 (eval $ac_link) 2>&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); } &&
21541 { ac_try
='test -s conftest$ac_exeext'
21542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21543 (eval $ac_try) 2>&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); }; }; then
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.
$ac_ext >&5
21554 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21555 if test $ac_R_nospace = yes; then
21556 echo "$as_me:$LINENO: result: no" >&5
21557 echo "${ECHO_T}no" >&6
21558 X_LIBS
="$X_LIBS -R$x_libraries"
21560 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21561 cat >conftest.
$ac_ext <<_ACEOF
21562 #line $LINENO "configure"
21565 cat confdefs.h
>>conftest.
$ac_ext
21566 cat >>conftest.
$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21577 rm -f conftest.
$ac_objext conftest
$ac_exeext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21579 (eval $ac_link) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } &&
21583 { ac_try
='test -s conftest$ac_exeext'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.
$ac_ext >&5
21596 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21597 if test $ac_R_space = yes; then
21598 echo "$as_me:$LINENO: result: yes" >&5
21599 echo "${ECHO_T}yes" >&6
21600 X_LIBS
="$X_LIBS -R $x_libraries"
21602 echo "$as_me:$LINENO: result: neither works" >&5
21603 echo "${ECHO_T}neither works" >&6
21606 LIBS
=$ac_xsave_LIBS
21610 # Check for system-dependent libraries X programs must link with.
21611 # Do this before checking for the system-independent R6 libraries
21612 # (-lICE), since we may need -lsocket or whatever for X linking.
21614 if test "$ISC" = yes; then
21615 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21617 # Martyn Johnson says this is needed for Ultrix, if the X
21618 # libraries were built with DECnet support. And Karl Berry says
21619 # the Alpha needs dnet_stub (dnet does not exist).
21620 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21621 cat >conftest.
$ac_ext <<_ACEOF
21622 #line $LINENO "configure"
21625 cat confdefs.h
>>conftest.
$ac_ext
21626 cat >>conftest.
$ac_ext <<_ACEOF
21627 /* end confdefs.h. */
21629 /* Override any gcc2 internal prototype to avoid an error. */
21633 /* We use char because int might match the return type of a gcc2
21634 builtin and then its argument prototype would still apply. */
21635 char XOpenDisplay ();
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
21661 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21662 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21663 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21664 echo $ECHO_N "(cached) $ECHO_C" >&6
21666 ac_check_lib_save_LIBS
=$LIBS
21667 LIBS
="-ldnet $LIBS"
21668 cat >conftest.
$ac_ext <<_ACEOF
21669 #line $LINENO "configure"
21672 cat confdefs.h
>>conftest.
$ac_ext
21673 cat >>conftest.
$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21676 /* Override any gcc2 internal prototype to avoid an error. */
21680 /* We use char because int might match the return type of a gcc2
21681 builtin and then its argument prototype would still apply. */
21691 rm -f conftest.
$ac_objext conftest
$ac_exeext
21692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21693 (eval $ac_link) 2>&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); } &&
21697 { ac_try
='test -s conftest$ac_exeext'
21698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21699 (eval $ac_try) 2>&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); }; }; then
21703 ac_cv_lib_dnet_dnet_ntoa
=yes
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.
$ac_ext >&5
21708 ac_cv_lib_dnet_dnet_ntoa
=no
21710 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21711 LIBS
=$ac_check_lib_save_LIBS
21713 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21714 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21715 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21716 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21719 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21720 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21721 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21722 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21723 echo $ECHO_N "(cached) $ECHO_C" >&6
21725 ac_check_lib_save_LIBS
=$LIBS
21726 LIBS
="-ldnet_stub $LIBS"
21727 cat >conftest.
$ac_ext <<_ACEOF
21728 #line $LINENO "configure"
21731 cat confdefs.h
>>conftest.
$ac_ext
21732 cat >>conftest.
$ac_ext <<_ACEOF
21733 /* end confdefs.h. */
21735 /* Override any gcc2 internal prototype to avoid an error. */
21739 /* We use char because int might match the return type of a gcc2
21740 builtin and then its argument prototype would still apply. */
21750 rm -f conftest.
$ac_objext conftest
$ac_exeext
21751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21752 (eval $ac_link) 2>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } &&
21756 { ac_try
='test -s conftest$ac_exeext'
21757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21758 (eval $ac_try) 2>&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); }; }; then
21762 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21764 echo "$as_me: failed program was:" >&5
21765 sed 's/^/| /' conftest.
$ac_ext >&5
21767 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21769 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21770 LIBS
=$ac_check_lib_save_LIBS
21772 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21773 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21774 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21775 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21780 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21781 LIBS
="$ac_xsave_LIBS"
21783 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21784 # to get the SysV transport functions.
21785 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21787 # The nsl library prevents programs from opening the X display
21788 # on Irix 5.2, according to T.E. Dickey.
21789 # The functions gethostbyname, getservbyname, and inet_addr are
21790 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21791 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21792 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21793 if test "${ac_cv_func_gethostbyname+set}" = set; then
21794 echo $ECHO_N "(cached) $ECHO_C" >&6
21796 cat >conftest.
$ac_ext <<_ACEOF
21797 #line $LINENO "configure"
21800 cat confdefs.h
>>conftest.
$ac_ext
21801 cat >>conftest.
$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21803 /* System header to define __stub macros and hopefully few prototypes,
21804 which can conflict with char gethostbyname (); below.
21805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21806 <limits.h> exists even on freestanding compilers. */
21808 # include <limits.h>
21810 # include <assert.h>
21812 /* Override any gcc2 internal prototype to avoid an error. */
21817 /* We use char because int might match the return type of a gcc2
21818 builtin and then its argument prototype would still apply. */
21819 char gethostbyname ();
21820 /* The GNU C library defines this for functions which it implements
21821 to always fail with ENOSYS. Some functions are actually named
21822 something starting with __ and the normal name is an alias. */
21823 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21826 char (*f) () = gethostbyname;
21835 return f != gethostbyname;
21840 rm -f conftest.
$ac_objext conftest
$ac_exeext
21841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21842 (eval $ac_link) 2>&5
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); } &&
21846 { ac_try
='test -s conftest$ac_exeext'
21847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21848 (eval $ac_try) 2>&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); }; }; then
21852 ac_cv_func_gethostbyname
=yes
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.
$ac_ext >&5
21857 ac_cv_func_gethostbyname
=no
21859 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21861 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21862 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21864 if test $ac_cv_func_gethostbyname = no
; then
21865 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21866 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21867 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21868 echo $ECHO_N "(cached) $ECHO_C" >&6
21870 ac_check_lib_save_LIBS
=$LIBS
21872 cat >conftest.
$ac_ext <<_ACEOF
21873 #line $LINENO "configure"
21876 cat confdefs.h
>>conftest.
$ac_ext
21877 cat >>conftest.
$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21880 /* 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 ();
21895 rm -f conftest.
$ac_objext conftest
$ac_exeext
21896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21897 (eval $ac_link) 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); } &&
21901 { ac_try
='test -s conftest$ac_exeext'
21902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21903 (eval $ac_try) 2>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; }; then
21907 ac_cv_lib_nsl_gethostbyname
=yes
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.
$ac_ext >&5
21912 ac_cv_lib_nsl_gethostbyname
=no
21914 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21915 LIBS
=$ac_check_lib_save_LIBS
21917 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21918 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21919 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21920 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21923 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21924 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21925 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21926 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21927 echo $ECHO_N "(cached) $ECHO_C" >&6
21929 ac_check_lib_save_LIBS
=$LIBS
21931 cat >conftest.
$ac_ext <<_ACEOF
21932 #line $LINENO "configure"
21935 cat confdefs.h
>>conftest.
$ac_ext
21936 cat >>conftest.
$ac_ext <<_ACEOF
21937 /* end confdefs.h. */
21939 /* Override any gcc2 internal prototype to avoid an error. */
21943 /* We use char because int might match the return type of a gcc2
21944 builtin and then its argument prototype would still apply. */
21945 char gethostbyname ();
21954 rm -f conftest.
$ac_objext conftest
$ac_exeext
21955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21956 (eval $ac_link) 2>&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } &&
21960 { ac_try
='test -s conftest$ac_exeext'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; }; then
21966 ac_cv_lib_bsd_gethostbyname
=yes
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.
$ac_ext >&5
21971 ac_cv_lib_bsd_gethostbyname
=no
21973 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21974 LIBS
=$ac_check_lib_save_LIBS
21976 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21977 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21978 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21979 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21985 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21986 # socket/setsockopt and other routines are undefined under SCO ODT
21987 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21988 # on later versions), says Simon Leinen: it contains gethostby*
21989 # variants that don't use the name server (or something). -lsocket
21990 # must be given before -lnsl if both are needed. We assume that
21991 # if connect needs -lnsl, so does gethostbyname.
21992 echo "$as_me:$LINENO: checking for connect" >&5
21993 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21994 if test "${ac_cv_func_connect+set}" = set; then
21995 echo $ECHO_N "(cached) $ECHO_C" >&6
21997 cat >conftest.
$ac_ext <<_ACEOF
21998 #line $LINENO "configure"
22001 cat confdefs.h
>>conftest.
$ac_ext
22002 cat >>conftest.
$ac_ext <<_ACEOF
22003 /* end confdefs.h. */
22004 /* System header to define __stub macros and hopefully few prototypes,
22005 which can conflict with char connect (); below.
22006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22007 <limits.h> exists even on freestanding compilers. */
22009 # include <limits.h>
22011 # include <assert.h>
22013 /* Override any gcc2 internal prototype to avoid an error. */
22018 /* We use char because int might match the return type of a gcc2
22019 builtin and then its argument prototype would still apply. */
22021 /* The GNU C library defines this for functions which it implements
22022 to always fail with ENOSYS. Some functions are actually named
22023 something starting with __ and the normal name is an alias. */
22024 #if defined (__stub_connect) || defined (__stub___connect)
22027 char (*f) () = connect;
22036 return f != connect;
22041 rm -f conftest.
$ac_objext conftest
$ac_exeext
22042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22043 (eval $ac_link) 2>&5
22045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 (exit $ac_status); } &&
22047 { ac_try
='test -s conftest$ac_exeext'
22048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22049 (eval $ac_try) 2>&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); }; }; then
22053 ac_cv_func_connect
=yes
22055 echo "$as_me: failed program was:" >&5
22056 sed 's/^/| /' conftest.
$ac_ext >&5
22058 ac_cv_func_connect
=no
22060 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22062 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22063 echo "${ECHO_T}$ac_cv_func_connect" >&6
22065 if test $ac_cv_func_connect = no
; then
22066 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22067 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22068 if test "${ac_cv_lib_socket_connect+set}" = set; then
22069 echo $ECHO_N "(cached) $ECHO_C" >&6
22071 ac_check_lib_save_LIBS
=$LIBS
22072 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22073 cat >conftest.
$ac_ext <<_ACEOF
22074 #line $LINENO "configure"
22077 cat confdefs.h
>>conftest.
$ac_ext
22078 cat >>conftest.
$ac_ext <<_ACEOF
22079 /* end confdefs.h. */
22081 /* 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. */
22096 rm -f conftest.
$ac_objext conftest
$ac_exeext
22097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22098 (eval $ac_link) 2>&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } &&
22102 { ac_try
='test -s conftest$ac_exeext'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; }; then
22108 ac_cv_lib_socket_connect
=yes
22110 echo "$as_me: failed program was:" >&5
22111 sed 's/^/| /' conftest.
$ac_ext >&5
22113 ac_cv_lib_socket_connect
=no
22115 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22116 LIBS
=$ac_check_lib_save_LIBS
22118 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22119 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22120 if test $ac_cv_lib_socket_connect = yes; then
22121 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22126 # Guillermo Gomez says -lposix is necessary on A/UX.
22127 echo "$as_me:$LINENO: checking for remove" >&5
22128 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22129 if test "${ac_cv_func_remove+set}" = set; then
22130 echo $ECHO_N "(cached) $ECHO_C" >&6
22132 cat >conftest.
$ac_ext <<_ACEOF
22133 #line $LINENO "configure"
22136 cat confdefs.h
>>conftest.
$ac_ext
22137 cat >>conftest.
$ac_ext <<_ACEOF
22138 /* end confdefs.h. */
22139 /* System header to define __stub macros and hopefully few prototypes,
22140 which can conflict with char remove (); below.
22141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22142 <limits.h> exists even on freestanding compilers. */
22144 # include <limits.h>
22146 # include <assert.h>
22148 /* Override any gcc2 internal prototype to avoid an error. */
22153 /* We use char because int might match the return type of a gcc2
22154 builtin and then its argument prototype would still apply. */
22156 /* The GNU C library defines this for functions which it implements
22157 to always fail with ENOSYS. Some functions are actually named
22158 something starting with __ and the normal name is an alias. */
22159 #if defined (__stub_remove) || defined (__stub___remove)
22162 char (*f) () = remove;
22171 return f != remove;
22176 rm -f conftest.
$ac_objext conftest
$ac_exeext
22177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22178 (eval $ac_link) 2>&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); } &&
22182 { ac_try
='test -s conftest$ac_exeext'
22183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22184 (eval $ac_try) 2>&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); }; }; then
22188 ac_cv_func_remove
=yes
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.
$ac_ext >&5
22193 ac_cv_func_remove
=no
22195 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22197 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22198 echo "${ECHO_T}$ac_cv_func_remove" >&6
22200 if test $ac_cv_func_remove = no
; then
22201 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22202 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22203 if test "${ac_cv_lib_posix_remove+set}" = set; then
22204 echo $ECHO_N "(cached) $ECHO_C" >&6
22206 ac_check_lib_save_LIBS
=$LIBS
22207 LIBS
="-lposix $LIBS"
22208 cat >conftest.
$ac_ext <<_ACEOF
22209 #line $LINENO "configure"
22212 cat confdefs.h
>>conftest.
$ac_ext
22213 cat >>conftest.
$ac_ext <<_ACEOF
22214 /* end confdefs.h. */
22216 /* 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. */
22231 rm -f conftest.
$ac_objext conftest
$ac_exeext
22232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22233 (eval $ac_link) 2>&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } &&
22237 { ac_try
='test -s conftest$ac_exeext'
22238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22239 (eval $ac_try) 2>&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; }; then
22243 ac_cv_lib_posix_remove
=yes
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.
$ac_ext >&5
22248 ac_cv_lib_posix_remove
=no
22250 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22251 LIBS
=$ac_check_lib_save_LIBS
22253 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22254 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22255 if test $ac_cv_lib_posix_remove = yes; then
22256 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22261 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22262 echo "$as_me:$LINENO: checking for shmat" >&5
22263 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22264 if test "${ac_cv_func_shmat+set}" = set; then
22265 echo $ECHO_N "(cached) $ECHO_C" >&6
22267 cat >conftest.
$ac_ext <<_ACEOF
22268 #line $LINENO "configure"
22271 cat confdefs.h
>>conftest.
$ac_ext
22272 cat >>conftest.
$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274 /* System header to define __stub macros and hopefully few prototypes,
22275 which can conflict with char shmat (); below.
22276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22277 <limits.h> exists even on freestanding compilers. */
22279 # include <limits.h>
22281 # include <assert.h>
22283 /* Override any gcc2 internal prototype to avoid an error. */
22288 /* We use char because int might match the return type of a gcc2
22289 builtin and then its argument prototype would still apply. */
22291 /* The GNU C library defines this for functions which it implements
22292 to always fail with ENOSYS. Some functions are actually named
22293 something starting with __ and the normal name is an alias. */
22294 #if defined (__stub_shmat) || defined (__stub___shmat)
22297 char (*f) () = shmat;
22311 rm -f conftest.
$ac_objext conftest
$ac_exeext
22312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22313 (eval $ac_link) 2>&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); } &&
22317 { ac_try
='test -s conftest$ac_exeext'
22318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319 (eval $ac_try) 2>&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); }; }; then
22323 ac_cv_func_shmat
=yes
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.
$ac_ext >&5
22328 ac_cv_func_shmat
=no
22330 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22332 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22333 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22335 if test $ac_cv_func_shmat = no
; then
22336 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22337 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22338 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22339 echo $ECHO_N "(cached) $ECHO_C" >&6
22341 ac_check_lib_save_LIBS
=$LIBS
22343 cat >conftest.
$ac_ext <<_ACEOF
22344 #line $LINENO "configure"
22347 cat confdefs.h
>>conftest.
$ac_ext
22348 cat >>conftest.
$ac_ext <<_ACEOF
22349 /* end confdefs.h. */
22351 /* 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. */
22366 rm -f conftest.
$ac_objext conftest
$ac_exeext
22367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22368 (eval $ac_link) 2>&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); } &&
22372 { ac_try
='test -s conftest$ac_exeext'
22373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22374 (eval $ac_try) 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; }; then
22378 ac_cv_lib_ipc_shmat
=yes
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.
$ac_ext >&5
22383 ac_cv_lib_ipc_shmat
=no
22385 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22386 LIBS
=$ac_check_lib_save_LIBS
22388 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22389 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22390 if test $ac_cv_lib_ipc_shmat = yes; then
22391 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22397 # Check for libraries that X11R6 Xt/Xaw programs need.
22398 ac_save_LDFLAGS
=$LDFLAGS
22399 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22400 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22401 # check for ICE first), but we must link in the order -lSM -lICE or
22402 # we get undefined symbols. So assume we have SM if we have ICE.
22403 # These have to be linked with before -lX11, unlike the other
22404 # libraries we check for below, so use a different variable.
22405 # John Interrante, Karl Berry
22406 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22407 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22408 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22409 echo $ECHO_N "(cached) $ECHO_C" >&6
22411 ac_check_lib_save_LIBS
=$LIBS
22412 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22413 cat >conftest.
$ac_ext <<_ACEOF
22414 #line $LINENO "configure"
22417 cat confdefs.h
>>conftest.
$ac_ext
22418 cat >>conftest.
$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22421 /* Override any gcc2 internal prototype to avoid an error. */
22425 /* We use char because int might match the return type of a gcc2
22426 builtin and then its argument prototype would still apply. */
22427 char IceConnectionNumber ();
22431 IceConnectionNumber ();
22436 rm -f conftest.
$ac_objext conftest
$ac_exeext
22437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22438 (eval $ac_link) 2>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } &&
22442 { ac_try
='test -s conftest$ac_exeext'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; }; then
22448 ac_cv_lib_ICE_IceConnectionNumber
=yes
22450 echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.
$ac_ext >&5
22453 ac_cv_lib_ICE_IceConnectionNumber
=no
22455 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22456 LIBS
=$ac_check_lib_save_LIBS
22458 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22459 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22460 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22461 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22464 LDFLAGS
=$ac_save_LDFLAGS
22469 if test "$no_x" = "yes"; then
22470 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22471 echo "$as_me: error: X11 not found" >&2;}
22472 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22475 GUI_TK_LIBRARY
="$X_LIBS"
22476 TOOLKIT_INCLUDE
="$X_CFLAGS"
22477 AFMINSTALL
=afminstall
22478 COMPILED_X_PROGRAM
=0
22480 if test "$wxUSE_NANOX" = "yes"; then
22481 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22482 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22483 if test "x$MICROWIN" = x
; then
22484 echo "$as_me:$LINENO: result: not found" >&5
22485 echo "${ECHO_T}not found" >&6
22486 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22487 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22488 { (exit 1); exit 1; }; }
22490 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22491 echo "${ECHO_T}$MICROWIN" >&6
22492 cat >>confdefs.h
<<\_ACEOF
22493 #define wxUSE_NANOX 1
22500 echo "$as_me:$LINENO: checking for Xpm library" >&5
22501 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22504 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22506 for ac_extension
in a so sl dylib
; do
22507 if test -f "$ac_dir/libXpm.$ac_extension"; then
22508 ac_find_libraries
=$ac_dir
22514 if test "$ac_find_libraries" != "" ; then
22516 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22518 if test $result = 0; then
22521 ac_path_to_link
=" -L$ac_find_libraries"
22524 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22526 cat >>confdefs.h
<<\_ACEOF
22527 #define wxHAVE_LIB_XPM 1
22530 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22531 echo "${ECHO_T}found at $ac_find_libraries" >&6
22533 cat >conftest.
$ac_ext <<_ACEOF
22534 #line $LINENO "configure"
22537 cat confdefs.h
>>conftest.
$ac_ext
22538 cat >>conftest.
$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22541 #include <X11/xpm.h>
22548 version = XpmLibraryVersion();
22554 rm -f conftest.
$ac_objext
22555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22556 (eval $ac_compile) 2>&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); } &&
22560 { ac_try
='test -s conftest.$ac_objext'
22561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22562 (eval $ac_try) 2>&5
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); }; }; then
22568 cat >>confdefs.h
<<\_ACEOF
22569 #define wxHAVE_LIB_XPM 1
22572 echo "$as_me:$LINENO: result: found in default search path" >&5
22573 echo "${ECHO_T}found in default search path" >&6
22574 COMPILED_X_PROGRAM
=0
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.
$ac_ext >&5
22581 echo "$as_me:$LINENO: result: no" >&5
22582 echo "${ECHO_T}no" >&6
22583 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22584 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22588 rm -f conftest.
$ac_objext conftest.
$ac_ext
22591 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22592 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22593 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22594 echo $ECHO_N "(cached) $ECHO_C" >&6
22596 ac_check_lib_save_LIBS
=$LIBS
22597 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22598 cat >conftest.
$ac_ext <<_ACEOF
22599 #line $LINENO "configure"
22602 cat confdefs.h
>>conftest.
$ac_ext
22603 cat >>conftest.
$ac_ext <<_ACEOF
22604 /* end confdefs.h. */
22606 /* Override any gcc2 internal prototype to avoid an error. */
22610 /* We use char because int might match the return type of a gcc2
22611 builtin and then its argument prototype would still apply. */
22612 char XShapeQueryExtension ();
22616 XShapeQueryExtension ();
22621 rm -f conftest.
$ac_objext conftest
$ac_exeext
22622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22623 (eval $ac_link) 2>&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } &&
22627 { ac_try
='test -s conftest$ac_exeext'
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
22633 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22635 echo "$as_me: failed program was:" >&5
22636 sed 's/^/| /' conftest.
$ac_ext >&5
22638 ac_cv_lib_Xext_XShapeQueryExtension
=no
22640 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22641 LIBS
=$ac_check_lib_save_LIBS
22643 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22644 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22645 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22647 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22653 if test "$wxUSE_UNICODE" = "yes"; then
22657 if test -z "$PKG_CONFIG"; then
22658 # Extract the first word of "pkg-config", so it can be a program name with args.
22659 set dummy pkg
-config; ac_word
=$2
22660 echo "$as_me:$LINENO: checking for $ac_word" >&5
22661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22662 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22663 echo $ECHO_N "(cached) $ECHO_C" >&6
22665 case $PKG_CONFIG in
22667 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22671 for as_dir
in $PATH
22674 test -z "$as_dir" && as_dir
=.
22675 for ac_exec_ext
in '' $ac_executable_extensions; do
22676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22677 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22684 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22688 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22690 if test -n "$PKG_CONFIG"; then
22691 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22692 echo "${ECHO_T}$PKG_CONFIG" >&6
22694 echo "$as_me:$LINENO: result: no" >&5
22695 echo "${ECHO_T}no" >&6
22700 if test "$PKG_CONFIG" = "no" ; then
22701 echo "*** The pkg-config script could not be found. Make sure it is"
22702 echo "*** in your path, or set the PKG_CONFIG environment variable"
22703 echo "*** to the full path to pkg-config."
22704 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22706 PKG_CONFIG_MIN_VERSION
=0.9.0
22707 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22708 echo "$as_me:$LINENO: checking for pangox" >&5
22709 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22711 if $PKG_CONFIG --exists "pangox" ; then
22712 echo "$as_me:$LINENO: result: yes" >&5
22713 echo "${ECHO_T}yes" >&6
22716 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22717 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22718 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22719 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22720 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22722 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22723 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22724 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22725 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22726 echo "${ECHO_T}$PANGOX_LIBS" >&6
22730 ## If we have a custom action on failure, don't print errors, but
22731 ## do set a variable so people can do so.
22732 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22739 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22740 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22744 if test $succeeded = yes; then
22746 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22747 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22751 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22752 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22753 { (exit 1); exit 1; }; }
22761 if test -z "$PKG_CONFIG"; then
22762 # Extract the first word of "pkg-config", so it can be a program name with args.
22763 set dummy pkg
-config; ac_word
=$2
22764 echo "$as_me:$LINENO: checking for $ac_word" >&5
22765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22766 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22769 case $PKG_CONFIG in
22771 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22775 for as_dir
in $PATH
22778 test -z "$as_dir" && as_dir
=.
22779 for ac_exec_ext
in '' $ac_executable_extensions; do
22780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22781 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22788 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22792 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22794 if test -n "$PKG_CONFIG"; then
22795 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22796 echo "${ECHO_T}$PKG_CONFIG" >&6
22798 echo "$as_me:$LINENO: result: no" >&5
22799 echo "${ECHO_T}no" >&6
22804 if test "$PKG_CONFIG" = "no" ; then
22805 echo "*** The pkg-config script could not be found. Make sure it is"
22806 echo "*** in your path, or set the PKG_CONFIG environment variable"
22807 echo "*** to the full path to pkg-config."
22808 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22810 PKG_CONFIG_MIN_VERSION
=0.9.0
22811 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22812 echo "$as_me:$LINENO: checking for pangoft2" >&5
22813 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22815 if $PKG_CONFIG --exists "pangoft2" ; then
22816 echo "$as_me:$LINENO: result: yes" >&5
22817 echo "${ECHO_T}yes" >&6
22820 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22821 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22822 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22823 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22824 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22826 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22827 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22828 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22829 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22830 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22834 ## If we have a custom action on failure, don't print errors, but
22835 ## do set a variable so people can do so.
22836 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22843 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22844 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22848 if test $succeeded = yes; then
22850 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22851 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22855 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22856 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22857 wxUSE_PRINTING_ARCHITECTURE
="no"
22865 if test -z "$PKG_CONFIG"; then
22866 # Extract the first word of "pkg-config", so it can be a program name with args.
22867 set dummy pkg
-config; ac_word
=$2
22868 echo "$as_me:$LINENO: checking for $ac_word" >&5
22869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22870 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22871 echo $ECHO_N "(cached) $ECHO_C" >&6
22873 case $PKG_CONFIG in
22875 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22879 for as_dir
in $PATH
22882 test -z "$as_dir" && as_dir
=.
22883 for ac_exec_ext
in '' $ac_executable_extensions; do
22884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22885 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22892 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22896 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22898 if test -n "$PKG_CONFIG"; then
22899 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22900 echo "${ECHO_T}$PKG_CONFIG" >&6
22902 echo "$as_me:$LINENO: result: no" >&5
22903 echo "${ECHO_T}no" >&6
22908 if test "$PKG_CONFIG" = "no" ; then
22909 echo "*** The pkg-config script could not be found. Make sure it is"
22910 echo "*** in your path, or set the PKG_CONFIG environment variable"
22911 echo "*** to the full path to pkg-config."
22912 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22914 PKG_CONFIG_MIN_VERSION
=0.9.0
22915 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22916 echo "$as_me:$LINENO: checking for pangoxft" >&5
22917 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22919 if $PKG_CONFIG --exists "pangoxft" ; then
22920 echo "$as_me:$LINENO: result: yes" >&5
22921 echo "${ECHO_T}yes" >&6
22924 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22925 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22926 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22927 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22928 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22930 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22931 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22932 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22933 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22934 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22938 ## If we have a custom action on failure, don't print errors, but
22939 ## do set a variable so people can do so.
22940 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22947 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22948 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22952 if test $succeeded = yes; then
22954 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22955 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22959 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22960 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22967 wxUSE_UNIVERSAL
="yes"
22969 if test "$wxUSE_NANOX" = "yes"; then
22970 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22971 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"
22972 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22974 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22977 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22982 if test "$wxUSE_MOTIF" = 1; then
22983 if test "$no_x" = yes; then
22984 # Not all programs may use this symbol, but it does not hurt to define it.
22986 cat >>confdefs.h
<<\_ACEOF
22987 #define X_DISPLAY_MISSING 1
22990 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22992 if test -n "$x_includes"; then
22993 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22996 # It would also be nice to do this for all -L options, not just this one.
22997 if test -n "$x_libraries"; then
22998 X_LIBS
="$X_LIBS -L$x_libraries"
22999 # For Solaris; some versions of Sun CC require a space after -R and
23000 # others require no space. Words are not sufficient . . . .
23001 case `(uname -sr) 2>/dev/null` in
23003 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23004 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23005 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23006 cat >conftest.
$ac_ext <<_ACEOF
23007 #line $LINENO "configure"
23010 cat confdefs.h
>>conftest.
$ac_ext
23011 cat >>conftest.
$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23022 rm -f conftest.
$ac_objext conftest
$ac_exeext
23023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23024 (eval $ac_link) 2>&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } &&
23028 { ac_try
='test -s conftest$ac_exeext'
23029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23030 (eval $ac_try) 2>&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); }; }; then
23036 echo "$as_me: failed program was:" >&5
23037 sed 's/^/| /' conftest.
$ac_ext >&5
23041 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23042 if test $ac_R_nospace = yes; then
23043 echo "$as_me:$LINENO: result: no" >&5
23044 echo "${ECHO_T}no" >&6
23045 X_LIBS
="$X_LIBS -R$x_libraries"
23047 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23048 cat >conftest.
$ac_ext <<_ACEOF
23049 #line $LINENO "configure"
23052 cat confdefs.h
>>conftest.
$ac_ext
23053 cat >>conftest.
$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23064 rm -f conftest.
$ac_objext conftest
$ac_exeext
23065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23066 (eval $ac_link) 2>&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } &&
23070 { ac_try
='test -s conftest$ac_exeext'
23071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23072 (eval $ac_try) 2>&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; }; then
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.
$ac_ext >&5
23083 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23084 if test $ac_R_space = yes; then
23085 echo "$as_me:$LINENO: result: yes" >&5
23086 echo "${ECHO_T}yes" >&6
23087 X_LIBS
="$X_LIBS -R $x_libraries"
23089 echo "$as_me:$LINENO: result: neither works" >&5
23090 echo "${ECHO_T}neither works" >&6
23093 LIBS
=$ac_xsave_LIBS
23097 # Check for system-dependent libraries X programs must link with.
23098 # Do this before checking for the system-independent R6 libraries
23099 # (-lICE), since we may need -lsocket or whatever for X linking.
23101 if test "$ISC" = yes; then
23102 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23104 # Martyn Johnson says this is needed for Ultrix, if the X
23105 # libraries were built with DECnet support. And Karl Berry says
23106 # the Alpha needs dnet_stub (dnet does not exist).
23107 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23108 cat >conftest.
$ac_ext <<_ACEOF
23109 #line $LINENO "configure"
23112 cat confdefs.h
>>conftest.
$ac_ext
23113 cat >>conftest.
$ac_ext <<_ACEOF
23114 /* end confdefs.h. */
23116 /* Override any gcc2 internal prototype to avoid an error. */
23120 /* We use char because int might match the return type of a gcc2
23121 builtin and then its argument prototype would still apply. */
23122 char XOpenDisplay ();
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
23148 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23149 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23150 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23151 echo $ECHO_N "(cached) $ECHO_C" >&6
23153 ac_check_lib_save_LIBS
=$LIBS
23154 LIBS
="-ldnet $LIBS"
23155 cat >conftest.
$ac_ext <<_ACEOF
23156 #line $LINENO "configure"
23159 cat confdefs.h
>>conftest.
$ac_ext
23160 cat >>conftest.
$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23163 /* Override any gcc2 internal prototype to avoid an error. */
23167 /* We use char because int might match the return type of a gcc2
23168 builtin and then its argument prototype would still apply. */
23178 rm -f conftest.
$ac_objext conftest
$ac_exeext
23179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23180 (eval $ac_link) 2>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); } &&
23184 { ac_try
='test -s conftest$ac_exeext'
23185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23186 (eval $ac_try) 2>&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); }; }; then
23190 ac_cv_lib_dnet_dnet_ntoa
=yes
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.
$ac_ext >&5
23195 ac_cv_lib_dnet_dnet_ntoa
=no
23197 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23198 LIBS
=$ac_check_lib_save_LIBS
23200 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23201 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23202 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23203 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23206 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23207 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23208 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23209 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23210 echo $ECHO_N "(cached) $ECHO_C" >&6
23212 ac_check_lib_save_LIBS
=$LIBS
23213 LIBS
="-ldnet_stub $LIBS"
23214 cat >conftest.
$ac_ext <<_ACEOF
23215 #line $LINENO "configure"
23218 cat confdefs.h
>>conftest.
$ac_ext
23219 cat >>conftest.
$ac_ext <<_ACEOF
23220 /* end confdefs.h. */
23222 /* Override any gcc2 internal prototype to avoid an error. */
23226 /* We use char because int might match the return type of a gcc2
23227 builtin and then its argument prototype would still apply. */
23237 rm -f conftest.
$ac_objext conftest
$ac_exeext
23238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23239 (eval $ac_link) 2>&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } &&
23243 { ac_try
='test -s conftest$ac_exeext'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; }; then
23249 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.
$ac_ext >&5
23254 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23256 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23257 LIBS
=$ac_check_lib_save_LIBS
23259 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23260 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23261 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23262 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23267 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23268 LIBS
="$ac_xsave_LIBS"
23270 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23271 # to get the SysV transport functions.
23272 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23274 # The nsl library prevents programs from opening the X display
23275 # on Irix 5.2, according to T.E. Dickey.
23276 # The functions gethostbyname, getservbyname, and inet_addr are
23277 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23278 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23279 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23280 if test "${ac_cv_func_gethostbyname+set}" = set; then
23281 echo $ECHO_N "(cached) $ECHO_C" >&6
23283 cat >conftest.
$ac_ext <<_ACEOF
23284 #line $LINENO "configure"
23287 cat confdefs.h
>>conftest.
$ac_ext
23288 cat >>conftest.
$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290 /* System header to define __stub macros and hopefully few prototypes,
23291 which can conflict with char gethostbyname (); below.
23292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23293 <limits.h> exists even on freestanding compilers. */
23295 # include <limits.h>
23297 # include <assert.h>
23299 /* Override any gcc2 internal prototype to avoid an error. */
23304 /* We use char because int might match the return type of a gcc2
23305 builtin and then its argument prototype would still apply. */
23306 char gethostbyname ();
23307 /* The GNU C library defines this for functions which it implements
23308 to always fail with ENOSYS. Some functions are actually named
23309 something starting with __ and the normal name is an alias. */
23310 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23313 char (*f) () = gethostbyname;
23322 return f != gethostbyname;
23327 rm -f conftest.
$ac_objext conftest
$ac_exeext
23328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23329 (eval $ac_link) 2>&5
23331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23332 (exit $ac_status); } &&
23333 { ac_try
='test -s conftest$ac_exeext'
23334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23335 (eval $ac_try) 2>&5
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); }; }; then
23339 ac_cv_func_gethostbyname
=yes
23341 echo "$as_me: failed program was:" >&5
23342 sed 's/^/| /' conftest.
$ac_ext >&5
23344 ac_cv_func_gethostbyname
=no
23346 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23348 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23349 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23351 if test $ac_cv_func_gethostbyname = no
; then
23352 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23353 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23354 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23355 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 ac_check_lib_save_LIBS
=$LIBS
23359 cat >conftest.
$ac_ext <<_ACEOF
23360 #line $LINENO "configure"
23363 cat confdefs.h
>>conftest.
$ac_ext
23364 cat >>conftest.
$ac_ext <<_ACEOF
23365 /* end confdefs.h. */
23367 /* 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 ();
23382 rm -f conftest.
$ac_objext conftest
$ac_exeext
23383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23384 (eval $ac_link) 2>&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } &&
23388 { ac_try
='test -s conftest$ac_exeext'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; }; then
23394 ac_cv_lib_nsl_gethostbyname
=yes
23396 echo "$as_me: failed program was:" >&5
23397 sed 's/^/| /' conftest.
$ac_ext >&5
23399 ac_cv_lib_nsl_gethostbyname
=no
23401 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23402 LIBS
=$ac_check_lib_save_LIBS
23404 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23405 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23406 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23407 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23410 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23411 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23412 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23413 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23414 echo $ECHO_N "(cached) $ECHO_C" >&6
23416 ac_check_lib_save_LIBS
=$LIBS
23418 cat >conftest.
$ac_ext <<_ACEOF
23419 #line $LINENO "configure"
23422 cat confdefs.h
>>conftest.
$ac_ext
23423 cat >>conftest.
$ac_ext <<_ACEOF
23424 /* end confdefs.h. */
23426 /* Override any gcc2 internal prototype to avoid an error. */
23430 /* We use char because int might match the return type of a gcc2
23431 builtin and then its argument prototype would still apply. */
23432 char gethostbyname ();
23441 rm -f conftest.
$ac_objext conftest
$ac_exeext
23442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23443 (eval $ac_link) 2>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); } &&
23447 { ac_try
='test -s conftest$ac_exeext'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; }; then
23453 ac_cv_lib_bsd_gethostbyname
=yes
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.
$ac_ext >&5
23458 ac_cv_lib_bsd_gethostbyname
=no
23460 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23461 LIBS
=$ac_check_lib_save_LIBS
23463 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23464 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23465 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23466 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23472 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23473 # socket/setsockopt and other routines are undefined under SCO ODT
23474 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23475 # on later versions), says Simon Leinen: it contains gethostby*
23476 # variants that don't use the name server (or something). -lsocket
23477 # must be given before -lnsl if both are needed. We assume that
23478 # if connect needs -lnsl, so does gethostbyname.
23479 echo "$as_me:$LINENO: checking for connect" >&5
23480 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23481 if test "${ac_cv_func_connect+set}" = set; then
23482 echo $ECHO_N "(cached) $ECHO_C" >&6
23484 cat >conftest.
$ac_ext <<_ACEOF
23485 #line $LINENO "configure"
23488 cat confdefs.h
>>conftest.
$ac_ext
23489 cat >>conftest.
$ac_ext <<_ACEOF
23490 /* end confdefs.h. */
23491 /* System header to define __stub macros and hopefully few prototypes,
23492 which can conflict with char connect (); below.
23493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23494 <limits.h> exists even on freestanding compilers. */
23496 # include <limits.h>
23498 # include <assert.h>
23500 /* Override any gcc2 internal prototype to avoid an error. */
23505 /* We use char because int might match the return type of a gcc2
23506 builtin and then its argument prototype would still apply. */
23508 /* The GNU C library defines this for functions which it implements
23509 to always fail with ENOSYS. Some functions are actually named
23510 something starting with __ and the normal name is an alias. */
23511 #if defined (__stub_connect) || defined (__stub___connect)
23514 char (*f) () = connect;
23523 return f != connect;
23528 rm -f conftest.
$ac_objext conftest
$ac_exeext
23529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23530 (eval $ac_link) 2>&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); } &&
23534 { ac_try
='test -s conftest$ac_exeext'
23535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23536 (eval $ac_try) 2>&5
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); }; }; then
23540 ac_cv_func_connect
=yes
23542 echo "$as_me: failed program was:" >&5
23543 sed 's/^/| /' conftest.
$ac_ext >&5
23545 ac_cv_func_connect
=no
23547 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23549 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23550 echo "${ECHO_T}$ac_cv_func_connect" >&6
23552 if test $ac_cv_func_connect = no
; then
23553 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23554 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23555 if test "${ac_cv_lib_socket_connect+set}" = set; then
23556 echo $ECHO_N "(cached) $ECHO_C" >&6
23558 ac_check_lib_save_LIBS
=$LIBS
23559 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23560 cat >conftest.
$ac_ext <<_ACEOF
23561 #line $LINENO "configure"
23564 cat confdefs.h
>>conftest.
$ac_ext
23565 cat >>conftest.
$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23568 /* 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. */
23583 rm -f conftest.
$ac_objext conftest
$ac_exeext
23584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23585 (eval $ac_link) 2>&5
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); } &&
23589 { ac_try
='test -s conftest$ac_exeext'
23590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23591 (eval $ac_try) 2>&5
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; }; then
23595 ac_cv_lib_socket_connect
=yes
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.
$ac_ext >&5
23600 ac_cv_lib_socket_connect
=no
23602 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23603 LIBS
=$ac_check_lib_save_LIBS
23605 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23607 if test $ac_cv_lib_socket_connect = yes; then
23608 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23613 # Guillermo Gomez says -lposix is necessary on A/UX.
23614 echo "$as_me:$LINENO: checking for remove" >&5
23615 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23616 if test "${ac_cv_func_remove+set}" = set; then
23617 echo $ECHO_N "(cached) $ECHO_C" >&6
23619 cat >conftest.
$ac_ext <<_ACEOF
23620 #line $LINENO "configure"
23623 cat confdefs.h
>>conftest.
$ac_ext
23624 cat >>conftest.
$ac_ext <<_ACEOF
23625 /* end confdefs.h. */
23626 /* System header to define __stub macros and hopefully few prototypes,
23627 which can conflict with char remove (); below.
23628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23629 <limits.h> exists even on freestanding compilers. */
23631 # include <limits.h>
23633 # include <assert.h>
23635 /* Override any gcc2 internal prototype to avoid an error. */
23640 /* We use char because int might match the return type of a gcc2
23641 builtin and then its argument prototype would still apply. */
23643 /* The GNU C library defines this for functions which it implements
23644 to always fail with ENOSYS. Some functions are actually named
23645 something starting with __ and the normal name is an alias. */
23646 #if defined (__stub_remove) || defined (__stub___remove)
23649 char (*f) () = remove;
23658 return f != remove;
23663 rm -f conftest.
$ac_objext conftest
$ac_exeext
23664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23665 (eval $ac_link) 2>&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } &&
23669 { ac_try
='test -s conftest$ac_exeext'
23670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23671 (eval $ac_try) 2>&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); }; }; then
23675 ac_cv_func_remove
=yes
23677 echo "$as_me: failed program was:" >&5
23678 sed 's/^/| /' conftest.
$ac_ext >&5
23680 ac_cv_func_remove
=no
23682 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23684 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23685 echo "${ECHO_T}$ac_cv_func_remove" >&6
23687 if test $ac_cv_func_remove = no
; then
23688 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23689 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23690 if test "${ac_cv_lib_posix_remove+set}" = set; then
23691 echo $ECHO_N "(cached) $ECHO_C" >&6
23693 ac_check_lib_save_LIBS
=$LIBS
23694 LIBS
="-lposix $LIBS"
23695 cat >conftest.
$ac_ext <<_ACEOF
23696 #line $LINENO "configure"
23699 cat confdefs.h
>>conftest.
$ac_ext
23700 cat >>conftest.
$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23703 /* 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. */
23718 rm -f conftest.
$ac_objext conftest
$ac_exeext
23719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23720 (eval $ac_link) 2>&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } &&
23724 { ac_try
='test -s conftest$ac_exeext'
23725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23726 (eval $ac_try) 2>&5
23728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23729 (exit $ac_status); }; }; then
23730 ac_cv_lib_posix_remove
=yes
23732 echo "$as_me: failed program was:" >&5
23733 sed 's/^/| /' conftest.
$ac_ext >&5
23735 ac_cv_lib_posix_remove
=no
23737 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23738 LIBS
=$ac_check_lib_save_LIBS
23740 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23741 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23742 if test $ac_cv_lib_posix_remove = yes; then
23743 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23748 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23749 echo "$as_me:$LINENO: checking for shmat" >&5
23750 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23751 if test "${ac_cv_func_shmat+set}" = set; then
23752 echo $ECHO_N "(cached) $ECHO_C" >&6
23754 cat >conftest.
$ac_ext <<_ACEOF
23755 #line $LINENO "configure"
23758 cat confdefs.h
>>conftest.
$ac_ext
23759 cat >>conftest.
$ac_ext <<_ACEOF
23760 /* end confdefs.h. */
23761 /* System header to define __stub macros and hopefully few prototypes,
23762 which can conflict with char shmat (); below.
23763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23764 <limits.h> exists even on freestanding compilers. */
23766 # include <limits.h>
23768 # include <assert.h>
23770 /* Override any gcc2 internal prototype to avoid an error. */
23775 /* We use char because int might match the return type of a gcc2
23776 builtin and then its argument prototype would still apply. */
23778 /* The GNU C library defines this for functions which it implements
23779 to always fail with ENOSYS. Some functions are actually named
23780 something starting with __ and the normal name is an alias. */
23781 #if defined (__stub_shmat) || defined (__stub___shmat)
23784 char (*f) () = shmat;
23798 rm -f conftest.
$ac_objext conftest
$ac_exeext
23799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23800 (eval $ac_link) 2>&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } &&
23804 { ac_try
='test -s conftest$ac_exeext'
23805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23806 (eval $ac_try) 2>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; }; then
23810 ac_cv_func_shmat
=yes
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.
$ac_ext >&5
23815 ac_cv_func_shmat
=no
23817 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23819 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23820 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23822 if test $ac_cv_func_shmat = no
; then
23823 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23824 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23825 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23826 echo $ECHO_N "(cached) $ECHO_C" >&6
23828 ac_check_lib_save_LIBS
=$LIBS
23830 cat >conftest.
$ac_ext <<_ACEOF
23831 #line $LINENO "configure"
23834 cat confdefs.h
>>conftest.
$ac_ext
23835 cat >>conftest.
$ac_ext <<_ACEOF
23836 /* end confdefs.h. */
23838 /* 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. */
23853 rm -f conftest.
$ac_objext conftest
$ac_exeext
23854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23855 (eval $ac_link) 2>&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try
='test -s conftest$ac_exeext'
23860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861 (eval $ac_try) 2>&5
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); }; }; then
23865 ac_cv_lib_ipc_shmat
=yes
23867 echo "$as_me: failed program was:" >&5
23868 sed 's/^/| /' conftest.
$ac_ext >&5
23870 ac_cv_lib_ipc_shmat
=no
23872 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23873 LIBS
=$ac_check_lib_save_LIBS
23875 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23876 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23877 if test $ac_cv_lib_ipc_shmat = yes; then
23878 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23884 # Check for libraries that X11R6 Xt/Xaw programs need.
23885 ac_save_LDFLAGS
=$LDFLAGS
23886 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23887 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23888 # check for ICE first), but we must link in the order -lSM -lICE or
23889 # we get undefined symbols. So assume we have SM if we have ICE.
23890 # These have to be linked with before -lX11, unlike the other
23891 # libraries we check for below, so use a different variable.
23892 # John Interrante, Karl Berry
23893 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23894 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23895 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23896 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 ac_check_lib_save_LIBS
=$LIBS
23899 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23900 cat >conftest.
$ac_ext <<_ACEOF
23901 #line $LINENO "configure"
23904 cat confdefs.h
>>conftest.
$ac_ext
23905 cat >>conftest.
$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23908 /* Override any gcc2 internal prototype to avoid an error. */
23912 /* We use char because int might match the return type of a gcc2
23913 builtin and then its argument prototype would still apply. */
23914 char IceConnectionNumber ();
23918 IceConnectionNumber ();
23923 rm -f conftest.
$ac_objext conftest
$ac_exeext
23924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23925 (eval $ac_link) 2>&5
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); } &&
23929 { ac_try
='test -s conftest$ac_exeext'
23930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931 (eval $ac_try) 2>&5
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; }; then
23935 ac_cv_lib_ICE_IceConnectionNumber
=yes
23937 echo "$as_me: failed program was:" >&5
23938 sed 's/^/| /' conftest.
$ac_ext >&5
23940 ac_cv_lib_ICE_IceConnectionNumber
=no
23942 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23943 LIBS
=$ac_check_lib_save_LIBS
23945 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23946 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23947 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23948 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23951 LDFLAGS
=$ac_save_LDFLAGS
23956 if test "$no_x" = "yes"; then
23957 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23958 echo "$as_me: error: X11 not found" >&2;}
23959 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23962 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23963 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23964 AFMINSTALL
=afminstall
23965 COMPILED_X_PROGRAM
=0
23967 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23968 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23971 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23973 if test -f "$ac_dir/Xm/Xm.h"; then
23974 ac_find_includes
=$ac_dir
23979 if test "$ac_find_includes" != "" ; then
23980 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23981 echo "${ECHO_T}found in $ac_find_includes" >&6
23983 if test "x$ac_find_includes" = "x/usr/include"; then
23984 ac_path_to_include
=""
23986 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23988 if test $result = 0; then
23989 ac_path_to_include
=""
23991 ac_path_to_include
=" -I$ac_find_includes"
23995 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23997 cat >conftest.
$ac_ext <<_ACEOF
23998 #line $LINENO "configure"
24001 cat confdefs.h
>>conftest.
$ac_ext
24002 cat >>conftest.
$ac_ext <<_ACEOF
24003 /* end confdefs.h. */
24012 version = xmUseVersion;
24018 rm -f conftest.
$ac_objext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020 (eval $ac_compile) 2>&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); } &&
24024 { ac_try
='test -s conftest.$ac_objext'
24025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24026 (eval $ac_try) 2>&5
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); }; }; then
24031 echo "$as_me:$LINENO: result: found in default search path" >&5
24032 echo "${ECHO_T}found in default search path" >&6
24033 COMPILED_X_PROGRAM
=1
24036 echo "$as_me: failed program was:" >&5
24037 sed 's/^/| /' conftest.
$ac_ext >&5
24040 echo "$as_me:$LINENO: result: no" >&5
24041 echo "${ECHO_T}no" >&6
24042 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24043 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24044 { (exit 1); exit 1; }; }
24048 rm -f conftest.
$ac_objext conftest.
$ac_ext
24051 if test "$COMPILED_X_PROGRAM" = 0; then
24052 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24053 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24056 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24058 for ac_extension
in a so sl dylib
; do
24059 if test -f "$ac_dir/libXm.$ac_extension"; then
24060 ac_find_libraries
=$ac_dir
24066 if test "$ac_find_libraries" != "" ; then
24067 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24068 echo "${ECHO_T}found at $ac_find_libraries" >&6
24071 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24073 if test $result = 0; then
24076 ac_path_to_link
=" -L$ac_find_libraries"
24079 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24081 save_CFLAGS
=$CFLAGS
24082 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24084 cat >conftest.
$ac_ext <<_ACEOF
24085 #line $LINENO "configure"
24088 cat confdefs.h
>>conftest.
$ac_ext
24089 cat >>conftest.
$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24099 version = xmUseVersion;
24105 rm -f conftest.
$ac_objext
24106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24107 (eval $ac_compile) 2>&5
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); } &&
24111 { ac_try
='test -s conftest.$ac_objext'
24112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24113 (eval $ac_try) 2>&5
24115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24116 (exit $ac_status); }; }; then
24118 echo "$as_me:$LINENO: result: found in default search path" >&5
24119 echo "${ECHO_T}found in default search path" >&6
24120 COMPILED_X_PROGRAM
=1
24123 echo "$as_me: failed program was:" >&5
24124 sed 's/^/| /' conftest.
$ac_ext >&5
24127 echo "$as_me:$LINENO: result: no" >&5
24128 echo "${ECHO_T}no" >&6
24129 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24130 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24131 { (exit 1); exit 1; }; }
24135 rm -f conftest.
$ac_objext conftest.
$ac_ext
24137 CFLAGS
=$save_CFLAGS
24142 echo "$as_me:$LINENO: checking for Xpm library" >&5
24143 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24146 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24148 for ac_extension
in a so sl dylib
; do
24149 if test -f "$ac_dir/libXpm.$ac_extension"; then
24150 ac_find_libraries
=$ac_dir
24156 if test "$ac_find_libraries" != "" ; then
24158 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24160 if test $result = 0; then
24163 ac_path_to_link
=" -L$ac_find_libraries"
24166 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24169 cat >>confdefs.h
<<\_ACEOF
24170 #define wxHAVE_LIB_XPM 1
24173 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24174 echo "${ECHO_T}found at $ac_find_libraries" >&6
24176 save_CFLAGS
=$CFLAGS
24177 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24179 cat >conftest.
$ac_ext <<_ACEOF
24180 #line $LINENO "configure"
24183 cat confdefs.h
>>conftest.
$ac_ext
24184 cat >>conftest.
$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24187 #include <X11/xpm.h>
24194 version = XpmLibraryVersion();
24200 rm -f conftest.
$ac_objext
24201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24202 (eval $ac_compile) 2>&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } &&
24206 { ac_try
='test -s conftest.$ac_objext'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; }; then
24214 cat >>confdefs.h
<<\_ACEOF
24215 #define wxHAVE_LIB_XPM 1
24218 echo "$as_me:$LINENO: result: found in default search path" >&5
24219 echo "${ECHO_T}found in default search path" >&6
24220 COMPILED_X_PROGRAM
=0
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.
$ac_ext >&5
24227 echo "$as_me:$LINENO: result: no" >&5
24228 echo "${ECHO_T}no" >&6
24229 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24230 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24234 rm -f conftest.
$ac_objext conftest.
$ac_ext
24236 CFLAGS
=$save_CFLAGS
24239 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24240 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24244 for libp
in "" " -lXp"; do
24245 if test "$libs_found" = "0"; then
24246 for libsm_ice
in " -lSM -lICE"; do
24247 if test "$libs_found" = "0"; then
24249 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24250 save_CFLAGS
=$CFLAGS
24251 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24253 cat >conftest.
$ac_ext <<_ACEOF
24254 #line $LINENO "configure"
24257 cat confdefs.h
>>conftest.
$ac_ext
24258 cat >>conftest.
$ac_ext <<_ACEOF
24259 /* end confdefs.h. */
24262 #include <Xm/List.h>
24268 XmString string = NULL;
24271 XmListAddItem(w, string, position);
24277 rm -f conftest.
$ac_objext conftest
$ac_exeext
24278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24279 (eval $ac_link) 2>&5
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); } &&
24283 { ac_try
='test -s conftest$ac_exeext'
24284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24285 (eval $ac_try) 2>&5
24287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288 (exit $ac_status); }; }; then
24291 libsm_ice_link
="$libsm_ice"
24292 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24293 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.
$ac_ext >&5
24303 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24306 CFLAGS
=$save_CFLAGS
24312 if test "$libs_found" = "0"; then
24313 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24314 echo "${ECHO_T}can't find the right libraries" >&6
24315 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24316 echo "$as_me: error: can't link a simple motif program" >&2;}
24317 { (exit 1); exit 1; }; }
24320 save_CFLAGS
=$CFLAGS
24321 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24322 echo "$as_me:$LINENO: checking for Motif 2" >&5
24323 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24324 cat >conftest.
$ac_ext <<_ACEOF
24325 #line $LINENO "configure"
24328 cat confdefs.h
>>conftest.
$ac_ext
24329 cat >>conftest.
$ac_ext <<_ACEOF
24330 /* end confdefs.h. */
24338 #if XmVersion < 2000
24339 #error "Not Motif 2"
24346 rm -f conftest.
$ac_objext
24347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24348 (eval $ac_compile) 2>&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } &&
24352 { ac_try
='test -s conftest.$ac_objext'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; }; then
24359 cat >>confdefs.h
<<\_ACEOF
24360 #define __WXMOTIF20__ 1
24363 echo "$as_me:$LINENO: result: found" >&5
24364 echo "${ECHO_T}found" >&6
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.
$ac_ext >&5
24371 cat >>confdefs.h
<<\_ACEOF
24372 #define __WXMOTIF20__ 0
24375 echo "$as_me:$LINENO: result: not found" >&5
24376 echo "${ECHO_T}not found" >&6
24379 rm -f conftest.
$ac_objext conftest.
$ac_ext
24380 CFLAGS
=$save_CFLAGS
24382 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24383 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24389 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24390 test "$wxHAVE_XEXT_LIB" = 1; then
24391 save_CFLAGS
="$CFLAGS"
24392 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24394 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24395 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24396 cat >conftest.
$ac_ext <<_ACEOF
24397 #line $LINENO "configure"
24400 cat confdefs.h
>>conftest.
$ac_ext
24401 cat >>conftest.
$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24404 #include <X11/Xlib.h>
24405 #include <X11/extensions/shape.h>
24411 int dummy1, dummy2;
24412 XShapeQueryExtension((Display*)NULL,
24413 (int*)NULL, (int*)NULL);
24419 rm -f conftest.
$ac_objext
24420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24421 (eval $ac_compile) 2>&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } &&
24425 { ac_try
='test -s conftest.$ac_objext'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; }; then
24432 cat >>confdefs.h
<<\_ACEOF
24433 #define HAVE_XSHAPE 1
24436 echo "$as_me:$LINENO: result: found" >&5
24437 echo "${ECHO_T}found" >&6
24440 echo "$as_me: failed program was:" >&5
24441 sed 's/^/| /' conftest.
$ac_ext >&5
24444 echo "$as_me:$LINENO: result: not found" >&5
24445 echo "${ECHO_T}not found" >&6
24448 rm -f conftest.
$ac_objext conftest.
$ac_ext
24449 CFLAGS
="$save_CFLAGS"
24452 if test "$wxUSE_MAC" = 1; then
24453 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24455 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24458 WXBASEPORT
="_carbon"
24461 if test "$wxUSE_COCOA" = 1; then
24462 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24467 if test "$wxUSE_PM" = 1; then
24470 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24471 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24475 if test "$TOOLKIT" = "PM" ; then
24478 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24481 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24483 if test "$wxUSE_UNIVERSAL" = "yes"; then
24484 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24486 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24487 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24489 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24490 if test "$wxUSE_X11" = 1; then
24491 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24493 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24495 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24498 ALL_OBJECTS
="\$(GUIOBJS)"
24499 ALL_SOURCES
="\$(ALL_SOURCES)"
24500 ALL_HEADERS
="\$(ALL_HEADERS)"
24503 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24505 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24506 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24509 if test "$wxUSE_HTML" = "yes"; then
24510 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24513 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24514 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24516 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24517 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24519 if test "$wxUSE_LIBPNG" = "builtin" ; then
24520 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24523 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24524 DISTDIR
="wx\$(TOOLKIT)"
24530 if test "$USE_WIN32" = 1 ; then
24531 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24532 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24536 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24537 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24540 ALL_SOURCES
="\$(ALL_SOURCES)"
24541 ALL_HEADERS
="\$(ALL_HEADERS)"
24543 PORT_FILES
="\${top_srcdir}/src/files.lst"
24545 GUIDIST
="BASE_DIST"
24555 if test "$TOOLKIT" != "MSW" ; then
24557 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24559 if test "${ac_cv_header_sql_h+set}" = set; then
24560 echo "$as_me:$LINENO: checking for sql.h" >&5
24561 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24562 if test "${ac_cv_header_sql_h+set}" = set; then
24563 echo $ECHO_N "(cached) $ECHO_C" >&6
24565 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24566 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24568 # Is the header compilable?
24569 echo "$as_me:$LINENO: checking sql.h usability" >&5
24570 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24571 cat >conftest.
$ac_ext <<_ACEOF
24572 #line $LINENO "configure"
24575 cat confdefs.h
>>conftest.
$ac_ext
24576 cat >>conftest.
$ac_ext <<_ACEOF
24577 /* end confdefs.h. */
24578 $ac_includes_default
24581 rm -f conftest.
$ac_objext
24582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24583 (eval $ac_compile) 2>&5
24585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586 (exit $ac_status); } &&
24587 { ac_try
='test -s conftest.$ac_objext'
24588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24589 (eval $ac_try) 2>&5
24591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24592 (exit $ac_status); }; }; then
24593 ac_header_compiler
=yes
24595 echo "$as_me: failed program was:" >&5
24596 sed 's/^/| /' conftest.
$ac_ext >&5
24598 ac_header_compiler
=no
24600 rm -f conftest.
$ac_objext conftest.
$ac_ext
24601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24602 echo "${ECHO_T}$ac_header_compiler" >&6
24604 # Is the header present?
24605 echo "$as_me:$LINENO: checking sql.h presence" >&5
24606 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24607 cat >conftest.
$ac_ext <<_ACEOF
24608 #line $LINENO "configure"
24611 cat confdefs.h
>>conftest.
$ac_ext
24612 cat >>conftest.
$ac_ext <<_ACEOF
24613 /* end confdefs.h. */
24616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24617 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24619 grep -v '^ *+' conftest.er1
>conftest.err
24621 cat conftest.err
>&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); } >/dev
/null
; then
24624 if test -s conftest.err
; then
24625 ac_cpp_err
=$ac_c_preproc_warn_flag
24632 if test -z "$ac_cpp_err"; then
24633 ac_header_preproc
=yes
24635 echo "$as_me: failed program was:" >&5
24636 sed 's/^/| /' conftest.
$ac_ext >&5
24638 ac_header_preproc
=no
24640 rm -f conftest.err conftest.
$ac_ext
24641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24642 echo "${ECHO_T}$ac_header_preproc" >&6
24644 # So? What about this header?
24645 case $ac_header_compiler:$ac_header_preproc in
24647 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24648 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24649 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24650 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24653 ## ------------------------------------ ##
24654 ## Report this to bug-autoconf@gnu.org. ##
24655 ## ------------------------------------ ##
24658 sed "s/^/$as_me: WARNING: /" >&2
24661 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24662 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24663 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24664 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24665 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24666 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24669 ## ------------------------------------ ##
24670 ## Report this to bug-autoconf@gnu.org. ##
24671 ## ------------------------------------ ##
24674 sed "s/^/$as_me: WARNING: /" >&2
24677 echo "$as_me:$LINENO: checking for sql.h" >&5
24678 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24679 if test "${ac_cv_header_sql_h+set}" = set; then
24680 echo $ECHO_N "(cached) $ECHO_C" >&6
24682 ac_cv_header_sql_h
=$ac_header_preproc
24684 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24685 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24688 if test $ac_cv_header_sql_h = yes; then
24693 if test "x$found_sql_h" = "x1" ; then
24694 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24695 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24696 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24697 echo $ECHO_N "(cached) $ECHO_C" >&6
24699 ac_check_lib_save_LIBS
=$LIBS
24700 LIBS
="-lSQLAllocEnv $LIBS"
24701 cat >conftest.
$ac_ext <<_ACEOF
24702 #line $LINENO "configure"
24705 cat confdefs.h
>>conftest.
$ac_ext
24706 cat >>conftest.
$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24709 /* Override any gcc2 internal prototype to avoid an error. */
24713 /* We use char because int might match the return type of a gcc2
24714 builtin and then its argument prototype would still apply. */
24724 rm -f conftest.
$ac_objext conftest
$ac_exeext
24725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24726 (eval $ac_link) 2>&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } &&
24730 { ac_try
='test -s conftest$ac_exeext'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; }; then
24736 ac_cv_lib_SQLAllocEnv_iodbc
=yes
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.
$ac_ext >&5
24741 ac_cv_lib_SQLAllocEnv_iodbc
=no
24743 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24744 LIBS
=$ac_check_lib_save_LIBS
24746 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24747 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24748 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24749 ODBC_LINK
=" -liodbc"
24752 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24753 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24754 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24757 ac_check_lib_save_LIBS
=$LIBS
24758 LIBS
="-lSQLAllocEnv $LIBS"
24759 cat >conftest.
$ac_ext <<_ACEOF
24760 #line $LINENO "configure"
24763 cat confdefs.h
>>conftest.
$ac_ext
24764 cat >>conftest.
$ac_ext <<_ACEOF
24765 /* end confdefs.h. */
24767 /* Override any gcc2 internal prototype to avoid an error. */
24771 /* We use char because int might match the return type of a gcc2
24772 builtin and then its argument prototype would still apply. */
24782 rm -f conftest.
$ac_objext conftest
$ac_exeext
24783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24784 (eval $ac_link) 2>&5
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); } &&
24788 { ac_try
='test -s conftest$ac_exeext'
24789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24790 (eval $ac_try) 2>&5
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); }; }; then
24794 ac_cv_lib_SQLAllocEnv_unixodbc
=yes
24796 echo "$as_me: failed program was:" >&5
24797 sed 's/^/| /' conftest.
$ac_ext >&5
24799 ac_cv_lib_SQLAllocEnv_unixodbc
=no
24801 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24802 LIBS
=$ac_check_lib_save_LIBS
24804 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24805 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24806 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24807 ODBC_LINK
=" -lunixodbc"
24810 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24811 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24812 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24813 echo $ECHO_N "(cached) $ECHO_C" >&6
24815 ac_check_lib_save_LIBS
=$LIBS
24816 LIBS
="-lSQLAllocEnv $LIBS"
24817 cat >conftest.
$ac_ext <<_ACEOF
24818 #line $LINENO "configure"
24821 cat confdefs.h
>>conftest.
$ac_ext
24822 cat >>conftest.
$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24825 /* Override any gcc2 internal prototype to avoid an error. */
24829 /* We use char because int might match the return type of a gcc2
24830 builtin and then its argument prototype would still apply. */
24840 rm -f conftest.
$ac_objext conftest
$ac_exeext
24841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24842 (eval $ac_link) 2>&5
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); } &&
24846 { ac_try
='test -s conftest$ac_exeext'
24847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24848 (eval $ac_try) 2>&5
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); }; }; then
24852 ac_cv_lib_SQLAllocEnv_odbc
=yes
24854 echo "$as_me: failed program was:" >&5
24855 sed 's/^/| /' conftest.
$ac_ext >&5
24857 ac_cv_lib_SQLAllocEnv_odbc
=no
24859 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24860 LIBS
=$ac_check_lib_save_LIBS
24862 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24863 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24864 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24865 ODBC_LINK
=" -lodbc"
24875 if test "x$ODBC_LINK" = "x" ; then
24876 if test "$wxUSE_ODBC" = "sys" ; then
24877 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24878 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24879 { (exit 1); exit 1; }; }
24881 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24882 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24889 if test "$wxUSE_ODBC" != "no" ; then
24890 cat >>confdefs.h
<<\_ACEOF
24891 #define wxUSE_ODBC 1
24894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24896 WXODBCFLAG
="-D_IODBC_"
24900 if test "$wxUSE_REGEX" = "builtin" ; then
24901 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24903 if test "$wxUSE_ZLIB" = "builtin" ; then
24904 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24909 if test "$wxUSE_OPENGL" = "yes"; then
24910 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24911 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24912 elif test "$wxUSE_MSW" = 1; then
24913 OPENGL_LIBS
="-lopengl32 -lglu32"
24918 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24920 if test -f "$ac_dir/GL/gl.h"; then
24921 ac_find_includes
=$ac_dir
24926 if test "$ac_find_includes" != "" ; then
24927 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24928 echo "${ECHO_T}found in $ac_find_includes" >&6
24930 if test "x$ac_find_includes" = "x/usr/include"; then
24931 ac_path_to_include
=""
24933 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24935 if test $result = 0; then
24936 ac_path_to_include
=""
24938 ac_path_to_include
=" -I$ac_find_includes"
24942 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24945 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24946 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24947 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24948 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24952 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24954 # Is the header compilable?
24955 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24956 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24957 cat >conftest.
$ac_ext <<_ACEOF
24958 #line $LINENO "configure"
24961 cat confdefs.h
>>conftest.
$ac_ext
24962 cat >>conftest.
$ac_ext <<_ACEOF
24963 /* end confdefs.h. */
24964 $ac_includes_default
24967 rm -f conftest.
$ac_objext
24968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24969 (eval $ac_compile) 2>&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } &&
24973 { ac_try
='test -s conftest.$ac_objext'
24974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24975 (eval $ac_try) 2>&5
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); }; }; then
24979 ac_header_compiler
=yes
24981 echo "$as_me: failed program was:" >&5
24982 sed 's/^/| /' conftest.
$ac_ext >&5
24984 ac_header_compiler
=no
24986 rm -f conftest.
$ac_objext conftest.
$ac_ext
24987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24988 echo "${ECHO_T}$ac_header_compiler" >&6
24990 # Is the header present?
24991 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24992 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24993 cat >conftest.
$ac_ext <<_ACEOF
24994 #line $LINENO "configure"
24997 cat confdefs.h
>>conftest.
$ac_ext
24998 cat >>conftest.
$ac_ext <<_ACEOF
24999 /* end confdefs.h. */
25002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25005 grep -v '^ *+' conftest.er1
>conftest.err
25007 cat conftest.err
>&5
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); } >/dev
/null
; then
25010 if test -s conftest.err
; then
25011 ac_cpp_err
=$ac_c_preproc_warn_flag
25018 if test -z "$ac_cpp_err"; then
25019 ac_header_preproc
=yes
25021 echo "$as_me: failed program was:" >&5
25022 sed 's/^/| /' conftest.
$ac_ext >&5
25024 ac_header_preproc
=no
25026 rm -f conftest.err conftest.
$ac_ext
25027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25028 echo "${ECHO_T}$ac_header_preproc" >&6
25030 # So? What about this header?
25031 case $ac_header_compiler:$ac_header_preproc in
25033 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25034 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25035 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25036 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25039 ## ------------------------------------ ##
25040 ## Report this to bug-autoconf@gnu.org. ##
25041 ## ------------------------------------ ##
25044 sed "s/^/$as_me: WARNING: /" >&2
25047 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25048 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25049 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25050 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25051 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25052 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25055 ## ------------------------------------ ##
25056 ## Report this to bug-autoconf@gnu.org. ##
25057 ## ------------------------------------ ##
25060 sed "s/^/$as_me: WARNING: /" >&2
25063 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25064 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25065 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25066 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 ac_cv_header_GL_gl_h
=$ac_header_preproc
25070 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25071 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25074 if test $ac_cv_header_GL_gl_h = yes; then
25078 echo "$as_me:$LINENO: checking for -lGL" >&5
25079 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25082 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25084 for ac_extension
in a so sl dylib
; do
25085 if test -f "$ac_dir/libGL.$ac_extension"; then
25086 ac_find_libraries
=$ac_dir
25092 if test "$ac_find_libraries" != "" ; then
25094 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25096 if test $result = 0; then
25099 ac_path_to_link
=" -L$ac_find_libraries"
25102 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25103 LDFLAGS_GL
="$ac_path_to_link"
25108 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25110 for ac_extension
in a so sl dylib
; do
25111 if test -f "$ac_dir/libGLU.$ac_extension"; then
25112 ac_find_libraries
=$ac_dir
25118 if test "$ac_find_libraries" != "" ; then
25120 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25122 if test $result = 0; then
25125 ac_path_to_link
=" -L$ac_find_libraries"
25128 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25129 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25130 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25134 OPENGL_LIBS
="-lGL -lGLU"
25135 echo "$as_me:$LINENO: result: yes" >&5
25136 echo "${ECHO_T}yes" >&6
25140 if test "$found_gl" != 1; then
25141 echo "$as_me:$LINENO: result: no" >&5
25142 echo "${ECHO_T}no" >&6
25143 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25144 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25147 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25149 for ac_extension
in a so sl dylib
; do
25150 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25151 ac_find_libraries
=$ac_dir
25157 if test "$ac_find_libraries" != "" ; then
25159 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25161 if test $result = 0; then
25164 ac_path_to_link
=" -L$ac_find_libraries"
25167 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25168 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25169 echo "$as_me:$LINENO: result: yes" >&5
25170 echo "${ECHO_T}yes" >&6
25172 echo "$as_me:$LINENO: result: no" >&5
25173 echo "${ECHO_T}no" >&6
25181 if test "x$OPENGL_LIBS" = "x"; then
25182 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25183 echo "$as_me: error: OpenGL libraries not available" >&2;}
25184 { (exit 1); exit 1; }; }
25188 if test "$wxUSE_OPENGL" = "yes"; then
25190 cat >>confdefs.h
<<\_ACEOF
25191 #define wxUSE_OPENGL 1
25194 cat >>confdefs.h
<<\_ACEOF
25195 #define wxUSE_GLCANVAS 1
25198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25202 if test -z "$TOOLKIT_VPATH" ; then
25203 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25206 if test -n "$TOOLKIT" ; then
25207 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25211 lib_unicode_suffix
=
25212 if test "$wxUSE_UNICODE" = "yes"; then
25213 lib_unicode_suffix
=u
25219 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25225 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25229 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25231 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25232 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25234 if test "$cross_compiling" = "yes"; then
25235 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25236 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25237 HOST_SUFFIX
="-${host_alias}"
25240 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25241 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25242 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25243 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25245 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25246 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25248 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25249 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25250 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25251 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25254 *-*-cygwin* | *-*-mingw32* )
25255 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25256 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25261 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25262 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25264 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25265 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25266 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25267 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25269 if test "$wxUSE_MAC" = 1; then
25270 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25271 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25276 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25277 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25279 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25280 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25282 if test "$wxUSE_OPENGL" = "yes"; then
25283 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25284 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25289 if test "$wxUSE_SHARED" = "yes"; then
25291 *-pc-os2_emx | *-pc-os2-emx | \
25294 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25295 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25301 if test "$wxUSE_SHARED" = "yes"; then
25305 found_versioning
=no
25308 if test $found_versioning = no
; then
25309 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25310 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25311 if test "${wx_cv_version_script+set}" = set; then
25312 echo $ECHO_N "(cached) $ECHO_C" >&6
25315 echo "VER_1 { *; };" >conftest.sym
25316 echo "int main() { return 0; }" >conftest.cpp
25319 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25320 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25322 (eval $ac_try) 2>&5
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); }; } ; then
25326 if test -s conftest.stderr
; then
25327 wx_cv_version_script
=no
25329 wx_cv_version_script
=yes
25332 wx_cv_version_script
=no
25334 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25337 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25338 echo "${ECHO_T}$wx_cv_version_script" >&6
25339 if test $wx_cv_version_script = yes ; then
25340 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25346 *-*-linux* | *-*-gnu* )
25347 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25351 if test "$GCC" = yes ; then
25352 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25354 saveLdflags
="$LDFLAGS"
25355 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25356 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25357 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25358 cat >conftest.
$ac_ext <<_ACEOF
25359 #line $LINENO "configure"
25362 cat confdefs.h
>>conftest.
$ac_ext
25363 cat >>conftest.
$ac_ext <<_ACEOF
25364 /* end confdefs.h. */
25374 rm -f conftest.
$ac_objext conftest
$ac_exeext
25375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25376 (eval $ac_link) 2>&5
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); } &&
25380 { ac_try
='test -s conftest$ac_exeext'
25381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25382 (eval $ac_try) 2>&5
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); }; }; then
25387 echo "$as_me:$LINENO: result: yes" >&5
25388 echo "${ECHO_T}yes" >&6
25389 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25392 echo "$as_me: failed program was:" >&5
25393 sed 's/^/| /' conftest.
$ac_ext >&5
25396 echo "$as_me:$LINENO: result: no" >&5
25397 echo "${ECHO_T}no" >&6
25398 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25399 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25400 LDFLAGS
="$saveLdflags -Wl,-R,/"
25401 cat >conftest.
$ac_ext <<_ACEOF
25402 #line $LINENO "configure"
25405 cat confdefs.h
>>conftest.
$ac_ext
25406 cat >>conftest.
$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25417 rm -f conftest.
$ac_objext conftest
$ac_exeext
25418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25419 (eval $ac_link) 2>&5
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); } &&
25423 { ac_try
='test -s conftest$ac_exeext'
25424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25425 (eval $ac_try) 2>&5
25427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25428 (exit $ac_status); }; }; then
25430 echo "$as_me:$LINENO: result: yes" >&5
25431 echo "${ECHO_T}yes" >&6
25432 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25434 echo "$as_me: failed program was:" >&5
25435 sed 's/^/| /' conftest.
$ac_ext >&5
25438 echo "$as_me:$LINENO: result: no" >&5
25439 echo "${ECHO_T}no" >&6
25442 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25445 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25446 LDFLAGS
="$saveLdflags"
25448 SHARED_LD
="${CXX} -G -o"
25450 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25455 if test "x$WX_TARGET_LIBRARY" = "x"; then
25456 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25457 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25460 WX_TARGET_LIBRARY_TYPE
="so"
25461 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25464 if test "$wxUSE_SHARED" = "no"; then
25466 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25467 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25470 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25471 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25474 if test "$wxUSE_OPENGL" = "yes"; then
25475 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25476 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25478 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25481 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25482 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25484 WX_TARGET_LIBRARY_TYPE
="a"
25485 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25495 if test "$wxUSE_MAC" = 1; then
25496 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25497 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25498 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25499 # Extract the first word of "Rez", so it can be a program name with args.
25500 set dummy Rez
; ac_word
=$2
25501 echo "$as_me:$LINENO: checking for $ac_word" >&5
25502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25503 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25504 echo $ECHO_N "(cached) $ECHO_C" >&6
25506 if test -n "$RESCOMP"; then
25507 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25510 for as_dir
in $PATH
25513 test -z "$as_dir" && as_dir
=.
25514 for ac_exec_ext
in '' $ac_executable_extensions; do
25515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25516 ac_cv_prog_RESCOMP
="Rez"
25517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25523 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25526 RESCOMP
=$ac_cv_prog_RESCOMP
25527 if test -n "$RESCOMP"; then
25528 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25529 echo "${ECHO_T}$RESCOMP" >&6
25531 echo "$as_me:$LINENO: result: no" >&5
25532 echo "${ECHO_T}no" >&6
25535 # Extract the first word of "DeRez", so it can be a program name with args.
25536 set dummy DeRez
; ac_word
=$2
25537 echo "$as_me:$LINENO: checking for $ac_word" >&5
25538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25539 if test "${ac_cv_prog_DEREZ+set}" = set; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25542 if test -n "$DEREZ"; then
25543 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25546 for as_dir
in $PATH
25549 test -z "$as_dir" && as_dir
=.
25550 for ac_exec_ext
in '' $ac_executable_extensions; do
25551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25552 ac_cv_prog_DEREZ
="DeRez"
25553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25559 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25562 DEREZ
=$ac_cv_prog_DEREZ
25563 if test -n "$DEREZ"; then
25564 echo "$as_me:$LINENO: result: $DEREZ" >&5
25565 echo "${ECHO_T}$DEREZ" >&6
25567 echo "$as_me:$LINENO: result: no" >&5
25568 echo "${ECHO_T}no" >&6
25571 # Extract the first word of "SetFile", so it can be a program name with args.
25572 set dummy SetFile
; ac_word
=$2
25573 echo "$as_me:$LINENO: checking for $ac_word" >&5
25574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25575 if test "${ac_cv_prog_SETFILE+set}" = set; then
25576 echo $ECHO_N "(cached) $ECHO_C" >&6
25578 if test -n "$SETFILE"; then
25579 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25582 for as_dir
in $PATH
25585 test -z "$as_dir" && as_dir
=.
25586 for ac_exec_ext
in '' $ac_executable_extensions; do
25587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25588 ac_cv_prog_SETFILE
="SetFile"
25589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25595 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25598 SETFILE
=$ac_cv_prog_SETFILE
25599 if test -n "$SETFILE"; then
25600 echo "$as_me:$LINENO: result: $SETFILE" >&5
25601 echo "${ECHO_T}$SETFILE" >&6
25603 echo "$as_me:$LINENO: result: no" >&5
25604 echo "${ECHO_T}no" >&6
25607 MACOSX_BUNDLE
="bundle"
25608 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25609 MACSETFILE
="\$(SETFILE)"
25610 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25611 elif test "$wxUSE_COCOA" = 1; then
25612 # Extract the first word of "Rez", so it can be a program name with args.
25613 set dummy Rez
; ac_word
=$2
25614 echo "$as_me:$LINENO: checking for $ac_word" >&5
25615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25616 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 if test -n "$RESCOMP"; then
25620 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25623 for as_dir
in $PATH
25626 test -z "$as_dir" && as_dir
=.
25627 for ac_exec_ext
in '' $ac_executable_extensions; do
25628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25629 ac_cv_prog_RESCOMP
="Rez"
25630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25636 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25639 RESCOMP
=$ac_cv_prog_RESCOMP
25640 if test -n "$RESCOMP"; then
25641 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25642 echo "${ECHO_T}$RESCOMP" >&6
25644 echo "$as_me:$LINENO: result: no" >&5
25645 echo "${ECHO_T}no" >&6
25648 # Extract the first word of "DeRez", so it can be a program name with args.
25649 set dummy DeRez
; ac_word
=$2
25650 echo "$as_me:$LINENO: checking for $ac_word" >&5
25651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25652 if test "${ac_cv_prog_DEREZ+set}" = set; then
25653 echo $ECHO_N "(cached) $ECHO_C" >&6
25655 if test -n "$DEREZ"; then
25656 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25659 for as_dir
in $PATH
25662 test -z "$as_dir" && as_dir
=.
25663 for ac_exec_ext
in '' $ac_executable_extensions; do
25664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25665 ac_cv_prog_DEREZ
="DeRez"
25666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25672 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25675 DEREZ
=$ac_cv_prog_DEREZ
25676 if test -n "$DEREZ"; then
25677 echo "$as_me:$LINENO: result: $DEREZ" >&5
25678 echo "${ECHO_T}$DEREZ" >&6
25680 echo "$as_me:$LINENO: result: no" >&5
25681 echo "${ECHO_T}no" >&6
25684 # Extract the first word of "SetFile", so it can be a program name with args.
25685 set dummy SetFile
; ac_word
=$2
25686 echo "$as_me:$LINENO: checking for $ac_word" >&5
25687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25688 if test "${ac_cv_prog_SETFILE+set}" = set; then
25689 echo $ECHO_N "(cached) $ECHO_C" >&6
25691 if test -n "$SETFILE"; then
25692 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25695 for as_dir
in $PATH
25698 test -z "$as_dir" && as_dir
=.
25699 for ac_exec_ext
in '' $ac_executable_extensions; do
25700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25701 ac_cv_prog_SETFILE
="SetFile"
25702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25708 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25711 SETFILE
=$ac_cv_prog_SETFILE
25712 if test -n "$SETFILE"; then
25713 echo "$as_me:$LINENO: result: $SETFILE" >&5
25714 echo "${ECHO_T}$SETFILE" >&6
25716 echo "$as_me:$LINENO: result: no" >&5
25717 echo "${ECHO_T}no" >&6
25720 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25721 MACSETFILE
="\$(SETFILE)"
25722 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25724 if test "$wxUSE_PM" = 1; then
25725 MACRESCOMP
="emxbind -ep"
25730 echo "$as_me:$LINENO: checking for mode_t" >&5
25731 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25732 if test "${ac_cv_type_mode_t+set}" = set; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25735 cat >conftest.
$ac_ext <<_ACEOF
25736 #line $LINENO "configure"
25739 cat confdefs.h
>>conftest.
$ac_ext
25740 cat >>conftest.
$ac_ext <<_ACEOF
25741 /* end confdefs.h. */
25742 $ac_includes_default
25748 if (sizeof (mode_t))
25754 rm -f conftest.
$ac_objext
25755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25756 (eval $ac_compile) 2>&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); } &&
25760 { ac_try
='test -s conftest.$ac_objext'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; }; then
25766 ac_cv_type_mode_t
=yes
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.
$ac_ext >&5
25771 ac_cv_type_mode_t
=no
25773 rm -f conftest.
$ac_objext conftest.
$ac_ext
25775 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25776 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25777 if test $ac_cv_type_mode_t = yes; then
25781 cat >>confdefs.h
<<_ACEOF
25787 echo "$as_me:$LINENO: checking for off_t" >&5
25788 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25789 if test "${ac_cv_type_off_t+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25792 cat >conftest.
$ac_ext <<_ACEOF
25793 #line $LINENO "configure"
25796 cat confdefs.h
>>conftest.
$ac_ext
25797 cat >>conftest.
$ac_ext <<_ACEOF
25798 /* end confdefs.h. */
25799 $ac_includes_default
25805 if (sizeof (off_t))
25811 rm -f conftest.
$ac_objext
25812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25813 (eval $ac_compile) 2>&5
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); } &&
25817 { ac_try
='test -s conftest.$ac_objext'
25818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819 (eval $ac_try) 2>&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); }; }; then
25823 ac_cv_type_off_t
=yes
25825 echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.
$ac_ext >&5
25828 ac_cv_type_off_t
=no
25830 rm -f conftest.
$ac_objext conftest.
$ac_ext
25832 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25833 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25834 if test $ac_cv_type_off_t = yes; then
25838 cat >>confdefs.h
<<_ACEOF
25844 echo "$as_me:$LINENO: checking for pid_t" >&5
25845 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25846 if test "${ac_cv_type_pid_t+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25849 cat >conftest.
$ac_ext <<_ACEOF
25850 #line $LINENO "configure"
25853 cat confdefs.h
>>conftest.
$ac_ext
25854 cat >>conftest.
$ac_ext <<_ACEOF
25855 /* end confdefs.h. */
25856 $ac_includes_default
25862 if (sizeof (pid_t))
25868 rm -f conftest.
$ac_objext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25870 (eval $ac_compile) 2>&5
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } &&
25874 { ac_try
='test -s conftest.$ac_objext'
25875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25876 (eval $ac_try) 2>&5
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); }; }; then
25880 ac_cv_type_pid_t
=yes
25882 echo "$as_me: failed program was:" >&5
25883 sed 's/^/| /' conftest.
$ac_ext >&5
25885 ac_cv_type_pid_t
=no
25887 rm -f conftest.
$ac_objext conftest.
$ac_ext
25889 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25890 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25891 if test $ac_cv_type_pid_t = yes; then
25895 cat >>confdefs.h
<<_ACEOF
25901 echo "$as_me:$LINENO: checking for size_t" >&5
25902 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25903 if test "${ac_cv_type_size_t+set}" = set; then
25904 echo $ECHO_N "(cached) $ECHO_C" >&6
25906 cat >conftest.
$ac_ext <<_ACEOF
25907 #line $LINENO "configure"
25910 cat confdefs.h
>>conftest.
$ac_ext
25911 cat >>conftest.
$ac_ext <<_ACEOF
25912 /* end confdefs.h. */
25913 $ac_includes_default
25919 if (sizeof (size_t))
25925 rm -f conftest.
$ac_objext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25927 (eval $ac_compile) 2>&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); } &&
25931 { ac_try
='test -s conftest.$ac_objext'
25932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25933 (eval $ac_try) 2>&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); }; }; then
25937 ac_cv_type_size_t
=yes
25939 echo "$as_me: failed program was:" >&5
25940 sed 's/^/| /' conftest.
$ac_ext >&5
25942 ac_cv_type_size_t
=no
25944 rm -f conftest.
$ac_objext conftest.
$ac_ext
25946 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25947 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25948 if test $ac_cv_type_size_t = yes; then
25952 cat >>confdefs.h
<<_ACEOF
25953 #define size_t unsigned
25958 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25959 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25960 if test "${ac_cv_type_uid_t+set}" = set; then
25961 echo $ECHO_N "(cached) $ECHO_C" >&6
25963 cat >conftest.
$ac_ext <<_ACEOF
25964 #line $LINENO "configure"
25967 cat confdefs.h
>>conftest.
$ac_ext
25968 cat >>conftest.
$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25970 #include <sys/types.h>
25973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25974 $EGREP "uid_t" >/dev
/null
2>&1; then
25975 ac_cv_type_uid_t
=yes
25977 ac_cv_type_uid_t
=no
25982 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25983 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25984 if test $ac_cv_type_uid_t = no
; then
25986 cat >>confdefs.h
<<\_ACEOF
25991 cat >>confdefs.h
<<\_ACEOF
26001 ac_cpp
='$CXXCPP $CPPFLAGS'
26002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26004 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26006 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26007 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26008 if test "${wx_cv_size_t_is_uint+set}" = set; then
26009 echo $ECHO_N "(cached) $ECHO_C" >&6
26012 cat >conftest.
$ac_ext <<_ACEOF
26013 #line $LINENO "configure"
26016 cat confdefs.h
>>conftest.
$ac_ext
26017 cat >>conftest.
$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 #include <stddef.h>
26026 struct Foo { void foo(size_t); void foo(unsigned int); };
26034 rm -f conftest.
$ac_objext
26035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26036 (eval $ac_compile) 2>&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); } &&
26040 { ac_try
='test -s conftest.$ac_objext'
26041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26042 (eval $ac_try) 2>&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); }; }; then
26046 wx_cv_size_t_is_uint
=no
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.
$ac_ext >&5
26051 wx_cv_size_t_is_uint
=yes
26054 rm -f conftest.
$ac_objext conftest.
$ac_ext
26058 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26059 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26061 if test "$wx_cv_size_t_is_uint" = "yes"; then
26062 cat >>confdefs.h
<<\_ACEOF
26063 #define wxSIZE_T_IS_UINT 1
26067 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26068 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26069 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26070 echo $ECHO_N "(cached) $ECHO_C" >&6
26072 cat >conftest.
$ac_ext <<_ACEOF
26073 #line $LINENO "configure"
26076 cat confdefs.h
>>conftest.
$ac_ext
26077 cat >>conftest.
$ac_ext <<_ACEOF
26078 /* end confdefs.h. */
26079 #include <stddef.h>
26086 struct Foo { void foo(size_t); void foo(unsigned long); };
26094 rm -f conftest.
$ac_objext
26095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26096 (eval $ac_compile) 2>&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try
='test -s conftest.$ac_objext'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; }; then
26106 wx_cv_size_t_is_ulong
=no
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.
$ac_ext >&5
26111 wx_cv_size_t_is_ulong
=yes
26114 rm -f conftest.
$ac_objext conftest.
$ac_ext
26117 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26118 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26120 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26121 cat >>confdefs.h
<<\_ACEOF
26122 #define wxSIZE_T_IS_ULONG 1
26129 ac_cpp
='$CPP $CPPFLAGS'
26130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26136 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26137 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26138 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6
26142 cat >conftest.
$ac_ext <<_ACEOF
26143 #line $LINENO "configure"
26146 cat confdefs.h
>>conftest.
$ac_ext
26147 cat >>conftest.
$ac_ext <<_ACEOF
26148 /* end confdefs.h. */
26162 rm -f conftest.
$ac_objext
26163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26164 (eval $ac_compile) 2>&5
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); } &&
26168 { ac_try
='test -s conftest.$ac_objext'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26175 wx_cv_struct_pw_gecos
=yes
26178 echo "$as_me: failed program was:" >&5
26179 sed 's/^/| /' conftest.
$ac_ext >&5
26182 wx_cv_struct_pw_gecos
=no
26186 rm -f conftest.
$ac_objext conftest.
$ac_ext
26190 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26191 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26193 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26194 cat >>confdefs.h
<<\_ACEOF
26195 #define HAVE_PW_GECOS 1
26201 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26202 cat >>confdefs.h
<<\_ACEOF
26203 #define wxUSE_WCHAR_T 1
26210 for ac_func
in wcslen
26212 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26213 echo "$as_me:$LINENO: checking for $ac_func" >&5
26214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26215 if eval "test \"\${$as_ac_var+set}\" = set"; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26218 cat >conftest.
$ac_ext <<_ACEOF
26219 #line $LINENO "configure"
26222 cat confdefs.h
>>conftest.
$ac_ext
26223 cat >>conftest.
$ac_ext <<_ACEOF
26224 /* end confdefs.h. */
26225 /* System header to define __stub macros and hopefully few prototypes,
26226 which can conflict with char $ac_func (); below.
26227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26228 <limits.h> exists even on freestanding compilers. */
26230 # include <limits.h>
26232 # include <assert.h>
26234 /* Override any gcc2 internal prototype to avoid an error. */
26239 /* We use char because int might match the return type of a gcc2
26240 builtin and then its argument prototype would still apply. */
26242 /* The GNU C library defines this for functions which it implements
26243 to always fail with ENOSYS. Some functions are actually named
26244 something starting with __ and the normal name is an alias. */
26245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26248 char (*f) () = $ac_func;
26257 return f != $ac_func;
26262 rm -f conftest.
$ac_objext conftest
$ac_exeext
26263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26264 (eval $ac_link) 2>&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } &&
26268 { ac_try
='test -s conftest$ac_exeext'
26269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26270 (eval $ac_try) 2>&5
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); }; }; then
26274 eval "$as_ac_var=yes"
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.
$ac_ext >&5
26279 eval "$as_ac_var=no"
26281 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26285 if test `eval echo '${'$as_ac_var'}'` = yes; then
26286 cat >>confdefs.h
<<_ACEOF
26287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26294 if test "$WCSLEN_FOUND" = 0; then
26295 if test "$TOOLKIT" = "MSW"; then
26296 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26297 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26298 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 ac_check_lib_save_LIBS
=$LIBS
26302 LIBS
="-lmsvcrt $LIBS"
26303 cat >conftest.
$ac_ext <<_ACEOF
26304 #line $LINENO "configure"
26307 cat confdefs.h
>>conftest.
$ac_ext
26308 cat >>conftest.
$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26311 /* Override any gcc2 internal prototype to avoid an error. */
26315 /* We use char because int might match the return type of a gcc2
26316 builtin and then its argument prototype would still apply. */
26326 rm -f conftest.
$ac_objext conftest
$ac_exeext
26327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26328 (eval $ac_link) 2>&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); } &&
26332 { ac_try
='test -s conftest$ac_exeext'
26333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26334 (eval $ac_try) 2>&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; }; then
26338 ac_cv_lib_msvcrt_wcslen
=yes
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.
$ac_ext >&5
26343 ac_cv_lib_msvcrt_wcslen
=no
26345 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26346 LIBS
=$ac_check_lib_save_LIBS
26348 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26349 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26350 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26355 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26356 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26357 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26358 echo $ECHO_N "(cached) $ECHO_C" >&6
26360 ac_check_lib_save_LIBS
=$LIBS
26362 cat >conftest.
$ac_ext <<_ACEOF
26363 #line $LINENO "configure"
26366 cat confdefs.h
>>conftest.
$ac_ext
26367 cat >>conftest.
$ac_ext <<_ACEOF
26368 /* end confdefs.h. */
26370 /* Override any gcc2 internal prototype to avoid an error. */
26374 /* We use char because int might match the return type of a gcc2
26375 builtin and then its argument prototype would still apply. */
26385 rm -f conftest.
$ac_objext conftest
$ac_exeext
26386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26387 (eval $ac_link) 2>&5
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); } &&
26391 { ac_try
='test -s conftest$ac_exeext'
26392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26393 (eval $ac_try) 2>&5
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); }; }; then
26397 ac_cv_lib_w_wcslen
=yes
26399 echo "$as_me: failed program was:" >&5
26400 sed 's/^/| /' conftest.
$ac_ext >&5
26402 ac_cv_lib_w_wcslen
=no
26404 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26405 LIBS
=$ac_check_lib_save_LIBS
26407 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26408 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26409 if test $ac_cv_lib_w_wcslen = yes; then
26419 if test "$WCSLEN_FOUND" = 1; then
26420 cat >>confdefs.h
<<\_ACEOF
26421 #define HAVE_WCSLEN 1
26427 for ac_func
in wcsrtombs
26429 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26430 echo "$as_me:$LINENO: checking for $ac_func" >&5
26431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26432 if eval "test \"\${$as_ac_var+set}\" = set"; then
26433 echo $ECHO_N "(cached) $ECHO_C" >&6
26435 cat >conftest.
$ac_ext <<_ACEOF
26436 #line $LINENO "configure"
26439 cat confdefs.h
>>conftest.
$ac_ext
26440 cat >>conftest.
$ac_ext <<_ACEOF
26441 /* end confdefs.h. */
26442 /* System header to define __stub macros and hopefully few prototypes,
26443 which can conflict with char $ac_func (); below.
26444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26445 <limits.h> exists even on freestanding compilers. */
26447 # include <limits.h>
26449 # include <assert.h>
26451 /* 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. */
26459 /* The GNU C library defines this for functions which it implements
26460 to always fail with ENOSYS. Some functions are actually named
26461 something starting with __ and the normal name is an alias. */
26462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26465 char (*f) () = $ac_func;
26474 return f != $ac_func;
26479 rm -f conftest.
$ac_objext conftest
$ac_exeext
26480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26481 (eval $ac_link) 2>&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } &&
26485 { ac_try
='test -s conftest$ac_exeext'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; }; then
26491 eval "$as_ac_var=yes"
26493 echo "$as_me: failed program was:" >&5
26494 sed 's/^/| /' conftest.
$ac_ext >&5
26496 eval "$as_ac_var=no"
26498 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26502 if test `eval echo '${'$as_ac_var'}'` = yes; then
26503 cat >>confdefs.h
<<_ACEOF
26504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26511 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26512 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26518 ac_cpp
='$CXXCPP $CPPFLAGS'
26519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26525 for ac_func
in vsnprintf
26527 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26528 echo "$as_me:$LINENO: checking for $ac_func" >&5
26529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26530 if eval "test \"\${$as_ac_var+set}\" = set"; then
26531 echo $ECHO_N "(cached) $ECHO_C" >&6
26533 cat >conftest.
$ac_ext <<_ACEOF
26534 #line $LINENO "configure"
26537 cat confdefs.h
>>conftest.
$ac_ext
26538 cat >>conftest.
$ac_ext <<_ACEOF
26539 /* end confdefs.h. */
26540 /* System header to define __stub macros and hopefully few prototypes,
26541 which can conflict with char $ac_func (); below.
26542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26543 <limits.h> exists even on freestanding compilers. */
26545 # include <limits.h>
26547 # include <assert.h>
26549 /* Override any gcc2 internal prototype to avoid an error. */
26554 /* We use char because int might match the return type of a gcc2
26555 builtin and then its argument prototype would still apply. */
26557 /* The GNU C library defines this for functions which it implements
26558 to always fail with ENOSYS. Some functions are actually named
26559 something starting with __ and the normal name is an alias. */
26560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26563 char (*f) () = $ac_func;
26572 return f != $ac_func;
26577 rm -f conftest.
$ac_objext conftest
$ac_exeext
26578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26579 (eval $ac_link) 2>&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } &&
26583 { ac_try
='test -s conftest$ac_exeext'
26584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26585 (eval $ac_try) 2>&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); }; }; then
26589 eval "$as_ac_var=yes"
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.
$ac_ext >&5
26594 eval "$as_ac_var=no"
26596 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26600 if test `eval echo '${'$as_ac_var'}'` = yes; then
26601 cat >>confdefs.h
<<_ACEOF
26602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26609 if test "$ac_cv_func_vsnprintf" = "yes"; then
26610 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26611 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26612 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26613 echo $ECHO_N "(cached) $ECHO_C" >&6
26616 cat >conftest.
$ac_ext <<_ACEOF
26617 #line $LINENO "configure"
26620 cat confdefs.h
>>conftest.
$ac_ext
26621 cat >>conftest.
$ac_ext <<_ACEOF
26622 /* end confdefs.h. */
26625 #include <stdarg.h>
26633 vsnprintf(buf, 10u, "%s", ap);
26639 rm -f conftest.
$ac_objext
26640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26641 (eval $ac_compile) 2>&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } &&
26645 { ac_try
='test -s conftest.$ac_objext'
26646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26647 (eval $ac_try) 2>&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); }; }; then
26651 wx_cv_func_vsnprintf_decl
=yes
26653 echo "$as_me: failed program was:" >&5
26654 sed 's/^/| /' conftest.
$ac_ext >&5
26656 wx_cv_func_vsnprintf_decl
=no
26659 rm -f conftest.
$ac_objext conftest.
$ac_ext
26663 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26664 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26666 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26667 cat >>confdefs.h
<<\_ACEOF
26668 #define HAVE_VSNPRINTF_DECL 1
26674 if test "$wxUSE_UNICODE" = yes; then
26678 for ac_func
in fputwc wprintf vswprintf
26680 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26681 echo "$as_me:$LINENO: checking for $ac_func" >&5
26682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26683 if eval "test \"\${$as_ac_var+set}\" = set"; then
26684 echo $ECHO_N "(cached) $ECHO_C" >&6
26686 cat >conftest.
$ac_ext <<_ACEOF
26687 #line $LINENO "configure"
26690 cat confdefs.h
>>conftest.
$ac_ext
26691 cat >>conftest.
$ac_ext <<_ACEOF
26692 /* end confdefs.h. */
26693 /* System header to define __stub macros and hopefully few prototypes,
26694 which can conflict with char $ac_func (); below.
26695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26696 <limits.h> exists even on freestanding compilers. */
26698 # include <limits.h>
26700 # include <assert.h>
26702 /* Override any gcc2 internal prototype to avoid an error. */
26707 /* We use char because int might match the return type of a gcc2
26708 builtin and then its argument prototype would still apply. */
26710 /* The GNU C library defines this for functions which it implements
26711 to always fail with ENOSYS. Some functions are actually named
26712 something starting with __ and the normal name is an alias. */
26713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26716 char (*f) () = $ac_func;
26725 return f != $ac_func;
26730 rm -f conftest.
$ac_objext conftest
$ac_exeext
26731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26732 (eval $ac_link) 2>&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 { ac_try
='test -s conftest$ac_exeext'
26737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26738 (eval $ac_try) 2>&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); }; }; then
26742 eval "$as_ac_var=yes"
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.
$ac_ext >&5
26747 eval "$as_ac_var=no"
26749 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26753 if test `eval echo '${'$as_ac_var'}'` = yes; then
26754 cat >>confdefs.h
<<_ACEOF
26755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26762 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26763 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26764 cat >conftest.
$ac_ext <<_ACEOF
26765 #line $LINENO "configure"
26768 cat confdefs.h
>>conftest.
$ac_ext
26769 cat >>conftest.
$ac_ext <<_ACEOF
26770 /* end confdefs.h. */
26780 rm -f conftest.
$ac_objext
26781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26782 (eval $ac_compile) 2>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } &&
26786 { ac_try
='test -s conftest.$ac_objext'
26787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26788 (eval $ac_try) 2>&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); }; }; then
26792 echo "$as_me:$LINENO: result: yes" >&5
26793 echo "${ECHO_T}yes" >&6
26794 cat >>confdefs.h
<<\_ACEOF
26795 #define HAVE__VSNWPRINTF 1
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.
$ac_ext >&5
26802 echo "$as_me:$LINENO: result: no" >&5
26803 echo "${ECHO_T}no" >&6
26805 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26809 ac_cpp
='$CPP $CPPFLAGS'
26810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26817 if test "$TOOLKIT" != "MSW"; then
26823 ac_cpp
='$CXXCPP $CPPFLAGS'
26824 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26825 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26826 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26831 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26832 if test "${with_libiconv_prefix+set}" = set; then
26833 withval
="$with_libiconv_prefix"
26835 for dir
in `echo "$withval" | tr : ' '`; do
26836 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26837 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26842 echo "$as_me:$LINENO: checking for iconv" >&5
26843 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26844 if test "${am_cv_func_iconv+set}" = set; then
26845 echo $ECHO_N "(cached) $ECHO_C" >&6
26848 am_cv_func_iconv
="no, consider installing GNU libiconv"
26850 cat >conftest.
$ac_ext <<_ACEOF
26851 #line $LINENO "configure"
26854 cat confdefs.h
>>conftest.
$ac_ext
26855 cat >>conftest.
$ac_ext <<_ACEOF
26856 /* end confdefs.h. */
26857 #include <stdlib.h>
26862 iconv_t cd = iconv_open("","");
26863 iconv(cd,NULL,NULL,NULL,NULL);
26869 rm -f conftest.
$ac_objext conftest
$ac_exeext
26870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26871 (eval $ac_link) 2>&5
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); } &&
26875 { ac_try
='test -s conftest$ac_exeext'
26876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26877 (eval $ac_try) 2>&5
26879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880 (exit $ac_status); }; }; then
26881 am_cv_func_iconv
=yes
26883 echo "$as_me: failed program was:" >&5
26884 sed 's/^/| /' conftest.
$ac_ext >&5
26887 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26888 if test "$am_cv_func_iconv" != yes; then
26889 am_save_LIBS
="$LIBS"
26890 LIBS
="$LIBS -liconv"
26891 cat >conftest.
$ac_ext <<_ACEOF
26892 #line $LINENO "configure"
26895 cat confdefs.h
>>conftest.
$ac_ext
26896 cat >>conftest.
$ac_ext <<_ACEOF
26897 /* end confdefs.h. */
26898 #include <stdlib.h>
26903 iconv_t cd = iconv_open("","");
26904 iconv(cd,NULL,NULL,NULL,NULL);
26910 rm -f conftest.
$ac_objext conftest
$ac_exeext
26911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26912 (eval $ac_link) 2>&5
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); } &&
26916 { ac_try
='test -s conftest$ac_exeext'
26917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26918 (eval $ac_try) 2>&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); }; }; then
26922 am_cv_lib_iconv
=yes
26923 am_cv_func_iconv
=yes
26925 echo "$as_me: failed program was:" >&5
26926 sed 's/^/| /' conftest.
$ac_ext >&5
26929 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26930 LIBS
="$am_save_LIBS"
26934 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26935 echo "${ECHO_T}$am_cv_func_iconv" >&6
26936 if test "$am_cv_func_iconv" = yes; then
26938 cat >>confdefs.h
<<\_ACEOF
26939 #define HAVE_ICONV 1
26942 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26943 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26944 if test "${wx_cv_func_iconv_const+set}" = set; then
26945 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 cat >conftest.
$ac_ext <<_ACEOF
26948 #line $LINENO "configure"
26951 cat confdefs.h
>>conftest.
$ac_ext
26952 cat >>conftest.
$ac_ext <<_ACEOF
26953 /* end confdefs.h. */
26955 #include <stdlib.h>
26961 #if defined(__STDC__) || defined(__cplusplus)
26962 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26975 rm -f conftest.
$ac_objext
26976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26977 (eval $ac_compile) 2>&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try
='test -s conftest.$ac_objext'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; }; then
26987 wx_cv_func_iconv_const
="no"
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.
$ac_ext >&5
26992 wx_cv_func_iconv_const
="yes"
26995 rm -f conftest.
$ac_objext conftest.
$ac_ext
26998 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26999 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27002 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27003 iconv_const
="const"
27007 cat >>confdefs.h
<<_ACEOF
27008 #define ICONV_CONST $iconv_const
27013 if test "$am_cv_lib_iconv" = yes; then
27018 LIBS
="$LIBICONV $LIBS"
27020 ac_cpp
='$CPP $CPPFLAGS'
27021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27026 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27028 for ac_func
in sigaction
27030 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27031 echo "$as_me:$LINENO: checking for $ac_func" >&5
27032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27033 if eval "test \"\${$as_ac_var+set}\" = set"; then
27034 echo $ECHO_N "(cached) $ECHO_C" >&6
27036 cat >conftest.
$ac_ext <<_ACEOF
27037 #line $LINENO "configure"
27040 cat confdefs.h
>>conftest.
$ac_ext
27041 cat >>conftest.
$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27043 /* System header to define __stub macros and hopefully few prototypes,
27044 which can conflict with char $ac_func (); below.
27045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27046 <limits.h> exists even on freestanding compilers. */
27048 # include <limits.h>
27050 # include <assert.h>
27052 /* Override any gcc2 internal prototype to avoid an error. */
27057 /* We use char because int might match the return type of a gcc2
27058 builtin and then its argument prototype would still apply. */
27060 /* The GNU C library defines this for functions which it implements
27061 to always fail with ENOSYS. Some functions are actually named
27062 something starting with __ and the normal name is an alias. */
27063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27066 char (*f) () = $ac_func;
27075 return f != $ac_func;
27080 rm -f conftest.
$ac_objext conftest
$ac_exeext
27081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27082 (eval $ac_link) 2>&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } &&
27086 { ac_try
='test -s conftest$ac_exeext'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; }; then
27092 eval "$as_ac_var=yes"
27094 echo "$as_me: failed program was:" >&5
27095 sed 's/^/| /' conftest.
$ac_ext >&5
27097 eval "$as_ac_var=no"
27099 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27103 if test `eval echo '${'$as_ac_var'}'` = yes; then
27104 cat >>confdefs.h
<<_ACEOF
27105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27112 if test "$ac_cv_func_sigaction" = "no"; then
27113 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27114 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27115 wxUSE_ON_FATAL_EXCEPTION
=no
27118 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27122 ac_cpp
='$CXXCPP $CPPFLAGS'
27123 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27124 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27125 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27128 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27129 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27130 if test "${wx_cv_type_sa_handler+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27134 cat >conftest.
$ac_ext <<_ACEOF
27135 #line $LINENO "configure"
27138 cat confdefs.h
>>conftest.
$ac_ext
27139 cat >>conftest.
$ac_ext <<_ACEOF
27140 /* end confdefs.h. */
27141 #include <signal.h>
27146 extern void testSigHandler(int);
27148 struct sigaction sa;
27149 sa.sa_handler = testSigHandler;
27155 rm -f conftest.
$ac_objext
27156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27157 (eval $ac_compile) 2>&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); } &&
27161 { ac_try
='test -s conftest.$ac_objext'
27162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27163 (eval $ac_try) 2>&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); }; }; then
27168 wx_cv_type_sa_handler
=int
27171 echo "$as_me: failed program was:" >&5
27172 sed 's/^/| /' conftest.
$ac_ext >&5
27175 wx_cv_type_sa_handler
=void
27178 rm -f conftest.
$ac_objext conftest.
$ac_ext
27181 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27182 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27185 ac_cpp
='$CPP $CPPFLAGS'
27186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27191 cat >>confdefs.h
<<_ACEOF
27192 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27200 for ac_func
in mkstemp mktemp
27202 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27203 echo "$as_me:$LINENO: checking for $ac_func" >&5
27204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27205 if eval "test \"\${$as_ac_var+set}\" = set"; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27208 cat >conftest.
$ac_ext <<_ACEOF
27209 #line $LINENO "configure"
27212 cat confdefs.h
>>conftest.
$ac_ext
27213 cat >>conftest.
$ac_ext <<_ACEOF
27214 /* end confdefs.h. */
27215 /* System header to define __stub macros and hopefully few prototypes,
27216 which can conflict with char $ac_func (); below.
27217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27218 <limits.h> exists even on freestanding compilers. */
27220 # include <limits.h>
27222 # include <assert.h>
27224 /* Override any gcc2 internal prototype to avoid an error. */
27229 /* We use char because int might match the return type of a gcc2
27230 builtin and then its argument prototype would still apply. */
27232 /* The GNU C library defines this for functions which it implements
27233 to always fail with ENOSYS. Some functions are actually named
27234 something starting with __ and the normal name is an alias. */
27235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27238 char (*f) () = $ac_func;
27247 return f != $ac_func;
27252 rm -f conftest.
$ac_objext conftest
$ac_exeext
27253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27254 (eval $ac_link) 2>&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } &&
27258 { ac_try
='test -s conftest$ac_exeext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 eval "$as_ac_var=yes"
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.
$ac_ext >&5
27269 eval "$as_ac_var=no"
27271 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27275 if test `eval echo '${'$as_ac_var'}'` = yes; then
27276 cat >>confdefs.h
<<_ACEOF
27277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27284 echo "$as_me:$LINENO: checking for statfs" >&5
27285 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27286 if test "${wx_cv_func_statfs+set}" = set; then
27287 echo $ECHO_N "(cached) $ECHO_C" >&6
27289 cat >conftest.
$ac_ext <<_ACEOF
27290 #line $LINENO "configure"
27293 cat confdefs.h
>>conftest.
$ac_ext
27294 cat >>conftest.
$ac_ext <<_ACEOF
27295 /* end confdefs.h. */
27297 #if defined(__BSD__)
27298 #include <sys/param.h>
27299 #include <sys/mount.h>
27301 #include <sys/vfs.h>
27319 rm -f conftest.
$ac_objext
27320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27321 (eval $ac_compile) 2>&5
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); } &&
27325 { ac_try
='test -s conftest.$ac_objext'
27326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27327 (eval $ac_try) 2>&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); }; }; then
27332 wx_cv_func_statfs
=yes
27335 echo "$as_me: failed program was:" >&5
27336 sed 's/^/| /' conftest.
$ac_ext >&5
27339 wx_cv_func_statfs
=no
27343 rm -f conftest.
$ac_objext conftest.
$ac_ext
27346 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27347 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27349 if test "$wx_cv_func_statfs" = "yes"; then
27350 wx_cv_type_statvfs_t
="struct statfs"
27351 cat >>confdefs.h
<<\_ACEOF
27352 #define HAVE_STATFS 1
27356 echo "$as_me:$LINENO: checking for statvfs" >&5
27357 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27358 if test "${wx_cv_func_statvfs+set}" = set; then
27359 echo $ECHO_N "(cached) $ECHO_C" >&6
27361 cat >conftest.
$ac_ext <<_ACEOF
27362 #line $LINENO "configure"
27365 cat confdefs.h
>>conftest.
$ac_ext
27366 cat >>conftest.
$ac_ext <<_ACEOF
27367 /* end confdefs.h. */
27369 #include <stddef.h>
27370 #include <sys/statvfs.h>
27376 statvfs("/", NULL);
27382 rm -f conftest.
$ac_objext
27383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27384 (eval $ac_compile) 2>&5
27386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27387 (exit $ac_status); } &&
27388 { ac_try
='test -s conftest.$ac_objext'
27389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27390 (eval $ac_try) 2>&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; }; then
27394 wx_cv_func_statvfs
=yes
27396 echo "$as_me: failed program was:" >&5
27397 sed 's/^/| /' conftest.
$ac_ext >&5
27399 wx_cv_func_statvfs
=no
27402 rm -f conftest.
$ac_objext conftest.
$ac_ext
27405 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27406 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27408 if test "$wx_cv_func_statvfs" = "yes"; then
27412 ac_cpp
='$CXXCPP $CPPFLAGS'
27413 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27414 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27415 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27418 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27419 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27420 if test "${wx_cv_type_statvfs_t+set}" = set; then
27421 echo $ECHO_N "(cached) $ECHO_C" >&6
27423 cat >conftest.
$ac_ext <<_ACEOF
27424 #line $LINENO "configure"
27427 cat confdefs.h
>>conftest.
$ac_ext
27428 cat >>conftest.
$ac_ext <<_ACEOF
27429 /* end confdefs.h. */
27431 #include <sys/statvfs.h>
27448 rm -f conftest.
$ac_objext
27449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27450 (eval $ac_compile) 2>&5
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); } &&
27454 { ac_try
='test -s conftest.$ac_objext'
27455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27456 (eval $ac_try) 2>&5
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; }; then
27460 wx_cv_type_statvfs_t
=statvfs_t
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.
$ac_ext >&5
27466 cat >conftest.
$ac_ext <<_ACEOF
27467 #line $LINENO "configure"
27470 cat confdefs.h
>>conftest.
$ac_ext
27471 cat >>conftest.
$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27474 #include <sys/statvfs.h>
27491 rm -f conftest.
$ac_objext
27492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27493 (eval $ac_compile) 2>&5
27495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27496 (exit $ac_status); } &&
27497 { ac_try
='test -s conftest.$ac_objext'
27498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27499 (eval $ac_try) 2>&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); }; }; then
27503 wx_cv_type_statvfs_t
="struct statvfs"
27505 echo "$as_me: failed program was:" >&5
27506 sed 's/^/| /' conftest.
$ac_ext >&5
27508 wx_cv_type_statvfs_t
="unknown"
27511 rm -f conftest.
$ac_objext conftest.
$ac_ext
27515 rm -f conftest.
$ac_objext conftest.
$ac_ext
27518 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27519 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27522 ac_cpp
='$CPP $CPPFLAGS'
27523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27528 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27529 cat >>confdefs.h
<<\_ACEOF
27530 #define HAVE_STATVFS 1
27535 wx_cv_type_statvfs_t
="unknown"
27539 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27540 cat >>confdefs.h
<<_ACEOF
27541 #define WX_STATFS_T $wx_cv_type_statvfs_t
27545 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27546 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27549 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27552 for ac_func
in fcntl flock
27554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27555 echo "$as_me:$LINENO: checking for $ac_func" >&5
27556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27557 if eval "test \"\${$as_ac_var+set}\" = set"; then
27558 echo $ECHO_N "(cached) $ECHO_C" >&6
27560 cat >conftest.
$ac_ext <<_ACEOF
27561 #line $LINENO "configure"
27564 cat confdefs.h
>>conftest.
$ac_ext
27565 cat >>conftest.
$ac_ext <<_ACEOF
27566 /* end confdefs.h. */
27567 /* System header to define __stub macros and hopefully few prototypes,
27568 which can conflict with char $ac_func (); below.
27569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27570 <limits.h> exists even on freestanding compilers. */
27572 # include <limits.h>
27574 # include <assert.h>
27576 /* Override any gcc2 internal prototype to avoid an error. */
27581 /* We use char because int might match the return type of a gcc2
27582 builtin and then its argument prototype would still apply. */
27584 /* The GNU C library defines this for functions which it implements
27585 to always fail with ENOSYS. Some functions are actually named
27586 something starting with __ and the normal name is an alias. */
27587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27590 char (*f) () = $ac_func;
27599 return f != $ac_func;
27604 rm -f conftest.
$ac_objext conftest
$ac_exeext
27605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27606 (eval $ac_link) 2>&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); } &&
27610 { ac_try
='test -s conftest$ac_exeext'
27611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27612 (eval $ac_try) 2>&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); }; }; then
27616 eval "$as_ac_var=yes"
27618 echo "$as_me: failed program was:" >&5
27619 sed 's/^/| /' conftest.
$ac_ext >&5
27621 eval "$as_ac_var=no"
27623 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27627 if test `eval echo '${'$as_ac_var'}'` = yes; then
27628 cat >>confdefs.h
<<_ACEOF
27629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27636 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27637 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27638 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27639 wxUSE_SNGLINST_CHECKER
=no
27644 for ac_func
in timegm
27646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27647 echo "$as_me:$LINENO: checking for $ac_func" >&5
27648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27649 if eval "test \"\${$as_ac_var+set}\" = set"; then
27650 echo $ECHO_N "(cached) $ECHO_C" >&6
27652 cat >conftest.
$ac_ext <<_ACEOF
27653 #line $LINENO "configure"
27656 cat confdefs.h
>>conftest.
$ac_ext
27657 cat >>conftest.
$ac_ext <<_ACEOF
27658 /* end confdefs.h. */
27659 /* System header to define __stub macros and hopefully few prototypes,
27660 which can conflict with char $ac_func (); below.
27661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27662 <limits.h> exists even on freestanding compilers. */
27664 # include <limits.h>
27666 # include <assert.h>
27668 /* Override any gcc2 internal prototype to avoid an error. */
27673 /* We use char because int might match the return type of a gcc2
27674 builtin and then its argument prototype would still apply. */
27676 /* The GNU C library defines this for functions which it implements
27677 to always fail with ENOSYS. Some functions are actually named
27678 something starting with __ and the normal name is an alias. */
27679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27682 char (*f) () = $ac_func;
27691 return f != $ac_func;
27696 rm -f conftest.
$ac_objext conftest
$ac_exeext
27697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27698 (eval $ac_link) 2>&5
27700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27701 (exit $ac_status); } &&
27702 { ac_try
='test -s conftest$ac_exeext'
27703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27704 (eval $ac_try) 2>&5
27706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27707 (exit $ac_status); }; }; then
27708 eval "$as_ac_var=yes"
27710 echo "$as_me: failed program was:" >&5
27711 sed 's/^/| /' conftest.
$ac_ext >&5
27713 eval "$as_ac_var=no"
27715 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27719 if test `eval echo '${'$as_ac_var'}'` = yes; then
27720 cat >>confdefs.h
<<_ACEOF
27721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27730 for ac_func
in putenv setenv
27732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27733 echo "$as_me:$LINENO: checking for $ac_func" >&5
27734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27735 if eval "test \"\${$as_ac_var+set}\" = set"; then
27736 echo $ECHO_N "(cached) $ECHO_C" >&6
27738 cat >conftest.
$ac_ext <<_ACEOF
27739 #line $LINENO "configure"
27742 cat confdefs.h
>>conftest.
$ac_ext
27743 cat >>conftest.
$ac_ext <<_ACEOF
27744 /* end confdefs.h. */
27745 /* System header to define __stub macros and hopefully few prototypes,
27746 which can conflict with char $ac_func (); below.
27747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27748 <limits.h> exists even on freestanding compilers. */
27750 # include <limits.h>
27752 # include <assert.h>
27754 /* Override any gcc2 internal prototype to avoid an error. */
27759 /* We use char because int might match the return type of a gcc2
27760 builtin and then its argument prototype would still apply. */
27762 /* The GNU C library defines this for functions which it implements
27763 to always fail with ENOSYS. Some functions are actually named
27764 something starting with __ and the normal name is an alias. */
27765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27768 char (*f) () = $ac_func;
27777 return f != $ac_func;
27782 rm -f conftest.
$ac_objext conftest
$ac_exeext
27783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27784 (eval $ac_link) 2>&5
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); } &&
27788 { ac_try
='test -s conftest$ac_exeext'
27789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27790 (eval $ac_try) 2>&5
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); }; }; then
27794 eval "$as_ac_var=yes"
27796 echo "$as_me: failed program was:" >&5
27797 sed 's/^/| /' conftest.
$ac_ext >&5
27799 eval "$as_ac_var=no"
27801 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27805 if test `eval echo '${'$as_ac_var'}'` = yes; then
27806 cat >>confdefs.h
<<_ACEOF
27807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27814 HAVE_SOME_SLEEP_FUNC
=0
27815 if test "$USE_BEOS" = 1; then
27816 cat >>confdefs.h
<<\_ACEOF
27817 #define HAVE_SLEEP 1
27820 HAVE_SOME_SLEEP_FUNC
=1
27823 if test "$USE_DARWIN" = 1; then
27824 cat >>confdefs.h
<<\_ACEOF
27825 #define HAVE_USLEEP 1
27828 HAVE_SOME_SLEEP_FUNC
=1
27831 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27834 for ac_func
in nanosleep
27836 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27837 echo "$as_me:$LINENO: checking for $ac_func" >&5
27838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27839 if eval "test \"\${$as_ac_var+set}\" = set"; then
27840 echo $ECHO_N "(cached) $ECHO_C" >&6
27842 cat >conftest.
$ac_ext <<_ACEOF
27843 #line $LINENO "configure"
27846 cat confdefs.h
>>conftest.
$ac_ext
27847 cat >>conftest.
$ac_ext <<_ACEOF
27848 /* end confdefs.h. */
27849 /* System header to define __stub macros and hopefully few prototypes,
27850 which can conflict with char $ac_func (); below.
27851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27852 <limits.h> exists even on freestanding compilers. */
27854 # include <limits.h>
27856 # include <assert.h>
27858 /* Override any gcc2 internal prototype to avoid an error. */
27863 /* We use char because int might match the return type of a gcc2
27864 builtin and then its argument prototype would still apply. */
27866 /* The GNU C library defines this for functions which it implements
27867 to always fail with ENOSYS. Some functions are actually named
27868 something starting with __ and the normal name is an alias. */
27869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27872 char (*f) () = $ac_func;
27881 return f != $ac_func;
27886 rm -f conftest.
$ac_objext conftest
$ac_exeext
27887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27888 (eval $ac_link) 2>&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); } &&
27892 { ac_try
='test -s conftest$ac_exeext'
27893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27894 (eval $ac_try) 2>&5
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); }; }; then
27898 eval "$as_ac_var=yes"
27900 echo "$as_me: failed program was:" >&5
27901 sed 's/^/| /' conftest.
$ac_ext >&5
27903 eval "$as_ac_var=no"
27905 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27909 if test `eval echo '${'$as_ac_var'}'` = yes; then
27910 cat >>confdefs.h
<<_ACEOF
27911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27913 cat >>confdefs.h
<<\_ACEOF
27914 #define HAVE_NANOSLEEP 1
27919 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27920 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27921 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27922 echo $ECHO_N "(cached) $ECHO_C" >&6
27924 ac_check_lib_save_LIBS
=$LIBS
27925 LIBS
="-lposix4 $LIBS"
27926 cat >conftest.
$ac_ext <<_ACEOF
27927 #line $LINENO "configure"
27930 cat confdefs.h
>>conftest.
$ac_ext
27931 cat >>conftest.
$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27934 /* Override any gcc2 internal prototype to avoid an error. */
27938 /* We use char because int might match the return type of a gcc2
27939 builtin and then its argument prototype would still apply. */
27949 rm -f conftest.
$ac_objext conftest
$ac_exeext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>&5
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); } &&
27955 { ac_try
='test -s conftest$ac_exeext'
27956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957 (eval $ac_try) 2>&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); }; }; then
27961 ac_cv_lib_posix4_nanosleep
=yes
27963 echo "$as_me: failed program was:" >&5
27964 sed 's/^/| /' conftest.
$ac_ext >&5
27966 ac_cv_lib_posix4_nanosleep
=no
27968 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27969 LIBS
=$ac_check_lib_save_LIBS
27971 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27972 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27973 if test $ac_cv_lib_posix4_nanosleep = yes; then
27975 cat >>confdefs.h
<<\_ACEOF
27976 #define HAVE_NANOSLEEP 1
27979 POSIX4_LINK
=" -lposix4"
27984 for ac_func
in usleep
27986 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27987 echo "$as_me:$LINENO: checking for $ac_func" >&5
27988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27989 if eval "test \"\${$as_ac_var+set}\" = set"; then
27990 echo $ECHO_N "(cached) $ECHO_C" >&6
27992 cat >conftest.
$ac_ext <<_ACEOF
27993 #line $LINENO "configure"
27996 cat confdefs.h
>>conftest.
$ac_ext
27997 cat >>conftest.
$ac_ext <<_ACEOF
27998 /* end confdefs.h. */
27999 /* System header to define __stub macros and hopefully few prototypes,
28000 which can conflict with char $ac_func (); below.
28001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28002 <limits.h> exists even on freestanding compilers. */
28004 # include <limits.h>
28006 # include <assert.h>
28008 /* Override any gcc2 internal prototype to avoid an error. */
28013 /* We use char because int might match the return type of a gcc2
28014 builtin and then its argument prototype would still apply. */
28016 /* The GNU C library defines this for functions which it implements
28017 to always fail with ENOSYS. Some functions are actually named
28018 something starting with __ and the normal name is an alias. */
28019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28022 char (*f) () = $ac_func;
28031 return f != $ac_func;
28036 rm -f conftest.
$ac_objext conftest
$ac_exeext
28037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28038 (eval $ac_link) 2>&5
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); } &&
28042 { ac_try
='test -s conftest$ac_exeext'
28043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28044 (eval $ac_try) 2>&5
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); }; }; then
28048 eval "$as_ac_var=yes"
28050 echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.
$ac_ext >&5
28053 eval "$as_ac_var=no"
28055 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28059 if test `eval echo '${'$as_ac_var'}'` = yes; then
28060 cat >>confdefs.h
<<_ACEOF
28061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28063 cat >>confdefs.h
<<\_ACEOF
28064 #define HAVE_USLEEP 1
28068 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28069 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28087 for ac_func
in uname gethostname
28089 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28090 echo "$as_me:$LINENO: checking for $ac_func" >&5
28091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28092 if eval "test \"\${$as_ac_var+set}\" = set"; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 cat >conftest.
$ac_ext <<_ACEOF
28096 #line $LINENO "configure"
28099 cat confdefs.h
>>conftest.
$ac_ext
28100 cat >>conftest.
$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28102 /* System header to define __stub macros and hopefully few prototypes,
28103 which can conflict with char $ac_func (); below.
28104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28105 <limits.h> exists even on freestanding compilers. */
28107 # include <limits.h>
28109 # include <assert.h>
28111 /* Override any gcc2 internal prototype to avoid an error. */
28116 /* We use char because int might match the return type of a gcc2
28117 builtin and then its argument prototype would still apply. */
28119 /* The GNU C library defines this for functions which it implements
28120 to always fail with ENOSYS. Some functions are actually named
28121 something starting with __ and the normal name is an alias. */
28122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28125 char (*f) () = $ac_func;
28134 return f != $ac_func;
28139 rm -f conftest.
$ac_objext conftest
$ac_exeext
28140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28141 (eval $ac_link) 2>&5
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); } &&
28145 { ac_try
='test -s conftest$ac_exeext'
28146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28147 (eval $ac_try) 2>&5
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); }; }; then
28151 eval "$as_ac_var=yes"
28153 echo "$as_me: failed program was:" >&5
28154 sed 's/^/| /' conftest.
$ac_ext >&5
28156 eval "$as_ac_var=no"
28158 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28162 if test `eval echo '${'$as_ac_var'}'` = yes; then
28163 cat >>confdefs.h
<<_ACEOF
28164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28174 ac_cpp
='$CXXCPP $CPPFLAGS'
28175 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28176 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28177 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28181 for ac_func
in strtok_r
28183 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28184 echo "$as_me:$LINENO: checking for $ac_func" >&5
28185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28186 if eval "test \"\${$as_ac_var+set}\" = set"; then
28187 echo $ECHO_N "(cached) $ECHO_C" >&6
28189 cat >conftest.
$ac_ext <<_ACEOF
28190 #line $LINENO "configure"
28193 cat confdefs.h
>>conftest.
$ac_ext
28194 cat >>conftest.
$ac_ext <<_ACEOF
28195 /* end confdefs.h. */
28196 /* System header to define __stub macros and hopefully few prototypes,
28197 which can conflict with char $ac_func (); below.
28198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28199 <limits.h> exists even on freestanding compilers. */
28201 # include <limits.h>
28203 # include <assert.h>
28205 /* Override any gcc2 internal prototype to avoid an error. */
28210 /* We use char because int might match the return type of a gcc2
28211 builtin and then its argument prototype would still apply. */
28213 /* The GNU C library defines this for functions which it implements
28214 to always fail with ENOSYS. Some functions are actually named
28215 something starting with __ and the normal name is an alias. */
28216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28219 char (*f) () = $ac_func;
28228 return f != $ac_func;
28233 rm -f conftest.
$ac_objext conftest
$ac_exeext
28234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28235 (eval $ac_link) 2>&5
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); } &&
28239 { ac_try
='test -s conftest$ac_exeext'
28240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28241 (eval $ac_try) 2>&5
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); }; }; then
28245 eval "$as_ac_var=yes"
28247 echo "$as_me: failed program was:" >&5
28248 sed 's/^/| /' conftest.
$ac_ext >&5
28250 eval "$as_ac_var=no"
28252 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28256 if test `eval echo '${'$as_ac_var'}'` = yes; then
28257 cat >>confdefs.h
<<_ACEOF
28258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28266 ac_cpp
='$CPP $CPPFLAGS'
28267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28274 for ac_func
in inet_addr
28276 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28277 echo "$as_me:$LINENO: checking for $ac_func" >&5
28278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28279 if eval "test \"\${$as_ac_var+set}\" = set"; then
28280 echo $ECHO_N "(cached) $ECHO_C" >&6
28282 cat >conftest.
$ac_ext <<_ACEOF
28283 #line $LINENO "configure"
28286 cat confdefs.h
>>conftest.
$ac_ext
28287 cat >>conftest.
$ac_ext <<_ACEOF
28288 /* end confdefs.h. */
28289 /* System header to define __stub macros and hopefully few prototypes,
28290 which can conflict with char $ac_func (); below.
28291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28292 <limits.h> exists even on freestanding compilers. */
28294 # include <limits.h>
28296 # include <assert.h>
28298 /* Override any gcc2 internal prototype to avoid an error. */
28303 /* We use char because int might match the return type of a gcc2
28304 builtin and then its argument prototype would still apply. */
28306 /* The GNU C library defines this for functions which it implements
28307 to always fail with ENOSYS. Some functions are actually named
28308 something starting with __ and the normal name is an alias. */
28309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28312 char (*f) () = $ac_func;
28321 return f != $ac_func;
28326 rm -f conftest.
$ac_objext conftest
$ac_exeext
28327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28328 (eval $ac_link) 2>&5
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); } &&
28332 { ac_try
='test -s conftest$ac_exeext'
28333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28334 (eval $ac_try) 2>&5
28336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28337 (exit $ac_status); }; }; then
28338 eval "$as_ac_var=yes"
28340 echo "$as_me: failed program was:" >&5
28341 sed 's/^/| /' conftest.
$ac_ext >&5
28343 eval "$as_ac_var=no"
28345 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28349 if test `eval echo '${'$as_ac_var'}'` = yes; then
28350 cat >>confdefs.h
<<_ACEOF
28351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28353 cat >>confdefs.h
<<\_ACEOF
28354 #define HAVE_INET_ADDR 1
28359 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28360 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28361 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28362 echo $ECHO_N "(cached) $ECHO_C" >&6
28364 ac_check_lib_save_LIBS
=$LIBS
28366 cat >conftest.
$ac_ext <<_ACEOF
28367 #line $LINENO "configure"
28370 cat confdefs.h
>>conftest.
$ac_ext
28371 cat >>conftest.
$ac_ext <<_ACEOF
28372 /* end confdefs.h. */
28374 /* Override any gcc2 internal prototype to avoid an error. */
28378 /* We use char because int might match the return type of a gcc2
28379 builtin and then its argument prototype would still apply. */
28389 rm -f conftest.
$ac_objext conftest
$ac_exeext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28391 (eval $ac_link) 2>&5
28393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28394 (exit $ac_status); } &&
28395 { ac_try
='test -s conftest$ac_exeext'
28396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28397 (eval $ac_try) 2>&5
28399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28400 (exit $ac_status); }; }; then
28401 ac_cv_lib_nsl_inet_addr
=yes
28403 echo "$as_me: failed program was:" >&5
28404 sed 's/^/| /' conftest.
$ac_ext >&5
28406 ac_cv_lib_nsl_inet_addr
=no
28408 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28409 LIBS
=$ac_check_lib_save_LIBS
28411 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28412 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28413 if test $ac_cv_lib_nsl_inet_addr = yes; then
28416 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28417 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28418 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28421 ac_check_lib_save_LIBS
=$LIBS
28422 LIBS
="-lresolv $LIBS"
28423 cat >conftest.
$ac_ext <<_ACEOF
28424 #line $LINENO "configure"
28427 cat confdefs.h
>>conftest.
$ac_ext
28428 cat >>conftest.
$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28431 /* Override any gcc2 internal prototype to avoid an error. */
28435 /* We use char because int might match the return type of a gcc2
28436 builtin and then its argument prototype would still apply. */
28446 rm -f conftest.
$ac_objext conftest
$ac_exeext
28447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28448 (eval $ac_link) 2>&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); } &&
28452 { ac_try
='test -s conftest$ac_exeext'
28453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454 (eval $ac_try) 2>&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); }; }; then
28458 ac_cv_lib_resolv_inet_addr
=yes
28460 echo "$as_me: failed program was:" >&5
28461 sed 's/^/| /' conftest.
$ac_ext >&5
28463 ac_cv_lib_resolv_inet_addr
=no
28465 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28466 LIBS
=$ac_check_lib_save_LIBS
28468 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28469 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28470 if test $ac_cv_lib_resolv_inet_addr = yes; then
28473 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28474 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28475 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28476 echo $ECHO_N "(cached) $ECHO_C" >&6
28478 ac_check_lib_save_LIBS
=$LIBS
28479 LIBS
="-lsocket $LIBS"
28480 cat >conftest.
$ac_ext <<_ACEOF
28481 #line $LINENO "configure"
28484 cat confdefs.h
>>conftest.
$ac_ext
28485 cat >>conftest.
$ac_ext <<_ACEOF
28486 /* end confdefs.h. */
28488 /* Override any gcc2 internal prototype to avoid an error. */
28492 /* We use char because int might match the return type of a gcc2
28493 builtin and then its argument prototype would still apply. */
28503 rm -f conftest.
$ac_objext conftest
$ac_exeext
28504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28505 (eval $ac_link) 2>&5
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); } &&
28509 { ac_try
='test -s conftest$ac_exeext'
28510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28511 (eval $ac_try) 2>&5
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; }; then
28515 ac_cv_lib_socket_inet_addr
=yes
28517 echo "$as_me: failed program was:" >&5
28518 sed 's/^/| /' conftest.
$ac_ext >&5
28520 ac_cv_lib_socket_inet_addr
=no
28522 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28523 LIBS
=$ac_check_lib_save_LIBS
28525 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28526 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28527 if test $ac_cv_lib_socket_inet_addr = yes; then
28545 for ac_func
in inet_aton
28547 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28548 echo "$as_me:$LINENO: checking for $ac_func" >&5
28549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28550 if eval "test \"\${$as_ac_var+set}\" = set"; then
28551 echo $ECHO_N "(cached) $ECHO_C" >&6
28553 cat >conftest.
$ac_ext <<_ACEOF
28554 #line $LINENO "configure"
28557 cat confdefs.h
>>conftest.
$ac_ext
28558 cat >>conftest.
$ac_ext <<_ACEOF
28559 /* end confdefs.h. */
28560 /* System header to define __stub macros and hopefully few prototypes,
28561 which can conflict with char $ac_func (); below.
28562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28563 <limits.h> exists even on freestanding compilers. */
28565 # include <limits.h>
28567 # include <assert.h>
28569 /* 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. */
28577 /* The GNU C library defines this for functions which it implements
28578 to always fail with ENOSYS. Some functions are actually named
28579 something starting with __ and the normal name is an alias. */
28580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28583 char (*f) () = $ac_func;
28592 return f != $ac_func;
28597 rm -f conftest.
$ac_objext conftest
$ac_exeext
28598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28599 (eval $ac_link) 2>&5
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); } &&
28603 { ac_try
='test -s conftest$ac_exeext'
28604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28605 (eval $ac_try) 2>&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); }; }; then
28609 eval "$as_ac_var=yes"
28611 echo "$as_me: failed program was:" >&5
28612 sed 's/^/| /' conftest.
$ac_ext >&5
28614 eval "$as_ac_var=no"
28616 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28620 if test `eval echo '${'$as_ac_var'}'` = yes; then
28621 cat >>confdefs.h
<<_ACEOF
28622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28624 cat >>confdefs.h
<<\_ACEOF
28625 #define HAVE_INET_ATON 1
28630 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28631 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28632 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28633 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28636 ac_check_lib_save_LIBS
=$LIBS
28637 LIBS
="-l$INET_LINK $LIBS"
28638 cat >conftest.
$ac_ext <<_ACEOF
28639 #line $LINENO "configure"
28642 cat confdefs.h
>>conftest.
$ac_ext
28643 cat >>conftest.
$ac_ext <<_ACEOF
28644 /* end confdefs.h. */
28646 /* Override any gcc2 internal prototype to avoid an error. */
28650 /* We use char because int might match the return type of a gcc2
28651 builtin and then its argument prototype would still apply. */
28661 rm -f conftest.
$ac_objext conftest
$ac_exeext
28662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28663 (eval $ac_link) 2>&5
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } &&
28667 { ac_try
='test -s conftest$ac_exeext'
28668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28669 (eval $ac_try) 2>&5
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); }; }; then
28673 eval "$as_ac_Lib=yes"
28675 echo "$as_me: failed program was:" >&5
28676 sed 's/^/| /' conftest.
$ac_ext >&5
28678 eval "$as_ac_Lib=no"
28680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28681 LIBS
=$ac_check_lib_save_LIBS
28683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28684 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28685 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28686 cat >>confdefs.h
<<\_ACEOF
28687 #define HAVE_INET_ATON 1
28697 if test "x$INET_LINK" != "x"; then
28698 cat >>confdefs.h
<<\_ACEOF
28699 #define HAVE_INET_ADDR 1
28702 INET_LINK
=" -l$INET_LINK"
28710 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28711 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28712 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28713 echo $ECHO_N "(cached) $ECHO_C" >&6
28715 ac_check_lib_save_LIBS
=$LIBS
28717 cat >conftest.
$ac_ext <<_ACEOF
28718 #line $LINENO "configure"
28721 cat confdefs.h
>>conftest.
$ac_ext
28722 cat >>conftest.
$ac_ext <<_ACEOF
28723 /* end confdefs.h. */
28725 /* Override any gcc2 internal prototype to avoid an error. */
28729 /* We use char because int might match the return type of a gcc2
28730 builtin and then its argument prototype would still apply. */
28740 rm -f conftest.
$ac_objext conftest
$ac_exeext
28741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28742 (eval $ac_link) 2>&5
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); } &&
28746 { ac_try
='test -s conftest$ac_exeext'
28747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28748 (eval $ac_try) 2>&5
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); }; }; then
28752 ac_cv_lib_esd_esd_close
=yes
28754 echo "$as_me: failed program was:" >&5
28755 sed 's/^/| /' conftest.
$ac_ext >&5
28757 ac_cv_lib_esd_esd_close
=no
28759 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28760 LIBS
=$ac_check_lib_save_LIBS
28762 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28763 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28764 if test $ac_cv_lib_esd_esd_close = yes; then
28767 for ac_header
in esd.h
28769 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28771 echo "$as_me:$LINENO: checking for $ac_header" >&5
28772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28774 echo $ECHO_N "(cached) $ECHO_C" >&6
28776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28779 # Is the header compilable?
28780 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28781 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28782 cat >conftest.
$ac_ext <<_ACEOF
28783 #line $LINENO "configure"
28786 cat confdefs.h
>>conftest.
$ac_ext
28787 cat >>conftest.
$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28789 $ac_includes_default
28790 #include <$ac_header>
28792 rm -f conftest.
$ac_objext
28793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28794 (eval $ac_compile) 2>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try
='test -s conftest.$ac_objext'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28804 ac_header_compiler
=yes
28806 echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.
$ac_ext >&5
28809 ac_header_compiler
=no
28811 rm -f conftest.
$ac_objext conftest.
$ac_ext
28812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28813 echo "${ECHO_T}$ac_header_compiler" >&6
28815 # Is the header present?
28816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28818 cat >conftest.
$ac_ext <<_ACEOF
28819 #line $LINENO "configure"
28822 cat confdefs.h
>>conftest.
$ac_ext
28823 cat >>conftest.
$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28825 #include <$ac_header>
28827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28830 grep -v '^ *+' conftest.er1
>conftest.err
28832 cat conftest.err
>&5
28833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 (exit $ac_status); } >/dev
/null
; then
28835 if test -s conftest.err
; then
28836 ac_cpp_err
=$ac_c_preproc_warn_flag
28843 if test -z "$ac_cpp_err"; then
28844 ac_header_preproc
=yes
28846 echo "$as_me: failed program was:" >&5
28847 sed 's/^/| /' conftest.
$ac_ext >&5
28849 ac_header_preproc
=no
28851 rm -f conftest.err conftest.
$ac_ext
28852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28853 echo "${ECHO_T}$ac_header_preproc" >&6
28855 # So? What about this header?
28856 case $ac_header_compiler:$ac_header_preproc in
28858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28864 ## ------------------------------------ ##
28865 ## Report this to bug-autoconf@gnu.org. ##
28866 ## ------------------------------------ ##
28869 sed "s/^/$as_me: WARNING: /" >&2
28872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28877 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28880 ## ------------------------------------ ##
28881 ## Report this to bug-autoconf@gnu.org. ##
28882 ## ------------------------------------ ##
28885 sed "s/^/$as_me: WARNING: /" >&2
28888 echo "$as_me:$LINENO: checking for $ac_header" >&5
28889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28891 echo $ECHO_N "(cached) $ECHO_C" >&6
28893 eval "$as_ac_Header=$ac_header_preproc"
28895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28900 cat >>confdefs.h
<<_ACEOF
28901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28904 EXTRALIBS_ESD
="-lesd"
28917 cat >confcache
<<\_ACEOF
28918 # This file is a shell script that caches the results of configure
28919 # tests run on this system so they can be shared between configure
28920 # scripts and configure runs, see configure's option --config-cache.
28921 # It is not useful on other systems. If it contains results you don't
28922 # want to keep, you may remove or edit it.
28924 # config.status only pays attention to the cache file if you give it
28925 # the --recheck option to rerun configure.
28927 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28928 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28929 # following values.
28933 # The following way of writing the cache mishandles newlines in values,
28934 # but we know of no workaround that is simple, portable, and efficient.
28935 # So, don't put newlines in cache variables' values.
28936 # Ultrix sh set writes to stderr and can't be redirected directly,
28937 # and sets the high bit in the cache file unless we assign to the vars.
28940 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28942 # `set' does not quote correctly, so add quotes (double-quote
28943 # substitution turns \\\\ into \\, and sed turns \\ into \).
28946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28949 # `set' quotes correctly as required by POSIX, so do not add quotes.
28951 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28958 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28960 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28962 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28963 if test -w $cache_file; then
28964 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28965 cat confcache
>$cache_file
28967 echo "not updating unwritable cache $cache_file"
28974 if test "$TOOLKIT" != "MSW"; then
28980 if test "$wxUSE_THREADS" = "yes" ; then
28981 if test "$USE_BEOS" = 1; then
28982 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28983 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28988 if test "$wxUSE_THREADS" = "yes" ; then
28991 THREAD_OPTS
="-pthread"
28993 *-*-solaris2* | *-*-sunos4* )
28994 if test "x$GCC" = "xyes"; then
28995 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28997 THREAD_OPTS
="-mt $THREAD_OPTS"
29001 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29003 *-*-darwin* | *-*-cygwin* )
29007 THREAD_OPTS
="pthreads"
29010 if test "x$GCC" != "xyes"; then
29016 if test "x$GCC" = "xyes"; then
29022 if test "x$GCC" != "xyes"; then
29023 THREAD_OPTS
="-Ethread"
29028 THREAD_OPTS
="$THREAD_OPTS pthread none"
29031 for flag
in $THREAD_OPTS; do
29034 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29035 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29039 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29040 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29041 THREADS_CFLAGS
="$flag"
29045 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29046 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29047 THREADS_LINK
="-l$flag"
29052 save_CFLAGS
="$CFLAGS"
29053 LIBS
="$THREADS_LINK $LIBS"
29054 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29056 cat >conftest.
$ac_ext <<_ACEOF
29057 #line $LINENO "configure"
29060 cat confdefs.h
>>conftest.
$ac_ext
29061 cat >>conftest.
$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29063 #include <pthread.h>
29067 pthread_create(0,0,0,0);
29072 rm -f conftest.
$ac_objext conftest
$ac_exeext
29073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29074 (eval $ac_link) 2>&5
29076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); } &&
29078 { ac_try
='test -s conftest$ac_exeext'
29079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29080 (eval $ac_try) 2>&5
29082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); }; }; then
29086 echo "$as_me: failed program was:" >&5
29087 sed 's/^/| /' conftest.
$ac_ext >&5
29090 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29093 CFLAGS
="$save_CFLAGS"
29095 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29096 echo "${ECHO_T}$THREADS_OK" >&6
29097 if test "x$THREADS_OK" = "xyes"; then
29105 if test "x$THREADS_OK" != "xyes"; then
29107 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29108 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29110 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29111 LIBS
="$THREADS_LINK $LIBS"
29113 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29114 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29118 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29119 flag
="-D_THREAD_SAFE"
29122 flag
="-D_THREAD_SAFE"
29125 flag
="-D_REENTRANT"
29126 if test "x$GCC" != "xyes"; then
29127 flag
="$flag -D_RWSTD_MULTI_THREAD"
29130 *solaris
* | alpha
*-osf*)
29131 flag
="-D_REENTRANT"
29134 echo "$as_me:$LINENO: result: ${flag}" >&5
29135 echo "${ECHO_T}${flag}" >&6
29136 if test "x$flag" != xno
; then
29137 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29140 if test "x$THREADS_CFLAGS" != "x"; then
29141 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29142 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29147 if test "$wxUSE_THREADS" = "yes" ; then
29149 for ac_func
in thr_setconcurrency
29151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29152 echo "$as_me:$LINENO: checking for $ac_func" >&5
29153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29154 if eval "test \"\${$as_ac_var+set}\" = set"; then
29155 echo $ECHO_N "(cached) $ECHO_C" >&6
29157 cat >conftest.
$ac_ext <<_ACEOF
29158 #line $LINENO "configure"
29161 cat confdefs.h
>>conftest.
$ac_ext
29162 cat >>conftest.
$ac_ext <<_ACEOF
29163 /* end confdefs.h. */
29164 /* System header to define __stub macros and hopefully few prototypes,
29165 which can conflict with char $ac_func (); below.
29166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29167 <limits.h> exists even on freestanding compilers. */
29169 # include <limits.h>
29171 # include <assert.h>
29173 /* Override any gcc2 internal prototype to avoid an error. */
29178 /* We use char because int might match the return type of a gcc2
29179 builtin and then its argument prototype would still apply. */
29181 /* The GNU C library defines this for functions which it implements
29182 to always fail with ENOSYS. Some functions are actually named
29183 something starting with __ and the normal name is an alias. */
29184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29187 char (*f) () = $ac_func;
29196 return f != $ac_func;
29201 rm -f conftest.
$ac_objext conftest
$ac_exeext
29202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29203 (eval $ac_link) 2>&5
29205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29206 (exit $ac_status); } &&
29207 { ac_try
='test -s conftest$ac_exeext'
29208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29209 (eval $ac_try) 2>&5
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); }; }; then
29213 eval "$as_ac_var=yes"
29215 echo "$as_me: failed program was:" >&5
29216 sed 's/^/| /' conftest.
$ac_ext >&5
29218 eval "$as_ac_var=no"
29220 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29224 if test `eval echo '${'$as_ac_var'}'` = yes; then
29225 cat >>confdefs.h
<<_ACEOF
29226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29234 for ac_header
in sched.h
29236 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29238 echo "$as_me:$LINENO: checking for $ac_header" >&5
29239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29241 echo $ECHO_N "(cached) $ECHO_C" >&6
29243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29246 # Is the header compilable?
29247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29249 cat >conftest.
$ac_ext <<_ACEOF
29250 #line $LINENO "configure"
29253 cat confdefs.h
>>conftest.
$ac_ext
29254 cat >>conftest.
$ac_ext <<_ACEOF
29255 /* end confdefs.h. */
29256 $ac_includes_default
29257 #include <$ac_header>
29259 rm -f conftest.
$ac_objext
29260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29261 (eval $ac_compile) 2>&5
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); } &&
29265 { ac_try
='test -s conftest.$ac_objext'
29266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29267 (eval $ac_try) 2>&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); }; }; then
29271 ac_header_compiler
=yes
29273 echo "$as_me: failed program was:" >&5
29274 sed 's/^/| /' conftest.
$ac_ext >&5
29276 ac_header_compiler
=no
29278 rm -f conftest.
$ac_objext conftest.
$ac_ext
29279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29280 echo "${ECHO_T}$ac_header_compiler" >&6
29282 # Is the header present?
29283 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29285 cat >conftest.
$ac_ext <<_ACEOF
29286 #line $LINENO "configure"
29289 cat confdefs.h
>>conftest.
$ac_ext
29290 cat >>conftest.
$ac_ext <<_ACEOF
29291 /* end confdefs.h. */
29292 #include <$ac_header>
29294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29297 grep -v '^ *+' conftest.er1
>conftest.err
29299 cat conftest.err
>&5
29300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29301 (exit $ac_status); } >/dev
/null
; then
29302 if test -s conftest.err
; then
29303 ac_cpp_err
=$ac_c_preproc_warn_flag
29310 if test -z "$ac_cpp_err"; then
29311 ac_header_preproc
=yes
29313 echo "$as_me: failed program was:" >&5
29314 sed 's/^/| /' conftest.
$ac_ext >&5
29316 ac_header_preproc
=no
29318 rm -f conftest.err conftest.
$ac_ext
29319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29320 echo "${ECHO_T}$ac_header_preproc" >&6
29322 # So? What about this header?
29323 case $ac_header_compiler:$ac_header_preproc in
29325 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29326 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29331 ## ------------------------------------ ##
29332 ## Report this to bug-autoconf@gnu.org. ##
29333 ## ------------------------------------ ##
29336 sed "s/^/$as_me: WARNING: /" >&2
29339 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29340 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29341 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29342 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29347 ## ------------------------------------ ##
29348 ## Report this to bug-autoconf@gnu.org. ##
29349 ## ------------------------------------ ##
29352 sed "s/^/$as_me: WARNING: /" >&2
29355 echo "$as_me:$LINENO: checking for $ac_header" >&5
29356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29358 echo $ECHO_N "(cached) $ECHO_C" >&6
29360 eval "$as_ac_Header=$ac_header_preproc"
29362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29367 cat >>confdefs.h
<<_ACEOF
29368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29375 if test "$ac_cv_header_sched_h" = "yes"; then
29376 echo "$as_me:$LINENO: checking for sched_yield" >&5
29377 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29378 if test "${ac_cv_func_sched_yield+set}" = set; then
29379 echo $ECHO_N "(cached) $ECHO_C" >&6
29381 cat >conftest.
$ac_ext <<_ACEOF
29382 #line $LINENO "configure"
29385 cat confdefs.h
>>conftest.
$ac_ext
29386 cat >>conftest.
$ac_ext <<_ACEOF
29387 /* end confdefs.h. */
29388 /* System header to define __stub macros and hopefully few prototypes,
29389 which can conflict with char sched_yield (); below.
29390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29391 <limits.h> exists even on freestanding compilers. */
29393 # include <limits.h>
29395 # include <assert.h>
29397 /* Override any gcc2 internal prototype to avoid an error. */
29402 /* We use char because int might match the return type of a gcc2
29403 builtin and then its argument prototype would still apply. */
29404 char sched_yield ();
29405 /* The GNU C library defines this for functions which it implements
29406 to always fail with ENOSYS. Some functions are actually named
29407 something starting with __ and the normal name is an alias. */
29408 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29411 char (*f) () = sched_yield;
29420 return f != sched_yield;
29425 rm -f conftest.
$ac_objext conftest
$ac_exeext
29426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29427 (eval $ac_link) 2>&5
29429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430 (exit $ac_status); } &&
29431 { ac_try
='test -s conftest$ac_exeext'
29432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29433 (eval $ac_try) 2>&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); }; }; then
29437 ac_cv_func_sched_yield
=yes
29439 echo "$as_me: failed program was:" >&5
29440 sed 's/^/| /' conftest.
$ac_ext >&5
29442 ac_cv_func_sched_yield
=no
29444 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29446 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29447 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29448 if test $ac_cv_func_sched_yield = yes; then
29449 cat >>confdefs.h
<<\_ACEOF
29450 #define HAVE_SCHED_YIELD 1
29455 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29456 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29457 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29458 echo $ECHO_N "(cached) $ECHO_C" >&6
29460 ac_check_lib_save_LIBS
=$LIBS
29461 LIBS
="-lposix4 $LIBS"
29462 cat >conftest.
$ac_ext <<_ACEOF
29463 #line $LINENO "configure"
29466 cat confdefs.h
>>conftest.
$ac_ext
29467 cat >>conftest.
$ac_ext <<_ACEOF
29468 /* end confdefs.h. */
29470 /* Override any gcc2 internal prototype to avoid an error. */
29474 /* We use char because int might match the return type of a gcc2
29475 builtin and then its argument prototype would still apply. */
29476 char sched_yield ();
29485 rm -f conftest.
$ac_objext conftest
$ac_exeext
29486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29487 (eval $ac_link) 2>&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } &&
29491 { ac_try
='test -s conftest$ac_exeext'
29492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29493 (eval $ac_try) 2>&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); }; }; then
29497 ac_cv_lib_posix4_sched_yield
=yes
29499 echo "$as_me: failed program was:" >&5
29500 sed 's/^/| /' conftest.
$ac_ext >&5
29502 ac_cv_lib_posix4_sched_yield
=no
29504 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29505 LIBS
=$ac_check_lib_save_LIBS
29507 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29508 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29509 if test $ac_cv_lib_posix4_sched_yield = yes; then
29510 cat >>confdefs.h
<<\_ACEOF
29511 #define HAVE_SCHED_YIELD 1
29513 POSIX4_LINK
=" -lposix4"
29515 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29516 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29527 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29528 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29529 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29530 echo $ECHO_N "(cached) $ECHO_C" >&6
29532 cat >conftest.
$ac_ext <<_ACEOF
29533 #line $LINENO "configure"
29536 cat confdefs.h
>>conftest.
$ac_ext
29537 cat >>conftest.
$ac_ext <<_ACEOF
29538 /* end confdefs.h. */
29539 /* System header to define __stub macros and hopefully few prototypes,
29540 which can conflict with char pthread_attr_getschedpolicy (); below.
29541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29542 <limits.h> exists even on freestanding compilers. */
29544 # include <limits.h>
29546 # include <assert.h>
29548 /* Override any gcc2 internal prototype to avoid an error. */
29553 /* We use char because int might match the return type of a gcc2
29554 builtin and then its argument prototype would still apply. */
29555 char pthread_attr_getschedpolicy ();
29556 /* The GNU C library defines this for functions which it implements
29557 to always fail with ENOSYS. Some functions are actually named
29558 something starting with __ and the normal name is an alias. */
29559 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29562 char (*f) () = pthread_attr_getschedpolicy;
29571 return f != pthread_attr_getschedpolicy;
29576 rm -f conftest.
$ac_objext conftest
$ac_exeext
29577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29578 (eval $ac_link) 2>&5
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); } &&
29582 { ac_try
='test -s conftest$ac_exeext'
29583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29584 (eval $ac_try) 2>&5
29586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29587 (exit $ac_status); }; }; then
29588 ac_cv_func_pthread_attr_getschedpolicy
=yes
29590 echo "$as_me: failed program was:" >&5
29591 sed 's/^/| /' conftest.
$ac_ext >&5
29593 ac_cv_func_pthread_attr_getschedpolicy
=no
29595 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29597 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29598 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29599 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29600 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29601 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29602 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29603 echo $ECHO_N "(cached) $ECHO_C" >&6
29605 cat >conftest.
$ac_ext <<_ACEOF
29606 #line $LINENO "configure"
29609 cat confdefs.h
>>conftest.
$ac_ext
29610 cat >>conftest.
$ac_ext <<_ACEOF
29611 /* end confdefs.h. */
29612 /* System header to define __stub macros and hopefully few prototypes,
29613 which can conflict with char pthread_attr_setschedparam (); below.
29614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29615 <limits.h> exists even on freestanding compilers. */
29617 # include <limits.h>
29619 # include <assert.h>
29621 /* Override any gcc2 internal prototype to avoid an error. */
29626 /* We use char because int might match the return type of a gcc2
29627 builtin and then its argument prototype would still apply. */
29628 char pthread_attr_setschedparam ();
29629 /* The GNU C library defines this for functions which it implements
29630 to always fail with ENOSYS. Some functions are actually named
29631 something starting with __ and the normal name is an alias. */
29632 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29635 char (*f) () = pthread_attr_setschedparam;
29644 return f != pthread_attr_setschedparam;
29649 rm -f conftest.
$ac_objext conftest
$ac_exeext
29650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29651 (eval $ac_link) 2>&5
29653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29654 (exit $ac_status); } &&
29655 { ac_try
='test -s conftest$ac_exeext'
29656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29657 (eval $ac_try) 2>&5
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); }; }; then
29661 ac_cv_func_pthread_attr_setschedparam
=yes
29663 echo "$as_me: failed program was:" >&5
29664 sed 's/^/| /' conftest.
$ac_ext >&5
29666 ac_cv_func_pthread_attr_setschedparam
=no
29668 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29670 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29671 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29672 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29673 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29674 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29675 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29676 echo $ECHO_N "(cached) $ECHO_C" >&6
29678 cat >conftest.
$ac_ext <<_ACEOF
29679 #line $LINENO "configure"
29682 cat confdefs.h
>>conftest.
$ac_ext
29683 cat >>conftest.
$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29685 /* System header to define __stub macros and hopefully few prototypes,
29686 which can conflict with char sched_get_priority_max (); below.
29687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29688 <limits.h> exists even on freestanding compilers. */
29690 # include <limits.h>
29692 # include <assert.h>
29694 /* Override any gcc2 internal prototype to avoid an error. */
29699 /* We use char because int might match the return type of a gcc2
29700 builtin and then its argument prototype would still apply. */
29701 char sched_get_priority_max ();
29702 /* The GNU C library defines this for functions which it implements
29703 to always fail with ENOSYS. Some functions are actually named
29704 something starting with __ and the normal name is an alias. */
29705 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29708 char (*f) () = sched_get_priority_max;
29717 return f != sched_get_priority_max;
29722 rm -f conftest.
$ac_objext conftest
$ac_exeext
29723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29724 (eval $ac_link) 2>&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } &&
29728 { ac_try
='test -s conftest$ac_exeext'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; }; then
29734 ac_cv_func_sched_get_priority_max
=yes
29736 echo "$as_me: failed program was:" >&5
29737 sed 's/^/| /' conftest.
$ac_ext >&5
29739 ac_cv_func_sched_get_priority_max
=no
29741 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29743 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29744 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29745 if test $ac_cv_func_sched_get_priority_max = yes; then
29748 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29749 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29750 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29751 echo $ECHO_N "(cached) $ECHO_C" >&6
29753 ac_check_lib_save_LIBS
=$LIBS
29754 LIBS
="-lposix4 $LIBS"
29755 cat >conftest.
$ac_ext <<_ACEOF
29756 #line $LINENO "configure"
29759 cat confdefs.h
>>conftest.
$ac_ext
29760 cat >>conftest.
$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29763 /* Override any gcc2 internal prototype to avoid an error. */
29767 /* We use char because int might match the return type of a gcc2
29768 builtin and then its argument prototype would still apply. */
29769 char sched_get_priority_max ();
29773 sched_get_priority_max ();
29778 rm -f conftest.
$ac_objext conftest
$ac_exeext
29779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29780 (eval $ac_link) 2>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } &&
29784 { ac_try
='test -s conftest$ac_exeext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 ac_cv_lib_posix4_sched_get_priority_max
=yes
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.
$ac_ext >&5
29795 ac_cv_lib_posix4_sched_get_priority_max
=no
29797 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29798 LIBS
=$ac_check_lib_save_LIBS
29800 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29801 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29802 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29805 POSIX4_LINK
=" -lposix4"
29819 if test "$HAVE_PRIOR_FUNCS" = 1; then
29820 cat >>confdefs.h
<<\_ACEOF
29821 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29825 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29826 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29829 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29830 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29831 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29832 echo $ECHO_N "(cached) $ECHO_C" >&6
29834 cat >conftest.
$ac_ext <<_ACEOF
29835 #line $LINENO "configure"
29838 cat confdefs.h
>>conftest.
$ac_ext
29839 cat >>conftest.
$ac_ext <<_ACEOF
29840 /* end confdefs.h. */
29841 /* System header to define __stub macros and hopefully few prototypes,
29842 which can conflict with char pthread_cancel (); below.
29843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29844 <limits.h> exists even on freestanding compilers. */
29846 # include <limits.h>
29848 # include <assert.h>
29850 /* Override any gcc2 internal prototype to avoid an error. */
29855 /* We use char because int might match the return type of a gcc2
29856 builtin and then its argument prototype would still apply. */
29857 char pthread_cancel ();
29858 /* The GNU C library defines this for functions which it implements
29859 to always fail with ENOSYS. Some functions are actually named
29860 something starting with __ and the normal name is an alias. */
29861 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29864 char (*f) () = pthread_cancel;
29873 return f != pthread_cancel;
29878 rm -f conftest.
$ac_objext conftest
$ac_exeext
29879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29880 (eval $ac_link) 2>&5
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); } &&
29884 { ac_try
='test -s conftest$ac_exeext'
29885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29886 (eval $ac_try) 2>&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; }; then
29890 ac_cv_func_pthread_cancel
=yes
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.
$ac_ext >&5
29895 ac_cv_func_pthread_cancel
=no
29897 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29899 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29900 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29901 if test $ac_cv_func_pthread_cancel = yes; then
29902 cat >>confdefs.h
<<\_ACEOF
29903 #define HAVE_PTHREAD_CANCEL 1
29907 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29908 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29912 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29913 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29914 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29915 echo $ECHO_N "(cached) $ECHO_C" >&6
29918 cat >conftest.
$ac_ext <<_ACEOF
29919 #line $LINENO "configure"
29922 cat confdefs.h
>>conftest.
$ac_ext
29923 cat >>conftest.
$ac_ext <<_ACEOF
29924 /* end confdefs.h. */
29925 #include <pthread.h>
29930 pthread_cleanup_push(NULL, NULL);
29931 pthread_cleanup_pop(0);
29937 rm -f conftest.
$ac_objext
29938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29939 (eval $ac_compile) 2>&5
29941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 (exit $ac_status); } &&
29943 { ac_try
='test -s conftest.$ac_objext'
29944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29945 (eval $ac_try) 2>&5
29947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 (exit $ac_status); }; }; then
29950 wx_cv_func_pthread_cleanup_push
=yes
29953 echo "$as_me: failed program was:" >&5
29954 sed 's/^/| /' conftest.
$ac_ext >&5
29957 wx_cv_func_pthread_cleanup_push
=no
29960 rm -f conftest.
$ac_objext conftest.
$ac_ext
29963 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29964 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29966 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29967 cat >>confdefs.h
<<\_ACEOF
29968 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29974 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29975 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29976 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29977 echo $ECHO_N "(cached) $ECHO_C" >&6
29980 cat >conftest.
$ac_ext <<_ACEOF
29981 #line $LINENO "configure"
29984 cat confdefs.h
>>conftest.
$ac_ext
29985 cat >>conftest.
$ac_ext <<_ACEOF
29986 /* end confdefs.h. */
29987 #include <pthread.h>
29992 pthread_mutexattr_t attr;
29993 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29999 rm -f conftest.
$ac_objext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30001 (eval $ac_compile) 2>&5
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); } &&
30005 { ac_try
='test -s conftest.$ac_objext'
30006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007 (eval $ac_try) 2>&5
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); }; }; then
30012 wx_cv_type_pthread_mutexattr_t
=yes
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.
$ac_ext >&5
30019 wx_cv_type_pthread_mutexattr_t
=no
30023 rm -f conftest.
$ac_objext conftest.
$ac_ext
30026 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30027 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30029 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30030 cat >>confdefs.h
<<\_ACEOF
30031 #define HAVE_PTHREAD_MUTEXATTR_T 1
30035 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30036 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30037 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30038 echo $ECHO_N "(cached) $ECHO_C" >&6
30041 cat >conftest.
$ac_ext <<_ACEOF
30042 #line $LINENO "configure"
30045 cat confdefs.h
>>conftest.
$ac_ext
30046 cat >>conftest.
$ac_ext <<_ACEOF
30047 /* end confdefs.h. */
30048 #include <pthread.h>
30053 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30059 rm -f conftest.
$ac_objext
30060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30061 (eval $ac_compile) 2>&5
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); } &&
30065 { ac_try
='test -s conftest.$ac_objext'
30066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30067 (eval $ac_try) 2>&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); }; }; then
30072 wx_cv_type_pthread_rec_mutex_init
=yes
30075 echo "$as_me: failed program was:" >&5
30076 sed 's/^/| /' conftest.
$ac_ext >&5
30079 wx_cv_type_pthread_rec_mutex_init
=no
30083 rm -f conftest.
$ac_objext conftest.
$ac_ext
30086 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30087 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30088 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30089 cat >>confdefs.h
<<\_ACEOF
30090 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30094 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30095 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30101 if test "$wxUSE_THREADS" = "yes" ; then
30104 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30105 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30106 if test "${wx_cv_cflags_mthread+set}" = set; then
30107 echo $ECHO_N "(cached) $ECHO_C" >&6
30110 CFLAGS_OLD
="$CFLAGS"
30111 CFLAGS
="$CFLAGS -mthreads"
30112 cat >conftest.
$ac_ext <<_ACEOF
30113 #line $LINENO "configure"
30116 cat confdefs.h
>>conftest.
$ac_ext
30117 cat >>conftest.
$ac_ext <<_ACEOF
30118 /* end confdefs.h. */
30128 rm -f conftest.
$ac_objext
30129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30130 (eval $ac_compile) 2>&5
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); } &&
30134 { ac_try
='test -s conftest.$ac_objext'
30135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136 (eval $ac_try) 2>&5
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); }; }; then
30140 wx_cv_cflags_mthread
=yes
30142 echo "$as_me: failed program was:" >&5
30143 sed 's/^/| /' conftest.
$ac_ext >&5
30145 wx_cv_cflags_mthread
=no
30148 rm -f conftest.
$ac_objext conftest.
$ac_ext
30152 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30153 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30155 if test "$wx_cv_cflags_mthread" = "yes"; then
30156 CXXFLAGS
="$CXXFLAGS -mthreads"
30157 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30158 LDFLAGS
="$LDFLAGS -mthreads"
30160 CFLAGS
="$CFLAGS_OLD"
30167 if test "$wxUSE_THREADS" = "yes"; then
30168 cat >>confdefs.h
<<\_ACEOF
30169 #define wxUSE_THREADS 1
30173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30175 if test "$ac_cv_func_strtok_r" = "yes"; then
30176 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30177 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30178 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30179 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30180 echo "$as_me:$LINENO: result: yes" >&5
30181 echo "${ECHO_T}yes" >&6
30183 echo "$as_me:$LINENO: result: no" >&5
30184 echo "${ECHO_T}no" >&6
30189 if test "$WXGTK20" = 1 ; then
30190 cat >>confdefs.h
<<_ACEOF
30191 #define __WXGTK20__ $WXGTK20
30197 if test "$WXGTK12" = 1 ; then
30198 cat >>confdefs.h
<<_ACEOF
30199 #define __WXGTK12__ $WXGTK12
30204 if test "$WXGTK127" = 1 ; then
30205 cat >>confdefs.h
<<_ACEOF
30206 #define __WXGTK127__ $WXGTK127
30213 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30218 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30219 wxUSE_DEBUG_INFO
=yes
30223 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30224 cat >>confdefs.h
<<\_ACEOF
30228 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30230 if test "$wxUSE_GTK" = 1 ; then
30231 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30235 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30236 cat >>confdefs.h
<<\_ACEOF
30237 #define wxUSE_MEMORY_TRACING 1
30240 cat >>confdefs.h
<<\_ACEOF
30241 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30244 cat >>confdefs.h
<<\_ACEOF
30245 #define wxUSE_DEBUG_NEW_ALWAYS 1
30248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30251 if test "$wxUSE_DMALLOC" = "yes" ; then
30252 DMALLOC_LIBS
="-ldmalloc"
30256 if test "$wxUSE_PROFILE" = "yes" ; then
30261 CODE_GEN_FLAGS_CXX
=
30262 if test "$GCC" = "yes" ; then
30263 if test "$wxUSE_NO_RTTI" = "yes" ; then
30264 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30266 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30267 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30269 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30270 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30275 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30278 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30284 if test "$wxUSE_OPTIMISE" = "no" ; then
30285 if test "$GCC" = yes ; then
30289 if test "$GCC" = yes ; then
30293 i586
-*-*|i686
-*-* )
30294 OPTIMISE
="${OPTIMISE} "
30303 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30304 cat >>confdefs.h
<<\_ACEOF
30305 #define WXWIN_COMPATIBILITY_2 1
30309 WXWIN_COMPATIBILITY_2_2
="yes"
30312 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30313 cat >>confdefs.h
<<\_ACEOF
30314 #define WXWIN_COMPATIBILITY_2_2 1
30318 WXWIN_COMPATIBILITY_2_4
="yes"
30321 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30322 cat >>confdefs.h
<<\_ACEOF
30323 #define WXWIN_COMPATIBILITY_2_4 1
30329 if test "$wxUSE_GUI" = "yes"; then
30330 cat >>confdefs.h
<<\_ACEOF
30331 #define wxUSE_GUI 1
30336 cat >>confdefs.h
<<\_ACEOF
30337 #define wxUSE_NOGUI 1
30343 if test "$wxUSE_UNIX" = "yes"; then
30344 cat >>confdefs.h
<<\_ACEOF
30345 #define wxUSE_UNIX 1
30351 if test "$wxUSE_STL" = "yes"; then
30352 cat >>confdefs.h
<<\_ACEOF
30353 #define wxUSE_STL 1
30358 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30359 cat >>confdefs.h
<<\_ACEOF
30360 #define wxUSE_APPLE_IEEE 1
30365 if test "$wxUSE_TIMER" = "yes"; then
30366 cat >>confdefs.h
<<\_ACEOF
30367 #define wxUSE_TIMER 1
30372 if test "$wxUSE_WAVE" = "yes"; then
30373 cat >>confdefs.h
<<\_ACEOF
30374 #define wxUSE_WAVE 1
30379 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30380 cat >>confdefs.h
<<\_ACEOF
30381 #define wxUSE_CMDLINE_PARSER 1
30386 if test "$wxUSE_STOPWATCH" = "yes"; then
30387 cat >>confdefs.h
<<\_ACEOF
30388 #define wxUSE_STOPWATCH 1
30393 if test "$wxUSE_DATETIME" = "yes"; then
30394 cat >>confdefs.h
<<\_ACEOF
30395 #define wxUSE_DATETIME 1
30400 if test "$wxUSE_FILE" = "yes"; then
30401 cat >>confdefs.h
<<\_ACEOF
30402 #define wxUSE_FILE 1
30407 if test "$wxUSE_FFILE" = "yes"; then
30408 cat >>confdefs.h
<<\_ACEOF
30409 #define wxUSE_FFILE 1
30414 if test "$wxUSE_FILESYSTEM" = "yes"; then
30415 cat >>confdefs.h
<<\_ACEOF
30416 #define wxUSE_FILESYSTEM 1
30421 if test "$wxUSE_FS_ZIP" = "yes"; then
30422 cat >>confdefs.h
<<\_ACEOF
30423 #define wxUSE_FS_ZIP 1
30428 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30429 cat >>confdefs.h
<<\_ACEOF
30430 #define wxUSE_ZIPSTREAM 1
30435 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30436 cat >>confdefs.h
<<\_ACEOF
30437 #define wxUSE_ON_FATAL_EXCEPTION 1
30442 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30443 cat >>confdefs.h
<<\_ACEOF
30444 #define wxUSE_SNGLINST_CHECKER 1
30449 if test "$wxUSE_BUSYINFO" = "yes"; then
30450 cat >>confdefs.h
<<\_ACEOF
30451 #define wxUSE_BUSYINFO 1
30456 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30457 cat >>confdefs.h
<<\_ACEOF
30458 #define wxUSE_STD_IOSTREAM 1
30463 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30464 cat >>confdefs.h
<<\_ACEOF
30465 #define wxUSE_TEXTBUFFER 1
30470 if test "$wxUSE_TEXTFILE" = "yes"; then
30471 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30472 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30473 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30475 cat >>confdefs.h
<<\_ACEOF
30476 #define wxUSE_TEXTFILE 1
30482 if test "$wxUSE_CONFIG" = "yes" ; then
30483 if test "$wxUSE_TEXTFILE" != "yes"; then
30484 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30485 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30487 cat >>confdefs.h
<<\_ACEOF
30488 #define wxUSE_CONFIG 1
30491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30495 if test "$wxUSE_INTL" = "yes" ; then
30496 if test "$wxUSE_FILE" != "yes"; then
30497 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30498 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30500 cat >>confdefs.h
<<\_ACEOF
30501 #define wxUSE_INTL 1
30504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30505 GUIDIST
="$GUIDIST INTL_DIST"
30509 if test "$wxUSE_LOG" = "yes"; then
30510 cat >>confdefs.h
<<\_ACEOF
30511 #define wxUSE_LOG 1
30515 if test "$wxUSE_LOGGUI" = "yes"; then
30516 cat >>confdefs.h
<<\_ACEOF
30517 #define wxUSE_LOGGUI 1
30522 if test "$wxUSE_LOGWINDOW" = "yes"; then
30523 cat >>confdefs.h
<<\_ACEOF
30524 #define wxUSE_LOGWINDOW 1
30529 if test "$wxUSE_LOGDIALOG" = "yes"; then
30530 cat >>confdefs.h
<<\_ACEOF
30531 #define wxUSE_LOG_DIALOG 1
30537 if test "$wxUSE_LONGLONG" = "yes"; then
30538 cat >>confdefs.h
<<\_ACEOF
30539 #define wxUSE_LONGLONG 1
30544 if test "$wxUSE_GEOMETRY" = "yes"; then
30545 cat >>confdefs.h
<<\_ACEOF
30546 #define wxUSE_GEOMETRY 1
30551 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30552 cat >>confdefs.h
<<\_ACEOF
30553 #define wxUSE_DIALUP_MANAGER 1
30556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30559 if test "$wxUSE_STREAMS" = "yes" ; then
30560 cat >>confdefs.h
<<\_ACEOF
30561 #define wxUSE_STREAMS 1
30567 if test "$wxUSE_DATETIME" = "yes"; then
30569 for ac_func
in strptime
30571 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30572 echo "$as_me:$LINENO: checking for $ac_func" >&5
30573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30574 if eval "test \"\${$as_ac_var+set}\" = set"; then
30575 echo $ECHO_N "(cached) $ECHO_C" >&6
30577 cat >conftest.
$ac_ext <<_ACEOF
30578 #line $LINENO "configure"
30581 cat confdefs.h
>>conftest.
$ac_ext
30582 cat >>conftest.
$ac_ext <<_ACEOF
30583 /* end confdefs.h. */
30584 /* System header to define __stub macros and hopefully few prototypes,
30585 which can conflict with char $ac_func (); below.
30586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30587 <limits.h> exists even on freestanding compilers. */
30589 # include <limits.h>
30591 # include <assert.h>
30593 /* Override any gcc2 internal prototype to avoid an error. */
30598 /* We use char because int might match the return type of a gcc2
30599 builtin and then its argument prototype would still apply. */
30601 /* The GNU C library defines this for functions which it implements
30602 to always fail with ENOSYS. Some functions are actually named
30603 something starting with __ and the normal name is an alias. */
30604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30607 char (*f) () = $ac_func;
30616 return f != $ac_func;
30621 rm -f conftest.
$ac_objext conftest
$ac_exeext
30622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30623 (eval $ac_link) 2>&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); } &&
30627 { ac_try
='test -s conftest$ac_exeext'
30628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30629 (eval $ac_try) 2>&5
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); }; }; then
30633 eval "$as_ac_var=yes"
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.
$ac_ext >&5
30638 eval "$as_ac_var=no"
30640 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30644 if test `eval echo '${'$as_ac_var'}'` = yes; then
30645 cat >>confdefs.h
<<_ACEOF
30646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30653 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30654 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30655 if test "${wx_cv_var_timezone+set}" = set; then
30656 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. */
30680 rm -f conftest.
$ac_objext
30681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30682 (eval $ac_compile) 2>&5
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); } &&
30686 { ac_try
='test -s conftest.$ac_objext'
30687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30688 (eval $ac_try) 2>&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; }; then
30693 wx_cv_var_timezone
=timezone
30696 echo "$as_me: failed program was:" >&5
30697 sed 's/^/| /' conftest.
$ac_ext >&5
30700 cat >conftest.
$ac_ext <<_ACEOF
30701 #line $LINENO "configure"
30704 cat confdefs.h
>>conftest.
$ac_ext
30705 cat >>conftest.
$ac_ext <<_ACEOF
30706 /* end confdefs.h. */
30721 rm -f conftest.
$ac_objext
30722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30723 (eval $ac_compile) 2>&5
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); } &&
30727 { ac_try
='test -s conftest.$ac_objext'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; }; then
30734 wx_cv_var_timezone
=_timezone
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.
$ac_ext >&5
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 if test "$USE_DOS" = 0 ; then
30783 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30784 echo "$as_me: WARNING: no timezone variable" >&2;}
30789 rm -f conftest.
$ac_objext conftest.
$ac_ext
30793 rm -f conftest.
$ac_objext conftest.
$ac_ext
30797 rm -f conftest.
$ac_objext conftest.
$ac_ext
30801 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30802 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30804 if test "x$wx_cv_var_timezone" != x
; then
30805 cat >>confdefs.h
<<_ACEOF
30806 #define WX_TIMEZONE $wx_cv_var_timezone
30812 for ac_func
in localtime
30814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30815 echo "$as_me:$LINENO: checking for $ac_func" >&5
30816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30817 if eval "test \"\${$as_ac_var+set}\" = set"; then
30818 echo $ECHO_N "(cached) $ECHO_C" >&6
30820 cat >conftest.
$ac_ext <<_ACEOF
30821 #line $LINENO "configure"
30824 cat confdefs.h
>>conftest.
$ac_ext
30825 cat >>conftest.
$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30827 /* System header to define __stub macros and hopefully few prototypes,
30828 which can conflict with char $ac_func (); below.
30829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30830 <limits.h> exists even on freestanding compilers. */
30832 # include <limits.h>
30834 # include <assert.h>
30836 /* Override any gcc2 internal prototype to avoid an error. */
30841 /* We use char because int might match the return type of a gcc2
30842 builtin and then its argument prototype would still apply. */
30844 /* The GNU C library defines this for functions which it implements
30845 to always fail with ENOSYS. Some functions are actually named
30846 something starting with __ and the normal name is an alias. */
30847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30850 char (*f) () = $ac_func;
30859 return f != $ac_func;
30864 rm -f conftest.
$ac_objext conftest
$ac_exeext
30865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30866 (eval $ac_link) 2>&5
30868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30869 (exit $ac_status); } &&
30870 { ac_try
='test -s conftest$ac_exeext'
30871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30872 (eval $ac_try) 2>&5
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); }; }; then
30876 eval "$as_ac_var=yes"
30878 echo "$as_me: failed program was:" >&5
30879 sed 's/^/| /' conftest.
$ac_ext >&5
30881 eval "$as_ac_var=no"
30883 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30887 if test `eval echo '${'$as_ac_var'}'` = yes; then
30888 cat >>confdefs.h
<<_ACEOF
30889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30896 if test "$ac_cv_func_localtime" = "yes"; then
30897 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30898 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30899 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30900 echo $ECHO_N "(cached) $ECHO_C" >&6
30903 cat >conftest.
$ac_ext <<_ACEOF
30904 #line $LINENO "configure"
30907 cat confdefs.h
>>conftest.
$ac_ext
30908 cat >>conftest.
$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30924 rm -f conftest.
$ac_objext
30925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30926 (eval $ac_compile) 2>&5
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); } &&
30930 { ac_try
='test -s conftest.$ac_objext'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; }; then
30937 wx_cv_struct_tm_has_gmtoff
=yes
30940 echo "$as_me: failed program was:" >&5
30941 sed 's/^/| /' conftest.
$ac_ext >&5
30943 wx_cv_struct_tm_has_gmtoff
=no
30946 rm -f conftest.
$ac_objext conftest.
$ac_ext
30949 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30950 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30953 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30954 cat >>confdefs.h
<<\_ACEOF
30955 #define WX_GMTOFF_IN_TM 1
30962 for ac_func
in gettimeofday ftime
30964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30965 echo "$as_me:$LINENO: checking for $ac_func" >&5
30966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30967 if eval "test \"\${$as_ac_var+set}\" = set"; then
30968 echo $ECHO_N "(cached) $ECHO_C" >&6
30970 cat >conftest.
$ac_ext <<_ACEOF
30971 #line $LINENO "configure"
30974 cat confdefs.h
>>conftest.
$ac_ext
30975 cat >>conftest.
$ac_ext <<_ACEOF
30976 /* end confdefs.h. */
30977 /* System header to define __stub macros and hopefully few prototypes,
30978 which can conflict with char $ac_func (); below.
30979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30980 <limits.h> exists even on freestanding compilers. */
30982 # include <limits.h>
30984 # include <assert.h>
30986 /* Override any gcc2 internal prototype to avoid an error. */
30991 /* We use char because int might match the return type of a gcc2
30992 builtin and then its argument prototype would still apply. */
30994 /* The GNU C library defines this for functions which it implements
30995 to always fail with ENOSYS. Some functions are actually named
30996 something starting with __ and the normal name is an alias. */
30997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31000 char (*f) () = $ac_func;
31009 return f != $ac_func;
31014 rm -f conftest.
$ac_objext conftest
$ac_exeext
31015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31016 (eval $ac_link) 2>&5
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); } &&
31020 { ac_try
='test -s conftest$ac_exeext'
31021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31022 (eval $ac_try) 2>&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); }; }; then
31026 eval "$as_ac_var=yes"
31028 echo "$as_me: failed program was:" >&5
31029 sed 's/^/| /' conftest.
$ac_ext >&5
31031 eval "$as_ac_var=no"
31033 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31037 if test `eval echo '${'$as_ac_var'}'` = yes; then
31038 cat >>confdefs.h
<<_ACEOF
31039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31046 if test "$ac_cv_func_gettimeofday" = "yes"; then
31047 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31048 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31049 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31050 echo $ECHO_N "(cached) $ECHO_C" >&6
31056 ac_cpp
='$CXXCPP $CPPFLAGS'
31057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31062 cat >conftest.
$ac_ext <<_ACEOF
31063 #line $LINENO "configure"
31066 cat confdefs.h
>>conftest.
$ac_ext
31067 cat >>conftest.
$ac_ext <<_ACEOF
31068 /* end confdefs.h. */
31070 #include <sys/time.h>
31071 #include <unistd.h>
31078 gettimeofday(&tv, NULL);
31084 rm -f conftest.
$ac_objext
31085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31086 (eval $ac_compile) 2>&5
31088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31089 (exit $ac_status); } &&
31090 { ac_try
='test -s conftest.$ac_objext'
31091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31092 (eval $ac_try) 2>&5
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); }; }; then
31096 wx_cv_func_gettimeofday_has_2_args
=yes
31098 echo "$as_me: failed program was:" >&5
31099 sed 's/^/| /' conftest.
$ac_ext >&5
31101 cat >conftest.
$ac_ext <<_ACEOF
31102 #line $LINENO "configure"
31105 cat confdefs.h
>>conftest.
$ac_ext
31106 cat >>conftest.
$ac_ext <<_ACEOF
31107 /* end confdefs.h. */
31109 #include <sys/time.h>
31110 #include <unistd.h>
31123 rm -f conftest.
$ac_objext
31124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31125 (eval $ac_compile) 2>&5
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); } &&
31129 { ac_try
='test -s conftest.$ac_objext'
31130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 (eval $ac_try) 2>&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; }; then
31135 wx_cv_func_gettimeofday_has_2_args
=no
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.
$ac_ext >&5
31141 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31142 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31143 wx_cv_func_gettimeofday_has_2_args
=unknown
31147 rm -f conftest.
$ac_objext conftest.
$ac_ext
31150 rm -f conftest.
$ac_objext conftest.
$ac_ext
31152 ac_cpp
='$CPP $CPPFLAGS'
31153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31159 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31160 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31162 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31163 cat >>confdefs.h
<<\_ACEOF
31164 #define WX_GETTIMEOFDAY_NO_TZ 1
31170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31174 if test "$wxUSE_SOCKETS" = "yes"; then
31175 if test "$wxUSE_MGL" = "1"; then
31176 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31177 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31180 if test "$wxUSE_COCOA" = "1"; then
31181 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31182 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31187 if test "$wxUSE_SOCKETS" = "yes"; then
31188 if test "$TOOLKIT" != "MSW"; then
31189 echo "$as_me:$LINENO: checking for socket" >&5
31190 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31191 if test "${ac_cv_func_socket+set}" = set; then
31192 echo $ECHO_N "(cached) $ECHO_C" >&6
31194 cat >conftest.
$ac_ext <<_ACEOF
31195 #line $LINENO "configure"
31198 cat confdefs.h
>>conftest.
$ac_ext
31199 cat >>conftest.
$ac_ext <<_ACEOF
31200 /* end confdefs.h. */
31201 /* System header to define __stub macros and hopefully few prototypes,
31202 which can conflict with char socket (); below.
31203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31204 <limits.h> exists even on freestanding compilers. */
31206 # include <limits.h>
31208 # include <assert.h>
31210 /* Override any gcc2 internal prototype to avoid an error. */
31215 /* We use char because int might match the return type of a gcc2
31216 builtin and then its argument prototype would still apply. */
31218 /* The GNU C library defines this for functions which it implements
31219 to always fail with ENOSYS. Some functions are actually named
31220 something starting with __ and the normal name is an alias. */
31221 #if defined (__stub_socket) || defined (__stub___socket)
31224 char (*f) () = socket;
31233 return f != socket;
31238 rm -f conftest.
$ac_objext conftest
$ac_exeext
31239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31240 (eval $ac_link) 2>&5
31242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31243 (exit $ac_status); } &&
31244 { ac_try
='test -s conftest$ac_exeext'
31245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31246 (eval $ac_try) 2>&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); }; }; then
31250 ac_cv_func_socket
=yes
31252 echo "$as_me: failed program was:" >&5
31253 sed 's/^/| /' conftest.
$ac_ext >&5
31255 ac_cv_func_socket
=no
31257 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31259 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31260 echo "${ECHO_T}$ac_cv_func_socket" >&6
31261 if test $ac_cv_func_socket = yes; then
31264 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31265 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31266 if test "${ac_cv_lib_socket_socket+set}" = set; then
31267 echo $ECHO_N "(cached) $ECHO_C" >&6
31269 ac_check_lib_save_LIBS
=$LIBS
31270 LIBS
="-lsocket $LIBS"
31271 cat >conftest.
$ac_ext <<_ACEOF
31272 #line $LINENO "configure"
31275 cat confdefs.h
>>conftest.
$ac_ext
31276 cat >>conftest.
$ac_ext <<_ACEOF
31277 /* end confdefs.h. */
31279 /* Override any gcc2 internal prototype to avoid an error. */
31283 /* We use char because int might match the return type of a gcc2
31284 builtin and then its argument prototype would still apply. */
31294 rm -f conftest.
$ac_objext conftest
$ac_exeext
31295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31296 (eval $ac_link) 2>&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); } &&
31300 { ac_try
='test -s conftest$ac_exeext'
31301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31302 (eval $ac_try) 2>&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); }; }; then
31306 ac_cv_lib_socket_socket
=yes
31308 echo "$as_me: failed program was:" >&5
31309 sed 's/^/| /' conftest.
$ac_ext >&5
31311 ac_cv_lib_socket_socket
=no
31313 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31314 LIBS
=$ac_check_lib_save_LIBS
31316 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31317 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31318 if test $ac_cv_lib_socket_socket = yes; then
31319 if test "$INET_LINK" != " -lsocket"; then
31320 INET_LINK
="$INET_LINK -lsocket"
31324 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31325 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31337 if test "$wxUSE_SOCKETS" = "yes" ; then
31338 if test "$TOOLKIT" != "MSW"; then
31339 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31340 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31341 if test "${wx_cv_type_getsockname3+set}" = set; then
31342 echo $ECHO_N "(cached) $ECHO_C" >&6
31345 cat >conftest.
$ac_ext <<_ACEOF
31346 #line $LINENO "configure"
31349 cat confdefs.h
>>conftest.
$ac_ext
31350 cat >>conftest.
$ac_ext <<_ACEOF
31351 /* end confdefs.h. */
31353 #include <sys/types.h>
31354 #include <sys/socket.h>
31361 getsockname(0, 0, &len);
31367 rm -f conftest.
$ac_objext
31368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31369 (eval $ac_compile) 2>&5
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); } &&
31373 { ac_try
='test -s conftest.$ac_objext'
31374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31375 (eval $ac_try) 2>&5
31377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31378 (exit $ac_status); }; }; then
31379 wx_cv_type_getsockname3
=socklen_t
31381 echo "$as_me: failed program was:" >&5
31382 sed 's/^/| /' conftest.
$ac_ext >&5
31385 CFLAGS_OLD
="$CFLAGS"
31386 if test "$GCC" = yes ; then
31387 CFLAGS
="$CFLAGS -Werror"
31390 cat >conftest.
$ac_ext <<_ACEOF
31391 #line $LINENO "configure"
31394 cat confdefs.h
>>conftest.
$ac_ext
31395 cat >>conftest.
$ac_ext <<_ACEOF
31396 /* end confdefs.h. */
31398 #include <sys/types.h>
31399 #include <sys/socket.h>
31406 getsockname(0, 0, &len);
31412 rm -f conftest.
$ac_objext
31413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31414 (eval $ac_compile) 2>&5
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); } &&
31418 { ac_try
='test -s conftest.$ac_objext'
31419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420 (eval $ac_try) 2>&5
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); }; }; then
31424 wx_cv_type_getsockname3
=size_t
31426 echo "$as_me: failed program was:" >&5
31427 sed 's/^/| /' conftest.
$ac_ext >&5
31429 cat >conftest.
$ac_ext <<_ACEOF
31430 #line $LINENO "configure"
31433 cat confdefs.h
>>conftest.
$ac_ext
31434 cat >>conftest.
$ac_ext <<_ACEOF
31435 /* end confdefs.h. */
31437 #include <sys/types.h>
31438 #include <sys/socket.h>
31445 getsockname(0, 0, &len);
31451 rm -f conftest.
$ac_objext
31452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31453 (eval $ac_compile) 2>&5
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); } &&
31457 { ac_try
='test -s conftest.$ac_objext'
31458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31459 (eval $ac_try) 2>&5
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); }; }; then
31463 wx_cv_type_getsockname3
=int
31465 echo "$as_me: failed program was:" >&5
31466 sed 's/^/| /' conftest.
$ac_ext >&5
31468 wx_cv_type_getsockname3
=unknown
31471 rm -f conftest.
$ac_objext conftest.
$ac_ext
31474 rm -f conftest.
$ac_objext conftest.
$ac_ext
31476 CFLAGS
="$CFLAGS_OLD"
31480 rm -f conftest.
$ac_objext conftest.
$ac_ext
31483 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31484 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31486 if test "$wx_cv_type_getsockname3" = "unknown"; then
31488 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31489 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31491 cat >>confdefs.h
<<_ACEOF
31492 #define SOCKLEN_T $wx_cv_type_getsockname3
31499 if test "$wxUSE_SOCKETS" = "yes" ; then
31500 cat >>confdefs.h
<<\_ACEOF
31501 #define wxUSE_SOCKETS 1
31504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31507 if test "$wxUSE_PROTOCOL" = "yes"; then
31508 if test "$wxUSE_SOCKETS" != "yes"; then
31509 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31510 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31515 if test "$wxUSE_PROTOCOL" = "yes"; then
31516 cat >>confdefs.h
<<\_ACEOF
31517 #define wxUSE_PROTOCOL 1
31521 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31522 cat >>confdefs.h
<<\_ACEOF
31523 #define wxUSE_PROTOCOL_HTTP 1
31527 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31528 cat >>confdefs.h
<<\_ACEOF
31529 #define wxUSE_PROTOCOL_FTP 1
31533 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31534 cat >>confdefs.h
<<\_ACEOF
31535 #define wxUSE_PROTOCOL_FILE 1
31540 if test "$wxUSE_FS_INET" = "yes"; then
31541 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31542 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31547 if test "$wxUSE_URL" = "yes"; then
31548 if test "$wxUSE_PROTOCOL" != "yes"; then
31549 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31550 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31553 if test "$wxUSE_URL" = "yes"; then
31554 cat >>confdefs.h
<<\_ACEOF
31555 #define wxUSE_URL 1
31561 if test "$wxUSE_FS_INET" = "yes"; then
31562 cat >>confdefs.h
<<\_ACEOF
31563 #define wxUSE_FS_INET 1
31569 if test "$wxUSE_GUI" = "yes"; then
31571 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31572 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31573 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31577 if test "$TOOLKIT" != "MSW"; then
31578 if test "$wxUSE_JOYSTICK" = "yes"; then
31580 for ac_header
in linux
/joystick.h
31582 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31584 echo "$as_me:$LINENO: checking for $ac_header" >&5
31585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31587 echo $ECHO_N "(cached) $ECHO_C" >&6
31589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31592 # Is the header compilable?
31593 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31595 cat >conftest.
$ac_ext <<_ACEOF
31596 #line $LINENO "configure"
31599 cat confdefs.h
>>conftest.
$ac_ext
31600 cat >>conftest.
$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31602 $ac_includes_default
31603 #include <$ac_header>
31605 rm -f conftest.
$ac_objext
31606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31607 (eval $ac_compile) 2>&5
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); } &&
31611 { ac_try
='test -s conftest.$ac_objext'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; }; then
31617 ac_header_compiler
=yes
31619 echo "$as_me: failed program was:" >&5
31620 sed 's/^/| /' conftest.
$ac_ext >&5
31622 ac_header_compiler
=no
31624 rm -f conftest.
$ac_objext conftest.
$ac_ext
31625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31626 echo "${ECHO_T}$ac_header_compiler" >&6
31628 # Is the header present?
31629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31631 cat >conftest.
$ac_ext <<_ACEOF
31632 #line $LINENO "configure"
31635 cat confdefs.h
>>conftest.
$ac_ext
31636 cat >>conftest.
$ac_ext <<_ACEOF
31637 /* end confdefs.h. */
31638 #include <$ac_header>
31640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31643 grep -v '^ *+' conftest.er1
>conftest.err
31645 cat conftest.err
>&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); } >/dev
/null
; then
31648 if test -s conftest.err
; then
31649 ac_cpp_err
=$ac_c_preproc_warn_flag
31656 if test -z "$ac_cpp_err"; then
31657 ac_header_preproc
=yes
31659 echo "$as_me: failed program was:" >&5
31660 sed 's/^/| /' conftest.
$ac_ext >&5
31662 ac_header_preproc
=no
31664 rm -f conftest.err conftest.
$ac_ext
31665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31666 echo "${ECHO_T}$ac_header_preproc" >&6
31668 # So? What about this header?
31669 case $ac_header_compiler:$ac_header_preproc in
31671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31677 ## ------------------------------------ ##
31678 ## Report this to bug-autoconf@gnu.org. ##
31679 ## ------------------------------------ ##
31682 sed "s/^/$as_me: WARNING: /" >&2
31685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31693 ## ------------------------------------ ##
31694 ## Report this to bug-autoconf@gnu.org. ##
31695 ## ------------------------------------ ##
31698 sed "s/^/$as_me: WARNING: /" >&2
31701 echo "$as_me:$LINENO: checking for $ac_header" >&5
31702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31704 echo $ECHO_N "(cached) $ECHO_C" >&6
31706 eval "$as_ac_Header=$ac_header_preproc"
31708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31713 cat >>confdefs.h
<<_ACEOF
31714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31721 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31723 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31724 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31729 if test "$wxUSE_JOYSTICK" = "yes"; then
31730 cat >>confdefs.h
<<\_ACEOF
31731 #define wxUSE_JOYSTICK 1
31734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31739 if test "$TOOLKIT" != "MSW"; then
31743 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31744 if test "$USE_DARWIN" = 1; then
31748 for ac_func
in dlopen
31750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31751 echo "$as_me:$LINENO: checking for $ac_func" >&5
31752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31753 if eval "test \"\${$as_ac_var+set}\" = set"; then
31754 echo $ECHO_N "(cached) $ECHO_C" >&6
31756 cat >conftest.
$ac_ext <<_ACEOF
31757 #line $LINENO "configure"
31760 cat confdefs.h
>>conftest.
$ac_ext
31761 cat >>conftest.
$ac_ext <<_ACEOF
31762 /* end confdefs.h. */
31763 /* System header to define __stub macros and hopefully few prototypes,
31764 which can conflict with char $ac_func (); below.
31765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31766 <limits.h> exists even on freestanding compilers. */
31768 # include <limits.h>
31770 # include <assert.h>
31772 /* Override any gcc2 internal prototype to avoid an error. */
31777 /* We use char because int might match the return type of a gcc2
31778 builtin and then its argument prototype would still apply. */
31780 /* The GNU C library defines this for functions which it implements
31781 to always fail with ENOSYS. Some functions are actually named
31782 something starting with __ and the normal name is an alias. */
31783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31786 char (*f) () = $ac_func;
31795 return f != $ac_func;
31800 rm -f conftest.
$ac_objext conftest
$ac_exeext
31801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31802 (eval $ac_link) 2>&5
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); } &&
31806 { ac_try
='test -s conftest$ac_exeext'
31807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31808 (eval $ac_try) 2>&5
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); }; }; then
31812 eval "$as_ac_var=yes"
31814 echo "$as_me: failed program was:" >&5
31815 sed 's/^/| /' conftest.
$ac_ext >&5
31817 eval "$as_ac_var=no"
31819 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31823 if test `eval echo '${'$as_ac_var'}'` = yes; then
31824 cat >>confdefs.h
<<_ACEOF
31825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31828 cat >>confdefs.h
<<\_ACEOF
31829 #define HAVE_DLOPEN 1
31836 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31837 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31838 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31839 echo $ECHO_N "(cached) $ECHO_C" >&6
31841 ac_check_lib_save_LIBS
=$LIBS
31843 cat >conftest.
$ac_ext <<_ACEOF
31844 #line $LINENO "configure"
31847 cat confdefs.h
>>conftest.
$ac_ext
31848 cat >>conftest.
$ac_ext <<_ACEOF
31849 /* end confdefs.h. */
31851 /* Override any gcc2 internal prototype to avoid an error. */
31855 /* We use char because int might match the return type of a gcc2
31856 builtin and then its argument prototype would still apply. */
31866 rm -f conftest.
$ac_objext conftest
$ac_exeext
31867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31868 (eval $ac_link) 2>&5
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); } &&
31872 { ac_try
='test -s conftest$ac_exeext'
31873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31874 (eval $ac_try) 2>&5
31876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31877 (exit $ac_status); }; }; then
31878 ac_cv_lib_dl_dlopen
=yes
31880 echo "$as_me: failed program was:" >&5
31881 sed 's/^/| /' conftest.
$ac_ext >&5
31883 ac_cv_lib_dl_dlopen
=no
31885 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31886 LIBS
=$ac_check_lib_save_LIBS
31888 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31889 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31890 if test $ac_cv_lib_dl_dlopen = yes; then
31892 cat >>confdefs.h
<<\_ACEOF
31893 #define HAVE_DLOPEN 1
31897 DL_LINK
=" -ldl$DL_LINK"
31902 for ac_func
in shl_load
31904 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31905 echo "$as_me:$LINENO: checking for $ac_func" >&5
31906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31907 if eval "test \"\${$as_ac_var+set}\" = set"; then
31908 echo $ECHO_N "(cached) $ECHO_C" >&6
31910 cat >conftest.
$ac_ext <<_ACEOF
31911 #line $LINENO "configure"
31914 cat confdefs.h
>>conftest.
$ac_ext
31915 cat >>conftest.
$ac_ext <<_ACEOF
31916 /* end confdefs.h. */
31917 /* System header to define __stub macros and hopefully few prototypes,
31918 which can conflict with char $ac_func (); below.
31919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31920 <limits.h> exists even on freestanding compilers. */
31922 # include <limits.h>
31924 # include <assert.h>
31926 /* Override any gcc2 internal prototype to avoid an error. */
31931 /* We use char because int might match the return type of a gcc2
31932 builtin and then its argument prototype would still apply. */
31934 /* The GNU C library defines this for functions which it implements
31935 to always fail with ENOSYS. Some functions are actually named
31936 something starting with __ and the normal name is an alias. */
31937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31940 char (*f) () = $ac_func;
31949 return f != $ac_func;
31954 rm -f conftest.
$ac_objext conftest
$ac_exeext
31955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31956 (eval $ac_link) 2>&5
31958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31959 (exit $ac_status); } &&
31960 { ac_try
='test -s conftest$ac_exeext'
31961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31962 (eval $ac_try) 2>&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); }; }; then
31966 eval "$as_ac_var=yes"
31968 echo "$as_me: failed program was:" >&5
31969 sed 's/^/| /' conftest.
$ac_ext >&5
31971 eval "$as_ac_var=no"
31973 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31977 if test `eval echo '${'$as_ac_var'}'` = yes; then
31978 cat >>confdefs.h
<<_ACEOF
31979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31982 cat >>confdefs.h
<<\_ACEOF
31983 #define HAVE_SHL_LOAD 1
31990 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31991 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31992 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31995 ac_check_lib_save_LIBS
=$LIBS
31996 LIBS
="-lshl_load $LIBS"
31997 cat >conftest.
$ac_ext <<_ACEOF
31998 #line $LINENO "configure"
32001 cat confdefs.h
>>conftest.
$ac_ext
32002 cat >>conftest.
$ac_ext <<_ACEOF
32003 /* end confdefs.h. */
32005 /* Override any gcc2 internal prototype to avoid an error. */
32009 /* We use char because int might match the return type of a gcc2
32010 builtin and then its argument prototype would still apply. */
32020 rm -f conftest.
$ac_objext conftest
$ac_exeext
32021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32022 (eval $ac_link) 2>&5
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); } &&
32026 { ac_try
='test -s conftest$ac_exeext'
32027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32028 (eval $ac_try) 2>&5
32030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 (exit $ac_status); }; }; then
32032 ac_cv_lib_shl_load_dld
=yes
32034 echo "$as_me: failed program was:" >&5
32035 sed 's/^/| /' conftest.
$ac_ext >&5
32037 ac_cv_lib_shl_load_dld
=no
32039 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32040 LIBS
=$ac_check_lib_save_LIBS
32042 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32043 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32044 if test $ac_cv_lib_shl_load_dld = yes; then
32047 DL_LINK
=" -ldld$DL_LINK"
32063 if test "$HAVE_DL_FUNCS" = 1; then
32065 for ac_func
in dlerror
32067 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32068 echo "$as_me:$LINENO: checking for $ac_func" >&5
32069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32070 if eval "test \"\${$as_ac_var+set}\" = set"; then
32071 echo $ECHO_N "(cached) $ECHO_C" >&6
32073 cat >conftest.
$ac_ext <<_ACEOF
32074 #line $LINENO "configure"
32077 cat confdefs.h
>>conftest.
$ac_ext
32078 cat >>conftest.
$ac_ext <<_ACEOF
32079 /* end confdefs.h. */
32080 /* System header to define __stub macros and hopefully few prototypes,
32081 which can conflict with char $ac_func (); below.
32082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32083 <limits.h> exists even on freestanding compilers. */
32085 # include <limits.h>
32087 # include <assert.h>
32089 /* Override any gcc2 internal prototype to avoid an error. */
32094 /* We use char because int might match the return type of a gcc2
32095 builtin and then its argument prototype would still apply. */
32097 /* The GNU C library defines this for functions which it implements
32098 to always fail with ENOSYS. Some functions are actually named
32099 something starting with __ and the normal name is an alias. */
32100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32103 char (*f) () = $ac_func;
32112 return f != $ac_func;
32117 rm -f conftest.
$ac_objext conftest
$ac_exeext
32118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32119 (eval $ac_link) 2>&5
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); } &&
32123 { ac_try
='test -s conftest$ac_exeext'
32124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32125 (eval $ac_try) 2>&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); }; }; then
32129 eval "$as_ac_var=yes"
32131 echo "$as_me: failed program was:" >&5
32132 sed 's/^/| /' conftest.
$ac_ext >&5
32134 eval "$as_ac_var=no"
32136 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32140 if test `eval echo '${'$as_ac_var'}'` = yes; then
32141 cat >>confdefs.h
<<_ACEOF
32142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32144 cat >>confdefs.h
<<\_ACEOF
32145 #define HAVE_DLERROR 1
32149 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32150 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32151 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32152 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 ac_check_lib_save_LIBS
=$LIBS
32156 cat >conftest.
$ac_ext <<_ACEOF
32157 #line $LINENO "configure"
32160 cat confdefs.h
>>conftest.
$ac_ext
32161 cat >>conftest.
$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32164 /* Override any gcc2 internal prototype to avoid an error. */
32168 /* We use char because int might match the return type of a gcc2
32169 builtin and then its argument prototype would still apply. */
32179 rm -f conftest.
$ac_objext conftest
$ac_exeext
32180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32181 (eval $ac_link) 2>&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); } &&
32185 { ac_try
='test -s conftest$ac_exeext'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; }; then
32191 ac_cv_lib_dl_dlerror
=yes
32193 echo "$as_me: failed program was:" >&5
32194 sed 's/^/| /' conftest.
$ac_ext >&5
32196 ac_cv_lib_dl_dlerror
=no
32198 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32199 LIBS
=$ac_check_lib_save_LIBS
32201 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32202 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32203 if test $ac_cv_lib_dl_dlerror = yes; then
32204 cat >>confdefs.h
<<\_ACEOF
32205 #define HAVE_DLERROR 1
32216 if test "$HAVE_DL_FUNCS" = 0; then
32217 if test "$HAVE_SHL_FUNCS" = 0; then
32218 if test "$USE_UNIX" = 1; then
32219 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32220 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32221 wxUSE_DYNAMIC_LOADER
=no
32222 wxUSE_DYNLIB_CLASS
=no
32224 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32225 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32232 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32233 cat >>confdefs.h
<<\_ACEOF
32234 #define wxUSE_DYNAMIC_LOADER 1
32238 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32239 cat >>confdefs.h
<<\_ACEOF
32240 #define wxUSE_DYNLIB_CLASS 1
32246 if test "$wxUSE_FONTMAP" = "yes" ; then
32247 cat >>confdefs.h
<<\_ACEOF
32248 #define wxUSE_FONTMAP 1
32253 if test "$wxUSE_UNICODE" = "yes" ; then
32254 cat >>confdefs.h
<<\_ACEOF
32255 #define wxUSE_UNICODE 1
32259 if test "$USE_WIN32" != 1; then
32260 wxUSE_UNICODE_MSLU
=no
32263 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32264 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32265 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32266 if test "${ac_cv_lib_unicows_main+set}" = set; then
32267 echo $ECHO_N "(cached) $ECHO_C" >&6
32269 ac_check_lib_save_LIBS
=$LIBS
32270 LIBS
="-lunicows $LIBS"
32271 cat >conftest.
$ac_ext <<_ACEOF
32272 #line $LINENO "configure"
32275 cat confdefs.h
>>conftest.
$ac_ext
32276 cat >>conftest.
$ac_ext <<_ACEOF
32277 /* end confdefs.h. */
32288 rm -f conftest.
$ac_objext conftest
$ac_exeext
32289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32290 (eval $ac_link) 2>&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); } &&
32294 { ac_try
='test -s conftest$ac_exeext'
32295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32296 (eval $ac_try) 2>&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); }; }; then
32300 ac_cv_lib_unicows_main
=yes
32302 echo "$as_me: failed program was:" >&5
32303 sed 's/^/| /' conftest.
$ac_ext >&5
32305 ac_cv_lib_unicows_main
=no
32307 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32308 LIBS
=$ac_check_lib_save_LIBS
32310 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32311 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32312 if test $ac_cv_lib_unicows_main = yes; then
32314 cat >>confdefs.h
<<\_ACEOF
32315 #define wxUSE_UNICODE_MSLU 1
32321 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32322 Applications will only run on Windows NT/2000/XP!" >&5
32323 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32324 Applications will only run on Windows NT/2000/XP!" >&2;}
32325 wxUSE_UNICODE_MSLU
=no
32332 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32333 cat >>confdefs.h
<<\_ACEOF
32334 #define wxUSE_EXPERIMENTAL_PRINTF 1
32340 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32341 cat >>confdefs.h
<<\_ACEOF
32342 #define wxUSE_POSTSCRIPT 1
32347 cat >>confdefs.h
<<\_ACEOF
32348 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32352 cat >>confdefs.h
<<\_ACEOF
32353 #define wxUSE_NORMALIZED_PS_FONTS 1
32358 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32359 cat >>confdefs.h
<<\_ACEOF
32360 #define wxUSE_CONSTRAINTS 1
32363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32366 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32367 cat >>confdefs.h
<<\_ACEOF
32368 #define wxUSE_MDI_ARCHITECTURE 1
32371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32374 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32375 cat >>confdefs.h
<<\_ACEOF
32376 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32380 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32385 if test "$wxUSE_HELP" = "yes"; then
32386 cat >>confdefs.h
<<\_ACEOF
32387 #define wxUSE_HELP 1
32390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32392 if test "$wxUSE_MSW" = 1; then
32393 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32394 cat >>confdefs.h
<<\_ACEOF
32395 #define wxUSE_MS_HTML_HELP 1
32401 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32402 if test "$wxUSE_HTML" = "yes"; then
32403 cat >>confdefs.h
<<\_ACEOF
32404 #define wxUSE_WXHTML_HELP 1
32408 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32409 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32410 wxUSE_WXHTML_HELP
=no
32415 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32416 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32417 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32418 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32420 cat >>confdefs.h
<<\_ACEOF
32421 #define wxUSE_PRINTING_ARCHITECTURE 1
32425 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32428 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32429 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32430 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32431 { (exit 1); exit 1; }; }
32435 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32436 -o "$wxUSE_CLIPBOARD" = "yes" \
32437 -o "$wxUSE_OLE" = "yes" \
32438 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32440 for ac_header
in ole2.h
32442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32444 echo "$as_me:$LINENO: checking for $ac_header" >&5
32445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32447 echo $ECHO_N "(cached) $ECHO_C" >&6
32449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32452 # Is the header compilable?
32453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32455 cat >conftest.
$ac_ext <<_ACEOF
32456 #line $LINENO "configure"
32459 cat confdefs.h
>>conftest.
$ac_ext
32460 cat >>conftest.
$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32462 $ac_includes_default
32463 #include <$ac_header>
32465 rm -f conftest.
$ac_objext
32466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32467 (eval $ac_compile) 2>&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } &&
32471 { ac_try
='test -s conftest.$ac_objext'
32472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32473 (eval $ac_try) 2>&5
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); }; }; then
32477 ac_header_compiler
=yes
32479 echo "$as_me: failed program was:" >&5
32480 sed 's/^/| /' conftest.
$ac_ext >&5
32482 ac_header_compiler
=no
32484 rm -f conftest.
$ac_objext conftest.
$ac_ext
32485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32486 echo "${ECHO_T}$ac_header_compiler" >&6
32488 # Is the header present?
32489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32491 cat >conftest.
$ac_ext <<_ACEOF
32492 #line $LINENO "configure"
32495 cat confdefs.h
>>conftest.
$ac_ext
32496 cat >>conftest.
$ac_ext <<_ACEOF
32497 /* end confdefs.h. */
32498 #include <$ac_header>
32500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32503 grep -v '^ *+' conftest.er1
>conftest.err
32505 cat conftest.err
>&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } >/dev
/null
; then
32508 if test -s conftest.err
; then
32509 ac_cpp_err
=$ac_c_preproc_warn_flag
32516 if test -z "$ac_cpp_err"; then
32517 ac_header_preproc
=yes
32519 echo "$as_me: failed program was:" >&5
32520 sed 's/^/| /' conftest.
$ac_ext >&5
32522 ac_header_preproc
=no
32524 rm -f conftest.err conftest.
$ac_ext
32525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32526 echo "${ECHO_T}$ac_header_preproc" >&6
32528 # So? What about this header?
32529 case $ac_header_compiler:$ac_header_preproc in
32531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32537 ## ------------------------------------ ##
32538 ## Report this to bug-autoconf@gnu.org. ##
32539 ## ------------------------------------ ##
32542 sed "s/^/$as_me: WARNING: /" >&2
32545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32553 ## ------------------------------------ ##
32554 ## Report this to bug-autoconf@gnu.org. ##
32555 ## ------------------------------------ ##
32558 sed "s/^/$as_me: WARNING: /" >&2
32561 echo "$as_me:$LINENO: checking for $ac_header" >&5
32562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32564 echo $ECHO_N "(cached) $ECHO_C" >&6
32566 eval "$as_ac_Header=$ac_header_preproc"
32568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32573 cat >>confdefs.h
<<_ACEOF
32574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32582 if test "$ac_cv_header_ole2_h" = "yes" ; then
32583 if test "$GCC" = yes ; then
32587 ac_cpp
='$CXXCPP $CPPFLAGS'
32588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32593 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32594 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32595 cat >conftest.
$ac_ext <<_ACEOF
32596 #line $LINENO "configure"
32599 cat confdefs.h
>>conftest.
$ac_ext
32600 cat >>conftest.
$ac_ext <<_ACEOF
32601 /* end confdefs.h. */
32602 #include <windows.h>
32612 rm -f conftest.
$ac_objext
32613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32614 (eval $ac_compile) 2>&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); } &&
32618 { ac_try
='test -s conftest.$ac_objext'
32619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32620 (eval $ac_try) 2>&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); }; }; then
32624 echo "$as_me:$LINENO: result: no" >&5
32625 echo "${ECHO_T}no" >&6
32627 echo "$as_me: failed program was:" >&5
32628 sed 's/^/| /' conftest.
$ac_ext >&5
32630 echo "$as_me:$LINENO: result: yes" >&5
32631 echo "${ECHO_T}yes" >&6
32632 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32634 rm -f conftest.
$ac_objext conftest.
$ac_ext
32636 ac_cpp
='$CPP $CPPFLAGS'
32637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32641 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32642 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32643 cat >>confdefs.h
<<\_ACEOF
32644 #define wxUSE_OLE 1
32650 cat >>confdefs.h
<<\_ACEOF
32651 #define wxUSE_DATAOBJ 1
32655 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32656 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32659 wxUSE_DRAG_AND_DROP
=no
32664 if test "$wxUSE_METAFILE" = "yes"; then
32665 cat >>confdefs.h
<<\_ACEOF
32666 #define wxUSE_METAFILE 1
32670 cat >>confdefs.h
<<\_ACEOF
32671 #define wxUSE_ENH_METAFILE 1
32677 if test "$wxUSE_IPC" = "yes"; then
32678 if test "$wxUSE_SOCKETS" != "yes"; then
32679 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32680 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32683 cat >>confdefs.h
<<\_ACEOF
32684 #define wxUSE_IPC 1
32689 if test "$wxUSE_CLIPBOARD" = "yes"; then
32690 if test "$wxUSE_MGL" = 1; then
32691 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32692 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32696 if test "$wxUSE_CLIPBOARD" = "yes"; then
32697 cat >>confdefs.h
<<\_ACEOF
32698 #define wxUSE_CLIPBOARD 1
32702 cat >>confdefs.h
<<\_ACEOF
32703 #define wxUSE_DATAOBJ 1
32709 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32710 if test "$wxUSE_GTK" = 1; then
32711 if test "$WXGTK12" != 1; then
32712 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32713 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32714 wxUSE_DRAG_AND_DROP
=no
32718 if test "$wxUSE_MOTIF" = 1; then
32719 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32720 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32721 wxUSE_DRAG_AND_DROP
=no
32724 if test "$wxUSE_X11" = 1; then
32725 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32726 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32727 wxUSE_DRAG_AND_DROP
=no
32730 if test "$wxUSE_MGL" = 1; then
32731 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32732 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32733 wxUSE_DRAG_AND_DROP
=no
32736 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32737 cat >>confdefs.h
<<\_ACEOF
32738 #define wxUSE_DRAG_AND_DROP 1
32741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32746 if test "$wxUSE_SPLINES" = "yes" ; then
32747 cat >>confdefs.h
<<\_ACEOF
32748 #define wxUSE_SPLINES 1
32755 if test "$wxUSE_CONTROLS" = "yes"; then
32759 if test "$wxUSE_ACCEL" = "yes"; then
32760 cat >>confdefs.h
<<\_ACEOF
32761 #define wxUSE_ACCEL 1
32767 if test "$wxUSE_BUTTON" = "yes"; then
32768 cat >>confdefs.h
<<\_ACEOF
32769 #define wxUSE_BUTTON 1
32775 if test "$wxUSE_BMPBUTTON" = "yes"; then
32776 cat >>confdefs.h
<<\_ACEOF
32777 #define wxUSE_BMPBUTTON 1
32783 if test "$wxUSE_CALCTRL" = "yes"; then
32784 cat >>confdefs.h
<<\_ACEOF
32785 #define wxUSE_CALENDARCTRL 1
32789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32792 if test "$wxUSE_CARET" = "yes"; then
32793 cat >>confdefs.h
<<\_ACEOF
32794 #define wxUSE_CARET 1
32798 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32801 if test "$wxUSE_COMBOBOX" = "yes"; then
32802 cat >>confdefs.h
<<\_ACEOF
32803 #define wxUSE_COMBOBOX 1
32809 if test "$wxUSE_CHOICE" = "yes"; then
32810 cat >>confdefs.h
<<\_ACEOF
32811 #define wxUSE_CHOICE 1
32817 if test "$wxUSE_CHECKBOX" = "yes"; then
32818 cat >>confdefs.h
<<\_ACEOF
32819 #define wxUSE_CHECKBOX 1
32825 if test "$wxUSE_CHECKLST" = "yes"; then
32826 cat >>confdefs.h
<<\_ACEOF
32827 #define wxUSE_CHECKLISTBOX 1
32831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32834 if test "$wxUSE_DISPLAY" = "yes"; then
32835 cat >>confdefs.h
<<\_ACEOF
32836 #define wxUSE_DISPLAY 1
32839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32842 if test "$wxUSE_GAUGE" = "yes"; then
32843 cat >>confdefs.h
<<\_ACEOF
32844 #define wxUSE_GAUGE 1
32850 if test "$wxUSE_GRID" = "yes"; then
32851 cat >>confdefs.h
<<\_ACEOF
32852 #define wxUSE_GRID 1
32856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32859 if test "$wxUSE_IMAGLIST" = "yes"; then
32860 cat >>confdefs.h
<<\_ACEOF
32861 #define wxUSE_IMAGLIST 1
32866 if test "$wxUSE_LISTBOX" = "yes"; then
32867 cat >>confdefs.h
<<\_ACEOF
32868 #define wxUSE_LISTBOX 1
32874 if test "$wxUSE_LISTCTRL" = "yes"; then
32875 if test "$wxUSE_IMAGLIST" = "yes"; then
32876 cat >>confdefs.h
<<\_ACEOF
32877 #define wxUSE_LISTCTRL 1
32881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32883 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32884 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32888 if test "$wxUSE_NOTEBOOK" = "yes"; then
32889 cat >>confdefs.h
<<\_ACEOF
32890 #define wxUSE_NOTEBOOK 1
32894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32898 if test "$wxUSE_RADIOBOX" = "yes"; then
32899 cat >>confdefs.h
<<\_ACEOF
32900 #define wxUSE_RADIOBOX 1
32906 if test "$wxUSE_RADIOBTN" = "yes"; then
32907 cat >>confdefs.h
<<\_ACEOF
32908 #define wxUSE_RADIOBTN 1
32914 if test "$wxUSE_SASH" = "yes"; then
32915 cat >>confdefs.h
<<\_ACEOF
32916 #define wxUSE_SASH 1
32919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32922 if test "$wxUSE_SCROLLBAR" = "yes"; then
32923 cat >>confdefs.h
<<\_ACEOF
32924 #define wxUSE_SCROLLBAR 1
32928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32931 if test "$wxUSE_SLIDER" = "yes"; then
32932 cat >>confdefs.h
<<\_ACEOF
32933 #define wxUSE_SLIDER 1
32939 if test "$wxUSE_SPINBTN" = "yes"; then
32940 cat >>confdefs.h
<<\_ACEOF
32941 #define wxUSE_SPINBTN 1
32947 if test "$wxUSE_SPINCTRL" = "yes"; then
32948 cat >>confdefs.h
<<\_ACEOF
32949 #define wxUSE_SPINCTRL 1
32955 if test "$wxUSE_SPLITTER" = "yes"; then
32956 cat >>confdefs.h
<<\_ACEOF
32957 #define wxUSE_SPLITTER 1
32960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32963 if test "$wxUSE_STATBMP" = "yes"; then
32964 cat >>confdefs.h
<<\_ACEOF
32965 #define wxUSE_STATBMP 1
32971 if test "$wxUSE_STATBOX" = "yes"; then
32972 cat >>confdefs.h
<<\_ACEOF
32973 #define wxUSE_STATBOX 1
32979 if test "$wxUSE_STATTEXT" = "yes"; then
32980 cat >>confdefs.h
<<\_ACEOF
32981 #define wxUSE_STATTEXT 1
32987 if test "$wxUSE_STATLINE" = "yes"; then
32988 cat >>confdefs.h
<<\_ACEOF
32989 #define wxUSE_STATLINE 1
32995 if test "$wxUSE_STATUSBAR" = "yes"; then
32996 cat >>confdefs.h
<<\_ACEOF
32997 #define wxUSE_STATUSBAR 1
33002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
33005 if test "$wxUSE_TABDIALOG" = "yes"; then
33006 cat >>confdefs.h
<<\_ACEOF
33007 #define wxUSE_TAB_DIALOG 1
33010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
33013 if test "$wxUSE_TEXTCTRL" = "yes"; then
33014 cat >>confdefs.h
<<\_ACEOF
33015 #define wxUSE_TEXTCTRL 1
33019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
33022 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33023 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33024 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33025 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33028 if test "$wxUSE_UNIVERSAL" = "yes"; then
33029 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33030 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33034 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33035 cat >>confdefs.h
<<\_ACEOF
33036 #define wxUSE_TOGGLEBTN 1
33043 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33044 cat >>confdefs.h
<<\_ACEOF
33045 #define wxUSE_TOOLBAR_SIMPLE 1
33048 wxUSE_TOOLBAR
="yes"
33052 if test "$wxUSE_TOOLBAR" = "yes"; then
33053 cat >>confdefs.h
<<\_ACEOF
33054 #define wxUSE_TOOLBAR 1
33059 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33060 wxUSE_TOOLBAR_NATIVE
="yes"
33063 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33064 cat >>confdefs.h
<<\_ACEOF
33065 #define wxUSE_TOOLBAR_NATIVE 1
33071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
33074 if test "$wxUSE_TOOLTIPS" = "yes"; then
33075 if test "$wxUSE_MOTIF" = 1; then
33076 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33077 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33079 if test "$wxUSE_UNIVERSAL" = "yes"; then
33080 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33081 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33083 cat >>confdefs.h
<<\_ACEOF
33084 #define wxUSE_TOOLTIPS 1
33091 if test "$wxUSE_TREECTRL" = "yes"; then
33092 if test "$wxUSE_IMAGLIST" = "yes"; then
33093 cat >>confdefs.h
<<\_ACEOF
33094 #define wxUSE_TREECTRL 1
33098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33100 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33101 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33105 if test "$wxUSE_POPUPWIN" = "yes"; then
33106 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33107 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33108 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33110 if test "$wxUSE_MOTIF" = 1; then
33111 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33112 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33114 if test "$wxUSE_PM" = 1; then
33115 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33116 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33118 cat >>confdefs.h
<<\_ACEOF
33119 #define wxUSE_POPUPWIN 1
33129 if test "$wxUSE_TIPWINDOW" = "yes"; then
33130 if test "$wxUSE_PM" = 1; then
33131 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33132 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33134 cat >>confdefs.h
<<\_ACEOF
33135 #define wxUSE_TIPWINDOW 1
33141 if test "$USES_CONTROLS" = 1; then
33142 cat >>confdefs.h
<<\_ACEOF
33143 #define wxUSE_CONTROLS 1
33150 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33151 cat >>confdefs.h
<<\_ACEOF
33152 #define wxUSE_DRAGIMAGE 1
33155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33158 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33159 cat >>confdefs.h
<<\_ACEOF
33160 #define wxUSE_ACCESSIBILITY 1
33163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33166 if test "$wxUSE_MENUS" = "yes"; then
33167 cat >>confdefs.h
<<\_ACEOF
33168 #define wxUSE_MENUS 1
33171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33174 if test "$wxUSE_METAFILE" = "yes"; then
33175 cat >>confdefs.h
<<\_ACEOF
33176 #define wxUSE_METAFILE 1
33181 if test "$wxUSE_MIMETYPE" = "yes"; then
33182 cat >>confdefs.h
<<\_ACEOF
33183 #define wxUSE_MIMETYPE 1
33188 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33189 cat >>confdefs.h
<<\_ACEOF
33190 #define wxUSE_SYSTEM_OPTIONS 1
33193 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33194 "$TOOLKIT" = "MOTIF"; then
33195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33200 if test "$wxUSE_MINIFRAME" = "yes"; then
33201 cat >>confdefs.h
<<\_ACEOF
33202 #define wxUSE_MINIFRAME 1
33205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33209 if test "$wxUSE_HTML" = "yes"; then
33210 cat >>confdefs.h
<<\_ACEOF
33211 #define wxUSE_HTML 1
33215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33218 if test "$wxUSE_VALIDATORS" = "yes"; then
33219 cat >>confdefs.h
<<\_ACEOF
33220 #define wxUSE_VALIDATORS 1
33223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33226 if test "$wxUSE_PALETTE" = "yes" ; then
33227 cat >>confdefs.h
<<\_ACEOF
33228 #define wxUSE_PALETTE 1
33233 if test "$wxUSE_IMAGE" = "yes" ; then
33234 cat >>confdefs.h
<<\_ACEOF
33235 #define wxUSE_IMAGE 1
33240 if test "$wxUSE_GIF" = "yes" ; then
33241 cat >>confdefs.h
<<\_ACEOF
33242 #define wxUSE_GIF 1
33247 if test "$wxUSE_PCX" = "yes" ; then
33248 cat >>confdefs.h
<<\_ACEOF
33249 #define wxUSE_PCX 1
33254 if test "$wxUSE_IFF" = "yes" ; then
33255 cat >>confdefs.h
<<\_ACEOF
33256 #define wxUSE_IFF 1
33261 if test "$wxUSE_PNM" = "yes" ; then
33262 cat >>confdefs.h
<<\_ACEOF
33263 #define wxUSE_PNM 1
33268 if test "$wxUSE_XPM" = "yes" ; then
33269 cat >>confdefs.h
<<\_ACEOF
33270 #define wxUSE_XPM 1
33275 if test "$wxUSE_ICO_CUR" = "yes" ; then
33276 cat >>confdefs.h
<<\_ACEOF
33277 #define wxUSE_ICO_CUR 1
33282 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33283 LIBS
=" -lunicows $LIBS"
33287 if test "$wxUSE_CHOICEDLG" = "yes"; then
33288 cat >>confdefs.h
<<\_ACEOF
33289 #define wxUSE_CHOICEDLG 1
33294 if test "$wxUSE_COLOURDLG" = "yes"; then
33295 cat >>confdefs.h
<<\_ACEOF
33296 #define wxUSE_COLOURDLG 1
33301 if test "$wxUSE_FILEDLG" = "yes"; then
33302 cat >>confdefs.h
<<\_ACEOF
33303 #define wxUSE_FILEDLG 1
33308 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33309 cat >>confdefs.h
<<\_ACEOF
33310 #define wxUSE_FINDREPLDLG 1
33315 if test "$wxUSE_FONTDLG" = "yes"; then
33316 cat >>confdefs.h
<<\_ACEOF
33317 #define wxUSE_FONTDLG 1
33322 if test "$wxUSE_DIRDLG" = "yes"; then
33323 if test "$wxUSE_TREECTRL" != "yes"; then
33324 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33325 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33327 cat >>confdefs.h
<<\_ACEOF
33328 #define wxUSE_DIRDLG 1
33334 if test "$wxUSE_MSGDLG" = "yes"; then
33335 cat >>confdefs.h
<<\_ACEOF
33336 #define wxUSE_MSGDLG 1
33341 if test "$wxUSE_NUMBERDLG" = "yes"; then
33342 cat >>confdefs.h
<<\_ACEOF
33343 #define wxUSE_NUMBERDLG 1
33348 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33349 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33350 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33351 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33353 cat >>confdefs.h
<<\_ACEOF
33354 #define wxUSE_PROGRESSDLG 1
33360 if test "$wxUSE_SPLASH" = "yes"; then
33361 cat >>confdefs.h
<<\_ACEOF
33362 #define wxUSE_SPLASH 1
33367 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33368 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33369 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33370 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33372 cat >>confdefs.h
<<\_ACEOF
33373 #define wxUSE_STARTUP_TIPS 1
33379 if test "$wxUSE_TEXTDLG" = "yes"; then
33380 cat >>confdefs.h
<<\_ACEOF
33381 #define wxUSE_TEXTDLG 1
33386 if test "$wxUSE_WIZARDDLG" = "yes"; then
33387 cat >>confdefs.h
<<\_ACEOF
33388 #define wxUSE_WIZARDDLG 1
33391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33395 if test "$cross_compiling" = "yes"; then
33398 OSINFO
=`uname -s -r -m`
33399 OSINFO
="\"$OSINFO\""
33402 cat >>confdefs.h
<<_ACEOF
33403 #define WXWIN_OS_DESCRIPTION $OSINFO
33408 if test "x$prefix" != "xNONE"; then
33411 wxPREFIX
=$ac_default_prefix
33414 cat >>confdefs.h
<<_ACEOF
33415 #define wxINSTALL_PREFIX "$wxPREFIX"
33419 top_builddir_wxconfig
=`pwd`
33423 CORE_BASE_LIBS
="net base"
33424 CORE_GUI_LIBS
="adv core"
33426 if test "$wxUSE_XML" = "yes" ; then
33427 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33429 if test "$wxUSE_ODBC" != "no" ; then
33430 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33431 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33433 if test "$wxUSE_HTML" = "yes" ; then
33434 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33444 if test "$wxUSE_MAC" = 1 ; then
33445 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33447 if test "$wxUSE_COCOA" = 1 ; then
33448 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33452 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33460 echo "$as_me:$LINENO: checking for $ac_func" >&5
33461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33462 if eval "test \"\${$as_ac_var+set}\" = set"; then
33463 echo $ECHO_N "(cached) $ECHO_C" >&6
33465 cat >conftest.
$ac_ext <<_ACEOF
33466 #line $LINENO "configure"
33469 cat confdefs.h
>>conftest.
$ac_ext
33470 cat >>conftest.
$ac_ext <<_ACEOF
33471 /* end confdefs.h. */
33472 /* System header to define __stub macros and hopefully few prototypes,
33473 which can conflict with char $ac_func (); below.
33474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33475 <limits.h> exists even on freestanding compilers. */
33477 # include <limits.h>
33479 # include <assert.h>
33481 /* Override any gcc2 internal prototype to avoid an error. */
33486 /* We use char because int might match the return type of a gcc2
33487 builtin and then its argument prototype would still apply. */
33489 /* The GNU C library defines this for functions which it implements
33490 to always fail with ENOSYS. Some functions are actually named
33491 something starting with __ and the normal name is an alias. */
33492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33495 char (*f) () = $ac_func;
33504 return f != $ac_func;
33509 rm -f conftest.
$ac_objext conftest
$ac_exeext
33510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33511 (eval $ac_link) 2>&5
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); } &&
33515 { ac_try
='test -s conftest$ac_exeext'
33516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33517 (eval $ac_try) 2>&5
33519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33520 (exit $ac_status); }; }; then
33521 eval "$as_ac_var=yes"
33523 echo "$as_me: failed program was:" >&5
33524 sed 's/^/| /' conftest.
$ac_ext >&5
33526 eval "$as_ac_var=no"
33528 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33532 if test `eval echo '${'$as_ac_var'}'` = yes; then
33533 cat >>confdefs.h
<<_ACEOF
33534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33541 for ac_func
in floor
33543 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33544 echo "$as_me:$LINENO: checking for $ac_func" >&5
33545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33546 if eval "test \"\${$as_ac_var+set}\" = set"; then
33547 echo $ECHO_N "(cached) $ECHO_C" >&6
33549 cat >conftest.
$ac_ext <<_ACEOF
33550 #line $LINENO "configure"
33553 cat confdefs.h
>>conftest.
$ac_ext
33554 cat >>conftest.
$ac_ext <<_ACEOF
33555 /* end confdefs.h. */
33556 /* System header to define __stub macros and hopefully few prototypes,
33557 which can conflict with char $ac_func (); below.
33558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33559 <limits.h> exists even on freestanding compilers. */
33561 # include <limits.h>
33563 # include <assert.h>
33565 /* Override any gcc2 internal prototype to avoid an error. */
33570 /* We use char because int might match the return type of a gcc2
33571 builtin and then its argument prototype would still apply. */
33573 /* The GNU C library defines this for functions which it implements
33574 to always fail with ENOSYS. Some functions are actually named
33575 something starting with __ and the normal name is an alias. */
33576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33579 char (*f) () = $ac_func;
33588 return f != $ac_func;
33593 rm -f conftest.
$ac_objext conftest
$ac_exeext
33594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33595 (eval $ac_link) 2>&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } &&
33599 { ac_try
='test -s conftest$ac_exeext'
33600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33601 (eval $ac_try) 2>&5
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); }; }; then
33605 eval "$as_ac_var=yes"
33607 echo "$as_me: failed program was:" >&5
33608 sed 's/^/| /' conftest.
$ac_ext >&5
33610 eval "$as_ac_var=no"
33612 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33616 if test `eval echo '${'$as_ac_var'}'` = yes; then
33617 cat >>confdefs.h
<<_ACEOF
33618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33624 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33625 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33626 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33627 echo "$as_me:$LINENO: result: yes" >&5
33628 echo "${ECHO_T}yes" >&6
33630 echo "$as_me:$LINENO: result: no" >&5
33631 echo "${ECHO_T}no" >&6
33633 # use different functions to avoid configure caching
33639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33640 echo "$as_me:$LINENO: checking for $ac_func" >&5
33641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33642 if eval "test \"\${$as_ac_var+set}\" = set"; then
33643 echo $ECHO_N "(cached) $ECHO_C" >&6
33645 cat >conftest.
$ac_ext <<_ACEOF
33646 #line $LINENO "configure"
33649 cat confdefs.h
>>conftest.
$ac_ext
33650 cat >>conftest.
$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33652 /* System header to define __stub macros and hopefully few prototypes,
33653 which can conflict with char $ac_func (); below.
33654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33655 <limits.h> exists even on freestanding compilers. */
33657 # include <limits.h>
33659 # include <assert.h>
33661 /* Override any gcc2 internal prototype to avoid an error. */
33666 /* We use char because int might match the return type of a gcc2
33667 builtin and then its argument prototype would still apply. */
33669 /* The GNU C library defines this for functions which it implements
33670 to always fail with ENOSYS. Some functions are actually named
33671 something starting with __ and the normal name is an alias. */
33672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33675 char (*f) () = $ac_func;
33684 return f != $ac_func;
33689 rm -f conftest.
$ac_objext conftest
$ac_exeext
33690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33691 (eval $ac_link) 2>&5
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); } &&
33695 { ac_try
='test -s conftest$ac_exeext'
33696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697 (eval $ac_try) 2>&5
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); }; }; then
33701 eval "$as_ac_var=yes"
33703 echo "$as_me: failed program was:" >&5
33704 sed 's/^/| /' conftest.
$ac_ext >&5
33706 eval "$as_ac_var=no"
33708 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33712 if test `eval echo '${'$as_ac_var'}'` = yes; then
33713 cat >>confdefs.h
<<_ACEOF
33714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33721 for ac_func
in ceil
33723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33724 echo "$as_me:$LINENO: checking for $ac_func" >&5
33725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33726 if eval "test \"\${$as_ac_var+set}\" = set"; then
33727 echo $ECHO_N "(cached) $ECHO_C" >&6
33729 cat >conftest.
$ac_ext <<_ACEOF
33730 #line $LINENO "configure"
33733 cat confdefs.h
>>conftest.
$ac_ext
33734 cat >>conftest.
$ac_ext <<_ACEOF
33735 /* end confdefs.h. */
33736 /* System header to define __stub macros and hopefully few prototypes,
33737 which can conflict with char $ac_func (); below.
33738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33739 <limits.h> exists even on freestanding compilers. */
33741 # include <limits.h>
33743 # include <assert.h>
33745 /* Override any gcc2 internal prototype to avoid an error. */
33750 /* We use char because int might match the return type of a gcc2
33751 builtin and then its argument prototype would still apply. */
33753 /* The GNU C library defines this for functions which it implements
33754 to always fail with ENOSYS. Some functions are actually named
33755 something starting with __ and the normal name is an alias. */
33756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33759 char (*f) () = $ac_func;
33768 return f != $ac_func;
33773 rm -f conftest.
$ac_objext conftest
$ac_exeext
33774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33775 (eval $ac_link) 2>&5
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); } &&
33779 { ac_try
='test -s conftest$ac_exeext'
33780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33781 (eval $ac_try) 2>&5
33783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784 (exit $ac_status); }; }; then
33785 eval "$as_ac_var=yes"
33787 echo "$as_me: failed program was:" >&5
33788 sed 's/^/| /' conftest.
$ac_ext >&5
33790 eval "$as_ac_var=no"
33792 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33796 if test `eval echo '${'$as_ac_var'}'` = yes; then
33797 cat >>confdefs.h
<<_ACEOF
33798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33804 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33805 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33806 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33807 echo "$as_me:$LINENO: result: yes" >&5
33808 echo "${ECHO_T}yes" >&6
33810 echo "$as_me:$LINENO: result: no" >&5
33811 echo "${ECHO_T}no" >&6
33812 # not sure we should warn the user, crash, etc.
33816 if test "$wxUSE_GUI" = "yes"; then
33819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33820 drawing dynamic erase event exec font image \
33821 minimal propsize rotate shaped widgets render"
33823 if test "$wxUSE_MONOLITHIC" != "yes"; then
33824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33827 SAMPLES_SUBDIRS
="console"
33831 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33832 -I\${top_srcdir}/include \
33833 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33836 if test "$GXX" = yes ; then
33837 CXXWARNINGS
="-Wall"
33840 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33842 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33843 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33844 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33847 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33848 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33849 EXTRALIBS_XML
="$EXPAT_LINK"
33850 EXTRALIBS_ODBC
="$ODBC_LINK"
33851 if test "$wxUSE_GUI" = "yes"; then
33852 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33854 if test "$wxUSE_OPENGL" = "yes"; then
33855 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33858 LDFLAGS
="$LDFLAGS $PROFILE"
33860 if test "$wxUSE_GTK" = 1; then
33863 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33866 WXCONFIG_EXTRALIBS
="$LIBS"
33868 if test "$wxUSE_REGEX" = "builtin" ; then
33869 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33871 if test "$wxUSE_EXPAT" = "builtin" ; then
33872 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33874 if test "$wxUSE_ODBC" = "builtin" ; then
33875 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33877 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33878 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33880 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33881 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33883 if test "$wxUSE_LIBPNG" = "builtin" ; then
33884 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33886 if test "$wxUSE_ZLIB" = "builtin" ; then
33887 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33889 if test "$wxUSE_ODBC" = "builtin" ; then
33890 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33893 for i
in $wxconfig_3rdparty ; do
33894 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33898 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33912 if test $wxUSE_MONOLITHIC = "yes" ; then
33918 if test $wxUSE_ODBC != "no" ; then
33924 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33946 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33953 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33955 if test -n "$ac_tool_prefix"; then
33956 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33957 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33958 echo "$as_me:$LINENO: checking for $ac_word" >&5
33959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33960 if test "${ac_cv_prog_RANLIB+set}" = set; then
33961 echo $ECHO_N "(cached) $ECHO_C" >&6
33963 if test -n "$RANLIB"; then
33964 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33967 for as_dir
in $PATH
33970 test -z "$as_dir" && as_dir
=.
33971 for ac_exec_ext
in '' $ac_executable_extensions; do
33972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33973 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33982 RANLIB
=$ac_cv_prog_RANLIB
33983 if test -n "$RANLIB"; then
33984 echo "$as_me:$LINENO: result: $RANLIB" >&5
33985 echo "${ECHO_T}$RANLIB" >&6
33987 echo "$as_me:$LINENO: result: no" >&5
33988 echo "${ECHO_T}no" >&6
33992 if test -z "$ac_cv_prog_RANLIB"; then
33993 ac_ct_RANLIB
=$RANLIB
33994 # Extract the first word of "ranlib", so it can be a program name with args.
33995 set dummy ranlib
; ac_word
=$2
33996 echo "$as_me:$LINENO: checking for $ac_word" >&5
33997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33998 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33999 echo $ECHO_N "(cached) $ECHO_C" >&6
34001 if test -n "$ac_ct_RANLIB"; then
34002 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
34004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34005 for as_dir
in $PATH
34008 test -z "$as_dir" && as_dir
=.
34009 for ac_exec_ext
in '' $ac_executable_extensions; do
34010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34011 ac_cv_prog_ac_ct_RANLIB
="ranlib"
34012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34018 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
34021 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
34022 if test -n "$ac_ct_RANLIB"; then
34023 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34024 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34026 echo "$as_me:$LINENO: result: no" >&5
34027 echo "${ECHO_T}no" >&6
34030 RANLIB
=$ac_ct_RANLIB
34032 RANLIB
="$ac_cv_prog_RANLIB"
34035 # Find a good install program. We prefer a C program (faster),
34036 # so one script is as good as another. But avoid the broken or
34037 # incompatible versions:
34038 # SysV /etc/install, /usr/sbin/install
34039 # SunOS /usr/etc/install
34040 # IRIX /sbin/install
34042 # AmigaOS /C/install, which installs bootblocks on floppy discs
34043 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34044 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34045 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34046 # ./install, which can be erroneously created by make from ./install.sh.
34047 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34048 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34049 if test -z "$INSTALL"; then
34050 if test "${ac_cv_path_install+set}" = set; then
34051 echo $ECHO_N "(cached) $ECHO_C" >&6
34053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34054 for as_dir
in $PATH
34057 test -z "$as_dir" && as_dir
=.
34058 # Account for people who put trailing slashes in PATH elements.
34060 .
/ | .
// | /cC
/* | \
34061 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
34064 # OSF1 and SCO ODT 3.0 have their own names for install.
34065 # Don't use installbsd from OSF since it installs stuff as root
34067 for ac_prog
in ginstall scoinst
install; do
34068 for ac_exec_ext
in '' $ac_executable_extensions; do
34069 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34070 if test $ac_prog = install &&
34071 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34072 # AIX install. It has an incompatible calling convention.
34074 elif test $ac_prog = install &&
34075 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34076 # program-specific install script used by HP pwplus--don't use.
34079 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
34091 if test "${ac_cv_path_install+set}" = set; then
34092 INSTALL
=$ac_cv_path_install
34094 # As a last resort, use the slow shell script. We don't cache a
34095 # path for INSTALL within a source directory, because that will
34096 # break other packages using the cache if that directory is
34097 # removed, or if the path is relative.
34098 INSTALL
=$ac_install_sh
34101 echo "$as_me:$LINENO: result: $INSTALL" >&5
34102 echo "${ECHO_T}$INSTALL" >&6
34104 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34105 # It thinks the first close brace ends the variable substitution.
34106 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34108 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34110 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34112 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34113 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34115 if test "$LN_S" = "ln -s"; then
34116 echo "$as_me:$LINENO: result: yes" >&5
34117 echo "${ECHO_T}yes" >&6
34119 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34120 echo "${ECHO_T}no, using $LN_S" >&6
34124 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34125 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34126 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34127 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34130 cat >conftest.
make <<\_ACEOF
34132 @
echo 'ac_maketemp="$(MAKE)"'
34134 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34135 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34136 if test -n "$ac_maketemp"; then
34137 eval ac_cv_prog_make_
${ac_make}_set
=yes
34139 eval ac_cv_prog_make_
${ac_make}_set
=no
34141 rm -f conftest.
make
34143 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34144 echo "$as_me:$LINENO: result: yes" >&5
34145 echo "${ECHO_T}yes" >&6
34148 echo "$as_me:$LINENO: result: no" >&5
34149 echo "${ECHO_T}no" >&6
34150 SET_MAKE
="MAKE=${MAKE-make}"
34155 if test "$build" != "$host" ; then
34157 STRIP
=$host_alias-strip
34159 # Extract the first word of "ar", so it can be a program name with args.
34160 set dummy
ar; ac_word
=$2
34161 echo "$as_me:$LINENO: checking for $ac_word" >&5
34162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34163 if test "${ac_cv_prog_AR+set}" = set; then
34164 echo $ECHO_N "(cached) $ECHO_C" >&6
34166 if test -n "$AR"; then
34167 ac_cv_prog_AR
="$AR" # Let the user override the test.
34169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34170 for as_dir
in $PATH
34173 test -z "$as_dir" && as_dir
=.
34174 for ac_exec_ext
in '' $ac_executable_extensions; do
34175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34183 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
34187 if test -n "$AR"; then
34188 echo "$as_me:$LINENO: result: $AR" >&5
34189 echo "${ECHO_T}$AR" >&6
34191 echo "$as_me:$LINENO: result: no" >&5
34192 echo "${ECHO_T}no" >&6
34195 # Extract the first word of "strip", so it can be a program name with args.
34196 set dummy strip
; ac_word
=$2
34197 echo "$as_me:$LINENO: checking for $ac_word" >&5
34198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34199 if test "${ac_cv_prog_STRIP+set}" = set; then
34200 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 if test -n "$STRIP"; then
34203 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34206 for as_dir
in $PATH
34209 test -z "$as_dir" && as_dir
=.
34210 for ac_exec_ext
in '' $ac_executable_extensions; do
34211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34212 ac_cv_prog_STRIP
="strip"
34213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34219 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
34222 STRIP
=$ac_cv_prog_STRIP
34223 if test -n "$STRIP"; then
34224 echo "$as_me:$LINENO: result: $STRIP" >&5
34225 echo "${ECHO_T}$STRIP" >&6
34227 echo "$as_me:$LINENO: result: no" >&5
34228 echo "${ECHO_T}no" >&6
34235 INSTALL_DIR
="mkdir"
34237 *) INSTALL_DIR
="$INSTALL -d"
34244 *-*-cygwin* | *-*-mingw32* )
34245 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34251 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34252 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34253 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34258 egrep -s GNU
> /dev
/null
); then
34259 bakefile_cv_prog_makeisgnu
="yes"
34261 bakefile_cv_prog_makeisgnu
="no"
34265 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34266 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34268 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34283 *-*-cygwin* | *-*-mingw32* )
34286 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34289 powerpc
-*-darwin* )
34306 SO_SUFFIX_MODULE
="so"
34314 SO_SUFFIX_MODULE
="sl"
34318 SO_SUFFIX_MODULE
="a"
34320 *-*-cygwin* | *-*-mingw32* )
34322 SO_SUFFIX_MODULE
="dll"
34326 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34330 powerpc
-*-darwin* )
34332 SO_SUFFIX_MODULE
="bundle"
34343 SHARED_LD_CC
="\$(CC) -shared -o"
34344 SHARED_LD_CXX
="\$(CXX) -shared -o"
34346 if test "x$GCC" = "xyes"; then
34352 if test "x$GCC" = "xyes"; then
34353 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34354 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34356 LDFLAGS
="$LDFLAGS -L/usr/lib"
34358 SHARED_LD_CC
="${CC} -b -o"
34359 SHARED_LD_CXX
="${CXX} -b -o"
34365 if test "x$GCC" != "xyes"; then
34366 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34367 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34368 if test "${bakefile_cv_prog_icc+set}" = set; then
34369 echo $ECHO_N "(cached) $ECHO_C" >&6
34372 cat >conftest.
$ac_ext <<_ACEOF
34373 #line $LINENO "configure"
34376 cat confdefs.h
>>conftest.
$ac_ext
34377 cat >>conftest.
$ac_ext <<_ACEOF
34378 /* end confdefs.h. */
34384 #ifndef __INTEL_COMPILER
34392 rm -f conftest.
$ac_objext
34393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34394 (eval $ac_compile) 2>&5
34396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397 (exit $ac_status); } &&
34398 { ac_try
='test -s conftest.$ac_objext'
34399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34400 (eval $ac_try) 2>&5
34402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34403 (exit $ac_status); }; }; then
34404 bakefile_cv_prog_icc
=yes
34406 echo "$as_me: failed program was:" >&5
34407 sed 's/^/| /' conftest.
$ac_ext >&5
34409 bakefile_cv_prog_icc
=no
34412 rm -f conftest.
$ac_objext conftest.
$ac_ext
34415 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34416 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34417 if test "$bakefile_cv_prog_icc" = "yes"; then
34424 if test "x$GCC" != xyes
; then
34425 SHARED_LD_CC
="${CC} -G -o"
34426 SHARED_LD_CXX
="${CXX} -G -o"
34432 CFLAGS
="$CFLAGS -fno-common"
34433 CXXFLAGS
="$CXXFLAGS -fno-common"
34436 cat <<EOF >shared-ld-sh
34438 #-----------------------------------------------------------------------------
34439 #-- Name: distrib/mac/shared-ld-sh
34440 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34441 #-- Author: Gilles Depeyrot
34442 #-- Copyright: (c) 2002 Gilles Depeyrot
34443 #-- Licence: any use permitted
34444 #-----------------------------------------------------------------------------
34449 linking_flag="-dynamiclib"
34451 while test \${#} -gt 0; do
34458 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34459 # collect these options and values
34460 args="\${args} \${1} \${2}"
34464 -l*|-L*|-flat_namespace)
34465 # collect these options
34466 args="\${args} \${1}"
34469 -dynamiclib|-bundle)
34470 linking_flag="\${1}"
34474 echo "shared-ld: unhandled option '\${1}'"
34478 *.o | *.a | *.dylib)
34479 # collect object files
34480 objects="\${objects} \${1}"
34484 echo "shared-ld: unhandled argument '\${1}'"
34493 # Link one module containing all the others
34495 if test \${verbose} = 1; then
34496 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34498 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34500 if test \${status} != 0; then
34505 # Link the shared library from the single module created
34507 if test \${verbose} = 1; then
34508 echo "cc \${linking_flag} master.\$\$.o \${args}"
34510 c++ \${linking_flag} master.\$\$.o \${args}
34512 if test \${status} != 0; then
34517 # Remove intermediate module
34519 rm -f master.\$\$.o
34523 chmod +x shared
-ld-sh
34525 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34526 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34527 SHARED_LD_CXX
="$SHARED_LD_CC"
34528 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34529 PIC_FLAG
="-dynamic -fPIC"
34533 if test "x$GCC" != "xyes"; then
34534 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34535 set dummy makeC
++SharedLib
; ac_word
=$2
34536 echo "$as_me:$LINENO: checking for $ac_word" >&5
34537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34538 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34541 if test -n "$AIX_CXX_LD"; then
34542 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34545 for as_dir
in $PATH
34548 test -z "$as_dir" && as_dir
=.
34549 for ac_exec_ext
in '' $ac_executable_extensions; do
34550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34551 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34558 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34561 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34562 if test -n "$AIX_CXX_LD"; then
34563 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34564 echo "${ECHO_T}$AIX_CXX_LD" >&6
34566 echo "$as_me:$LINENO: result: no" >&5
34567 echo "${ECHO_T}no" >&6
34570 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34571 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34576 SHARED_LD_CC
="${LD} -shared -o"
34577 SHARED_LD_CXX
="${LD} -shared -o"
34581 if test "x$GCC" != "xyes"; then
34586 *-*-cygwin* | *-*-mingw32* )
34590 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34598 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34599 echo "$as_me: error: unknown system type $host." >&2;}
34600 { (exit 1); exit 1; }; }
34603 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34604 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34606 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34607 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34626 SONAME_FLAG
="-Wl,-soname,"
34654 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34655 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34658 if test "x$GCC" = "xyes"; then
34662 powerpc
-*-darwin* )
34663 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34666 DEPSFLAG_GCC
="-MMD"
34669 echo "$as_me:$LINENO: result: gcc" >&5
34670 echo "${ECHO_T}gcc" >&6
34672 echo "$as_me:$LINENO: result: none" >&5
34673 echo "${ECHO_T}none" >&6
34676 if test $DEPS_TRACKING = 1 ; then
34680 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34681 # script. It is used to track C/C++ files dependencies in portable way.
34683 # Permission is given to use this file in any way.
34687 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34691 if test \$DEPSMODE = gcc ; then
34692 \${*} \${DEPSFLAG_GCC}
34694 if test \${status} != 0 ; then
34697 # move created file to the location we want it in:
34698 while test \${#} -gt 0; do
34712 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34713 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34714 if test -f \$depfile ; then
34715 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34718 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34719 if test -f \$depfile ; then
34720 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34740 *-*-cygwin* | *-*-mingw32* )
34741 if test "$build" != "$host" ; then
34742 RESCOMP
=$host_alias-windres
34744 # Extract the first word of "windres", so it can be a program name with args.
34745 set dummy windres
; ac_word
=$2
34746 echo "$as_me:$LINENO: checking for $ac_word" >&5
34747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34748 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34749 echo $ECHO_N "(cached) $ECHO_C" >&6
34751 if test -n "$RESCOMP"; then
34752 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34755 for as_dir
in $PATH
34758 test -z "$as_dir" && as_dir
=.
34759 for ac_exec_ext
in '' $ac_executable_extensions; do
34760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34761 ac_cv_prog_RESCOMP
="windres"
34762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34768 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34771 RESCOMP
=$ac_cv_prog_RESCOMP
34772 if test -n "$RESCOMP"; then
34773 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34774 echo "${ECHO_T}$RESCOMP" >&6
34776 echo "$as_me:$LINENO: result: no" >&5
34777 echo "${ECHO_T}no" >&6
34784 # Extract the first word of "Rez", so it can be a program name with args.
34785 set dummy Rez
; ac_word
=$2
34786 echo "$as_me:$LINENO: checking for $ac_word" >&5
34787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34788 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34791 if test -n "$RESCOMP"; then
34792 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34795 for as_dir
in $PATH
34798 test -z "$as_dir" && as_dir
=.
34799 for ac_exec_ext
in '' $ac_executable_extensions; do
34800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34801 ac_cv_prog_RESCOMP
="Rez"
34802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34808 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34811 RESCOMP
=$ac_cv_prog_RESCOMP
34812 if test -n "$RESCOMP"; then
34813 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34814 echo "${ECHO_T}$RESCOMP" >&6
34816 echo "$as_me:$LINENO: result: no" >&5
34817 echo "${ECHO_T}no" >&6
34820 # Extract the first word of "SetFile", so it can be a program name with args.
34821 set dummy SetFile
; ac_word
=$2
34822 echo "$as_me:$LINENO: checking for $ac_word" >&5
34823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34824 if test "${ac_cv_prog_SETFILE+set}" = set; then
34825 echo $ECHO_N "(cached) $ECHO_C" >&6
34827 if test -n "$SETFILE"; then
34828 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34831 for as_dir
in $PATH
34834 test -z "$as_dir" && as_dir
=.
34835 for ac_exec_ext
in '' $ac_executable_extensions; do
34836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34837 ac_cv_prog_SETFILE
="SetFile"
34838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34844 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34847 SETFILE
=$ac_cv_prog_SETFILE
34848 if test -n "$SETFILE"; then
34849 echo "$as_me:$LINENO: result: $SETFILE" >&5
34850 echo "${ECHO_T}$SETFILE" >&6
34852 echo "$as_me:$LINENO: result: no" >&5
34853 echo "${ECHO_T}no" >&6
34868 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34869 if test "${enable_precomp_headers+set}" = set; then
34870 enableval
="$enable_precomp_headers"
34871 bk_use_pch
="$enableval"
34876 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34877 if test "x$GCC" = "xyes"; then
34878 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34879 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34880 cat >conftest.
$ac_ext <<_ACEOF
34881 #line $LINENO "configure"
34884 cat confdefs.h
>>conftest.
$ac_ext
34885 cat >>conftest.
$ac_ext <<_ACEOF
34886 /* end confdefs.h. */
34892 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) || \
34893 (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)
34894 #error "no pch support"
34901 rm -f conftest.
$ac_objext
34902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34903 (eval $ac_compile) 2>&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); } &&
34907 { ac_try
='test -s conftest.$ac_objext'
34908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34909 (eval $ac_try) 2>&5
34911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34912 (exit $ac_status); }; }; then
34914 echo "$as_me:$LINENO: result: yes" >&5
34915 echo "${ECHO_T}yes" >&6
34916 CPPFLAGS
="-fpch-deps $CPPFLAGS"
34920 echo "$as_me: failed program was:" >&5
34921 sed 's/^/| /' conftest.
$ac_ext >&5
34924 echo "$as_me:$LINENO: result: no" >&5
34925 echo "${ECHO_T}no" >&6
34928 rm -f conftest.
$ac_objext conftest.
$ac_ext
34929 if test $GCC_PCH = 1 ; then
34930 cat <<EOF >bk-make-pch
34933 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34934 # script. It is used to generated precompiled headers.
34936 # Permission is given to use this file in any way.
34945 while test \${#} -gt 0; do
34948 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34949 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34950 headerfile="\${incdir}/\${header}"
34954 compiler="\${compiler} \${1}"
34958 if test "x\${headerfile}" = "x" ; then
34959 echo "error: can't find header \${header} in include paths" >2
34961 if test -f \${outfile} ; then
34964 mkdir -p \`dirname \${outfile}\`
34966 depsfile=".deps/\`basename \${outfile}\`.d"
34968 # can do this because gcc is >= 3.4:
34969 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34973 chmod +x bk
-make-pch
34982 COND_BUILD_DEBUG
="#"
34983 if test "x$BUILD" = "xdebug" ; then
34984 COND_BUILD_DEBUG
=""
34987 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
34988 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34989 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
34992 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
34993 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34994 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
34997 COND_BUILD_RELEASE
="#"
34998 if test "x$BUILD" = "xrelease" ; then
34999 COND_BUILD_RELEASE
=""
35002 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
35003 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35004 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
35007 COND_DEBUG_FLAG_1
="#"
35008 if test "x$DEBUG_FLAG" = "x1" ; then
35009 COND_DEBUG_FLAG_1
=""
35012 COND_DEBUG_INFO_0
="#"
35013 if test "x$DEBUG_INFO" = "x0" ; then
35014 COND_DEBUG_INFO_0
=""
35017 COND_DEBUG_INFO_1
="#"
35018 if test "x$DEBUG_INFO" = "x1" ; then
35019 COND_DEBUG_INFO_1
=""
35022 COND_DEPS_TRACKING_0
="#"
35023 if test "x$DEPS_TRACKING" = "x0" ; then
35024 COND_DEPS_TRACKING_0
=""
35027 COND_DEPS_TRACKING_1
="#"
35028 if test "x$DEPS_TRACKING" = "x1" ; then
35029 COND_DEPS_TRACKING_1
=""
35033 if test "x$GCC_PCH" = "x1" ; then
35037 COND_MONOLITHIC_0
="#"
35038 if test "x$MONOLITHIC" = "x0" ; then
35039 COND_MONOLITHIC_0
=""
35042 COND_MONOLITHIC_0_SHARED_0
="#"
35043 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35044 COND_MONOLITHIC_0_SHARED_0
=""
35047 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
35048 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35049 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
35052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
35053 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35054 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
35057 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
35058 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35059 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
35062 COND_MONOLITHIC_0_SHARED_1
="#"
35063 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35064 COND_MONOLITHIC_0_SHARED_1
=""
35067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
35068 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35069 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
35072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
35073 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35074 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
35077 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
35078 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35079 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
35082 COND_MONOLITHIC_1
="#"
35083 if test "x$MONOLITHIC" = "x1" ; then
35084 COND_MONOLITHIC_1
=""
35087 COND_MONOLITHIC_1_SHARED_0
="#"
35088 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35089 COND_MONOLITHIC_1_SHARED_0
=""
35092 COND_MONOLITHIC_1_SHARED_1
="#"
35093 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35094 COND_MONOLITHIC_1_SHARED_1
=""
35097 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
35098 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35099 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
35102 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
35103 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35104 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
35107 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
35108 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35109 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
35112 COND_PLATFORM_MACOSX_1
="#"
35113 if test "x$PLATFORM_MACOSX" = "x1" ; then
35114 COND_PLATFORM_MACOSX_1
=""
35117 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
35118 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35119 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
35122 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
35123 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35124 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
35127 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
35128 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35129 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
35132 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
35133 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35134 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
35137 COND_PLATFORM_MAC_1
="#"
35138 if test "x$PLATFORM_MAC" = "x1" ; then
35139 COND_PLATFORM_MAC_1
=""
35142 COND_PLATFORM_UNIX_0
="#"
35143 if test "x$PLATFORM_UNIX" = "x0" ; then
35144 COND_PLATFORM_UNIX_0
=""
35147 COND_PLATFORM_UNIX_1
="#"
35148 if test "x$PLATFORM_UNIX" = "x1" ; then
35149 COND_PLATFORM_UNIX_1
=""
35152 COND_PLATFORM_WIN32_0
="#"
35153 if test "x$PLATFORM_WIN32" = "x0" ; then
35154 COND_PLATFORM_WIN32_0
=""
35157 COND_PLATFORM_WIN32_1
="#"
35158 if test "x$PLATFORM_WIN32" = "x1" ; then
35159 COND_PLATFORM_WIN32_1
=""
35163 if test "x$SHARED" = "x0" ; then
35167 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35168 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35169 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35173 if test "x$SHARED" = "x1" ; then
35177 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35178 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35179 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35182 COND_TOOLKIT_COCOA
="#"
35183 if test "x$TOOLKIT" = "xCOCOA" ; then
35184 COND_TOOLKIT_COCOA
=""
35187 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35188 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35189 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35192 COND_TOOLKIT_GTK
="#"
35193 if test "x$TOOLKIT" = "xGTK" ; then
35194 COND_TOOLKIT_GTK
=""
35197 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35198 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35199 COND_TOOLKIT_GTK_USE_GUI_1
=""
35202 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35203 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35204 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35207 COND_TOOLKIT_MAC
="#"
35208 if test "x$TOOLKIT" = "xMAC" ; then
35209 COND_TOOLKIT_MAC
=""
35212 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35213 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35214 COND_TOOLKIT_MAC_USE_GUI_1
=""
35217 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35218 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35219 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35222 COND_TOOLKIT_MGL
="#"
35223 if test "x$TOOLKIT" = "xMGL" ; then
35224 COND_TOOLKIT_MGL
=""
35227 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35228 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35229 COND_TOOLKIT_MGL_USE_GUI_1
=""
35232 COND_TOOLKIT_MOTIF
="#"
35233 if test "x$TOOLKIT" = "xMOTIF" ; then
35234 COND_TOOLKIT_MOTIF
=""
35237 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35238 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35239 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35242 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35243 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35244 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35247 COND_TOOLKIT_MSW
="#"
35248 if test "x$TOOLKIT" = "xMSW" ; then
35249 COND_TOOLKIT_MSW
=""
35252 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35253 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35254 COND_TOOLKIT_MSW_USE_GUI_1
=""
35257 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35258 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35259 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35262 COND_TOOLKIT_OS2
="#"
35263 if test "x$TOOLKIT" = "xOS2" ; then
35264 COND_TOOLKIT_OS2
=""
35267 COND_TOOLKIT_OS2_USE_GUI_1
="#"
35268 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35269 COND_TOOLKIT_OS2_USE_GUI_1
=""
35272 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
35273 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35274 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
35277 COND_TOOLKIT_X11
="#"
35278 if test "x$TOOLKIT" = "xX11" ; then
35279 COND_TOOLKIT_X11
=""
35282 COND_TOOLKIT_X11_USE_GUI_1
="#"
35283 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35284 COND_TOOLKIT_X11_USE_GUI_1
=""
35288 if test "x$UNICODE" = "x1" ; then
35293 if test "x$USE_GUI" = "x0" ; then
35298 if test "x$USE_GUI" = "x1" ; then
35302 COND_USE_GUI_1_WXUNIV_0
="#"
35303 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35304 COND_USE_GUI_1_WXUNIV_0
=""
35307 COND_USE_GUI_1_WXUNIV_1
="#"
35308 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35309 COND_USE_GUI_1_WXUNIV_1
=""
35312 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35313 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35314 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35317 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35318 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35319 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35322 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35323 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35324 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35327 COND_USE_SOSYMLINKS_1
="#"
35328 if test "x$USE_SOSYMLINKS" = "x1" ; then
35329 COND_USE_SOSYMLINKS_1
=""
35332 COND_USE_SOVERLINUX_1
="#"
35333 if test "x$USE_SOVERLINUX" = "x1" ; then
35334 COND_USE_SOVERLINUX_1
=""
35337 COND_USE_SOVERSION_0
="#"
35338 if test "x$USE_SOVERSION" = "x0" ; then
35339 COND_USE_SOVERSION_0
=""
35342 COND_USE_SOVERSOLARIS_1
="#"
35343 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35344 COND_USE_SOVERSOLARIS_1
=""
35348 if test "x$WXUNIV" = "x1" ; then
35352 COND_WXUSE_EXPAT_BUILTIN
="#"
35353 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35354 COND_WXUSE_EXPAT_BUILTIN
=""
35357 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35358 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35359 COND_WXUSE_LIBJPEG_BUILTIN
=""
35362 COND_WXUSE_LIBPNG_BUILTIN
="#"
35363 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35364 COND_WXUSE_LIBPNG_BUILTIN
=""
35367 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35368 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35369 COND_WXUSE_LIBTIFF_BUILTIN
=""
35372 COND_WXUSE_ODBC_BUILTIN
="#"
35373 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35374 COND_WXUSE_ODBC_BUILTIN
=""
35377 COND_WXUSE_REGEX_BUILTIN
="#"
35378 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35379 COND_WXUSE_REGEX_BUILTIN
=""
35382 COND_WXUSE_ZLIB_BUILTIN
="#"
35383 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35384 COND_WXUSE_ZLIB_BUILTIN
=""
35391 if test $GCC_PCH = 1 ; then
35392 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35395 powerpc
-*-darwin* )
35396 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35404 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35505 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35506 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35507 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35508 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35509 echo $ECHO_N "(cached) $ECHO_C" >&6
35511 cat >conftest.
make <<\_ACEOF
35513 @
echo 'ac_maketemp="$(MAKE)"'
35515 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35516 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35517 if test -n "$ac_maketemp"; then
35518 eval ac_cv_prog_make_
${ac_make}_set
=yes
35520 eval ac_cv_prog_make_
${ac_make}_set
=no
35522 rm -f conftest.
make
35524 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35525 echo "$as_me:$LINENO: result: yes" >&5
35526 echo "${ECHO_T}yes" >&6
35529 echo "$as_me:$LINENO: result: no" >&5
35530 echo "${ECHO_T}no" >&6
35531 SET_MAKE
="MAKE=${MAKE-make}"
35535 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35536 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35539 ac_config_headers
="$ac_config_headers setup.h"
35542 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35545 ac_config_commands
="$ac_config_commands default"
35549 if test "$wxUSE_GUI" = "yes"; then
35550 SUBDIRS
="samples demos utils contrib"
35551 else SUBDIRS
="samples utils"
35554 for subdir
in `echo $SUBDIRS`; do
35555 if test -d ${srcdir}/${subdir} ; then
35556 if test "$wxUSE_GUI" = "yes"; then
35557 if test ${subdir} = "samples"; then
35558 makefiles
="samples/Makefile.in $makefiles"
35559 for sample
in `echo $SAMPLES_SUBDIRS`; do
35560 if test -d $srcdir/samples
/$sample; then
35561 makefiles
="samples/$sample/Makefile.in $makefiles"
35564 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35566 else if test ${subdir} = "samples"; then
35567 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35568 else makefiles
="utils/HelpGen/Makefile.in \
35569 utils/HelpGen/src/Makefile.in \
35570 utils/makegen/Makefile.in"
35574 for mkin
in $makefiles ; do
35575 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35576 ac_config_files
="$ac_config_files $mk"
35583 cat >confcache
<<\_ACEOF
35584 # This file is a shell script that caches the results of configure
35585 # tests run on this system so they can be shared between configure
35586 # scripts and configure runs, see configure's option --config-cache.
35587 # It is not useful on other systems. If it contains results you don't
35588 # want to keep, you may remove or edit it.
35590 # config.status only pays attention to the cache file if you give it
35591 # the --recheck option to rerun configure.
35593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35595 # following values.
35599 # The following way of writing the cache mishandles newlines in values,
35600 # but we know of no workaround that is simple, portable, and efficient.
35601 # So, don't put newlines in cache variables' values.
35602 # Ultrix sh set writes to stderr and can't be redirected directly,
35603 # and sets the high bit in the cache file unless we assign to the vars.
35606 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35608 # `set' does not quote correctly, so add quotes (double-quote
35609 # substitution turns \\\\ into \\, and sed turns \\ into \).
35612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35615 # `set' quotes correctly as required by POSIX, so do not add quotes.
35617 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35624 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35626 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35628 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35629 if test -w $cache_file; then
35630 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35631 cat confcache
>$cache_file
35633 echo "not updating unwritable cache $cache_file"
35638 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35639 # Let make expand exec_prefix.
35640 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35642 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35643 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35644 # trailing colons and then remove the whole line if VPATH becomes empty
35645 # (actually we leave an empty line to preserve line numbers).
35646 if test "x$srcdir" = x.
; then
35647 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35648 s/:*\$(srcdir):*/:/;
35649 s/:*\${srcdir}:*/:/;
35651 s/^\([^=]*=[ ]*\):*/\1/;
35657 DEFS
=-DHAVE_CONFIG_H
35661 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35662 # 1. Remove the extension, and $U if already installed.
35663 ac_i
=`echo "$ac_i" |
35664 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35666 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35667 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35669 LIBOBJS
=$ac_libobjs
35671 LTLIBOBJS
=$ac_ltlibobjs
35675 : ${CONFIG_STATUS=./config.status}
35676 ac_clean_files_save
=$ac_clean_files
35677 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35678 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35679 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35680 cat >$CONFIG_STATUS <<_ACEOF
35682 # Generated by $as_me.
35683 # Run this file to recreate the current configuration.
35684 # Compiler output produced by configure, useful for debugging
35685 # configure, is in config.log if it exists.
35688 ac_cs_recheck=false
35690 SHELL=\${CONFIG_SHELL-$SHELL}
35693 cat >>$CONFIG_STATUS <<\_ACEOF
35694 ## --------------------- ##
35695 ## M4sh Initialization. ##
35696 ## --------------------- ##
35698 # Be Bourne compatible
35699 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35702 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35703 # is contrary to our usage. Disable this feature.
35704 alias -g '${1+"$@"}'='"$@"'
35705 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35709 # Support unset when possible.
35710 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35717 # Work around bugs in pre-3.0 UWIN ksh.
35718 $as_unset ENV MAIL MAILPATH
35725 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35726 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35727 LC_TELEPHONE LC_TIME
35729 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35730 eval $as_var=C
; export $as_var
35736 # Required to use basename.
35737 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35743 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35744 as_basename
=basename
35750 # Name of the executable.
35751 as_me
=`$as_basename "$0" ||
35752 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35753 X"$0" : 'X\(//\)$' \| \
35754 X"$0" : 'X\(/\)$' \| \
35755 . : '\(.\)' 2>/dev/null ||
35757 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35758 /^X\/\(\/\/\)$/{ s//\1/; q; }
35759 /^X\/\(\/\).*/{ s//\1/; q; }
35763 # PATH needs CR, and LINENO needs CR and PATH.
35764 # Avoid depending upon Character Ranges.
35765 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35766 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35767 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35768 as_cr_digits
='0123456789'
35769 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35771 # The user is always right.
35772 if test "${PATH_SEPARATOR+set}" != set; then
35773 echo "#! /bin/sh" >conf$$.sh
35774 echo "exit 0" >>conf$$.sh
35776 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35785 as_lineno_1
=$LINENO
35786 as_lineno_2
=$LINENO
35787 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35788 test "x$as_lineno_1" != "x$as_lineno_2" &&
35789 test "x$as_lineno_3" = "x$as_lineno_2" || {
35790 # Find who we are. Look in the path if we contain no path at all
35793 *[\\/]* ) as_myself
=$0 ;;
35794 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35795 for as_dir
in $PATH
35798 test -z "$as_dir" && as_dir
=.
35799 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35804 # We did not find ourselves, most probably we were run as `sh COMMAND'
35805 # in which case we are not to be found in the path.
35806 if test "x$as_myself" = x
; then
35809 if test ! -f "$as_myself"; then
35810 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35811 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35812 { (exit 1); exit 1; }; }
35814 case $CONFIG_SHELL in
35816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35817 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35820 test -z "$as_dir" && as_dir
=.
35821 for as_base
in sh bash ksh sh5
; do
35824 if ("$as_dir/$as_base" -c '
35825 as_lineno_1=$LINENO
35826 as_lineno_2=$LINENO
35827 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35828 test "x$as_lineno_1" != "x$as_lineno_2" &&
35829 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35830 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35831 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35832 CONFIG_SHELL
=$as_dir/$as_base
35833 export CONFIG_SHELL
35834 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35842 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35843 # uniformly replaced by the line number. The first 'sed' inserts a
35844 # line-number line before each line; the second 'sed' does the real
35845 # work. The second script uses 'N' to pair each line-number line
35846 # with the numbered line, and appends trailing '-' during
35847 # substitution so that $LINENO is not a special case at line end.
35848 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35849 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35850 sed '=' <$as_myself |
35855 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35858 s,^['$as_cr_digits']*\n,,
35859 ' >$as_me.lineno
&&
35860 chmod +x
$as_me.lineno
||
35861 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35862 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35863 { (exit 1); exit 1; }; }
35865 # Don't try to exec as it changes $[0], causing all sort of problems
35866 # (the dirname of $[0] is not the place where we might find the
35867 # original and so on. Autoconf is especially sensible to this).
35869 # Exit status is that of the last command.
35874 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35875 *c
*,-n*) ECHO_N
= ECHO_C
='
35877 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35878 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35881 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35887 rm -f conf$$ conf$$.exe conf$$.
file
35889 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35890 # We could just check for DJGPP; but this test a) works b) is more generic
35891 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35892 if test -f conf$$.exe
; then
35893 # Don't use ln at all; we don't have any links
35898 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35903 rm -f conf$$ conf$$.exe conf$$.
file
35905 if mkdir -p .
2>/dev
/null
; then
35911 as_executable_p
="test -f"
35913 # Sed expression to map a string onto a valid CPP name.
35914 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35916 # Sed expression to map a string onto a valid variable name.
35917 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35921 # We need space, tab and new line, in precisely that order.
35931 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35932 # report actual input values of CONFIG_FILES etc. instead of their
35933 # values after options handling. Logging --version etc. is OK.
35937 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35938 ## Running $as_me. ##
35943 This file was extended by wxWindows $as_me 2.5.0, which was
35944 generated by GNU Autoconf 2.57. Invocation command line was
35946 CONFIG_FILES = $CONFIG_FILES
35947 CONFIG_HEADERS = $CONFIG_HEADERS
35948 CONFIG_LINKS = $CONFIG_LINKS
35949 CONFIG_COMMANDS = $CONFIG_COMMANDS
35953 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35957 # Files that config.status was made for.
35958 if test -n "$ac_config_files"; then
35959 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35962 if test -n "$ac_config_headers"; then
35963 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35966 if test -n "$ac_config_links"; then
35967 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35970 if test -n "$ac_config_commands"; then
35971 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35974 cat >>$CONFIG_STATUS <<\_ACEOF
35977 \`$as_me' instantiates files from templates according to the
35978 current configuration.
35980 Usage: $0 [OPTIONS] [FILE]...
35982 -h, --help print this help, then exit
35983 -V, --version print version number, then exit
35984 -q, --quiet do not print progress messages
35985 -d, --debug don't remove temporary files
35986 --recheck update $as_me by reconfiguring in the same conditions
35987 --file=FILE[:TEMPLATE]
35988 instantiate the configuration file FILE
35989 --header=FILE[:TEMPLATE]
35990 instantiate the configuration header FILE
35992 Configuration files:
35995 Configuration headers:
35998 Configuration commands:
36001 Report bugs to <bug-autoconf@gnu.org>."
36004 cat >>$CONFIG_STATUS <<_ACEOF
36006 wxWindows config.status 2.5.0
36007 configured by $0, generated by GNU Autoconf 2.57,
36008 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36010 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36011 Free Software Foundation, Inc.
36012 This config.status script is free software; the Free Software Foundation
36013 gives unlimited permission to copy, distribute and modify it."
36018 cat >>$CONFIG_STATUS <<\_ACEOF
36019 # If no file are specified by the user, then we need to provide default
36020 # value. By we need to know if files were specified by the user.
36026 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
36027 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
36035 *) # This is not an option, so the user has probably given explicit
36038 ac_need_defaults
=false
;;
36042 # Handling of the options.
36044 cat >>$CONFIG_STATUS <<\_ACEOF
36045 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36047 --version | --vers* | -V )
36048 echo "$ac_cs_version"; exit 0 ;;
36050 # Conflict between --help and --header
36051 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36052 Try \`$0 --help' for more information." >&5
36053 echo "$as_me: error: ambiguous option: $1
36054 Try \`$0 --help' for more information." >&2;}
36055 { (exit 1); exit 1; }; };;
36056 --help | --hel | -h )
36057 echo "$ac_cs_usage"; exit 0 ;;
36058 --debug | --d* | -d )
36060 --file | --fil | --fi | --f )
36062 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
36063 ac_need_defaults
=false
;;
36064 --header | --heade | --head | --hea )
36066 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
36067 ac_need_defaults
=false
;;
36068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36069 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36072 # This is an error.
36073 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36074 Try \`$0 --help' for more information." >&5
36075 echo "$as_me: error: unrecognized option: $1
36076 Try \`$0 --help' for more information." >&2;}
36077 { (exit 1); exit 1; }; } ;;
36079 *) ac_config_targets
="$ac_config_targets $1" ;;
36085 ac_configure_extra_args
=
36087 if $ac_cs_silent; then
36089 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36093 cat >>$CONFIG_STATUS <<_ACEOF
36094 if \$ac_cs_recheck; then
36095 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36096 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36101 cat >>$CONFIG_STATUS <<_ACEOF
36103 # INIT-COMMANDS section.
36107 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36116 cat >>$CONFIG_STATUS <<\_ACEOF
36117 for ac_config_target
in $ac_config_targets
36119 case "$ac_config_target" in
36120 # Handling of arguments.
36121 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36122 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36123 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36124 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36125 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36126 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36127 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36128 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36129 { (exit 1); exit 1; }; };;
36133 # If the user did not use the arguments to specify the items to instantiate,
36134 # then the envvar interface is used. Set only those that are not.
36135 # We use the long form for the default assignment because of an extremely
36136 # bizarre bug on SunOS 4.1.3.
36137 if $ac_need_defaults; then
36138 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36139 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36140 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36143 # Have a temporary directory for convenience. Make it in the build tree
36144 # simply because there is no reason to put it here, and in addition,
36145 # creating and moving files from /tmp can sometimes cause problems.
36146 # Create a temporary directory, and hook for its removal unless debugging.
36149 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36150 trap '{ (exit 1); exit 1; }' 1 2 13 15
36153 # Create a (secure) tmp directory for tmp files.
36156 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36157 test -n "$tmp" && test -d "$tmp"
36160 tmp
=.
/confstat$$
-$RANDOM
36161 (umask 077 && mkdir $tmp)
36164 echo "$me: cannot create a temporary directory in ." >&2
36165 { (exit 1); exit 1; }
36170 cat >>$CONFIG_STATUS <<_ACEOF
36173 # CONFIG_FILES section.
36176 # No need to generate the scripts if there are no CONFIG_FILES.
36177 # This happens for instance when ./config.status config.h
36178 if test -n "\$CONFIG_FILES"; then
36179 # Protect against being on the right side of a sed subst in config.status.
36180 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36181 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36182 s,@SHELL@,$SHELL,;t t
36183 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36184 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36185 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36186 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36187 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36188 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36189 s,@exec_prefix@,$exec_prefix,;t t
36190 s,@prefix@,$prefix,;t t
36191 s,@program_transform_name@,$program_transform_name,;t t
36192 s,@bindir@,$bindir,;t t
36193 s,@sbindir@,$sbindir,;t t
36194 s,@libexecdir@,$libexecdir,;t t
36195 s,@datadir@,$datadir,;t t
36196 s,@sysconfdir@,$sysconfdir,;t t
36197 s,@sharedstatedir@,$sharedstatedir,;t t
36198 s,@localstatedir@,$localstatedir,;t t
36199 s,@libdir@,$libdir,;t t
36200 s,@includedir@,$includedir,;t t
36201 s,@oldincludedir@,$oldincludedir,;t t
36202 s,@infodir@,$infodir,;t t
36203 s,@mandir@,$mandir,;t t
36204 s,@build_alias@,$build_alias,;t t
36205 s,@host_alias@,$host_alias,;t t
36206 s,@target_alias@,$target_alias,;t t
36207 s,@DEFS@,$DEFS,;t t
36208 s,@ECHO_C@,$ECHO_C,;t t
36209 s,@ECHO_N@,$ECHO_N,;t t
36210 s,@ECHO_T@,$ECHO_T,;t t
36211 s,@LIBS@,$LIBS,;t t
36212 s,@build@,$build,;t t
36213 s,@build_cpu@,$build_cpu,;t t
36214 s,@build_vendor@,$build_vendor,;t t
36215 s,@build_os@,$build_os,;t t
36216 s,@host@,$host,;t t
36217 s,@host_cpu@,$host_cpu,;t t
36218 s,@host_vendor@,$host_vendor,;t t
36219 s,@host_os@,$host_os,;t t
36220 s,@target@,$target,;t t
36221 s,@target_cpu@,$target_cpu,;t t
36222 s,@target_vendor@,$target_vendor,;t t
36223 s,@target_os@,$target_os,;t t
36225 s,@CFLAGS@,$CFLAGS,;t t
36226 s,@LDFLAGS@,$LDFLAGS,;t t
36227 s,@CPPFLAGS@,$CPPFLAGS,;t t
36228 s,@ac_ct_CC@,$ac_ct_CC,;t t
36229 s,@EXEEXT@,$EXEEXT,;t t
36230 s,@OBJEXT@,$OBJEXT,;t t
36232 s,@EGREP@,$EGREP,;t t
36234 s,@CXXFLAGS@,$CXXFLAGS,;t t
36235 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36236 s,@RANLIB@,$RANLIB,;t t
36237 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36239 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36240 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36241 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36242 s,@STRIP@,$STRIP,;t t
36243 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36244 s,@YACC@,$YACC,;t t
36246 s,@LEXLIB@,$LEXLIB,;t t
36247 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
36248 s,@LN_S@,$LN_S,;t t
36249 s,@CXXCPP@,$CXXCPP,;t t
36250 s,@subdirs@,$subdirs,;t t
36251 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36252 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36253 s,@GTK_LIBS@,$GTK_LIBS,;t t
36254 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36255 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36256 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36257 s,@X_CFLAGS@,$X_CFLAGS,;t t
36258 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36259 s,@X_LIBS@,$X_LIBS,;t t
36260 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36261 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36262 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36263 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36264 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36265 s,@RESCOMP@,$RESCOMP,;t t
36266 s,@DEREZ@,$DEREZ,;t t
36267 s,@SETFILE@,$SETFILE,;t t
36268 s,@LIBICONV@,$LIBICONV,;t t
36269 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36270 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36271 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36272 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36273 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36274 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36275 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36276 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36277 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36278 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36279 s,@VENDOR@,$VENDOR,;t t
36280 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36281 s,@WXUNIV@,$WXUNIV,;t t
36282 s,@MONOLITHIC@,$MONOLITHIC,;t t
36283 s,@EXTRALIBS@,$EXTRALIBS,;t t
36284 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36285 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36286 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36287 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36288 s,@UNICODE@,$UNICODE,;t t
36289 s,@BUILD@,$BUILD,;t t
36290 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36291 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36292 s,@SHARED@,$SHARED,;t t
36293 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36294 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36295 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36296 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36297 s,@SET_MAKE@,$SET_MAKE,;t t
36298 s,@MAKE_SET@,$MAKE_SET,;t t
36299 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36300 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36301 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36302 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36303 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36304 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36305 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36306 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36307 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36308 s,@DLLPREFIX@,$DLLPREFIX,;t t
36309 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36310 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36311 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36312 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36313 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36314 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36315 s,@PIC_FLAG@,$PIC_FLAG,;t t
36316 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36317 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36318 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36319 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36320 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36321 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36322 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36323 s,@GCC_PCH@,$GCC_PCH,;t t
36324 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36325 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36326 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36327 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36328 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36329 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36330 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36331 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36332 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36333 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36334 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36335 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36336 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36337 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36338 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
36339 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36340 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36341 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36342 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
36343 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36344 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36345 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36346 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36347 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36348 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36349 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36350 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36351 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36352 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36353 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36354 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36355 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36356 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36357 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36358 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36359 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36360 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36361 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36362 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36363 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36364 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36365 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36366 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36367 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36368 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36369 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36370 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36371 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36372 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36373 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36374 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36375 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36376 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36377 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36378 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36379 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36380 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36381 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36382 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36383 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36384 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36385 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36386 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36387 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36388 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36389 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36390 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36391 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36392 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36393 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36394 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36395 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36396 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36397 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36398 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36399 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36400 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36401 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36402 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36403 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36404 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36405 s,@LEX_STEM@,$LEX_STEM,;t t
36406 s,@PATH_IFS@,$PATH_IFS,;t t
36407 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36408 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36409 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36410 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36411 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36412 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36413 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36414 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36415 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36416 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36417 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36418 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36419 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36420 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36421 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36422 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36423 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36424 s,@WX_ALL@,$WX_ALL,;t t
36425 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36426 s,@SHARED_LD@,$SHARED_LD,;t t
36427 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36428 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36429 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36430 s,@USE_GUI@,$USE_GUI,;t t
36431 s,@AFMINSTALL@,$AFMINSTALL,;t t
36432 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36433 s,@TOOLKIT@,$TOOLKIT,;t t
36434 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36435 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36436 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36437 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36438 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36439 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36440 s,@cross_compiling@,$cross_compiling,;t t
36441 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36442 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36443 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36444 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36445 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36446 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36447 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36448 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36449 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36450 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36451 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36452 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36453 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36454 s,@GUIDIST@,$GUIDIST,;t t
36455 s,@PORT_FILES@,$PORT_FILES,;t t
36456 s,@DISTDIR@,$DISTDIR,;t t
36457 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36458 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36459 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36460 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36461 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36462 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36463 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36464 s,@RESFLAGS@,$RESFLAGS,;t t
36465 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36466 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36467 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36468 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36469 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36470 s,@MACRESCOMP@,$MACRESCOMP,;t t
36471 s,@MACSETFILE@,$MACSETFILE,;t t
36472 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36474 s,@DLLTOOL@,$DLLTOOL,;t t
36478 s,@MAKEINFO@,$MAKEINFO,;t t
36479 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36480 s,@LIBOBJS@,$LIBOBJS,;t t
36481 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36486 cat >>$CONFIG_STATUS <<\_ACEOF
36487 # Split the substitutions into bite-sized pieces for seds with
36488 # small command number limits, like on Digital OSF/1 and HP-UX.
36489 ac_max_sed_lines
=48
36490 ac_sed_frag
=1 # Number of current file.
36491 ac_beg
=1 # First line for current file.
36492 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36495 while $ac_more_lines; do
36496 if test $ac_beg -gt 1; then
36497 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36499 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36501 if test ! -s $tmp/subs.frag
; then
36502 ac_more_lines
=false
36504 # The purpose of the label and of the branching condition is to
36505 # speed up the sed processing (if there are no `@' at all, there
36506 # is no need to browse any of the substitutions).
36507 # These are the two extra sed commands mentioned above.
36509 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36510 if test -z "$ac_sed_cmds"; then
36511 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36513 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36515 ac_sed_frag
=`expr $ac_sed_frag + 1`
36517 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36520 if test -z "$ac_sed_cmds"; then
36523 fi # test -n "$CONFIG_FILES"
36526 cat >>$CONFIG_STATUS <<\_ACEOF
36527 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36528 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36530 - | *:- | *:-:* ) # input from stdin
36532 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36533 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36534 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36535 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36536 * ) ac_file_in
=$ac_file.
in ;;
36539 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36540 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36541 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36542 X"$ac_file" : 'X\(//\)[^/]' \| \
36543 X"$ac_file" : 'X\(//\)$' \| \
36544 X"$ac_file" : 'X\(/\)' \| \
36545 . : '\(.\)' 2>/dev/null ||
36547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36548 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36549 /^X\(\/\/\)$/{ s//\1/; q; }
36550 /^X\(\/\).*/{ s//\1/; q; }
36552 { if $as_mkdir_p; then
36557 while test ! -d "$as_dir"; do
36558 as_dirs
="$as_dir $as_dirs"
36559 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36560 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36561 X"$as_dir" : 'X\(//\)[^/]' \| \
36562 X"$as_dir" : 'X\(//\)$' \| \
36563 X"$as_dir" : 'X\(/\)' \| \
36564 . : '\(.\)' 2>/dev/null ||
36566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36568 /^X\(\/\/\)$/{ s//\1/; q; }
36569 /^X\(\/\).*/{ s//\1/; q; }
36572 test ! -n "$as_dirs" || mkdir $as_dirs
36573 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36574 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36575 { (exit 1); exit 1; }; }; }
36579 if test "$ac_dir" != .
; then
36580 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36581 # A "../" for each directory in $ac_dir_suffix.
36582 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36584 ac_dir_suffix
= ac_top_builddir
=
36588 .
) # No --srcdir option. We are building in place.
36590 if test -z "$ac_top_builddir"; then
36593 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36595 [\\/]* | ?
:[\\/]* ) # Absolute path.
36596 ac_srcdir
=$srcdir$ac_dir_suffix;
36597 ac_top_srcdir
=$srcdir ;;
36598 *) # Relative path.
36599 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36600 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36602 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36604 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36605 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36606 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36607 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36611 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36612 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36615 if test x
"$ac_file" != x
-; then
36616 { echo "$as_me:$LINENO: creating $ac_file" >&5
36617 echo "$as_me: creating $ac_file" >&6;}
36620 # Let's still pretend it is `configure' which instantiates (i.e., don't
36621 # use $as_me), people would be surprised to read:
36622 # /* config.h. Generated by config.status. */
36623 if test x
"$ac_file" = x
-; then
36626 configure_input
="$ac_file. "
36628 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36629 sed 's,.*/,,'` by configure."
36631 # First look for the input files in the build tree, otherwise in the
36633 ac_file_inputs
=`IFS=:
36634 for f in $ac_file_in; do
36636 -) echo $tmp/stdin ;;
36638 # Absolute (can't be DOS-style, as IFS=:)
36639 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36640 echo "$as_me: error: cannot find input file: $f" >&2;}
36641 { (exit 1); exit 1; }; }
36644 if test -f "$f"; then
36647 elif test -f "$srcdir/$f"; then
36652 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36653 echo "$as_me: error: cannot find input file: $f" >&2;}
36654 { (exit 1); exit 1; }; }
36657 done` || { (exit 1); exit 1; }
36659 cat >>$CONFIG_STATUS <<_ACEOF
36663 cat >>$CONFIG_STATUS <<\_ACEOF
36665 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36666 s
,@configure_input@
,$configure_input,;t t
36667 s
,@srcdir@
,$ac_srcdir,;t t
36668 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36669 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36670 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36671 s
,@builddir@
,$ac_builddir,;t t
36672 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36673 s
,@top_builddir@
,$ac_top_builddir,;t t
36674 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36675 s
,@INSTALL@
,$ac_INSTALL,;t t
36676 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36678 if test x"$ac_file" != x-; then
36679 mv $tmp/out $ac_file
36687 cat >>$CONFIG_STATUS <<\_ACEOF
36690 # CONFIG_HEADER section.
36693 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36694 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36696 # ac_d sets the value in "#define NAME VALUE" lines.
36697 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36698 ac_dB
='[ ].*$,\1#\2'
36701 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36702 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36703 ac_uB
='$,\1#\2define\3'
36707 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36708 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36710 - | *:- | *:-:* ) # input from stdin
36712 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36713 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36714 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36715 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36716 * ) ac_file_in
=$ac_file.
in ;;
36719 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36720 echo "$as_me: creating $ac_file" >&6;}
36722 # First look for the input files in the build tree, otherwise in the
36724 ac_file_inputs
=`IFS=:
36725 for f in $ac_file_in; do
36727 -) echo $tmp/stdin ;;
36729 # Absolute (can't be DOS-style, as IFS=:)
36730 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36731 echo "$as_me: error: cannot find input file: $f" >&2;}
36732 { (exit 1); exit 1; }; }
36735 if test -f "$f"; then
36738 elif test -f "$srcdir/$f"; then
36743 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36744 echo "$as_me: error: cannot find input file: $f" >&2;}
36745 { (exit 1); exit 1; }; }
36748 done` || { (exit 1); exit 1; }
36749 # Remove the trailing spaces.
36750 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36754 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36755 # `conftest.undefs', that substitutes the proper values into
36756 # config.h.in to produce config.h. The first handles `#define'
36757 # templates, and the second `#undef' templates.
36758 # And first: Protect against being on the right side of a sed subst in
36759 # config.status. Protect against being in an unquoted here document
36760 # in config.status.
36761 rm -f conftest.defines conftest.undefs
36762 # Using a here document instead of a string reduces the quoting nightmare.
36763 # Putting comments in sed scripts is not portable.
36765 # `end' is used to avoid that the second main sed command (meant for
36766 # 0-ary CPP macros) applies to n-ary macro definitions.
36767 # See the Autoconf documentation for `clear'.
36768 cat >confdef2sed.
sed <<\_ACEOF
36773 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36775 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36778 # If some macros were called several times there might be several times
36779 # the same #defines, which is useless. Nevertheless, we may not want to
36780 # sort them, since we want the *last* AC-DEFINE to be honored.
36781 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36782 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36783 rm -f confdef2sed.sed
36785 # This sed command replaces #undef with comments. This is necessary, for
36786 # example, in the case of _POSIX_SOURCE, which is predefined and required
36787 # on some systems where configure will not decide to define it.
36788 cat >>conftest.undefs <<\_ACEOF
36789 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36792 # Break up conftest.defines because some shells have a limit on the size
36793 # of here documents, and old seds have small limits too (100 cmds).
36794 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36795 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36796 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36797 echo ' :' >>$CONFIG_STATUS
36798 rm -f conftest.tail
36799 while grep . conftest.defines >/dev/null
36801 # Write a limited-size here document to $tmp/defines.sed.
36802 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36803 # Speed up: don't consider the non `#define' lines.
36804 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36805 # Work around the forget-to-reset-the-flag bug.
36806 echo 't clr' >>$CONFIG_STATUS
36807 echo ': clr' >>$CONFIG_STATUS
36808 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36810 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36812 mv $tmp/out $tmp/in
36814 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36815 rm -f conftest.defines
36816 mv conftest.
tail conftest.defines
36818 rm -f conftest.defines
36819 echo ' fi # grep' >>$CONFIG_STATUS
36820 echo >>$CONFIG_STATUS
36822 # Break up conftest.undefs because some shells have a limit on the size
36823 # of here documents, and old seds have small limits too (100 cmds).
36824 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36825 rm -f conftest.
tail
36826 while grep . conftest.undefs
>/dev
/null
36828 # Write a limited-size here document to $tmp/undefs.sed.
36829 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36830 # Speed up: don't consider the non
`#undef'
36831 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36832 # Work around the forget-to-reset-the-flag bug.
36833 echo 't clr' >>$CONFIG_STATUS
36834 echo ': clr' >>$CONFIG_STATUS
36835 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36837 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36839 mv $tmp/out $tmp/in
36841 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36842 rm -f conftest.undefs
36843 mv conftest.tail conftest.undefs
36845 rm -f conftest.undefs
36847 cat >>$CONFIG_STATUS <<\_ACEOF
36848 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36849 # use $as_me), people would be surprised to read:
36850 # /* config.h. Generated by config.status. */
36851 if test x
"$ac_file" = x
-; then
36852 echo "/* Generated by configure. */" >$tmp/config.h
36854 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36856 cat $tmp/in >>$tmp/config.h
36858 if test x
"$ac_file" != x
-; then
36859 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36860 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36861 echo "$as_me: $ac_file is unchanged" >&6;}
36863 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36864 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36865 X"$ac_file" : 'X\(//\)[^/]' \| \
36866 X"$ac_file" : 'X\(//\)$' \| \
36867 X"$ac_file" : 'X\(/\)' \| \
36868 . : '\(.\)' 2>/dev/null ||
36870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36872 /^X\(\/\/\)$/{ s//\1/; q; }
36873 /^X\(\/\).*/{ s//\1/; q; }
36875 { if $as_mkdir_p; then
36880 while test ! -d "$as_dir"; do
36881 as_dirs
="$as_dir $as_dirs"
36882 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36884 X"$as_dir" : 'X\(//\)[^/]' \| \
36885 X"$as_dir" : 'X\(//\)$' \| \
36886 X"$as_dir" : 'X\(/\)' \| \
36887 . : '\(.\)' 2>/dev/null ||
36889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36890 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36891 /^X\(\/\/\)$/{ s//\1/; q; }
36892 /^X\(\/\).*/{ s//\1/; q; }
36895 test ! -n "$as_dirs" || mkdir $as_dirs
36896 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36897 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36898 { (exit 1); exit 1; }; }; }
36901 mv $tmp/config.h
$ac_file
36905 rm -f $tmp/config.h
36909 cat >>$CONFIG_STATUS <<\_ACEOF
36912 # CONFIG_COMMANDS section.
36914 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36915 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36916 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36917 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36918 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36919 X"$ac_dest" : 'X\(//\)[^/]' \| \
36920 X"$ac_dest" : 'X\(//\)$' \| \
36921 X"$ac_dest" : 'X\(/\)' \| \
36922 . : '\(.\)' 2>/dev/null ||
36924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36925 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36926 /^X\(\/\/\)$/{ s//\1/; q; }
36927 /^X\(\/\).*/{ s//\1/; q; }
36931 if test "$ac_dir" != .
; then
36932 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36933 # A "../" for each directory in $ac_dir_suffix.
36934 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36936 ac_dir_suffix
= ac_top_builddir
=
36940 .
) # No --srcdir option. We are building in place.
36942 if test -z "$ac_top_builddir"; then
36945 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36947 [\\/]* | ?
:[\\/]* ) # Absolute path.
36948 ac_srcdir
=$srcdir$ac_dir_suffix;
36949 ac_top_srcdir
=$srcdir ;;
36950 *) # Relative path.
36951 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36952 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36954 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36956 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36957 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36958 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36959 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36962 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36963 echo "$as_me: executing $ac_dest commands" >&6;}
36966 if test ! -h wx
-config; then
36968 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36969 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36972 if test ! -d lib
; then
36975 if test ! -d lib
/wx
; then
36978 if test ! -d lib
/wx
/include
; then
36979 mkdir lib
/wx
/include
36981 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36982 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36984 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36985 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36987 if test -f setup.h
; then
36988 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36995 cat >>$CONFIG_STATUS <<\_ACEOF
36997 { (exit 0); exit 0; }
36999 chmod +x
$CONFIG_STATUS
37000 ac_clean_files
=$ac_clean_files_save
37003 # configure is writing to config.log, and then calls config.status.
37004 # config.status does its own redirection, appending to config.log.
37005 # Unfortunately, on DOS this fails, as config.log is still kept open
37006 # by configure, so config.status won't be able to write to it; its
37007 # output is simply discarded. So we exec the FD to /dev/null,
37008 # effectively closing config.log, so it can be properly (re)opened and
37009 # appended to by config.status. When coming back to configure, we
37010 # need to make the FD available again.
37011 if test "$no_create" != yes; then
37013 ac_config_status_args
=
37014 test "$silent" = yes &&
37015 ac_config_status_args
="$ac_config_status_args --quiet"
37017 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
37019 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37020 # would make configure fail if this is the last instruction.
37021 $ac_cs_success || { (exit 1); exit 1; }
37025 # CONFIG_SUBDIRS section.
37027 if test "$no_recursion" != yes; then
37029 # Remove --cache-file and --srcdir arguments so they do not pile up.
37030 ac_sub_configure_args
=
37032 for ac_arg
in $ac_configure_args; do
37033 if test -n "$ac_prev"; then
37038 -cache-file | --cache-file | --cache-fil | --cache-fi \
37039 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37040 ac_prev
=cache_file
;;
37041 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37042 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37045 --config-cache | -C)
37047 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37049 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37051 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37053 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37055 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
37059 # Always prepend --prefix to ensure using the same prefix
37060 # in subdir configurations.
37061 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
37064 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
37066 # Do not complain, so a configure script can configure whichever
37067 # parts of a large source tree are present.
37068 test -d $srcdir/$ac_dir || continue
37070 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37071 echo "$as_me: configuring in $ac_dir" >&6;}
37072 { if $as_mkdir_p; then
37077 while test ! -d "$as_dir"; do
37078 as_dirs
="$as_dir $as_dirs"
37079 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37080 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37081 X"$as_dir" : 'X\(//\)[^/]' \| \
37082 X"$as_dir" : 'X\(//\)$' \| \
37083 X"$as_dir" : 'X\(/\)' \| \
37084 . : '\(.\)' 2>/dev/null ||
37086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37087 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37088 /^X\(\/\/\)$/{ s//\1/; q; }
37089 /^X\(\/\).*/{ s//\1/; q; }
37092 test ! -n "$as_dirs" || mkdir $as_dirs
37093 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37094 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37095 { (exit 1); exit 1; }; }; }
37099 if test "$ac_dir" != .
; then
37100 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37101 # A "../" for each directory in $ac_dir_suffix.
37102 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37104 ac_dir_suffix
= ac_top_builddir
=
37108 .
) # No --srcdir option. We are building in place.
37110 if test -z "$ac_top_builddir"; then
37113 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37115 [\\/]* | ?
:[\\/]* ) # Absolute path.
37116 ac_srcdir
=$srcdir$ac_dir_suffix;
37117 ac_top_srcdir
=$srcdir ;;
37118 *) # Relative path.
37119 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37120 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37122 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37124 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37125 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37126 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37127 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37132 # Check for guested configure; otherwise get Cygnus style configure.
37133 if test -f $ac_srcdir/configure.gnu
; then
37134 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37135 elif test -f $ac_srcdir/configure
; then
37136 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37137 elif test -f $ac_srcdir/configure.
in; then
37138 ac_sub_configure
=$ac_configure
37140 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37141 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37145 # The recursion is here.
37146 if test -n "$ac_sub_configure"; then
37147 # Make the cache file name correct relative to the subdirectory.
37148 case $cache_file in
37149 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37150 *) # Relative path.
37151 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37154 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37155 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37156 # The eval makes quoting arguments work.
37157 eval $ac_sub_configure $ac_sub_configure_args \
37158 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37159 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37160 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37161 { (exit 1); exit 1; }; }
37170 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37172 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37173 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37175 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37176 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37177 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37179 echo " What level of wxWindows compatibility should be enabled?"
37180 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
37181 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37182 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37184 echo " Which libraries should wxWindows use?"
37185 echo " jpeg ${wxUSE_LIBJPEG-none}"
37186 echo " png ${wxUSE_LIBPNG-none}"
37187 echo " regex ${wxUSE_REGEX}"
37188 echo " tiff ${wxUSE_LIBTIFF-none}"
37189 echo " zlib ${wxUSE_ZLIB}"
37190 echo " odbc ${wxUSE_ODBC}"
37191 echo " expat ${wxUSE_EXPAT}"