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 wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML 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 DLLPREFIX AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING 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_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_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_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_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0_USE_GUI_1_USE_OPENGL_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_GTK_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_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_MSW_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_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 COND_PLATFORM_MAC_1 COND_SHARED_1 COND_SHARED_0 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 ESD_LINK 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
1034 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1035 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1037 --with-motif use Motif/Lesstif
1038 --with-mac use Mac OS X
1039 --with-cocoa use Cocoa
1040 --with-wine use Wine
1041 --with-msw use MS-Windows
1042 --with-pm use OS/2 Presentation Manager
1043 --with-mgl use SciTech MGL
1044 --with-microwin use MicroWindows
1046 --with-libpng use libpng (PNG image format)
1047 --with-libjpeg use libjpeg (JPEG file format)
1048 --with-libtiff use libtiff (TIFF file format)
1049 --with-opengl use OpenGL (or Mesa)
1050 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1051 --with-regex enable support for wxRegEx class
1052 --with-zlib use zlib for LZW compression
1053 --with-odbc use the IODBC and wxODBC classes
1054 --with-expat enable XML support using expat parser
1055 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1056 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1057 --with-x use the X Window System
1058 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1060 Some influential environment variables:
1061 CC C compiler command
1062 CFLAGS C compiler flags
1063 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1064 nonstandard directory <lib dir>
1065 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1066 headers in a nonstandard directory <include dir>
1068 CXX C++ compiler command
1069 CXXFLAGS C++ compiler flags
1070 CXXCPP C++ preprocessor
1072 Use these variables to override the choices made by `configure' or to
help
1073 it to
find libraries and programs with nonstandard names
/locations.
1075 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1079 if test "$ac_init_help" = "recursive"; then
1080 # If there are subdirs, report their specific --help.
1082 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1083 test -d $ac_dir || continue
1086 if test "$ac_dir" != .
; then
1087 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088 # A "../" for each directory in $ac_dir_suffix.
1089 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1091 ac_dir_suffix
= ac_top_builddir
=
1095 .
) # No --srcdir option. We are building in place.
1097 if test -z "$ac_top_builddir"; then
1100 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1102 [\\/]* | ?
:[\\/]* ) # Absolute path.
1103 ac_srcdir
=$srcdir$ac_dir_suffix;
1104 ac_top_srcdir
=$srcdir ;;
1106 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1107 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1109 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1111 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
1112 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1113 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1114 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1117 # Check for guested configure; otherwise get Cygnus style configure.
1118 if test -f $ac_srcdir/configure.gnu
; then
1120 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1121 elif test -f $ac_srcdir/configure
; then
1123 $SHELL $ac_srcdir/configure
--help=recursive
1124 elif test -f $ac_srcdir/configure.ac
||
1125 test -f $ac_srcdir/configure.
in; then
1127 $ac_configure --help
1129 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1135 test -n "$ac_init_help" && exit 0
1136 if $ac_init_version; then
1138 wxWindows configure
2.5.0
1139 generated by GNU Autoconf
2.57
1141 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1142 Free Software Foundation
, Inc.
1143 This configure
script is free software
; the Free Software Foundation
1144 gives unlimited permission to copy
, distribute and modify it.
1150 This file contains any messages produced by compilers while
1151 running configure, to aid debugging if configure makes a mistake.
1153 It was created by wxWindows $as_me 2.5.0, which was
1154 generated by GNU Autoconf 2.57. Invocation command line was
1165 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1166 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1167 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1168 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1169 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1171 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1172 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1174 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1175 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1176 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1177 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1178 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1179 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1180 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1188 test -z "$as_dir" && as_dir
=.
1189 echo "PATH: $as_dir"
1204 # Keep a trace of the command line.
1205 # Strip out --no-create and --no-recursion so they do not pile up.
1206 # Strip out --silent because we don't want to record it for future runs.
1207 # Also quote any args containing shell meta-characters.
1208 # Make two passes to allow for proper duplicate-argument suppression.
1213 ac_must_keep_next
=false
1219 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1221 | -silent | --silent | --silen | --sile | --sil)
1223 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1224 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1227 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1229 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1230 if test $ac_must_keep_next = true
; then
1231 ac_must_keep_next
=false
# Got value, back to normal.
1234 *=* | --config-cache | -C | -disable-* | --disable-* \
1235 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1236 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1237 | -with-* | --with-* | -without-* | --without-* | --x)
1238 case "$ac_configure_args0 " in
1239 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1242 -* ) ac_must_keep_next
=true
;;
1245 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1246 # Get rid of the leading space.
1252 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1253 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1255 # When interrupted or exit'd, cleanup temporary files, and complete
1256 # config.log. We remove comments because anyway the quotes in there
1257 # would cause problems or look ugly.
1258 # WARNING: Be sure not to use single quotes in there, as some shells,
1259 # such as our DU 5.0 friend, will then `close' the trap.
1260 trap 'exit_status=$?
1261 # Save into config.log some information that might help in debugging.
1266 ## ---------------- ##
1267 ## Cache variables. ##
1268 ## ---------------- ##
1271 # The following way of writing the cache mishandles newlines in values,
1274 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1277 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1282 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1289 ## ----------------- ##
1290 ## Output variables. ##
1291 ## ----------------- ##
1294 for ac_var in $ac_subst_vars
1296 eval ac_val=$`echo $ac_var`
1297 echo "$ac_var='"'"'$ac_val'"'"'"
1301 if test -n "$ac_subst_files"; then
1308 for ac_var in $ac_subst_files
1310 eval ac_val=$`echo $ac_var`
1311 echo "$ac_var='"'"'$ac_val'"'"'"
1316 if test -s confdefs.h; then
1323 sed "/^$/d" confdefs.h | sort
1326 test "$ac_signal" != 0 &&
1327 echo "$as_me: caught signal $ac_signal"
1328 echo "$as_me: exit $exit_status"
1330 rm -f core core.* *.core &&
1331 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1334 for ac_signal
in 1 2 13 15; do
1335 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1339 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1340 rm -rf conftest
* confdefs.h
1341 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1344 # Predefined preprocessor variables.
1346 cat >>confdefs.h
<<_ACEOF
1347 #define PACKAGE_NAME "$PACKAGE_NAME"
1351 cat >>confdefs.h
<<_ACEOF
1352 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1356 cat >>confdefs.h
<<_ACEOF
1357 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1361 cat >>confdefs.h
<<_ACEOF
1362 #define PACKAGE_STRING "$PACKAGE_STRING"
1366 cat >>confdefs.h
<<_ACEOF
1367 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1371 # Let the site file select an alternate cache file if it wants to.
1372 # Prefer explicitly selected file to automatically selected ones.
1373 if test -z "$CONFIG_SITE"; then
1374 if test "x$prefix" != xNONE
; then
1375 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1377 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1380 for ac_site_file
in $CONFIG_SITE; do
1381 if test -r "$ac_site_file"; then
1382 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1383 echo "$as_me: loading site script $ac_site_file" >&6;}
1384 sed 's/^/| /' "$ac_site_file" >&5
1389 if test -r "$cache_file"; then
1390 # Some versions of bash will fail to source /dev/null (special
1391 # files actually), so we avoid doing that.
1392 if test -f "$cache_file"; then
1393 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1394 echo "$as_me: loading cache $cache_file" >&6;}
1396 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1397 *) . .
/$cache_file;;
1401 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1402 echo "$as_me: creating cache $cache_file" >&6;}
1406 # Check that the precious variables saved in the cache have kept the same
1408 ac_cache_corrupted
=false
1409 for ac_var
in `(set) 2>&1 |
1410 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1411 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1412 eval ac_new_set
=\
$ac_env_${ac_var}_set
1413 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1414 eval ac_new_val
="\$ac_env_${ac_var}_value"
1415 case $ac_old_set,$ac_new_set in
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1419 ac_cache_corrupted
=: ;;
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1423 ac_cache_corrupted
=: ;;
1426 if test "x$ac_old_val" != "x$ac_new_val"; then
1427 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1428 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1429 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1430 echo "$as_me: former value: $ac_old_val" >&2;}
1431 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1432 echo "$as_me: current value: $ac_new_val" >&2;}
1433 ac_cache_corrupted
=:
1436 # Pass precious variables to config.status.
1437 if test "$ac_new_set" = set; then
1439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1440 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1441 *) ac_arg
=$ac_var=$ac_new_val ;;
1443 case " $ac_configure_args " in
1444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1445 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1449 if $ac_cache_corrupted; then
1450 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1451 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1452 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1453 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1454 { (exit 1); exit 1; }; }
1458 ac_cpp
='$CPP $CPPFLAGS'
1459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1493 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1494 if test -f $ac_dir/install-sh; then
1496 ac_install_sh
="$ac_aux_dir/install-sh -c"
1498 elif test -f $ac_dir/install.sh
; then
1500 ac_install_sh
="$ac_aux_dir/install.sh -c"
1502 elif test -f $ac_dir/shtool
; then
1504 ac_install_sh
="$ac_aux_dir/shtool install -c"
1508 if test -z "$ac_aux_dir"; then
1509 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1510 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1511 { (exit 1); exit 1; }; }
1513 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1514 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1515 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1517 # Make sure we can run config.sub.
1518 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1519 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1520 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1521 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: checking build system type" >&5
1524 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1525 if test "${ac_cv_build+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 ac_cv_build_alias
=$build_alias
1529 test -z "$ac_cv_build_alias" &&
1530 ac_cv_build_alias
=`$ac_config_guess`
1531 test -z "$ac_cv_build_alias" &&
1532 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1533 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1534 { (exit 1); exit 1; }; }
1535 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1537 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1538 { (exit 1); exit 1; }; }
1541 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1542 echo "${ECHO_T}$ac_cv_build" >&6
1544 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1545 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1546 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1549 echo "$as_me:$LINENO: checking host system type" >&5
1550 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1551 if test "${ac_cv_host+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 ac_cv_host_alias
=$host_alias
1555 test -z "$ac_cv_host_alias" &&
1556 ac_cv_host_alias
=$ac_cv_build_alias
1557 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1558 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1559 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1560 { (exit 1); exit 1; }; }
1563 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1564 echo "${ECHO_T}$ac_cv_host" >&6
1566 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1567 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1568 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1571 echo "$as_me:$LINENO: checking target system type" >&5
1572 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1573 if test "${ac_cv_target+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 ac_cv_target_alias
=$target_alias
1577 test "x$ac_cv_target_alias" = "x" &&
1578 ac_cv_target_alias
=$ac_cv_host_alias
1579 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1580 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1581 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1582 { (exit 1); exit 1; }; }
1585 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1586 echo "${ECHO_T}$ac_cv_target" >&6
1587 target
=$ac_cv_target
1588 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1589 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1590 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1593 # The aliases save the names the user supplied, while $host etc.
1594 # will get canonicalized.
1595 test -n "$target_alias" &&
1596 test "$program_prefix$program_suffix$program_transform_name" = \
1598 program_prefix
=${target_alias}-
1602 WX_MAJOR_VERSION_NUMBER
=2
1603 WX_MINOR_VERSION_NUMBER
=5
1606 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1607 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1609 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1624 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1630 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1636 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1638 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1640 DEFAULT_wxUSE_COCOA
=0
1644 DEFAULT_wxUSE_MICROWIN
=0
1645 DEFAULT_wxUSE_MOTIF
=0
1650 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1651 DEFAULT_DEFAULT_wxUSE_GTK
=0
1652 DEFAULT_DEFAULT_wxUSE_MAC
=0
1653 DEFAULT_DEFAULT_wxUSE_MGL
=0
1654 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1655 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1656 DEFAULT_DEFAULT_wxUSE_MSW
=0
1657 DEFAULT_DEFAULT_wxUSE_PM
=0
1658 DEFAULT_DEFAULT_wxUSE_X11
=0
1667 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1668 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1670 cat >>confdefs.h
<<\_ACEOF
1677 cat >>confdefs.h
<<\_ACEOF
1682 if test "x$TMP" = "xalpha"; then
1684 cat >>confdefs.h
<<\_ACEOF
1689 DEFAULT_DEFAULT_wxUSE_GTK
=1
1693 cat >>confdefs.h
<<\_ACEOF
1698 if test "x$TMP" = "xalpha"; then
1700 cat >>confdefs.h
<<\_ACEOF
1705 DEFAULT_DEFAULT_wxUSE_GTK
=1
1707 *-*-irix5* | *-*-irix6* )
1710 cat >>confdefs.h
<<\_ACEOF
1714 cat >>confdefs.h
<<\_ACEOF
1718 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1724 cat >>confdefs.h
<<\_ACEOF
1728 cat >>confdefs.h
<<\_ACEOF
1729 #define __SOLARIS__ 1
1732 cat >>confdefs.h
<<\_ACEOF
1736 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1737 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1743 cat >>confdefs.h
<<\_ACEOF
1747 cat >>confdefs.h
<<\_ACEOF
1751 cat >>confdefs.h
<<\_ACEOF
1755 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1760 cat >>confdefs.h
<<\_ACEOF
1761 #define __FREEBSD__ 1
1764 cat >>confdefs.h
<<\_ACEOF
1768 DEFAULT_DEFAULT_wxUSE_GTK
=1
1773 cat >>confdefs.h
<<\_ACEOF
1774 #define __OPENBSD__ 1
1777 cat >>confdefs.h
<<\_ACEOF
1781 DEFAULT_DEFAULT_wxUSE_GTK
=1
1786 cat >>confdefs.h
<<\_ACEOF
1787 #define __NETBSD__ 1
1790 cat >>confdefs.h
<<\_ACEOF
1794 DEFAULT_DEFAULT_wxUSE_GTK
=1
1799 cat >>confdefs.h
<<\_ACEOF
1803 cat >>confdefs.h
<<\_ACEOF
1807 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1808 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1813 cat >>confdefs.h
<<\_ACEOF
1817 cat >>confdefs.h
<<\_ACEOF
1821 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1826 cat >>confdefs.h
<<\_ACEOF
1830 cat >>confdefs.h
<<\_ACEOF
1834 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1841 cat >>confdefs.h
<<\_ACEOF
1845 cat >>confdefs.h
<<\_ACEOF
1849 cat >>confdefs.h
<<\_ACEOF
1853 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1860 cat >>confdefs.h
<<\_ACEOF
1861 #define __UNIXWARE__ 1
1866 *-*-cygwin* | *-*-mingw32* )
1870 DEFAULT_DEFAULT_wxUSE_MSW
=1
1876 cat >>confdefs.h
<<\_ACEOF
1881 DEFAULT_DEFAULT_wxUSE_MGL
=1
1882 LIBS
="$LIBS -lstdc++"
1885 *-pc-os2_emx | *-pc-os2-emx )
1886 cat >>confdefs.h
<<\_ACEOF
1891 DEFAULT_DEFAULT_wxUSE_PM
=1
1898 cat >>confdefs.h
<<\_ACEOF
1902 cat >>confdefs.h
<<\_ACEOF
1903 #define __DARWIN__ 1
1906 cat >>confdefs.h
<<\_ACEOF
1907 #define __POWERPC__ 1
1910 cat >>confdefs.h
<<\_ACEOF
1911 #define TARGET_CARBON 1
1914 DEFAULT_DEFAULT_wxUSE_MAC
=1
1919 cat >>confdefs.h
<<\_ACEOF
1926 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1927 echo "$as_me: error: unknown system type ${host}." >&2;}
1928 { (exit 1); exit 1; }; }
1934 wx_arg_cache_file
="configarg.cache"
1935 echo "loading argument cache $wx_arg_cache_file"
1936 rm -f ${wx_arg_cache_file}.tmp
1937 touch ${wx_arg_cache_file}.tmp
1938 touch ${wx_arg_cache_file}
1942 if test $DEBUG_CONFIGURE = 1; then
1943 DEFAULT_wxUSE_UNIVERSAL
=no
1944 DEFAULT_wxUSE_STL
=no
1946 DEFAULT_wxUSE_NANOX
=no
1948 DEFAULT_wxUSE_THREADS
=yes
1950 DEFAULT_wxUSE_SHARED
=yes
1951 DEFAULT_wxUSE_OPTIMISE
=no
1952 DEFAULT_wxUSE_PROFILE
=no
1953 DEFAULT_wxUSE_NO_DEPS
=no
1954 DEFAULT_wxUSE_NO_RTTI
=no
1955 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1956 DEFAULT_wxUSE_PERMISSIVE
=no
1957 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1958 DEFAULT_wxUSE_DEBUG_INFO
=yes
1959 DEFAULT_wxUSE_DEBUG_GDB
=yes
1960 DEFAULT_wxUSE_MEM_TRACING
=no
1961 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1962 DEFAULT_wxUSE_DMALLOC
=no
1963 DEFAULT_wxUSE_APPLE_IEEE
=no
1965 DEFAULT_wxUSE_LOG
=yes
1966 DEFAULT_wxUSE_LOGWINDOW
=no
1967 DEFAULT_wxUSE_LOGGUI
=no
1968 DEFAULT_wxUSE_LOGDIALOG
=no
1970 DEFAULT_wxUSE_GUI
=yes
1971 DEFAULT_wxUSE_CONTROLS
=no
1973 DEFAULT_wxUSE_REGEX
=no
1974 DEFAULT_wxUSE_XML
=no
1975 DEFAULT_wxUSE_EXPAT
=no
1976 DEFAULT_wxUSE_ZLIB
=no
1977 DEFAULT_wxUSE_LIBPNG
=no
1978 DEFAULT_wxUSE_LIBJPEG
=no
1979 DEFAULT_wxUSE_LIBTIFF
=no
1980 DEFAULT_wxUSE_ODBC
=no
1981 DEFAULT_wxUSE_OPENGL
=no
1983 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1984 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1985 DEFAULT_wxUSE_STD_IOSTREAM
=no
1986 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1987 DEFAULT_wxUSE_DATETIME
=no
1988 DEFAULT_wxUSE_TIMER
=no
1989 DEFAULT_wxUSE_STOPWATCH
=no
1990 DEFAULT_wxUSE_FILE
=no
1991 DEFAULT_wxUSE_FFILE
=no
1992 DEFAULT_wxUSE_TEXTBUFFER
=no
1993 DEFAULT_wxUSE_TEXTFILE
=no
1994 DEFAULT_wxUSE_WAVE
=no
1995 DEFAULT_wxUSE_INTL
=no
1996 DEFAULT_wxUSE_CONFIG
=no
1997 DEFAULT_wxUSE_FONTMAP
=no
1998 DEFAULT_wxUSE_STREAMS
=no
1999 DEFAULT_wxUSE_SOCKETS
=no
2000 DEFAULT_wxUSE_OLE
=no
2001 DEFAULT_wxUSE_DATAOBJ
=no
2002 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2003 DEFAULT_wxUSE_JOYSTICK
=no
2004 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2005 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2006 DEFAULT_wxUSE_LONGLONG
=no
2007 DEFAULT_wxUSE_GEOMETRY
=no
2009 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2010 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2011 DEFAULT_wxUSE_POSTSCRIPT
=no
2013 DEFAULT_wxUSE_CLIPBOARD
=no
2014 DEFAULT_wxUSE_TOOLTIPS
=no
2015 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2016 DEFAULT_wxUSE_DRAGIMAGE
=no
2017 DEFAULT_wxUSE_SPLINES
=no
2019 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2020 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2021 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2023 DEFAULT_wxUSE_RESOURCES
=no
2024 DEFAULT_wxUSE_CONSTRAINTS
=no
2025 DEFAULT_wxUSE_IPC
=no
2026 DEFAULT_wxUSE_HELP
=no
2027 DEFAULT_wxUSE_MS_HTML_HELP
=no
2028 DEFAULT_wxUSE_WXHTML_HELP
=no
2029 DEFAULT_wxUSE_TREELAYOUT
=no
2030 DEFAULT_wxUSE_METAFILE
=no
2031 DEFAULT_wxUSE_MIMETYPE
=no
2032 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2033 DEFAULT_wxUSE_PROTOCOL
=no
2034 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2035 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2036 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2037 DEFAULT_wxUSE_URL
=no
2039 DEFAULT_wxUSE_COMMONDLGS
=no
2040 DEFAULT_wxUSE_CHOICEDLG
=no
2041 DEFAULT_wxUSE_COLOURDLG
=no
2042 DEFAULT_wxUSE_DIRDLG
=no
2043 DEFAULT_wxUSE_FILEDLG
=no
2044 DEFAULT_wxUSE_FINDREPLDLG
=no
2045 DEFAULT_wxUSE_FONTDLG
=no
2046 DEFAULT_wxUSE_MSGDLG
=no
2047 DEFAULT_wxUSE_NUMBERDLG
=no
2048 DEFAULT_wxUSE_TEXTDLG
=no
2049 DEFAULT_wxUSE_SPLASH
=no
2050 DEFAULT_wxUSE_STARTUP_TIPS
=no
2051 DEFAULT_wxUSE_PROGRESSDLG
=no
2052 DEFAULT_wxUSE_WIZARDDLG
=no
2054 DEFAULT_wxUSE_MENUS
=no
2055 DEFAULT_wxUSE_MINIFRAME
=no
2056 DEFAULT_wxUSE_HTML
=no
2057 DEFAULT_wxUSE_FILESYSTEM
=no
2058 DEFAULT_wxUSE_FS_INET
=no
2059 DEFAULT_wxUSE_FS_ZIP
=no
2060 DEFAULT_wxUSE_BUSYINFO
=no
2061 DEFAULT_wxUSE_ZIPSTREAM
=no
2062 DEFAULT_wxUSE_VALIDATORS
=no
2064 DEFAULT_wxUSE_ACCEL
=no
2065 DEFAULT_wxUSE_BUTTON
=no
2066 DEFAULT_wxUSE_BMPBUTTON
=no
2067 DEFAULT_wxUSE_CALCTRL
=no
2068 DEFAULT_wxUSE_CARET
=no
2069 DEFAULT_wxUSE_CHECKBOX
=no
2070 DEFAULT_wxUSE_CHECKLST
=no
2071 DEFAULT_wxUSE_CHOICE
=no
2072 DEFAULT_wxUSE_COMBOBOX
=no
2073 DEFAULT_wxUSE_DISPLAY
=no
2074 DEFAULT_wxUSE_GAUGE
=no
2075 DEFAULT_wxUSE_GRID
=no
2076 DEFAULT_wxUSE_IMAGLIST
=no
2077 DEFAULT_wxUSE_LISTBOX
=no
2078 DEFAULT_wxUSE_LISTCTRL
=no
2079 DEFAULT_wxUSE_NOTEBOOK
=no
2080 DEFAULT_wxUSE_RADIOBOX
=no
2081 DEFAULT_wxUSE_RADIOBTN
=no
2082 DEFAULT_wxUSE_SASH
=no
2083 DEFAULT_wxUSE_SCROLLBAR
=no
2084 DEFAULT_wxUSE_SLIDER
=no
2085 DEFAULT_wxUSE_SPINBTN
=no
2086 DEFAULT_wxUSE_SPINCTRL
=no
2087 DEFAULT_wxUSE_SPLITTER
=no
2088 DEFAULT_wxUSE_STATBMP
=no
2089 DEFAULT_wxUSE_STATBOX
=no
2090 DEFAULT_wxUSE_STATLINE
=no
2091 DEFAULT_wxUSE_STATTEXT
=no
2092 DEFAULT_wxUSE_STATUSBAR
=yes
2093 DEFAULT_wxUSE_TABDIALOG
=no
2094 DEFAULT_wxUSE_TEXTCTRL
=no
2095 DEFAULT_wxUSE_TOGGLEBTN
=no
2096 DEFAULT_wxUSE_TOOLBAR
=no
2097 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2098 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2099 DEFAULT_wxUSE_TREECTRL
=no
2100 DEFAULT_wxUSE_POPUPWIN
=no
2101 DEFAULT_wxUSE_TIPWINDOW
=no
2103 DEFAULT_wxUSE_UNICODE
=no
2104 DEFAULT_wxUSE_UNICODE_MSLU
=no
2105 DEFAULT_wxUSE_WCSRTOMBS
=no
2107 DEFAULT_wxUSE_PALETTE
=no
2108 DEFAULT_wxUSE_IMAGE
=no
2109 DEFAULT_wxUSE_GIF
=no
2110 DEFAULT_wxUSE_PCX
=no
2111 DEFAULT_wxUSE_PNM
=no
2112 DEFAULT_wxUSE_IFF
=no
2113 DEFAULT_wxUSE_XPM
=no
2114 DEFAULT_wxUSE_ICO_CUR
=no
2115 DEFAULT_wxUSE_ACCESSIBILITY
=no
2117 DEFAULT_wxUSE_MONOLITHIC
=yes
2118 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2120 DEFAULT_wxUSE_UNIVERSAL
=no
2121 DEFAULT_wxUSE_STL
=no
2123 DEFAULT_wxUSE_NANOX
=no
2125 DEFAULT_wxUSE_THREADS
=yes
2127 DEFAULT_wxUSE_SHARED
=yes
2128 DEFAULT_wxUSE_OPTIMISE
=yes
2129 DEFAULT_wxUSE_PROFILE
=no
2130 DEFAULT_wxUSE_NO_DEPS
=no
2131 DEFAULT_wxUSE_NO_RTTI
=no
2132 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2133 DEFAULT_wxUSE_PERMISSIVE
=no
2134 DEFAULT_wxUSE_DEBUG_FLAG
=no
2135 DEFAULT_wxUSE_DEBUG_INFO
=no
2136 DEFAULT_wxUSE_DEBUG_GDB
=no
2137 DEFAULT_wxUSE_MEM_TRACING
=no
2138 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2139 DEFAULT_wxUSE_DMALLOC
=no
2140 DEFAULT_wxUSE_APPLE_IEEE
=yes
2142 DEFAULT_wxUSE_LOG
=yes
2143 DEFAULT_wxUSE_LOGWINDOW
=yes
2144 DEFAULT_wxUSE_LOGGUI
=yes
2145 DEFAULT_wxUSE_LOGDIALOG
=yes
2147 DEFAULT_wxUSE_GUI
=yes
2149 DEFAULT_wxUSE_REGEX
=yes
2150 DEFAULT_wxUSE_XML
=yes
2151 DEFAULT_wxUSE_EXPAT
=yes
2152 DEFAULT_wxUSE_ZLIB
=yes
2153 DEFAULT_wxUSE_LIBPNG
=yes
2154 DEFAULT_wxUSE_LIBJPEG
=yes
2155 DEFAULT_wxUSE_LIBTIFF
=yes
2156 DEFAULT_wxUSE_ODBC
=no
2157 DEFAULT_wxUSE_OPENGL
=no
2159 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2160 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2161 DEFAULT_wxUSE_STD_IOSTREAM
=no
2162 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2163 DEFAULT_wxUSE_DATETIME
=yes
2164 DEFAULT_wxUSE_TIMER
=yes
2165 DEFAULT_wxUSE_STOPWATCH
=yes
2166 DEFAULT_wxUSE_FILE
=yes
2167 DEFAULT_wxUSE_FFILE
=yes
2168 DEFAULT_wxUSE_TEXTBUFFER
=yes
2169 DEFAULT_wxUSE_TEXTFILE
=yes
2170 DEFAULT_wxUSE_WAVE
=no
2171 DEFAULT_wxUSE_INTL
=yes
2172 DEFAULT_wxUSE_CONFIG
=yes
2173 DEFAULT_wxUSE_FONTMAP
=yes
2174 DEFAULT_wxUSE_STREAMS
=yes
2175 DEFAULT_wxUSE_SOCKETS
=yes
2176 DEFAULT_wxUSE_OLE
=yes
2177 DEFAULT_wxUSE_DATAOBJ
=yes
2178 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2179 DEFAULT_wxUSE_JOYSTICK
=yes
2180 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2181 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2182 DEFAULT_wxUSE_LONGLONG
=yes
2183 DEFAULT_wxUSE_GEOMETRY
=yes
2185 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2186 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2187 DEFAULT_wxUSE_POSTSCRIPT
=yes
2189 DEFAULT_wxUSE_CLIPBOARD
=yes
2190 DEFAULT_wxUSE_TOOLTIPS
=yes
2191 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2192 DEFAULT_wxUSE_DRAGIMAGE
=yes
2193 DEFAULT_wxUSE_SPLINES
=yes
2195 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2196 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2197 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2199 DEFAULT_wxUSE_RESOURCES
=no
2200 DEFAULT_wxUSE_CONSTRAINTS
=yes
2201 DEFAULT_wxUSE_IPC
=yes
2202 DEFAULT_wxUSE_HELP
=yes
2203 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2204 DEFAULT_wxUSE_WXHTML_HELP
=yes
2205 DEFAULT_wxUSE_TREELAYOUT
=yes
2206 DEFAULT_wxUSE_METAFILE
=yes
2207 DEFAULT_wxUSE_MIMETYPE
=yes
2208 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2209 DEFAULT_wxUSE_PROTOCOL
=yes
2210 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2211 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2212 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2213 DEFAULT_wxUSE_URL
=yes
2215 DEFAULT_wxUSE_COMMONDLGS
=yes
2216 DEFAULT_wxUSE_CHOICEDLG
=yes
2217 DEFAULT_wxUSE_COLOURDLG
=yes
2218 DEFAULT_wxUSE_DIRDLG
=yes
2219 DEFAULT_wxUSE_FILEDLG
=yes
2220 DEFAULT_wxUSE_FINDREPLDLG
=yes
2221 DEFAULT_wxUSE_FONTDLG
=yes
2222 DEFAULT_wxUSE_MSGDLG
=yes
2223 DEFAULT_wxUSE_NUMBERDLG
=yes
2224 DEFAULT_wxUSE_TEXTDLG
=yes
2225 DEFAULT_wxUSE_SPLASH
=yes
2226 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2227 DEFAULT_wxUSE_PROGRESSDLG
=yes
2228 DEFAULT_wxUSE_WIZARDDLG
=yes
2230 DEFAULT_wxUSE_MENUS
=yes
2231 DEFAULT_wxUSE_MINIFRAME
=yes
2232 DEFAULT_wxUSE_HTML
=yes
2233 DEFAULT_wxUSE_FILESYSTEM
=yes
2234 DEFAULT_wxUSE_FS_INET
=yes
2235 DEFAULT_wxUSE_FS_ZIP
=yes
2236 DEFAULT_wxUSE_BUSYINFO
=yes
2237 DEFAULT_wxUSE_ZIPSTREAM
=yes
2238 DEFAULT_wxUSE_VALIDATORS
=yes
2240 DEFAULT_wxUSE_ACCEL
=yes
2241 DEFAULT_wxUSE_BUTTON
=yes
2242 DEFAULT_wxUSE_BMPBUTTON
=yes
2243 DEFAULT_wxUSE_CALCTRL
=yes
2244 DEFAULT_wxUSE_CARET
=yes
2245 DEFAULT_wxUSE_CHECKBOX
=yes
2246 DEFAULT_wxUSE_CHECKLST
=yes
2247 DEFAULT_wxUSE_CHOICE
=yes
2248 DEFAULT_wxUSE_COMBOBOX
=yes
2249 DEFAULT_wxUSE_DISPLAY
=no
2250 DEFAULT_wxUSE_GAUGE
=yes
2251 DEFAULT_wxUSE_GRID
=yes
2252 DEFAULT_wxUSE_IMAGLIST
=yes
2253 DEFAULT_wxUSE_LISTBOX
=yes
2254 DEFAULT_wxUSE_LISTCTRL
=yes
2255 DEFAULT_wxUSE_NOTEBOOK
=yes
2256 DEFAULT_wxUSE_RADIOBOX
=yes
2257 DEFAULT_wxUSE_RADIOBTN
=yes
2258 DEFAULT_wxUSE_SASH
=yes
2259 DEFAULT_wxUSE_SCROLLBAR
=yes
2260 DEFAULT_wxUSE_SLIDER
=yes
2261 DEFAULT_wxUSE_SPINBTN
=yes
2262 DEFAULT_wxUSE_SPINCTRL
=yes
2263 DEFAULT_wxUSE_SPLITTER
=yes
2264 DEFAULT_wxUSE_STATBMP
=yes
2265 DEFAULT_wxUSE_STATBOX
=yes
2266 DEFAULT_wxUSE_STATLINE
=yes
2267 DEFAULT_wxUSE_STATTEXT
=yes
2268 DEFAULT_wxUSE_STATUSBAR
=yes
2269 DEFAULT_wxUSE_TABDIALOG
=no
2270 DEFAULT_wxUSE_TEXTCTRL
=yes
2271 DEFAULT_wxUSE_TOGGLEBTN
=yes
2272 DEFAULT_wxUSE_TOOLBAR
=yes
2273 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2274 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2275 DEFAULT_wxUSE_TREECTRL
=yes
2276 DEFAULT_wxUSE_POPUPWIN
=yes
2277 DEFAULT_wxUSE_TIPWINDOW
=yes
2279 DEFAULT_wxUSE_UNICODE
=no
2280 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2281 DEFAULT_wxUSE_WCSRTOMBS
=no
2283 DEFAULT_wxUSE_PALETTE
=yes
2284 DEFAULT_wxUSE_IMAGE
=yes
2285 DEFAULT_wxUSE_GIF
=yes
2286 DEFAULT_wxUSE_PCX
=yes
2287 DEFAULT_wxUSE_IFF
=no
2288 DEFAULT_wxUSE_PNM
=yes
2289 DEFAULT_wxUSE_XPM
=yes
2290 DEFAULT_wxUSE_ICO_CUR
=yes
2291 DEFAULT_wxUSE_ACCESSIBILITY
=no
2293 DEFAULT_wxUSE_MONOLITHIC
=yes
2294 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2299 for toolkit
in `echo $ALL_TOOLKITS`; do
2300 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2301 if test "x$LINE" != "x" ; then
2302 has_toolkit_in_cache
=1
2303 eval "DEFAULT_$LINE"
2304 eval "CACHE_$toolkit=1"
2311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2312 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2314 # Check whether --enable-gui or --disable-gui was given.
2315 if test "${enable_gui+set}" = set; then
2316 enableval
="$enable_gui"
2318 if test "$enableval" = yes; then
2319 ac_cv_use_gui
='wxUSE_GUI=yes'
2321 ac_cv_use_gui
='wxUSE_GUI=no'
2326 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2327 if test "x$LINE" != x
; then
2328 eval "DEFAULT_$LINE"
2333 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2337 eval "$ac_cv_use_gui"
2338 if test "$no_cache" != 1; then
2339 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2342 if test "$wxUSE_GUI" = yes; then
2343 echo "$as_me:$LINENO: result: yes" >&5
2344 echo "${ECHO_T}yes" >&6
2346 echo "$as_me:$LINENO: result: no" >&5
2347 echo "${ECHO_T}no" >&6
2352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2353 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2355 # Check whether --enable-monolithic or --disable-monolithic was given.
2356 if test "${enable_monolithic+set}" = set; then
2357 enableval
="$enable_monolithic"
2359 if test "$enableval" = yes; then
2360 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2362 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2367 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2368 if test "x$LINE" != x
; then
2369 eval "DEFAULT_$LINE"
2374 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2378 eval "$ac_cv_use_monolithic"
2379 if test "$no_cache" != 1; then
2380 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2383 if test "$wxUSE_MONOLITHIC" = yes; then
2384 echo "$as_me:$LINENO: result: yes" >&5
2385 echo "${ECHO_T}yes" >&6
2387 echo "$as_me:$LINENO: result: no" >&5
2388 echo "${ECHO_T}no" >&6
2392 if test "$wxUSE_GUI" = "yes"; then
2396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2397 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2399 # Check whether --enable-universal or --disable-universal was given.
2400 if test "${enable_universal+set}" = set; then
2401 enableval
="$enable_universal"
2403 if test "$enableval" = yes; then
2404 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2406 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2411 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2412 if test "x$LINE" != x
; then
2413 eval "DEFAULT_$LINE"
2418 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2422 eval "$ac_cv_use_universal"
2423 if test "$no_cache" != 1; then
2424 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2427 if test "$wxUSE_UNIVERSAL" = yes; then
2428 echo "$as_me:$LINENO: result: yes" >&5
2429 echo "${ECHO_T}yes" >&6
2431 echo "$as_me:$LINENO: result: no" >&5
2432 echo "${ECHO_T}no" >&6
2436 # Check whether --with-gtk or --without-gtk was given.
2437 if test "${with_gtk+set}" = set; then
2439 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2442 # Check whether --with-motif or --without-motif was given.
2443 if test "${with_motif+set}" = set; then
2444 withval
="$with_motif"
2445 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2448 # Check whether --with-mac or --without-mac was given.
2449 if test "${with_mac+set}" = set; then
2451 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2454 # Check whether --with-cocoa or --without-cocoa was given.
2455 if test "${with_cocoa+set}" = set; then
2456 withval
="$with_cocoa"
2457 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2460 # Check whether --with-wine or --without-wine was given.
2461 if test "${with_wine+set}" = set; then
2462 withval
="$with_wine"
2463 wxUSE_WINE
="$withval" CACHE_WINE
=1
2466 # Check whether --with-msw or --without-msw was given.
2467 if test "${with_msw+set}" = set; then
2469 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2472 # Check whether --with-pm or --without-pm was given.
2473 if test "${with_pm+set}" = set; then
2475 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2478 # Check whether --with-mgl or --without-mgl was given.
2479 if test "${with_mgl+set}" = set; then
2481 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2484 # Check whether --with-microwin or --without-microwin was given.
2485 if test "${with_microwin+set}" = set; then
2486 withval
="$with_microwin"
2487 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2490 # Check whether --with-x11 or --without-x11 was given.
2491 if test "${with_x11+set}" = set; then
2493 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2498 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2500 # Check whether --enable-nanox or --disable-nanox was given.
2501 if test "${enable_nanox+set}" = set; then
2502 enableval
="$enable_nanox"
2504 if test "$enableval" = yes; then
2505 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2507 ac_cv_use_nanox
='wxUSE_NANOX=no'
2512 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2513 if test "x$LINE" != x
; then
2514 eval "DEFAULT_$LINE"
2519 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2523 eval "$ac_cv_use_nanox"
2524 if test "$no_cache" != 1; then
2525 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2528 if test "$wxUSE_NANOX" = yes; then
2529 echo "$as_me:$LINENO: result: yes" >&5
2530 echo "${ECHO_T}yes" >&6
2532 echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6
2539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2540 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2542 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2543 if test "${enable_gtk2+set}" = set; then
2544 enableval
="$enable_gtk2"
2546 if test "$enableval" = yes; then
2547 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2549 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2554 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2555 if test "x$LINE" != x
; then
2556 eval "DEFAULT_$LINE"
2561 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2565 eval "$ac_cv_use_gtk2"
2566 if test "$no_cache" != 1; then
2567 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2570 if test "$wxUSE_GTK2" = yes; then
2571 echo "$as_me:$LINENO: result: yes" >&5
2572 echo "${ECHO_T}yes" >&6
2574 echo "$as_me:$LINENO: result: no" >&5
2575 echo "${ECHO_T}no" >&6
2580 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2581 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2584 # Check whether --with-libpng or --without-libpng was given.
2585 if test "${with_libpng+set}" = set; then
2586 withval
="$with_libpng"
2588 if test "$withval" = yes; then
2589 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2590 elif test "$withval" = no
; then
2591 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2592 elif test "$withval" = sys
; then
2593 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2594 elif test "$withval" = builtin; then
2595 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2597 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2598 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2599 { (exit 1); exit 1; }; }
2604 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2605 if test "x$LINE" != x
; then
2606 eval "DEFAULT_$LINE"
2611 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2615 eval "$ac_cv_use_libpng"
2616 if test "$no_cache" != 1; then
2617 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2620 if test "$wxUSE_LIBPNG" = yes; then
2621 echo "$as_me:$LINENO: result: yes" >&5
2622 echo "${ECHO_T}yes" >&6
2623 elif test "$wxUSE_LIBPNG" = no
; then
2624 echo "$as_me:$LINENO: result: no" >&5
2625 echo "${ECHO_T}no" >&6
2626 elif test "$wxUSE_LIBPNG" = sys
; then
2627 echo "$as_me:$LINENO: result: system version" >&5
2628 echo "${ECHO_T}system version" >&6
2629 elif test "$wxUSE_LIBPNG" = builtin; then
2630 echo "$as_me:$LINENO: result: builtin version" >&5
2631 echo "${ECHO_T}builtin version" >&6
2633 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2634 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2635 { (exit 1); exit 1; }; }
2639 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2640 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2643 # Check whether --with-libjpeg or --without-libjpeg was given.
2644 if test "${with_libjpeg+set}" = set; then
2645 withval
="$with_libjpeg"
2647 if test "$withval" = yes; then
2648 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2649 elif test "$withval" = no
; then
2650 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2651 elif test "$withval" = sys
; then
2652 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2653 elif test "$withval" = builtin; then
2654 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2658 { (exit 1); exit 1; }; }
2663 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2664 if test "x$LINE" != x
; then
2665 eval "DEFAULT_$LINE"
2670 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2674 eval "$ac_cv_use_libjpeg"
2675 if test "$no_cache" != 1; then
2676 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2679 if test "$wxUSE_LIBJPEG" = yes; then
2680 echo "$as_me:$LINENO: result: yes" >&5
2681 echo "${ECHO_T}yes" >&6
2682 elif test "$wxUSE_LIBJPEG" = no
; then
2683 echo "$as_me:$LINENO: result: no" >&5
2684 echo "${ECHO_T}no" >&6
2685 elif test "$wxUSE_LIBJPEG" = sys
; then
2686 echo "$as_me:$LINENO: result: system version" >&5
2687 echo "${ECHO_T}system version" >&6
2688 elif test "$wxUSE_LIBJPEG" = builtin; then
2689 echo "$as_me:$LINENO: result: builtin version" >&5
2690 echo "${ECHO_T}builtin version" >&6
2692 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2693 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2694 { (exit 1); exit 1; }; }
2698 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2699 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2702 # Check whether --with-libtiff or --without-libtiff was given.
2703 if test "${with_libtiff+set}" = set; then
2704 withval
="$with_libtiff"
2706 if test "$withval" = yes; then
2707 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2708 elif test "$withval" = no
; then
2709 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2710 elif test "$withval" = sys
; then
2711 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2712 elif test "$withval" = builtin; then
2713 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2715 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2716 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2717 { (exit 1); exit 1; }; }
2722 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2723 if test "x$LINE" != x
; then
2724 eval "DEFAULT_$LINE"
2729 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2733 eval "$ac_cv_use_libtiff"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2738 if test "$wxUSE_LIBTIFF" = yes; then
2739 echo "$as_me:$LINENO: result: yes" >&5
2740 echo "${ECHO_T}yes" >&6
2741 elif test "$wxUSE_LIBTIFF" = no
; then
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2744 elif test "$wxUSE_LIBTIFF" = sys
; then
2745 echo "$as_me:$LINENO: result: system version" >&5
2746 echo "${ECHO_T}system version" >&6
2747 elif test "$wxUSE_LIBTIFF" = builtin; then
2748 echo "$as_me:$LINENO: result: builtin version" >&5
2749 echo "${ECHO_T}builtin version" >&6
2751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2752 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2753 { (exit 1); exit 1; }; }
2757 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2758 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2761 # Check whether --with-opengl or --without-opengl was given.
2762 if test "${with_opengl+set}" = set; then
2763 withval
="$with_opengl"
2765 if test "$withval" = yes; then
2766 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2768 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2773 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2774 if test "x$LINE" != x
; then
2775 eval "DEFAULT_$LINE"
2780 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2784 eval "$ac_cv_use_opengl"
2785 if test "$no_cache" != 1; then
2786 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2789 if test "$wxUSE_OPENGL" = yes; then
2790 echo "$as_me:$LINENO: result: yes" >&5
2791 echo "${ECHO_T}yes" >&6
2793 echo "$as_me:$LINENO: result: no" >&5
2794 echo "${ECHO_T}no" >&6
2801 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2802 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2805 # Check whether --with-dmalloc or --without-dmalloc was given.
2806 if test "${with_dmalloc+set}" = set; then
2807 withval
="$with_dmalloc"
2809 if test "$withval" = yes; then
2810 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2812 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2817 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2818 if test "x$LINE" != x
; then
2819 eval "DEFAULT_$LINE"
2824 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2828 eval "$ac_cv_use_dmalloc"
2829 if test "$no_cache" != 1; then
2830 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2833 if test "$wxUSE_DMALLOC" = yes; then
2834 echo "$as_me:$LINENO: result: yes" >&5
2835 echo "${ECHO_T}yes" >&6
2837 echo "$as_me:$LINENO: result: no" >&5
2838 echo "${ECHO_T}no" >&6
2842 echo "$as_me:$LINENO: checking for --with-regex" >&5
2843 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2846 # Check whether --with-regex or --without-regex was given.
2847 if test "${with_regex+set}" = set; then
2848 withval
="$with_regex"
2850 if test "$withval" = yes; then
2851 ac_cv_use_regex
='wxUSE_REGEX=yes'
2852 elif test "$withval" = no
; then
2853 ac_cv_use_regex
='wxUSE_REGEX=no'
2854 elif test "$withval" = sys
; then
2855 ac_cv_use_regex
='wxUSE_REGEX=sys'
2856 elif test "$withval" = builtin; then
2857 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2859 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2860 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2861 { (exit 1); exit 1; }; }
2866 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x
; then
2868 eval "DEFAULT_$LINE"
2873 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2877 eval "$ac_cv_use_regex"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2882 if test "$wxUSE_REGEX" = yes; then
2883 echo "$as_me:$LINENO: result: yes" >&5
2884 echo "${ECHO_T}yes" >&6
2885 elif test "$wxUSE_REGEX" = no
; then
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2888 elif test "$wxUSE_REGEX" = sys
; then
2889 echo "$as_me:$LINENO: result: system version" >&5
2890 echo "${ECHO_T}system version" >&6
2891 elif test "$wxUSE_REGEX" = builtin; then
2892 echo "$as_me:$LINENO: result: builtin version" >&5
2893 echo "${ECHO_T}builtin version" >&6
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2901 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2902 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2905 # Check whether --with-zlib or --without-zlib was given.
2906 if test "${with_zlib+set}" = set; then
2907 withval
="$with_zlib"
2909 if test "$withval" = yes; then
2910 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2911 elif test "$withval" = no
; then
2912 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2913 elif test "$withval" = sys
; then
2914 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2915 elif test "$withval" = builtin; then
2916 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2918 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2919 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2920 { (exit 1); exit 1; }; }
2925 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x
; then
2927 eval "DEFAULT_$LINE"
2932 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2936 eval "$ac_cv_use_zlib"
2937 if test "$no_cache" != 1; then
2938 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2941 if test "$wxUSE_ZLIB" = yes; then
2942 echo "$as_me:$LINENO: result: yes" >&5
2943 echo "${ECHO_T}yes" >&6
2944 elif test "$wxUSE_ZLIB" = no
; then
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2947 elif test "$wxUSE_ZLIB" = sys
; then
2948 echo "$as_me:$LINENO: result: system version" >&5
2949 echo "${ECHO_T}system version" >&6
2950 elif test "$wxUSE_ZLIB" = builtin; then
2951 echo "$as_me:$LINENO: result: builtin version" >&5
2952 echo "${ECHO_T}builtin version" >&6
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2955 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2960 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2961 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2964 # Check whether --with-odbc or --without-odbc was given.
2965 if test "${with_odbc+set}" = set; then
2966 withval
="$with_odbc"
2968 if test "$withval" = yes; then
2969 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2970 elif test "$withval" = no
; then
2971 ac_cv_use_odbc
='wxUSE_ODBC=no'
2972 elif test "$withval" = sys
; then
2973 ac_cv_use_odbc
='wxUSE_ODBC=sys'
2974 elif test "$withval" = builtin; then
2975 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
2977 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2978 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2979 { (exit 1); exit 1; }; }
2984 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x
; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2995 eval "$ac_cv_use_odbc"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3000 if test "$wxUSE_ODBC" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6
3003 elif test "$wxUSE_ODBC" = no
; then
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3006 elif test "$wxUSE_ODBC" = sys
; then
3007 echo "$as_me:$LINENO: result: system version" >&5
3008 echo "${ECHO_T}system version" >&6
3009 elif test "$wxUSE_ODBC" = builtin; then
3010 echo "$as_me:$LINENO: result: builtin version" >&5
3011 echo "${ECHO_T}builtin version" >&6
3013 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3014 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3015 { (exit 1); exit 1; }; }
3019 echo "$as_me:$LINENO: checking for --with-expat" >&5
3020 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3023 # Check whether --with-expat or --without-expat was given.
3024 if test "${with_expat+set}" = set; then
3025 withval
="$with_expat"
3027 if test "$withval" = yes; then
3028 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3029 elif test "$withval" = no
; then
3030 ac_cv_use_expat
='wxUSE_EXPAT=no'
3031 elif test "$withval" = sys
; then
3032 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3033 elif test "$withval" = builtin; then
3034 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3036 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3037 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3038 { (exit 1); exit 1; }; }
3043 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x
; then
3045 eval "DEFAULT_$LINE"
3050 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3054 eval "$ac_cv_use_expat"
3055 if test "$no_cache" != 1; then
3056 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3059 if test "$wxUSE_EXPAT" = yes; then
3060 echo "$as_me:$LINENO: result: yes" >&5
3061 echo "${ECHO_T}yes" >&6
3062 elif test "$wxUSE_EXPAT" = no
; then
3063 echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6
3065 elif test "$wxUSE_EXPAT" = sys
; then
3066 echo "$as_me:$LINENO: result: system version" >&5
3067 echo "${ECHO_T}system version" >&6
3068 elif test "$wxUSE_EXPAT" = builtin; then
3069 echo "$as_me:$LINENO: result: builtin version" >&5
3070 echo "${ECHO_T}builtin version" >&6
3072 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3073 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3074 { (exit 1); exit 1; }; }
3081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3082 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3084 # Check whether --enable-shared or --disable-shared was given.
3085 if test "${enable_shared+set}" = set; then
3086 enableval
="$enable_shared"
3088 if test "$enableval" = yes; then
3089 ac_cv_use_shared
='wxUSE_SHARED=yes'
3091 ac_cv_use_shared
='wxUSE_SHARED=no'
3096 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x
; then
3098 eval "DEFAULT_$LINE"
3103 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3107 eval "$ac_cv_use_shared"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3112 if test "$wxUSE_SHARED" = yes; then
3113 echo "$as_me:$LINENO: result: yes" >&5
3114 echo "${ECHO_T}yes" >&6
3116 echo "$as_me:$LINENO: result: no" >&5
3117 echo "${ECHO_T}no" >&6
3122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3123 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3125 # Check whether --enable-optimise or --disable-optimise was given.
3126 if test "${enable_optimise+set}" = set; then
3127 enableval
="$enable_optimise"
3129 if test "$enableval" = yes; then
3130 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3132 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3137 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3148 eval "$ac_cv_use_optimise"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_OPTIMISE" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3164 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3166 # Check whether --enable-debug or --disable-debug was given.
3167 if test "${enable_debug+set}" = set; then
3168 enableval
="$enable_debug"
3170 if test "$enableval" = yes; then
3171 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3173 ac_cv_use_debug
='wxUSE_DEBUG=no'
3178 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x
; then
3180 eval "DEFAULT_$LINE"
3185 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3189 eval "$ac_cv_use_debug"
3190 if test "$no_cache" != 1; then
3191 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3194 if test "$wxUSE_DEBUG" = yes; then
3195 echo "$as_me:$LINENO: result: yes" >&5
3196 echo "${ECHO_T}yes" >&6
3198 echo "$as_me:$LINENO: result: no" >&5
3199 echo "${ECHO_T}no" >&6
3204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3205 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3207 # Check whether --enable-stl or --disable-stl was given.
3208 if test "${enable_stl+set}" = set; then
3209 enableval
="$enable_stl"
3211 if test "$enableval" = yes; then
3212 ac_cv_use_stl
='wxUSE_STL=yes'
3214 ac_cv_use_stl
='wxUSE_STL=no'
3219 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3220 if test "x$LINE" != x
; then
3221 eval "DEFAULT_$LINE"
3226 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3230 eval "$ac_cv_use_stl"
3231 if test "$no_cache" != 1; then
3232 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3235 if test "$wxUSE_STL" = yes; then
3236 echo "$as_me:$LINENO: result: yes" >&5
3237 echo "${ECHO_T}yes" >&6
3239 echo "$as_me:$LINENO: result: no" >&5
3240 echo "${ECHO_T}no" >&6
3244 if test "$wxUSE_DEBUG" = "yes"; then
3245 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3246 DEFAULT_wxUSE_DEBUG_INFO
=yes
3248 elif test "$wxUSE_DEBUG" = "no"; then
3249 DEFAULT_wxUSE_DEBUG_FLAG
=no
3250 DEFAULT_wxUSE_DEBUG_INFO
=no
3256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3257 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3259 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3260 if test "${enable_debug_flag+set}" = set; then
3261 enableval
="$enable_debug_flag"
3263 if test "$enableval" = yes; then
3264 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3266 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3271 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3272 if test "x$LINE" != x
; then
3273 eval "DEFAULT_$LINE"
3278 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3282 eval "$ac_cv_use_debug_flag"
3283 if test "$no_cache" != 1; then
3284 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3287 if test "$wxUSE_DEBUG_FLAG" = yes; then
3288 echo "$as_me:$LINENO: result: yes" >&5
3289 echo "${ECHO_T}yes" >&6
3291 echo "$as_me:$LINENO: result: no" >&5
3292 echo "${ECHO_T}no" >&6
3297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3298 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3300 # Check whether --enable-debug_info or --disable-debug_info was given.
3301 if test "${enable_debug_info+set}" = set; then
3302 enableval
="$enable_debug_info"
3304 if test "$enableval" = yes; then
3305 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3307 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3312 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x
; then
3314 eval "DEFAULT_$LINE"
3319 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3323 eval "$ac_cv_use_debug_info"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3328 if test "$wxUSE_DEBUG_INFO" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3339 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3341 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3342 if test "${enable_debug_gdb+set}" = set; then
3343 enableval
="$enable_debug_gdb"
3345 if test "$enableval" = yes; then
3346 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3348 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3353 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3354 if test "x$LINE" != x
; then
3355 eval "DEFAULT_$LINE"
3360 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3364 eval "$ac_cv_use_debug_gdb"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3369 if test "$wxUSE_DEBUG_GDB" = yes; then
3370 echo "$as_me:$LINENO: result: yes" >&5
3371 echo "${ECHO_T}yes" >&6
3373 echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6
3379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3380 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3382 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3383 if test "${enable_debug_cntxt+set}" = set; then
3384 enableval
="$enable_debug_cntxt"
3386 if test "$enableval" = yes; then
3387 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3389 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3394 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3395 if test "x$LINE" != x
; then
3396 eval "DEFAULT_$LINE"
3401 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3405 eval "$ac_cv_use_debug_cntxt"
3406 if test "$no_cache" != 1; then
3407 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3410 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3411 echo "$as_me:$LINENO: result: yes" >&5
3412 echo "${ECHO_T}yes" >&6
3414 echo "$as_me:$LINENO: result: no" >&5
3415 echo "${ECHO_T}no" >&6
3420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3421 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3423 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3424 if test "${enable_mem_tracing+set}" = set; then
3425 enableval
="$enable_mem_tracing"
3427 if test "$enableval" = yes; then
3428 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3430 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3435 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3436 if test "x$LINE" != x
; then
3437 eval "DEFAULT_$LINE"
3442 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3446 eval "$ac_cv_use_mem_tracing"
3447 if test "$no_cache" != 1; then
3448 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3451 if test "$wxUSE_MEM_TRACING" = yes; then
3452 echo "$as_me:$LINENO: result: yes" >&5
3453 echo "${ECHO_T}yes" >&6
3455 echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6
3461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3462 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3464 # Check whether --enable-profile or --disable-profile was given.
3465 if test "${enable_profile+set}" = set; then
3466 enableval
="$enable_profile"
3468 if test "$enableval" = yes; then
3469 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3471 ac_cv_use_profile
='wxUSE_PROFILE=no'
3476 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3477 if test "x$LINE" != x
; then
3478 eval "DEFAULT_$LINE"
3483 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3487 eval "$ac_cv_use_profile"
3488 if test "$no_cache" != 1; then
3489 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3492 if test "$wxUSE_PROFILE" = yes; then
3493 echo "$as_me:$LINENO: result: yes" >&5
3494 echo "${ECHO_T}yes" >&6
3496 echo "$as_me:$LINENO: result: no" >&5
3497 echo "${ECHO_T}no" >&6
3502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3503 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3505 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3506 if test "${enable_no_rtti+set}" = set; then
3507 enableval
="$enable_no_rtti"
3509 if test "$enableval" = yes; then
3510 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3512 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3517 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3518 if test "x$LINE" != x
; then
3519 eval "DEFAULT_$LINE"
3524 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3528 eval "$ac_cv_use_no_rtti"
3529 if test "$no_cache" != 1; then
3530 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3533 if test "$wxUSE_NO_RTTI" = yes; then
3534 echo "$as_me:$LINENO: result: yes" >&5
3535 echo "${ECHO_T}yes" >&6
3537 echo "$as_me:$LINENO: result: no" >&5
3538 echo "${ECHO_T}no" >&6
3543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3544 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3546 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3547 if test "${enable_no_exceptions+set}" = set; then
3548 enableval
="$enable_no_exceptions"
3550 if test "$enableval" = yes; then
3551 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3553 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3558 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3559 if test "x$LINE" != x
; then
3560 eval "DEFAULT_$LINE"
3565 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3569 eval "$ac_cv_use_no_exceptions"
3570 if test "$no_cache" != 1; then
3571 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3574 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3575 echo "$as_me:$LINENO: result: yes" >&5
3576 echo "${ECHO_T}yes" >&6
3578 echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6
3584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3585 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3587 # Check whether --enable-permissive or --disable-permissive was given.
3588 if test "${enable_permissive+set}" = set; then
3589 enableval
="$enable_permissive"
3591 if test "$enableval" = yes; then
3592 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3594 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3599 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3600 if test "x$LINE" != x
; then
3601 eval "DEFAULT_$LINE"
3606 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3610 eval "$ac_cv_use_permissive"
3611 if test "$no_cache" != 1; then
3612 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3615 if test "$wxUSE_PERMISSIVE" = yes; then
3616 echo "$as_me:$LINENO: result: yes" >&5
3617 echo "${ECHO_T}yes" >&6
3619 echo "$as_me:$LINENO: result: no" >&5
3620 echo "${ECHO_T}no" >&6
3625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3626 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3628 # Check whether --enable-no_deps or --disable-no_deps was given.
3629 if test "${enable_no_deps+set}" = set; then
3630 enableval
="$enable_no_deps"
3632 if test "$enableval" = yes; then
3633 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3635 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3640 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x
; then
3642 eval "DEFAULT_$LINE"
3647 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3651 eval "$ac_cv_use_no_deps"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_NO_DEPS" = yes; then
3657 echo "$as_me:$LINENO: result: yes" >&5
3658 echo "${ECHO_T}yes" >&6
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3668 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3670 # Check whether --enable-compat20 or --disable-compat20 was given.
3671 if test "${enable_compat20+set}" = set; then
3672 enableval
="$enable_compat20"
3674 if test "$enableval" = yes; then
3675 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
3677 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3682 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x
; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3693 eval "$ac_cv_use_compat20"
3694 if test "$no_cache" != 1; then
3695 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3698 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3699 echo "$as_me:$LINENO: result: yes" >&5
3700 echo "${ECHO_T}yes" >&6
3702 echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6
3708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3709 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3711 # Check whether --enable-compat22 or --disable-compat22 was given.
3712 if test "${enable_compat22+set}" = set; then
3713 enableval
="$enable_compat22"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3718 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3723 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3734 eval "$ac_cv_use_compat22"
3735 if test "$no_cache" != 1; then
3736 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3739 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3740 echo "$as_me:$LINENO: result: yes" >&5
3741 echo "${ECHO_T}yes" >&6
3743 echo "$as_me:$LINENO: result: no" >&5
3744 echo "${ECHO_T}no" >&6
3748 enablestring
=disable
3749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3750 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3752 # Check whether --enable-compat24 or --disable-compat24 was given.
3753 if test "${enable_compat24+set}" = set; then
3754 enableval
="$enable_compat24"
3756 if test "$enableval" = yes; then
3757 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3759 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3764 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3765 if test "x$LINE" != x
; then
3766 eval "DEFAULT_$LINE"
3771 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3775 eval "$ac_cv_use_compat24"
3776 if test "$no_cache" != 1; then
3777 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3780 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3781 echo "$as_me:$LINENO: result: yes" >&5
3782 echo "${ECHO_T}yes" >&6
3784 echo "$as_me:$LINENO: result: no" >&5
3785 echo "${ECHO_T}no" >&6
3789 # Check whether --enable-rpath or --disable-rpath was given.
3790 if test "${enable_rpath+set}" = set; then
3791 enableval
="$enable_rpath"
3792 wxRPATH_DIR
="$enableval"
3795 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3796 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3804 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3806 # Check whether --enable-intl or --disable-intl was given.
3807 if test "${enable_intl+set}" = set; then
3808 enableval
="$enable_intl"
3810 if test "$enableval" = yes; then
3811 ac_cv_use_intl
='wxUSE_INTL=yes'
3813 ac_cv_use_intl
='wxUSE_INTL=no'
3818 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3819 if test "x$LINE" != x
; then
3820 eval "DEFAULT_$LINE"
3825 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3829 eval "$ac_cv_use_intl"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3834 if test "$wxUSE_INTL" = yes; then
3835 echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6
3838 echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6
3844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3845 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3847 # Check whether --enable-config or --disable-config was given.
3848 if test "${enable_config+set}" = set; then
3849 enableval
="$enable_config"
3851 if test "$enableval" = yes; then
3852 ac_cv_use_config
='wxUSE_CONFIG=yes'
3854 ac_cv_use_config
='wxUSE_CONFIG=no'
3859 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3860 if test "x$LINE" != x
; then
3861 eval "DEFAULT_$LINE"
3866 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3870 eval "$ac_cv_use_config"
3871 if test "$no_cache" != 1; then
3872 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3875 if test "$wxUSE_CONFIG" = yes; then
3876 echo "$as_me:$LINENO: result: yes" >&5
3877 echo "${ECHO_T}yes" >&6
3879 echo "$as_me:$LINENO: result: no" >&5
3880 echo "${ECHO_T}no" >&6
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3889 # Check whether --enable-protocols or --disable-protocols was given.
3890 if test "${enable_protocols+set}" = set; then
3891 enableval
="$enable_protocols"
3893 if test "$enableval" = yes; then
3894 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3896 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3901 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x
; then
3903 eval "DEFAULT_$LINE"
3908 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3912 eval "$ac_cv_use_protocols"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3917 if test "$wxUSE_PROTOCOL" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3928 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3930 # Check whether --enable-ftp or --disable-ftp was given.
3931 if test "${enable_ftp+set}" = set; then
3932 enableval
="$enable_ftp"
3934 if test "$enableval" = yes; then
3935 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3937 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3942 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x
; then
3944 eval "DEFAULT_$LINE"
3949 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3953 eval "$ac_cv_use_ftp"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3958 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3959 echo "$as_me:$LINENO: result: yes" >&5
3960 echo "${ECHO_T}yes" >&6
3962 echo "$as_me:$LINENO: result: no" >&5
3963 echo "${ECHO_T}no" >&6
3968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3969 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3971 # Check whether --enable-http or --disable-http was given.
3972 if test "${enable_http+set}" = set; then
3973 enableval
="$enable_http"
3975 if test "$enableval" = yes; then
3976 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3978 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3983 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3984 if test "x$LINE" != x
; then
3985 eval "DEFAULT_$LINE"
3990 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3994 eval "$ac_cv_use_http"
3995 if test "$no_cache" != 1; then
3996 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3999 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4000 echo "$as_me:$LINENO: result: yes" >&5
4001 echo "${ECHO_T}yes" >&6
4003 echo "$as_me:$LINENO: result: no" >&5
4004 echo "${ECHO_T}no" >&6
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4012 # Check whether --enable-fileproto or --disable-fileproto was given.
4013 if test "${enable_fileproto+set}" = set; then
4014 enableval
="$enable_fileproto"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4019 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4024 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x
; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4035 eval "$ac_cv_use_fileproto"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4040 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4051 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4053 # Check whether --enable-sockets or --disable-sockets was given.
4054 if test "${enable_sockets+set}" = set; then
4055 enableval
="$enable_sockets"
4057 if test "$enableval" = yes; then
4058 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4060 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4065 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x
; then
4067 eval "DEFAULT_$LINE"
4072 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4076 eval "$ac_cv_use_sockets"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4081 if test "$wxUSE_SOCKETS" = yes; then
4082 echo "$as_me:$LINENO: result: yes" >&5
4083 echo "${ECHO_T}yes" >&6
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4092 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4094 # Check whether --enable-ole or --disable-ole was given.
4095 if test "${enable_ole+set}" = set; then
4096 enableval
="$enable_ole"
4098 if test "$enableval" = yes; then
4099 ac_cv_use_ole
='wxUSE_OLE=yes'
4101 ac_cv_use_ole
='wxUSE_OLE=no'
4106 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x
; then
4108 eval "DEFAULT_$LINE"
4113 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4117 eval "$ac_cv_use_ole"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4122 if test "$wxUSE_OLE" = yes; then
4123 echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4133 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4135 # Check whether --enable-dataobj or --disable-dataobj was given.
4136 if test "${enable_dataobj+set}" = set; then
4137 enableval
="$enable_dataobj"
4139 if test "$enableval" = yes; then
4140 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4142 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4147 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x
; then
4149 eval "DEFAULT_$LINE"
4154 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4158 eval "$ac_cv_use_dataobj"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4163 if test "$wxUSE_DATAOBJ" = yes; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4175 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4177 # Check whether --enable-ipc or --disable-ipc was given.
4178 if test "${enable_ipc+set}" = set; then
4179 enableval
="$enable_ipc"
4181 if test "$enableval" = yes; then
4182 ac_cv_use_ipc
='wxUSE_IPC=yes'
4184 ac_cv_use_ipc
='wxUSE_IPC=no'
4189 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x
; then
4191 eval "DEFAULT_$LINE"
4196 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4200 eval "$ac_cv_use_ipc"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4205 if test "$wxUSE_IPC" = yes; then
4206 echo "$as_me:$LINENO: result: yes" >&5
4207 echo "${ECHO_T}yes" >&6
4209 echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6
4216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4217 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4219 # Check whether --enable-cmdline or --disable-cmdline was given.
4220 if test "${enable_cmdline+set}" = set; then
4221 enableval
="$enable_cmdline"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4226 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4231 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4242 eval "$ac_cv_use_cmdline"
4243 if test "$no_cache" != 1; then
4244 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4247 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4248 echo "$as_me:$LINENO: result: yes" >&5
4249 echo "${ECHO_T}yes" >&6
4251 echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6
4257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4258 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4260 # Check whether --enable-datetime or --disable-datetime was given.
4261 if test "${enable_datetime+set}" = set; then
4262 enableval
="$enable_datetime"
4264 if test "$enableval" = yes; then
4265 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4267 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4272 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4273 if test "x$LINE" != x
; then
4274 eval "DEFAULT_$LINE"
4279 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4283 eval "$ac_cv_use_datetime"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_DATETIME" = yes; then
4289 echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4299 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4301 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4302 if test "${enable_stopwatch+set}" = set; then
4303 enableval
="$enable_stopwatch"
4305 if test "$enableval" = yes; then
4306 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
4308 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
4313 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x
; then
4315 eval "DEFAULT_$LINE"
4320 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4324 eval "$ac_cv_use_stopwatch"
4325 if test "$no_cache" != 1; then
4326 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4329 if test "$wxUSE_STOPWATCH" = yes; then
4330 echo "$as_me:$LINENO: result: yes" >&5
4331 echo "${ECHO_T}yes" >&6
4333 echo "$as_me:$LINENO: result: no" >&5
4334 echo "${ECHO_T}no" >&6
4339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4340 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4342 # Check whether --enable-dialupman or --disable-dialupman was given.
4343 if test "${enable_dialupman+set}" = set; then
4344 enableval
="$enable_dialupman"
4346 if test "$enableval" = yes; then
4347 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4349 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4354 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4355 if test "x$LINE" != x
; then
4356 eval "DEFAULT_$LINE"
4361 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4365 eval "$ac_cv_use_dialupman"
4366 if test "$no_cache" != 1; then
4367 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4370 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4371 echo "$as_me:$LINENO: result: yes" >&5
4372 echo "${ECHO_T}yes" >&6
4374 echo "$as_me:$LINENO: result: no" >&5
4375 echo "${ECHO_T}no" >&6
4380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4381 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4383 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4384 if test "${enable_apple_ieee+set}" = set; then
4385 enableval
="$enable_apple_ieee"
4387 if test "$enableval" = yes; then
4388 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4390 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4395 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4396 if test "x$LINE" != x
; then
4397 eval "DEFAULT_$LINE"
4402 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4406 eval "$ac_cv_use_apple_ieee"
4407 if test "$no_cache" != 1; then
4408 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4411 if test "$wxUSE_APPLE_IEEE" = yes; then
4412 echo "$as_me:$LINENO: result: yes" >&5
4413 echo "${ECHO_T}yes" >&6
4415 echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6
4421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4422 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4424 # Check whether --enable-timer or --disable-timer was given.
4425 if test "${enable_timer+set}" = set; then
4426 enableval
="$enable_timer"
4428 if test "$enableval" = yes; then
4429 ac_cv_use_timer
='wxUSE_TIMER=yes'
4431 ac_cv_use_timer
='wxUSE_TIMER=no'
4436 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4437 if test "x$LINE" != x
; then
4438 eval "DEFAULT_$LINE"
4443 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4447 eval "$ac_cv_use_timer"
4448 if test "$no_cache" != 1; then
4449 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4452 if test "$wxUSE_TIMER" = yes; then
4453 echo "$as_me:$LINENO: result: yes" >&5
4454 echo "${ECHO_T}yes" >&6
4456 echo "$as_me:$LINENO: result: no" >&5
4457 echo "${ECHO_T}no" >&6
4462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4463 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4465 # Check whether --enable-wave or --disable-wave was given.
4466 if test "${enable_wave+set}" = set; then
4467 enableval
="$enable_wave"
4469 if test "$enableval" = yes; then
4470 ac_cv_use_wave
='wxUSE_WAVE=yes'
4472 ac_cv_use_wave
='wxUSE_WAVE=no'
4477 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x
; then
4479 eval "DEFAULT_$LINE"
4484 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4488 eval "$ac_cv_use_wave"
4489 if test "$no_cache" != 1; then
4490 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4493 if test "$wxUSE_WAVE" = yes; then
4494 echo "$as_me:$LINENO: result: yes" >&5
4495 echo "${ECHO_T}yes" >&6
4497 echo "$as_me:$LINENO: result: no" >&5
4498 echo "${ECHO_T}no" >&6
4503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4504 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4506 # Check whether --enable-fraction or --disable-fraction was given.
4507 if test "${enable_fraction+set}" = set; then
4508 enableval
="$enable_fraction"
4510 if test "$enableval" = yes; then
4511 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
4513 ac_cv_use_fraction
='wxUSE_FRACTION=no'
4518 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4519 if test "x$LINE" != x
; then
4520 eval "DEFAULT_$LINE"
4525 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4529 eval "$ac_cv_use_fraction"
4530 if test "$no_cache" != 1; then
4531 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4534 if test "$wxUSE_FRACTION" = yes; then
4535 echo "$as_me:$LINENO: result: yes" >&5
4536 echo "${ECHO_T}yes" >&6
4538 echo "$as_me:$LINENO: result: no" >&5
4539 echo "${ECHO_T}no" >&6
4544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4545 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4547 # Check whether --enable-dynlib or --disable-dynlib was given.
4548 if test "${enable_dynlib+set}" = set; then
4549 enableval
="$enable_dynlib"
4551 if test "$enableval" = yes; then
4552 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4554 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4559 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4560 if test "x$LINE" != x
; then
4561 eval "DEFAULT_$LINE"
4566 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4570 eval "$ac_cv_use_dynlib"
4571 if test "$no_cache" != 1; then
4572 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4575 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4576 echo "$as_me:$LINENO: result: yes" >&5
4577 echo "${ECHO_T}yes" >&6
4579 echo "$as_me:$LINENO: result: no" >&5
4580 echo "${ECHO_T}no" >&6
4585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4586 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4588 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4589 if test "${enable_dynamicloader+set}" = set; then
4590 enableval
="$enable_dynamicloader"
4592 if test "$enableval" = yes; then
4593 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4595 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4600 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4601 if test "x$LINE" != x
; then
4602 eval "DEFAULT_$LINE"
4607 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4611 eval "$ac_cv_use_dynamicloader"
4612 if test "$no_cache" != 1; then
4613 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4616 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4617 echo "$as_me:$LINENO: result: yes" >&5
4618 echo "${ECHO_T}yes" >&6
4620 echo "$as_me:$LINENO: result: no" >&5
4621 echo "${ECHO_T}no" >&6
4626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4629 # Check whether --enable-longlong or --disable-longlong was given.
4630 if test "${enable_longlong+set}" = set; then
4631 enableval
="$enable_longlong"
4633 if test "$enableval" = yes; then
4634 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
4636 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
4641 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x
; then
4643 eval "DEFAULT_$LINE"
4648 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4652 eval "$ac_cv_use_longlong"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4657 if test "$wxUSE_LONGLONG" = yes; then
4658 echo "$as_me:$LINENO: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4661 echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4670 # Check whether --enable-geometry or --disable-geometry was given.
4671 if test "${enable_geometry+set}" = set; then
4672 enableval
="$enable_geometry"
4674 if test "$enableval" = yes; then
4675 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4677 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4682 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x
; then
4684 eval "DEFAULT_$LINE"
4689 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4693 eval "$ac_cv_use_geometry"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_GEOMETRY" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4711 # Check whether --enable-log or --disable-log was given.
4712 if test "${enable_log+set}" = set; then
4713 enableval
="$enable_log"
4715 if test "$enableval" = yes; then
4716 ac_cv_use_log
='wxUSE_LOG=yes'
4718 ac_cv_use_log
='wxUSE_LOG=no'
4723 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x
; then
4725 eval "DEFAULT_$LINE"
4730 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4734 eval "$ac_cv_use_log"
4735 if test "$no_cache" != 1; then
4736 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4739 if test "$wxUSE_LOG" = yes; then
4740 echo "$as_me:$LINENO: result: yes" >&5
4741 echo "${ECHO_T}yes" >&6
4743 echo "$as_me:$LINENO: result: no" >&5
4744 echo "${ECHO_T}no" >&6
4749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4752 # Check whether --enable-streams or --disable-streams was given.
4753 if test "${enable_streams+set}" = set; then
4754 enableval
="$enable_streams"
4756 if test "$enableval" = yes; then
4757 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4759 ac_cv_use_streams
='wxUSE_STREAMS=no'
4764 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x
; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4775 eval "$ac_cv_use_streams"
4776 if test "$no_cache" != 1; then
4777 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4780 if test "$wxUSE_STREAMS" = yes; then
4781 echo "$as_me:$LINENO: result: yes" >&5
4782 echo "${ECHO_T}yes" >&6
4784 echo "$as_me:$LINENO: result: no" >&5
4785 echo "${ECHO_T}no" >&6
4790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4793 # Check whether --enable-file or --disable-file was given.
4794 if test "${enable_file+set}" = set; then
4795 enableval
="$enable_file"
4797 if test "$enableval" = yes; then
4798 ac_cv_use_file
='wxUSE_FILE=yes'
4800 ac_cv_use_file
='wxUSE_FILE=no'
4805 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x
; then
4807 eval "DEFAULT_$LINE"
4812 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4816 eval "$ac_cv_use_file"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4821 if test "$wxUSE_FILE" = yes; then
4822 echo "$as_me:$LINENO: result: yes" >&5
4823 echo "${ECHO_T}yes" >&6
4825 echo "$as_me:$LINENO: result: no" >&5
4826 echo "${ECHO_T}no" >&6
4831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4832 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4834 # Check whether --enable-ffile or --disable-ffile was given.
4835 if test "${enable_ffile+set}" = set; then
4836 enableval
="$enable_ffile"
4838 if test "$enableval" = yes; then
4839 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4841 ac_cv_use_ffile
='wxUSE_FFILE=no'
4846 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x
; then
4848 eval "DEFAULT_$LINE"
4853 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4857 eval "$ac_cv_use_ffile"
4858 if test "$no_cache" != 1; then
4859 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4862 if test "$wxUSE_FFILE" = yes; then
4863 echo "$as_me:$LINENO: result: yes" >&5
4864 echo "${ECHO_T}yes" >&6
4866 echo "$as_me:$LINENO: result: no" >&5
4867 echo "${ECHO_T}no" >&6
4872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4873 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4875 # Check whether --enable-textbuf or --disable-textbuf was given.
4876 if test "${enable_textbuf+set}" = set; then
4877 enableval
="$enable_textbuf"
4879 if test "$enableval" = yes; then
4880 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4882 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4887 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x
; then
4889 eval "DEFAULT_$LINE"
4894 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4898 eval "$ac_cv_use_textbuf"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4903 if test "$wxUSE_TEXTBUFFER" = yes; then
4904 echo "$as_me:$LINENO: result: yes" >&5
4905 echo "${ECHO_T}yes" >&6
4907 echo "$as_me:$LINENO: result: no" >&5
4908 echo "${ECHO_T}no" >&6
4913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4916 # Check whether --enable-textfile or --disable-textfile was given.
4917 if test "${enable_textfile+set}" = set; then
4918 enableval
="$enable_textfile"
4920 if test "$enableval" = yes; then
4921 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4923 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4928 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x
; then
4930 eval "DEFAULT_$LINE"
4935 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4939 eval "$ac_cv_use_textfile"
4940 if test "$no_cache" != 1; then
4941 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4944 if test "$wxUSE_TEXTFILE" = yes; then
4945 echo "$as_me:$LINENO: result: yes" >&5
4946 echo "${ECHO_T}yes" >&6
4948 echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6
4954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4955 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4957 # Check whether --enable-fontmap or --disable-fontmap was given.
4958 if test "${enable_fontmap+set}" = set; then
4959 enableval
="$enable_fontmap"
4961 if test "$enableval" = yes; then
4962 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4964 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4969 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x
; then
4971 eval "DEFAULT_$LINE"
4976 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4980 eval "$ac_cv_use_fontmap"
4981 if test "$no_cache" != 1; then
4982 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4985 if test "$wxUSE_FONTMAP" = yes; then
4986 echo "$as_me:$LINENO: result: yes" >&5
4987 echo "${ECHO_T}yes" >&6
4989 echo "$as_me:$LINENO: result: no" >&5
4990 echo "${ECHO_T}no" >&6
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4998 # Check whether --enable-unicode or --disable-unicode was given.
4999 if test "${enable_unicode+set}" = set; then
5000 enableval
="$enable_unicode"
5002 if test "$enableval" = yes; then
5003 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5005 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5010 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x
; then
5012 eval "DEFAULT_$LINE"
5017 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5021 eval "$ac_cv_use_unicode"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5026 if test "$wxUSE_UNICODE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5039 # Check whether --enable-mslu or --disable-mslu was given.
5040 if test "${enable_mslu+set}" = set; then
5041 enableval
="$enable_mslu"
5043 if test "$enableval" = yes; then
5044 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5046 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5051 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x
; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5062 eval "$ac_cv_use_mslu"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5067 if test "$wxUSE_UNICODE_MSLU" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5080 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5081 if test "${enable_wxprintfv+set}" = set; then
5082 enableval
="$enable_wxprintfv"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5087 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5092 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x
; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5103 eval "$ac_cv_use_wxprintfv"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5108 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5121 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5122 if test "${enable_std_iostreams+set}" = set; then
5123 enableval
="$enable_std_iostreams"
5125 if test "$enableval" = yes; then
5126 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5128 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5133 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x
; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5144 eval "$ac_cv_use_std_iostreams"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5149 if test "$wxUSE_STD_IOSTREAM" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5162 # Check whether --enable-filesystem or --disable-filesystem was given.
5163 if test "${enable_filesystem+set}" = set; then
5164 enableval
="$enable_filesystem"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5169 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5174 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x
; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5185 eval "$ac_cv_use_filesystem"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5190 if test "$wxUSE_FILESYSTEM" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5203 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5204 if test "${enable_fs_inet+set}" = set; then
5205 enableval
="$enable_fs_inet"
5207 if test "$enableval" = yes; then
5208 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5210 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5215 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x
; then
5217 eval "DEFAULT_$LINE"
5222 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5226 eval "$ac_cv_use_fs_inet"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5231 if test "$wxUSE_FS_INET" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5244 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5245 if test "${enable_fs_zip+set}" = set; then
5246 enableval
="$enable_fs_zip"
5248 if test "$enableval" = yes; then
5249 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5251 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5256 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x
; then
5258 eval "DEFAULT_$LINE"
5263 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5267 eval "$ac_cv_use_fs_zip"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5272 if test "$wxUSE_FS_ZIP" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5285 # Check whether --enable-zipstream or --disable-zipstream was given.
5286 if test "${enable_zipstream+set}" = set; then
5287 enableval
="$enable_zipstream"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5292 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5297 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5308 eval "$ac_cv_use_zipstream"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_ZIPSTREAM" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5325 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5327 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5328 if test "${enable_catch_segvs+set}" = set; then
5329 enableval
="$enable_catch_segvs"
5331 if test "$enableval" = yes; then
5332 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5334 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5339 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5340 if test "x$LINE" != x
; then
5341 eval "DEFAULT_$LINE"
5346 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5350 eval "$ac_cv_use_catch_segvs"
5351 if test "$no_cache" != 1; then
5352 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5355 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5356 echo "$as_me:$LINENO: result: yes" >&5
5357 echo "${ECHO_T}yes" >&6
5359 echo "$as_me:$LINENO: result: no" >&5
5360 echo "${ECHO_T}no" >&6
5365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5366 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5368 # Check whether --enable-snglinst or --disable-snglinst was given.
5369 if test "${enable_snglinst+set}" = set; then
5370 enableval
="$enable_snglinst"
5372 if test "$enableval" = yes; then
5373 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5375 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5380 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5381 if test "x$LINE" != x
; then
5382 eval "DEFAULT_$LINE"
5387 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5391 eval "$ac_cv_use_snglinst"
5392 if test "$no_cache" != 1; then
5393 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5396 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5397 echo "$as_me:$LINENO: result: yes" >&5
5398 echo "${ECHO_T}yes" >&6
5400 echo "$as_me:$LINENO: result: no" >&5
5401 echo "${ECHO_T}no" >&6
5407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5408 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5410 # Check whether --enable-mimetype or --disable-mimetype was given.
5411 if test "${enable_mimetype+set}" = set; then
5412 enableval
="$enable_mimetype"
5414 if test "$enableval" = yes; then
5415 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5417 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5422 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x
; then
5424 eval "DEFAULT_$LINE"
5429 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5433 eval "$ac_cv_use_mimetype"
5434 if test "$no_cache" != 1; then
5435 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5438 if test "$wxUSE_MIMETYPE" = yes; then
5439 echo "$as_me:$LINENO: result: yes" >&5
5440 echo "${ECHO_T}yes" >&6
5442 echo "$as_me:$LINENO: result: no" >&5
5443 echo "${ECHO_T}no" >&6
5448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5449 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5451 # Check whether --enable-system_options or --disable-system_options was given.
5452 if test "${enable_system_options+set}" = set; then
5453 enableval
="$enable_system_options"
5455 if test "$enableval" = yes; then
5456 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5458 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5463 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5464 if test "x$LINE" != x
; then
5465 eval "DEFAULT_$LINE"
5470 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5474 eval "$ac_cv_use_system_options"
5475 if test "$no_cache" != 1; then
5476 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5479 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5480 echo "$as_me:$LINENO: result: yes" >&5
5481 echo "${ECHO_T}yes" >&6
5483 echo "$as_me:$LINENO: result: no" >&5
5484 echo "${ECHO_T}no" >&6
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5493 # Check whether --enable-url or --disable-url was given.
5494 if test "${enable_url+set}" = set; then
5495 enableval
="$enable_url"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_url
='wxUSE_URL=yes'
5500 ac_cv_use_url
='wxUSE_URL=no'
5505 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x
; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5516 eval "$ac_cv_use_url"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_URL" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5534 # Check whether --enable-protocol or --disable-protocol was given.
5535 if test "${enable_protocol+set}" = set; then
5536 enableval
="$enable_protocol"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5541 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5546 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x
; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5557 eval "$ac_cv_use_protocol"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_PROTOCOL" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5575 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5576 if test "${enable_protocol_http+set}" = set; then
5577 enableval
="$enable_protocol_http"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5582 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5587 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x
; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5598 eval "$ac_cv_use_protocol_http"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5616 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5617 if test "${enable_protocol_ftp+set}" = set; then
5618 enableval
="$enable_protocol_ftp"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5623 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5628 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x
; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5639 eval "$ac_cv_use_protocol_ftp"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5644 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5657 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5658 if test "${enable_protocol_file+set}" = set; then
5659 enableval
="$enable_protocol_file"
5661 if test "$enableval" = yes; then
5662 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5664 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5669 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x
; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5680 eval "$ac_cv_use_protocol_file"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5685 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5699 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5701 # Check whether --enable-threads or --disable-threads was given.
5702 if test "${enable_threads+set}" = set; then
5703 enableval
="$enable_threads"
5705 if test "$enableval" = yes; then
5706 ac_cv_use_threads
='wxUSE_THREADS=yes'
5708 ac_cv_use_threads
='wxUSE_THREADS=no'
5713 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x
; then
5715 eval "DEFAULT_$LINE"
5720 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5724 eval "$ac_cv_use_threads"
5725 if test "$no_cache" != 1; then
5726 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5729 if test "$wxUSE_THREADS" = yes; then
5730 echo "$as_me:$LINENO: result: yes" >&5
5731 echo "${ECHO_T}yes" >&6
5733 echo "$as_me:$LINENO: result: no" >&5
5734 echo "${ECHO_T}no" >&6
5738 if test "$wxUSE_GUI" = "yes"; then
5743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5744 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5746 # Check whether --enable-docview or --disable-docview was given.
5747 if test "${enable_docview+set}" = set; then
5748 enableval
="$enable_docview"
5750 if test "$enableval" = yes; then
5751 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5753 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5758 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x
; then
5760 eval "DEFAULT_$LINE"
5765 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5769 eval "$ac_cv_use_docview"
5770 if test "$no_cache" != 1; then
5771 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5774 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5775 echo "$as_me:$LINENO: result: yes" >&5
5776 echo "${ECHO_T}yes" >&6
5778 echo "$as_me:$LINENO: result: no" >&5
5779 echo "${ECHO_T}no" >&6
5784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5785 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5787 # Check whether --enable-help or --disable-help was given.
5788 if test "${enable_help+set}" = set; then
5789 enableval
="$enable_help"
5791 if test "$enableval" = yes; then
5792 ac_cv_use_help
='wxUSE_HELP=yes'
5794 ac_cv_use_help
='wxUSE_HELP=no'
5799 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5800 if test "x$LINE" != x
; then
5801 eval "DEFAULT_$LINE"
5806 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5810 eval "$ac_cv_use_help"
5811 if test "$no_cache" != 1; then
5812 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5815 if test "$wxUSE_HELP" = yes; then
5816 echo "$as_me:$LINENO: result: yes" >&5
5817 echo "${ECHO_T}yes" >&6
5819 echo "$as_me:$LINENO: result: no" >&5
5820 echo "${ECHO_T}no" >&6
5825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5826 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5828 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5829 if test "${enable_mshtmlhelp+set}" = set; then
5830 enableval
="$enable_mshtmlhelp"
5832 if test "$enableval" = yes; then
5833 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5835 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5840 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5841 if test "x$LINE" != x
; then
5842 eval "DEFAULT_$LINE"
5847 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5851 eval "$ac_cv_use_mshtmlhelp"
5852 if test "$no_cache" != 1; then
5853 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5856 if test "$wxUSE_MS_HTML_HELP" = yes; then
5857 echo "$as_me:$LINENO: result: yes" >&5
5858 echo "${ECHO_T}yes" >&6
5860 echo "$as_me:$LINENO: result: no" >&5
5861 echo "${ECHO_T}no" >&6
5866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5867 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5869 # Check whether --enable-html or --disable-html was given.
5870 if test "${enable_html+set}" = set; then
5871 enableval
="$enable_html"
5873 if test "$enableval" = yes; then
5874 ac_cv_use_html
='wxUSE_HTML=yes'
5876 ac_cv_use_html
='wxUSE_HTML=no'
5881 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5882 if test "x$LINE" != x
; then
5883 eval "DEFAULT_$LINE"
5888 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5892 eval "$ac_cv_use_html"
5893 if test "$no_cache" != 1; then
5894 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5897 if test "$wxUSE_HTML" = yes; then
5898 echo "$as_me:$LINENO: result: yes" >&5
5899 echo "${ECHO_T}yes" >&6
5901 echo "$as_me:$LINENO: result: no" >&5
5902 echo "${ECHO_T}no" >&6
5907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5908 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5910 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5911 if test "${enable_htmlhelp+set}" = set; then
5912 enableval
="$enable_htmlhelp"
5914 if test "$enableval" = yes; then
5915 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5917 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5922 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5923 if test "x$LINE" != x
; then
5924 eval "DEFAULT_$LINE"
5929 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5933 eval "$ac_cv_use_htmlhelp"
5934 if test "$no_cache" != 1; then
5935 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5938 if test "$wxUSE_WXHTML_HELP" = yes; then
5939 echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6
5942 echo "$as_me:$LINENO: result: no" >&5
5943 echo "${ECHO_T}no" >&6
5948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5949 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5951 # Check whether --enable-constraints or --disable-constraints was given.
5952 if test "${enable_constraints+set}" = set; then
5953 enableval
="$enable_constraints"
5955 if test "$enableval" = yes; then
5956 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5958 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5963 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5964 if test "x$LINE" != x
; then
5965 eval "DEFAULT_$LINE"
5970 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5974 eval "$ac_cv_use_constraints"
5975 if test "$no_cache" != 1; then
5976 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5979 if test "$wxUSE_CONSTRAINTS" = yes; then
5980 echo "$as_me:$LINENO: result: yes" >&5
5981 echo "${ECHO_T}yes" >&6
5983 echo "$as_me:$LINENO: result: no" >&5
5984 echo "${ECHO_T}no" >&6
5989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5990 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5992 # Check whether --enable-printarch or --disable-printarch was given.
5993 if test "${enable_printarch+set}" = set; then
5994 enableval
="$enable_printarch"
5996 if test "$enableval" = yes; then
5997 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5999 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6004 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6005 if test "x$LINE" != x
; then
6006 eval "DEFAULT_$LINE"
6011 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6015 eval "$ac_cv_use_printarch"
6016 if test "$no_cache" != 1; then
6017 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6020 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6021 echo "$as_me:$LINENO: result: yes" >&5
6022 echo "${ECHO_T}yes" >&6
6024 echo "$as_me:$LINENO: result: no" >&5
6025 echo "${ECHO_T}no" >&6
6030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6031 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6033 # Check whether --enable-mdi or --disable-mdi was given.
6034 if test "${enable_mdi+set}" = set; then
6035 enableval
="$enable_mdi"
6037 if test "$enableval" = yes; then
6038 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6040 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6045 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x
; then
6047 eval "DEFAULT_$LINE"
6052 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6056 eval "$ac_cv_use_mdi"
6057 if test "$no_cache" != 1; then
6058 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6061 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6062 echo "$as_me:$LINENO: result: yes" >&5
6063 echo "${ECHO_T}yes" >&6
6065 echo "$as_me:$LINENO: result: no" >&5
6066 echo "${ECHO_T}no" >&6
6071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6074 # Check whether --enable-loggui or --disable-loggui was given.
6075 if test "${enable_loggui+set}" = set; then
6076 enableval
="$enable_loggui"
6078 if test "$enableval" = yes; then
6079 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6081 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6086 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x
; then
6088 eval "DEFAULT_$LINE"
6093 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6097 eval "$ac_cv_use_loggui"
6098 if test "$no_cache" != 1; then
6099 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6102 if test "$wxUSE_LOGGUI" = yes; then
6103 echo "$as_me:$LINENO: result: yes" >&5
6104 echo "${ECHO_T}yes" >&6
6106 echo "$as_me:$LINENO: result: no" >&5
6107 echo "${ECHO_T}no" >&6
6112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6113 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6115 # Check whether --enable-logwin or --disable-logwin was given.
6116 if test "${enable_logwin+set}" = set; then
6117 enableval
="$enable_logwin"
6119 if test "$enableval" = yes; then
6120 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6122 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6127 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x
; then
6129 eval "DEFAULT_$LINE"
6134 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6138 eval "$ac_cv_use_logwin"
6139 if test "$no_cache" != 1; then
6140 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6143 if test "$wxUSE_LOGWINDOW" = yes; then
6144 echo "$as_me:$LINENO: result: yes" >&5
6145 echo "${ECHO_T}yes" >&6
6147 echo "$as_me:$LINENO: result: no" >&5
6148 echo "${ECHO_T}no" >&6
6153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6156 # Check whether --enable-logdialog or --disable-logdialog was given.
6157 if test "${enable_logdialog+set}" = set; then
6158 enableval
="$enable_logdialog"
6160 if test "$enableval" = yes; then
6161 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6163 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6168 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6169 if test "x$LINE" != x
; then
6170 eval "DEFAULT_$LINE"
6175 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6179 eval "$ac_cv_use_logdialog"
6180 if test "$no_cache" != 1; then
6181 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6184 if test "$wxUSE_LOGDIALOG" = yes; then
6185 echo "$as_me:$LINENO: result: yes" >&5
6186 echo "${ECHO_T}yes" >&6
6188 echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6
6195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6196 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6198 # Check whether --enable-postscript or --disable-postscript was given.
6199 if test "${enable_postscript+set}" = set; then
6200 enableval
="$enable_postscript"
6202 if test "$enableval" = yes; then
6203 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6205 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6210 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x
; then
6212 eval "DEFAULT_$LINE"
6217 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6221 eval "$ac_cv_use_postscript"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6226 if test "$wxUSE_POSTSCRIPT" = yes; then
6227 echo "$as_me:$LINENO: result: yes" >&5
6228 echo "${ECHO_T}yes" >&6
6230 echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6
6239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6242 # Check whether --enable-prologio or --disable-prologio was given.
6243 if test "${enable_prologio+set}" = set; then
6244 enableval
="$enable_prologio"
6246 if test "$enableval" = yes; then
6247 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6249 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6254 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x
; then
6256 eval "DEFAULT_$LINE"
6261 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6265 eval "$ac_cv_use_prologio"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6270 if test "$wxUSE_PROLOGIO" = yes; then
6271 echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6
6274 echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6
6280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6283 # Check whether --enable-resources or --disable-resources was given.
6284 if test "${enable_resources+set}" = set; then
6285 enableval
="$enable_resources"
6287 if test "$enableval" = yes; then
6288 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6290 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6295 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x
; then
6297 eval "DEFAULT_$LINE"
6302 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6306 eval "$ac_cv_use_resources"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_RESOURCES" = yes; then
6312 echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6
6315 echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6
6323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6324 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6326 # Check whether --enable-clipboard or --disable-clipboard was given.
6327 if test "${enable_clipboard+set}" = set; then
6328 enableval
="$enable_clipboard"
6330 if test "$enableval" = yes; then
6331 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6333 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6338 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x
; then
6340 eval "DEFAULT_$LINE"
6345 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6349 eval "$ac_cv_use_clipboard"
6350 if test "$no_cache" != 1; then
6351 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6354 if test "$wxUSE_CLIPBOARD" = yes; then
6355 echo "$as_me:$LINENO: result: yes" >&5
6356 echo "${ECHO_T}yes" >&6
6358 echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6
6364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6365 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6367 # Check whether --enable-dnd or --disable-dnd was given.
6368 if test "${enable_dnd+set}" = set; then
6369 enableval
="$enable_dnd"
6371 if test "$enableval" = yes; then
6372 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6374 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6379 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6380 if test "x$LINE" != x
; then
6381 eval "DEFAULT_$LINE"
6386 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6390 eval "$ac_cv_use_dnd"
6391 if test "$no_cache" != 1; then
6392 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6395 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6396 echo "$as_me:$LINENO: result: yes" >&5
6397 echo "${ECHO_T}yes" >&6
6399 echo "$as_me:$LINENO: result: no" >&5
6400 echo "${ECHO_T}no" >&6
6405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6406 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6408 # Check whether --enable-metafile or --disable-metafile was given.
6409 if test "${enable_metafile+set}" = set; then
6410 enableval
="$enable_metafile"
6412 if test "$enableval" = yes; then
6413 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6415 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6420 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6421 if test "x$LINE" != x
; then
6422 eval "DEFAULT_$LINE"
6427 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6431 eval "$ac_cv_use_metafile"
6432 if test "$no_cache" != 1; then
6433 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6436 if test "$wxUSE_METAFILE" = yes; then
6437 echo "$as_me:$LINENO: result: yes" >&5
6438 echo "${ECHO_T}yes" >&6
6440 echo "$as_me:$LINENO: result: no" >&5
6441 echo "${ECHO_T}no" >&6
6449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6450 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6452 # Check whether --enable-controls or --disable-controls was given.
6453 if test "${enable_controls+set}" = set; then
6454 enableval
="$enable_controls"
6456 if test "$enableval" = yes; then
6457 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6459 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6464 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x
; then
6466 eval "DEFAULT_$LINE"
6471 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6475 eval "$ac_cv_use_controls"
6476 if test "$no_cache" != 1; then
6477 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6480 if test "$wxUSE_CONTROLS" = yes; then
6481 echo "$as_me:$LINENO: result: yes" >&5
6482 echo "${ECHO_T}yes" >&6
6484 echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6
6489 if test "$wxUSE_CONTROLS" = "yes"; then
6490 DEFAULT_wxUSE_ACCEL
=yes
6491 DEFAULT_wxUSE_BMPBUTTON
=yes
6492 DEFAULT_wxUSE_BUTTON
=yes
6493 DEFAULT_wxUSE_CALCTRL
=no
6494 DEFAULT_wxUSE_CARET
=yes
6495 DEFAULT_wxUSE_COMBOBOX
=yes
6496 DEFAULT_wxUSE_CHECKBOX
=yes
6497 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6498 DEFAULT_wxUSE_CHOICE
=yes
6499 DEFAULT_wxUSE_GAUGE
=yes
6500 DEFAULT_wxUSE_GRID
=yes
6501 DEFAULT_wxUSE_IMAGLIST
=yes
6502 DEFAULT_wxUSE_LISTBOX
=yes
6503 DEFAULT_wxUSE_LISTCTRL
=yes
6504 DEFAULT_wxUSE_NOTEBOOK
=yes
6505 DEFAULT_wxUSE_RADIOBOX
=yes
6506 DEFAULT_wxUSE_RADIOBTN
=yes
6507 DEFAULT_wxUSE_SASH
=yes
6508 DEFAULT_wxUSE_SCROLLBAR
=yes
6509 DEFAULT_wxUSE_SLIDER
=yes
6510 DEFAULT_wxUSE_SPINBTN
=yes
6511 DEFAULT_wxUSE_SPINCTRL
=yes
6512 DEFAULT_wxUSE_SPLITTER
=yes
6513 DEFAULT_wxUSE_STATBMP
=yes
6514 DEFAULT_wxUSE_STATBOX
=yes
6515 DEFAULT_wxUSE_STATLINE
=yes
6516 DEFAULT_wxUSE_STATUSBAR
=yes
6517 DEFAULT_wxUSE_TAB_DIALOG
=yes
6518 DEFAULT_wxUSE_TOGGLEBTN
=yes
6519 DEFAULT_wxUSE_TOOLBAR
=yes
6520 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6521 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6522 DEFAULT_wxUSE_TOOLTIPS
=yes
6523 DEFAULT_wxUSE_TREECTRL
=yes
6524 DEFAULT_wxUSE_POPUPWIN
=yes
6525 DEFAULT_wxUSE_TIPWINDOW
=yes
6526 elif test "$wxUSE_CONTROLS" = "no"; then
6527 DEFAULT_wxUSE_ACCEL
=no
6528 DEFAULT_wxUSE_BMPBUTTON
=no
6529 DEFAULT_wxUSE_BUTTON
=no
6530 DEFAULT_wxUSE_CALCTRL
=no
6531 DEFAULT_wxUSE_CARET
=no
6532 DEFAULT_wxUSE_COMBOBOX
=no
6533 DEFAULT_wxUSE_CHECKBOX
=no
6534 DEFAULT_wxUSE_CHECKLISTBOX
=no
6535 DEFAULT_wxUSE_CHOICE
=no
6536 DEFAULT_wxUSE_GAUGE
=no
6537 DEFAULT_wxUSE_GRID
=no
6538 DEFAULT_wxUSE_IMAGLIST
=no
6539 DEFAULT_wxUSE_LISTBOX
=no
6540 DEFAULT_wxUSE_LISTCTRL
=no
6541 DEFAULT_wxUSE_NOTEBOOK
=no
6542 DEFAULT_wxUSE_RADIOBOX
=no
6543 DEFAULT_wxUSE_RADIOBTN
=no
6544 DEFAULT_wxUSE_SASH
=no
6545 DEFAULT_wxUSE_SCROLLBAR
=no
6546 DEFAULT_wxUSE_SLIDER
=no
6547 DEFAULT_wxUSE_SPINBTN
=no
6548 DEFAULT_wxUSE_SPINCTRL
=no
6549 DEFAULT_wxUSE_SPLITTER
=no
6550 DEFAULT_wxUSE_STATBMP
=no
6551 DEFAULT_wxUSE_STATBOX
=no
6552 DEFAULT_wxUSE_STATLINE
=no
6553 DEFAULT_wxUSE_STATUSBAR
=no
6554 DEFAULT_wxUSE_TAB_DIALOG
=no
6555 DEFAULT_wxUSE_TOGGLEBTN
=no
6556 DEFAULT_wxUSE_TOOLBAR
=no
6557 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6558 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6559 DEFAULT_wxUSE_TOOLTIPS
=no
6560 DEFAULT_wxUSE_TREECTRL
=no
6561 DEFAULT_wxUSE_POPUPWIN
=no
6562 DEFAULT_wxUSE_TIPWINDOW
=no
6565 ## FIXME: This is a blatant hack
6566 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6567 wxUSE_PRINTING_ARCHITECTURE
=no
6568 wxUSE_DRAG_AND_DROP
=no
6569 # Generic notebook requires tab dialog
6570 DEFAULT_wxUSE_TABDIALOG
=yes
6571 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6572 DEFAULT_wxUSE_SCROLLBAR
=no
6573 DEFAULT_wxUSE_TOOLTIPS
=no
6574 DEFAULT_wxUSE_DRAGIMAGE
=no
6579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6582 # Check whether --enable-accel or --disable-accel was given.
6583 if test "${enable_accel+set}" = set; then
6584 enableval
="$enable_accel"
6586 if test "$enableval" = yes; then
6587 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6589 ac_cv_use_accel
='wxUSE_ACCEL=no'
6594 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6595 if test "x$LINE" != x
; then
6596 eval "DEFAULT_$LINE"
6601 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6605 eval "$ac_cv_use_accel"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6610 if test "$wxUSE_ACCEL" = yes; then
6611 echo "$as_me:$LINENO: result: yes" >&5
6612 echo "${ECHO_T}yes" >&6
6614 echo "$as_me:$LINENO: result: no" >&5
6615 echo "${ECHO_T}no" >&6
6620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6621 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6623 # Check whether --enable-button or --disable-button was given.
6624 if test "${enable_button+set}" = set; then
6625 enableval
="$enable_button"
6627 if test "$enableval" = yes; then
6628 ac_cv_use_button
='wxUSE_BUTTON=yes'
6630 ac_cv_use_button
='wxUSE_BUTTON=no'
6635 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6636 if test "x$LINE" != x
; then
6637 eval "DEFAULT_$LINE"
6642 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6646 eval "$ac_cv_use_button"
6647 if test "$no_cache" != 1; then
6648 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6651 if test "$wxUSE_BUTTON" = yes; then
6652 echo "$as_me:$LINENO: result: yes" >&5
6653 echo "${ECHO_T}yes" >&6
6655 echo "$as_me:$LINENO: result: no" >&5
6656 echo "${ECHO_T}no" >&6
6661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6662 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6664 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6665 if test "${enable_bmpbutton+set}" = set; then
6666 enableval
="$enable_bmpbutton"
6668 if test "$enableval" = yes; then
6669 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6671 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6676 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6677 if test "x$LINE" != x
; then
6678 eval "DEFAULT_$LINE"
6683 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6687 eval "$ac_cv_use_bmpbutton"
6688 if test "$no_cache" != 1; then
6689 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6692 if test "$wxUSE_BMPBUTTON" = yes; then
6693 echo "$as_me:$LINENO: result: yes" >&5
6694 echo "${ECHO_T}yes" >&6
6696 echo "$as_me:$LINENO: result: no" >&5
6697 echo "${ECHO_T}no" >&6
6702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6703 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6705 # Check whether --enable-calendar or --disable-calendar was given.
6706 if test "${enable_calendar+set}" = set; then
6707 enableval
="$enable_calendar"
6709 if test "$enableval" = yes; then
6710 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6712 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6717 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6718 if test "x$LINE" != x
; then
6719 eval "DEFAULT_$LINE"
6724 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6728 eval "$ac_cv_use_calendar"
6729 if test "$no_cache" != 1; then
6730 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6733 if test "$wxUSE_CALCTRL" = yes; then
6734 echo "$as_me:$LINENO: result: yes" >&5
6735 echo "${ECHO_T}yes" >&6
6737 echo "$as_me:$LINENO: result: no" >&5
6738 echo "${ECHO_T}no" >&6
6743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6744 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6746 # Check whether --enable-caret or --disable-caret was given.
6747 if test "${enable_caret+set}" = set; then
6748 enableval
="$enable_caret"
6750 if test "$enableval" = yes; then
6751 ac_cv_use_caret
='wxUSE_CARET=yes'
6753 ac_cv_use_caret
='wxUSE_CARET=no'
6758 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6759 if test "x$LINE" != x
; then
6760 eval "DEFAULT_$LINE"
6765 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6769 eval "$ac_cv_use_caret"
6770 if test "$no_cache" != 1; then
6771 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6774 if test "$wxUSE_CARET" = yes; then
6775 echo "$as_me:$LINENO: result: yes" >&5
6776 echo "${ECHO_T}yes" >&6
6778 echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6
6784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6785 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6787 # Check whether --enable-checkbox or --disable-checkbox was given.
6788 if test "${enable_checkbox+set}" = set; then
6789 enableval
="$enable_checkbox"
6791 if test "$enableval" = yes; then
6792 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6794 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6799 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6800 if test "x$LINE" != x
; then
6801 eval "DEFAULT_$LINE"
6806 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6810 eval "$ac_cv_use_checkbox"
6811 if test "$no_cache" != 1; then
6812 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6815 if test "$wxUSE_CHECKBOX" = yes; then
6816 echo "$as_me:$LINENO: result: yes" >&5
6817 echo "${ECHO_T}yes" >&6
6819 echo "$as_me:$LINENO: result: no" >&5
6820 echo "${ECHO_T}no" >&6
6825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6826 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6828 # Check whether --enable-checklst or --disable-checklst was given.
6829 if test "${enable_checklst+set}" = set; then
6830 enableval
="$enable_checklst"
6832 if test "$enableval" = yes; then
6833 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6835 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6840 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6841 if test "x$LINE" != x
; then
6842 eval "DEFAULT_$LINE"
6847 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6851 eval "$ac_cv_use_checklst"
6852 if test "$no_cache" != 1; then
6853 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6856 if test "$wxUSE_CHECKLST" = yes; then
6857 echo "$as_me:$LINENO: result: yes" >&5
6858 echo "${ECHO_T}yes" >&6
6860 echo "$as_me:$LINENO: result: no" >&5
6861 echo "${ECHO_T}no" >&6
6866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6867 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6869 # Check whether --enable-choice or --disable-choice was given.
6870 if test "${enable_choice+set}" = set; then
6871 enableval
="$enable_choice"
6873 if test "$enableval" = yes; then
6874 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6876 ac_cv_use_choice
='wxUSE_CHOICE=no'
6881 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6882 if test "x$LINE" != x
; then
6883 eval "DEFAULT_$LINE"
6888 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6892 eval "$ac_cv_use_choice"
6893 if test "$no_cache" != 1; then
6894 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6897 if test "$wxUSE_CHOICE" = yes; then
6898 echo "$as_me:$LINENO: result: yes" >&5
6899 echo "${ECHO_T}yes" >&6
6901 echo "$as_me:$LINENO: result: no" >&5
6902 echo "${ECHO_T}no" >&6
6907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6910 # Check whether --enable-combobox or --disable-combobox was given.
6911 if test "${enable_combobox+set}" = set; then
6912 enableval
="$enable_combobox"
6914 if test "$enableval" = yes; then
6915 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6917 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6922 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6923 if test "x$LINE" != x
; then
6924 eval "DEFAULT_$LINE"
6929 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6933 eval "$ac_cv_use_combobox"
6934 if test "$no_cache" != 1; then
6935 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6938 if test "$wxUSE_COMBOBOX" = yes; then
6939 echo "$as_me:$LINENO: result: yes" >&5
6940 echo "${ECHO_T}yes" >&6
6942 echo "$as_me:$LINENO: result: no" >&5
6943 echo "${ECHO_T}no" >&6
6948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6951 # Check whether --enable-display or --disable-display was given.
6952 if test "${enable_display+set}" = set; then
6953 enableval
="$enable_display"
6955 if test "$enableval" = yes; then
6956 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6958 ac_cv_use_display
='wxUSE_DISPLAY=no'
6963 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6964 if test "x$LINE" != x
; then
6965 eval "DEFAULT_$LINE"
6970 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6974 eval "$ac_cv_use_display"
6975 if test "$no_cache" != 1; then
6976 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6979 if test "$wxUSE_DISPLAY" = yes; then
6980 echo "$as_me:$LINENO: result: yes" >&5
6981 echo "${ECHO_T}yes" >&6
6983 echo "$as_me:$LINENO: result: no" >&5
6984 echo "${ECHO_T}no" >&6
6989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6990 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6992 # Check whether --enable-gauge or --disable-gauge was given.
6993 if test "${enable_gauge+set}" = set; then
6994 enableval
="$enable_gauge"
6996 if test "$enableval" = yes; then
6997 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6999 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7004 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7005 if test "x$LINE" != x
; then
7006 eval "DEFAULT_$LINE"
7011 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7015 eval "$ac_cv_use_gauge"
7016 if test "$no_cache" != 1; then
7017 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7020 if test "$wxUSE_GAUGE" = yes; then
7021 echo "$as_me:$LINENO: result: yes" >&5
7022 echo "${ECHO_T}yes" >&6
7024 echo "$as_me:$LINENO: result: no" >&5
7025 echo "${ECHO_T}no" >&6
7030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7031 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7033 # Check whether --enable-grid or --disable-grid was given.
7034 if test "${enable_grid+set}" = set; then
7035 enableval
="$enable_grid"
7037 if test "$enableval" = yes; then
7038 ac_cv_use_grid
='wxUSE_GRID=yes'
7040 ac_cv_use_grid
='wxUSE_GRID=no'
7045 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7046 if test "x$LINE" != x
; then
7047 eval "DEFAULT_$LINE"
7052 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7056 eval "$ac_cv_use_grid"
7057 if test "$no_cache" != 1; then
7058 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7061 if test "$wxUSE_GRID" = yes; then
7062 echo "$as_me:$LINENO: result: yes" >&5
7063 echo "${ECHO_T}yes" >&6
7065 echo "$as_me:$LINENO: result: no" >&5
7066 echo "${ECHO_T}no" >&6
7071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7074 # Check whether --enable-imaglist or --disable-imaglist was given.
7075 if test "${enable_imaglist+set}" = set; then
7076 enableval
="$enable_imaglist"
7078 if test "$enableval" = yes; then
7079 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7081 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7086 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7087 if test "x$LINE" != x
; then
7088 eval "DEFAULT_$LINE"
7093 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7097 eval "$ac_cv_use_imaglist"
7098 if test "$no_cache" != 1; then
7099 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7102 if test "$wxUSE_IMAGLIST" = yes; then
7103 echo "$as_me:$LINENO: result: yes" >&5
7104 echo "${ECHO_T}yes" >&6
7106 echo "$as_me:$LINENO: result: no" >&5
7107 echo "${ECHO_T}no" >&6
7112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7115 # Check whether --enable-listbox or --disable-listbox was given.
7116 if test "${enable_listbox+set}" = set; then
7117 enableval
="$enable_listbox"
7119 if test "$enableval" = yes; then
7120 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7122 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7127 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7128 if test "x$LINE" != x
; then
7129 eval "DEFAULT_$LINE"
7134 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7138 eval "$ac_cv_use_listbox"
7139 if test "$no_cache" != 1; then
7140 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7143 if test "$wxUSE_LISTBOX" = yes; then
7144 echo "$as_me:$LINENO: result: yes" >&5
7145 echo "${ECHO_T}yes" >&6
7147 echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6
7153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7154 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7156 # Check whether --enable-listctrl or --disable-listctrl was given.
7157 if test "${enable_listctrl+set}" = set; then
7158 enableval
="$enable_listctrl"
7160 if test "$enableval" = yes; then
7161 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7163 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7168 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7169 if test "x$LINE" != x
; then
7170 eval "DEFAULT_$LINE"
7175 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7179 eval "$ac_cv_use_listctrl"
7180 if test "$no_cache" != 1; then
7181 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7184 if test "$wxUSE_LISTCTRL" = yes; then
7185 echo "$as_me:$LINENO: result: yes" >&5
7186 echo "${ECHO_T}yes" >&6
7188 echo "$as_me:$LINENO: result: no" >&5
7189 echo "${ECHO_T}no" >&6
7194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7195 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7197 # Check whether --enable-notebook or --disable-notebook was given.
7198 if test "${enable_notebook+set}" = set; then
7199 enableval
="$enable_notebook"
7201 if test "$enableval" = yes; then
7202 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7204 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7209 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7210 if test "x$LINE" != x
; then
7211 eval "DEFAULT_$LINE"
7216 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7220 eval "$ac_cv_use_notebook"
7221 if test "$no_cache" != 1; then
7222 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7225 if test "$wxUSE_NOTEBOOK" = yes; then
7226 echo "$as_me:$LINENO: result: yes" >&5
7227 echo "${ECHO_T}yes" >&6
7229 echo "$as_me:$LINENO: result: no" >&5
7230 echo "${ECHO_T}no" >&6
7235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7236 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7238 # Check whether --enable-radiobox or --disable-radiobox was given.
7239 if test "${enable_radiobox+set}" = set; then
7240 enableval
="$enable_radiobox"
7242 if test "$enableval" = yes; then
7243 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7245 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7250 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7251 if test "x$LINE" != x
; then
7252 eval "DEFAULT_$LINE"
7257 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7261 eval "$ac_cv_use_radiobox"
7262 if test "$no_cache" != 1; then
7263 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7266 if test "$wxUSE_RADIOBOX" = yes; then
7267 echo "$as_me:$LINENO: result: yes" >&5
7268 echo "${ECHO_T}yes" >&6
7270 echo "$as_me:$LINENO: result: no" >&5
7271 echo "${ECHO_T}no" >&6
7276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7277 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7279 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7280 if test "${enable_radiobtn+set}" = set; then
7281 enableval
="$enable_radiobtn"
7283 if test "$enableval" = yes; then
7284 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7286 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7291 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7292 if test "x$LINE" != x
; then
7293 eval "DEFAULT_$LINE"
7298 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7302 eval "$ac_cv_use_radiobtn"
7303 if test "$no_cache" != 1; then
7304 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7307 if test "$wxUSE_RADIOBTN" = yes; then
7308 echo "$as_me:$LINENO: result: yes" >&5
7309 echo "${ECHO_T}yes" >&6
7311 echo "$as_me:$LINENO: result: no" >&5
7312 echo "${ECHO_T}no" >&6
7317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7318 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7320 # Check whether --enable-sash or --disable-sash was given.
7321 if test "${enable_sash+set}" = set; then
7322 enableval
="$enable_sash"
7324 if test "$enableval" = yes; then
7325 ac_cv_use_sash
='wxUSE_SASH=yes'
7327 ac_cv_use_sash
='wxUSE_SASH=no'
7332 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7333 if test "x$LINE" != x
; then
7334 eval "DEFAULT_$LINE"
7339 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7343 eval "$ac_cv_use_sash"
7344 if test "$no_cache" != 1; then
7345 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7348 if test "$wxUSE_SASH" = yes; then
7349 echo "$as_me:$LINENO: result: yes" >&5
7350 echo "${ECHO_T}yes" >&6
7352 echo "$as_me:$LINENO: result: no" >&5
7353 echo "${ECHO_T}no" >&6
7358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7361 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7362 if test "${enable_scrollbar+set}" = set; then
7363 enableval
="$enable_scrollbar"
7365 if test "$enableval" = yes; then
7366 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7368 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7373 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7374 if test "x$LINE" != x
; then
7375 eval "DEFAULT_$LINE"
7380 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7384 eval "$ac_cv_use_scrollbar"
7385 if test "$no_cache" != 1; then
7386 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7389 if test "$wxUSE_SCROLLBAR" = yes; then
7390 echo "$as_me:$LINENO: result: yes" >&5
7391 echo "${ECHO_T}yes" >&6
7393 echo "$as_me:$LINENO: result: no" >&5
7394 echo "${ECHO_T}no" >&6
7399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7400 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7402 # Check whether --enable-slider or --disable-slider was given.
7403 if test "${enable_slider+set}" = set; then
7404 enableval
="$enable_slider"
7406 if test "$enableval" = yes; then
7407 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7409 ac_cv_use_slider
='wxUSE_SLIDER=no'
7414 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x
; then
7416 eval "DEFAULT_$LINE"
7421 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7425 eval "$ac_cv_use_slider"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7430 if test "$wxUSE_SLIDER" = yes; then
7431 echo "$as_me:$LINENO: result: yes" >&5
7432 echo "${ECHO_T}yes" >&6
7434 echo "$as_me:$LINENO: result: no" >&5
7435 echo "${ECHO_T}no" >&6
7440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7443 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7444 if test "${enable_spinbtn+set}" = set; then
7445 enableval
="$enable_spinbtn"
7447 if test "$enableval" = yes; then
7448 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7450 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7455 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x
; then
7457 eval "DEFAULT_$LINE"
7462 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7466 eval "$ac_cv_use_spinbtn"
7467 if test "$no_cache" != 1; then
7468 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7471 if test "$wxUSE_SPINBTN" = yes; then
7472 echo "$as_me:$LINENO: result: yes" >&5
7473 echo "${ECHO_T}yes" >&6
7475 echo "$as_me:$LINENO: result: no" >&5
7476 echo "${ECHO_T}no" >&6
7481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7484 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7485 if test "${enable_spinctrl+set}" = set; then
7486 enableval
="$enable_spinctrl"
7488 if test "$enableval" = yes; then
7489 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7491 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7496 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x
; then
7498 eval "DEFAULT_$LINE"
7503 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7507 eval "$ac_cv_use_spinctrl"
7508 if test "$no_cache" != 1; then
7509 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7512 if test "$wxUSE_SPINCTRL" = yes; then
7513 echo "$as_me:$LINENO: result: yes" >&5
7514 echo "${ECHO_T}yes" >&6
7516 echo "$as_me:$LINENO: result: no" >&5
7517 echo "${ECHO_T}no" >&6
7522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7525 # Check whether --enable-splitter or --disable-splitter was given.
7526 if test "${enable_splitter+set}" = set; then
7527 enableval
="$enable_splitter"
7529 if test "$enableval" = yes; then
7530 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7532 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7537 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x
; then
7539 eval "DEFAULT_$LINE"
7544 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7548 eval "$ac_cv_use_splitter"
7549 if test "$no_cache" != 1; then
7550 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7553 if test "$wxUSE_SPLITTER" = yes; then
7554 echo "$as_me:$LINENO: result: yes" >&5
7555 echo "${ECHO_T}yes" >&6
7557 echo "$as_me:$LINENO: result: no" >&5
7558 echo "${ECHO_T}no" >&6
7563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7566 # Check whether --enable-statbmp or --disable-statbmp was given.
7567 if test "${enable_statbmp+set}" = set; then
7568 enableval
="$enable_statbmp"
7570 if test "$enableval" = yes; then
7571 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7573 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7578 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x
; then
7580 eval "DEFAULT_$LINE"
7585 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7589 eval "$ac_cv_use_statbmp"
7590 if test "$no_cache" != 1; then
7591 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7594 if test "$wxUSE_STATBMP" = yes; then
7595 echo "$as_me:$LINENO: result: yes" >&5
7596 echo "${ECHO_T}yes" >&6
7598 echo "$as_me:$LINENO: result: no" >&5
7599 echo "${ECHO_T}no" >&6
7604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7607 # Check whether --enable-statbox or --disable-statbox was given.
7608 if test "${enable_statbox+set}" = set; then
7609 enableval
="$enable_statbox"
7611 if test "$enableval" = yes; then
7612 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7614 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7619 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x
; then
7621 eval "DEFAULT_$LINE"
7626 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7630 eval "$ac_cv_use_statbox"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7635 if test "$wxUSE_STATBOX" = yes; then
7636 echo "$as_me:$LINENO: result: yes" >&5
7637 echo "${ECHO_T}yes" >&6
7639 echo "$as_me:$LINENO: result: no" >&5
7640 echo "${ECHO_T}no" >&6
7645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7646 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7648 # Check whether --enable-statline or --disable-statline was given.
7649 if test "${enable_statline+set}" = set; then
7650 enableval
="$enable_statline"
7652 if test "$enableval" = yes; then
7653 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7655 ac_cv_use_statline
='wxUSE_STATLINE=no'
7660 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x
; then
7662 eval "DEFAULT_$LINE"
7667 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7671 eval "$ac_cv_use_statline"
7672 if test "$no_cache" != 1; then
7673 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7676 if test "$wxUSE_STATLINE" = yes; then
7677 echo "$as_me:$LINENO: result: yes" >&5
7678 echo "${ECHO_T}yes" >&6
7680 echo "$as_me:$LINENO: result: no" >&5
7681 echo "${ECHO_T}no" >&6
7686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7687 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7689 # Check whether --enable-stattext or --disable-stattext was given.
7690 if test "${enable_stattext+set}" = set; then
7691 enableval
="$enable_stattext"
7693 if test "$enableval" = yes; then
7694 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7696 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7701 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7702 if test "x$LINE" != x
; then
7703 eval "DEFAULT_$LINE"
7708 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7712 eval "$ac_cv_use_stattext"
7713 if test "$no_cache" != 1; then
7714 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7717 if test "$wxUSE_STATTEXT" = yes; then
7718 echo "$as_me:$LINENO: result: yes" >&5
7719 echo "${ECHO_T}yes" >&6
7721 echo "$as_me:$LINENO: result: no" >&5
7722 echo "${ECHO_T}no" >&6
7727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7728 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7730 # Check whether --enable-statusbar or --disable-statusbar was given.
7731 if test "${enable_statusbar+set}" = set; then
7732 enableval
="$enable_statusbar"
7734 if test "$enableval" = yes; then
7735 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7737 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7742 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7743 if test "x$LINE" != x
; then
7744 eval "DEFAULT_$LINE"
7749 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7753 eval "$ac_cv_use_statusbar"
7754 if test "$no_cache" != 1; then
7755 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7758 if test "$wxUSE_STATUSBAR" = yes; then
7759 echo "$as_me:$LINENO: result: yes" >&5
7760 echo "${ECHO_T}yes" >&6
7762 echo "$as_me:$LINENO: result: no" >&5
7763 echo "${ECHO_T}no" >&6
7768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7769 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7771 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7772 if test "${enable_tabdialog+set}" = set; then
7773 enableval
="$enable_tabdialog"
7775 if test "$enableval" = yes; then
7776 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7778 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7783 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7784 if test "x$LINE" != x
; then
7785 eval "DEFAULT_$LINE"
7790 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7794 eval "$ac_cv_use_tabdialog"
7795 if test "$no_cache" != 1; then
7796 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7799 if test "$wxUSE_TABDIALOG" = yes; then
7800 echo "$as_me:$LINENO: result: yes" >&5
7801 echo "${ECHO_T}yes" >&6
7803 echo "$as_me:$LINENO: result: no" >&5
7804 echo "${ECHO_T}no" >&6
7809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7810 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7812 # Check whether --enable-textctrl or --disable-textctrl was given.
7813 if test "${enable_textctrl+set}" = set; then
7814 enableval
="$enable_textctrl"
7816 if test "$enableval" = yes; then
7817 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7819 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7824 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7825 if test "x$LINE" != x
; then
7826 eval "DEFAULT_$LINE"
7831 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7835 eval "$ac_cv_use_textctrl"
7836 if test "$no_cache" != 1; then
7837 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7840 if test "$wxUSE_TEXTCTRL" = yes; then
7841 echo "$as_me:$LINENO: result: yes" >&5
7842 echo "${ECHO_T}yes" >&6
7844 echo "$as_me:$LINENO: result: no" >&5
7845 echo "${ECHO_T}no" >&6
7850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7851 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7853 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7854 if test "${enable_togglebtn+set}" = set; then
7855 enableval
="$enable_togglebtn"
7857 if test "$enableval" = yes; then
7858 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7860 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7865 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7866 if test "x$LINE" != x
; then
7867 eval "DEFAULT_$LINE"
7872 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7876 eval "$ac_cv_use_togglebtn"
7877 if test "$no_cache" != 1; then
7878 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7881 if test "$wxUSE_TOGGLEBTN" = yes; then
7882 echo "$as_me:$LINENO: result: yes" >&5
7883 echo "${ECHO_T}yes" >&6
7885 echo "$as_me:$LINENO: result: no" >&5
7886 echo "${ECHO_T}no" >&6
7891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7892 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7894 # Check whether --enable-toolbar or --disable-toolbar was given.
7895 if test "${enable_toolbar+set}" = set; then
7896 enableval
="$enable_toolbar"
7898 if test "$enableval" = yes; then
7899 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7901 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7906 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7907 if test "x$LINE" != x
; then
7908 eval "DEFAULT_$LINE"
7913 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7917 eval "$ac_cv_use_toolbar"
7918 if test "$no_cache" != 1; then
7919 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7922 if test "$wxUSE_TOOLBAR" = yes; then
7923 echo "$as_me:$LINENO: result: yes" >&5
7924 echo "${ECHO_T}yes" >&6
7926 echo "$as_me:$LINENO: result: no" >&5
7927 echo "${ECHO_T}no" >&6
7932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7933 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7935 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7936 if test "${enable_tbarnative+set}" = set; then
7937 enableval
="$enable_tbarnative"
7939 if test "$enableval" = yes; then
7940 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7942 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7947 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7948 if test "x$LINE" != x
; then
7949 eval "DEFAULT_$LINE"
7954 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7958 eval "$ac_cv_use_tbarnative"
7959 if test "$no_cache" != 1; then
7960 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7963 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7964 echo "$as_me:$LINENO: result: yes" >&5
7965 echo "${ECHO_T}yes" >&6
7967 echo "$as_me:$LINENO: result: no" >&5
7968 echo "${ECHO_T}no" >&6
7973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7974 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7976 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7977 if test "${enable_tbarsmpl+set}" = set; then
7978 enableval
="$enable_tbarsmpl"
7980 if test "$enableval" = yes; then
7981 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7983 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7988 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7989 if test "x$LINE" != x
; then
7990 eval "DEFAULT_$LINE"
7995 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7999 eval "$ac_cv_use_tbarsmpl"
8000 if test "$no_cache" != 1; then
8001 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8004 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8005 echo "$as_me:$LINENO: result: yes" >&5
8006 echo "${ECHO_T}yes" >&6
8008 echo "$as_me:$LINENO: result: no" >&5
8009 echo "${ECHO_T}no" >&6
8014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8015 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8017 # Check whether --enable-treectrl or --disable-treectrl was given.
8018 if test "${enable_treectrl+set}" = set; then
8019 enableval
="$enable_treectrl"
8021 if test "$enableval" = yes; then
8022 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8024 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8029 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8030 if test "x$LINE" != x
; then
8031 eval "DEFAULT_$LINE"
8036 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8040 eval "$ac_cv_use_treectrl"
8041 if test "$no_cache" != 1; then
8042 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8045 if test "$wxUSE_TREECTRL" = yes; then
8046 echo "$as_me:$LINENO: result: yes" >&5
8047 echo "${ECHO_T}yes" >&6
8049 echo "$as_me:$LINENO: result: no" >&5
8050 echo "${ECHO_T}no" >&6
8055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8056 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8058 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8059 if test "${enable_tipwindow+set}" = set; then
8060 enableval
="$enable_tipwindow"
8062 if test "$enableval" = yes; then
8063 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8065 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8070 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8071 if test "x$LINE" != x
; then
8072 eval "DEFAULT_$LINE"
8077 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8081 eval "$ac_cv_use_tipwindow"
8082 if test "$no_cache" != 1; then
8083 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8086 if test "$wxUSE_TIPWINDOW" = yes; then
8087 echo "$as_me:$LINENO: result: yes" >&5
8088 echo "${ECHO_T}yes" >&6
8090 echo "$as_me:$LINENO: result: no" >&5
8091 echo "${ECHO_T}no" >&6
8096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8097 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8099 # Check whether --enable-popupwin or --disable-popupwin was given.
8100 if test "${enable_popupwin+set}" = set; then
8101 enableval
="$enable_popupwin"
8103 if test "$enableval" = yes; then
8104 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8106 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8111 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8112 if test "x$LINE" != x
; then
8113 eval "DEFAULT_$LINE"
8118 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8122 eval "$ac_cv_use_popupwin"
8123 if test "$no_cache" != 1; then
8124 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8127 if test "$wxUSE_POPUPWIN" = yes; then
8128 echo "$as_me:$LINENO: result: yes" >&5
8129 echo "${ECHO_T}yes" >&6
8131 echo "$as_me:$LINENO: result: no" >&5
8132 echo "${ECHO_T}no" >&6
8139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8142 # Check whether --enable-commondlg or --disable-commondlg was given.
8143 if test "${enable_commondlg+set}" = set; then
8144 enableval
="$enable_commondlg"
8146 if test "$enableval" = yes; then
8147 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8149 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8154 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8155 if test "x$LINE" != x
; then
8156 eval "DEFAULT_$LINE"
8161 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8165 eval "$ac_cv_use_commondlg"
8166 if test "$no_cache" != 1; then
8167 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8170 if test "$wxUSE_COMMONDLGS" = yes; then
8171 echo "$as_me:$LINENO: result: yes" >&5
8172 echo "${ECHO_T}yes" >&6
8174 echo "$as_me:$LINENO: result: no" >&5
8175 echo "${ECHO_T}no" >&6
8180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8183 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8184 if test "${enable_choicedlg+set}" = set; then
8185 enableval
="$enable_choicedlg"
8187 if test "$enableval" = yes; then
8188 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8190 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8195 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8196 if test "x$LINE" != x
; then
8197 eval "DEFAULT_$LINE"
8202 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8206 eval "$ac_cv_use_choicedlg"
8207 if test "$no_cache" != 1; then
8208 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8211 if test "$wxUSE_CHOICEDLG" = yes; then
8212 echo "$as_me:$LINENO: result: yes" >&5
8213 echo "${ECHO_T}yes" >&6
8215 echo "$as_me:$LINENO: result: no" >&5
8216 echo "${ECHO_T}no" >&6
8221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8222 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8224 # Check whether --enable-coldlg or --disable-coldlg was given.
8225 if test "${enable_coldlg+set}" = set; then
8226 enableval
="$enable_coldlg"
8228 if test "$enableval" = yes; then
8229 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8231 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8236 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8237 if test "x$LINE" != x
; then
8238 eval "DEFAULT_$LINE"
8243 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8247 eval "$ac_cv_use_coldlg"
8248 if test "$no_cache" != 1; then
8249 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8252 if test "$wxUSE_COLOURDLG" = yes; then
8253 echo "$as_me:$LINENO: result: yes" >&5
8254 echo "${ECHO_T}yes" >&6
8256 echo "$as_me:$LINENO: result: no" >&5
8257 echo "${ECHO_T}no" >&6
8262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8263 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8265 # Check whether --enable-filedlg or --disable-filedlg was given.
8266 if test "${enable_filedlg+set}" = set; then
8267 enableval
="$enable_filedlg"
8269 if test "$enableval" = yes; then
8270 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8272 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8277 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8278 if test "x$LINE" != x
; then
8279 eval "DEFAULT_$LINE"
8284 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8288 eval "$ac_cv_use_filedlg"
8289 if test "$no_cache" != 1; then
8290 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8293 if test "$wxUSE_FILEDLG" = yes; then
8294 echo "$as_me:$LINENO: result: yes" >&5
8295 echo "${ECHO_T}yes" >&6
8297 echo "$as_me:$LINENO: result: no" >&5
8298 echo "${ECHO_T}no" >&6
8303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8304 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8306 # Check whether --enable-finddlg or --disable-finddlg was given.
8307 if test "${enable_finddlg+set}" = set; then
8308 enableval
="$enable_finddlg"
8310 if test "$enableval" = yes; then
8311 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8313 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8318 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8319 if test "x$LINE" != x
; then
8320 eval "DEFAULT_$LINE"
8325 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8329 eval "$ac_cv_use_finddlg"
8330 if test "$no_cache" != 1; then
8331 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8334 if test "$wxUSE_FINDREPLDLG" = yes; then
8335 echo "$as_me:$LINENO: result: yes" >&5
8336 echo "${ECHO_T}yes" >&6
8338 echo "$as_me:$LINENO: result: no" >&5
8339 echo "${ECHO_T}no" >&6
8344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8345 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8347 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8348 if test "${enable_fontdlg+set}" = set; then
8349 enableval
="$enable_fontdlg"
8351 if test "$enableval" = yes; then
8352 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8354 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8359 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8360 if test "x$LINE" != x
; then
8361 eval "DEFAULT_$LINE"
8366 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8370 eval "$ac_cv_use_fontdlg"
8371 if test "$no_cache" != 1; then
8372 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8375 if test "$wxUSE_FONTDLG" = yes; then
8376 echo "$as_me:$LINENO: result: yes" >&5
8377 echo "${ECHO_T}yes" >&6
8379 echo "$as_me:$LINENO: result: no" >&5
8380 echo "${ECHO_T}no" >&6
8385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8386 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8388 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8389 if test "${enable_dirdlg+set}" = set; then
8390 enableval
="$enable_dirdlg"
8392 if test "$enableval" = yes; then
8393 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8395 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8400 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8401 if test "x$LINE" != x
; then
8402 eval "DEFAULT_$LINE"
8407 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8411 eval "$ac_cv_use_dirdlg"
8412 if test "$no_cache" != 1; then
8413 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8416 if test "$wxUSE_DIRDLG" = yes; then
8417 echo "$as_me:$LINENO: result: yes" >&5
8418 echo "${ECHO_T}yes" >&6
8420 echo "$as_me:$LINENO: result: no" >&5
8421 echo "${ECHO_T}no" >&6
8426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8427 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8429 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8430 if test "${enable_msgdlg+set}" = set; then
8431 enableval
="$enable_msgdlg"
8433 if test "$enableval" = yes; then
8434 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8436 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8441 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8442 if test "x$LINE" != x
; then
8443 eval "DEFAULT_$LINE"
8448 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8452 eval "$ac_cv_use_msgdlg"
8453 if test "$no_cache" != 1; then
8454 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8457 if test "$wxUSE_MSGDLG" = yes; then
8458 echo "$as_me:$LINENO: result: yes" >&5
8459 echo "${ECHO_T}yes" >&6
8461 echo "$as_me:$LINENO: result: no" >&5
8462 echo "${ECHO_T}no" >&6
8467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8468 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8470 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8471 if test "${enable_numberdlg+set}" = set; then
8472 enableval
="$enable_numberdlg"
8474 if test "$enableval" = yes; then
8475 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8477 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8482 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8483 if test "x$LINE" != x
; then
8484 eval "DEFAULT_$LINE"
8489 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8493 eval "$ac_cv_use_numberdlg"
8494 if test "$no_cache" != 1; then
8495 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8498 if test "$wxUSE_NUMBERDLG" = yes; then
8499 echo "$as_me:$LINENO: result: yes" >&5
8500 echo "${ECHO_T}yes" >&6
8502 echo "$as_me:$LINENO: result: no" >&5
8503 echo "${ECHO_T}no" >&6
8508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8511 # Check whether --enable-splash or --disable-splash was given.
8512 if test "${enable_splash+set}" = set; then
8513 enableval
="$enable_splash"
8515 if test "$enableval" = yes; then
8516 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8518 ac_cv_use_splash
='wxUSE_SPLASH=no'
8523 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8524 if test "x$LINE" != x
; then
8525 eval "DEFAULT_$LINE"
8530 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8534 eval "$ac_cv_use_splash"
8535 if test "$no_cache" != 1; then
8536 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8539 if test "$wxUSE_SPLASH" = yes; then
8540 echo "$as_me:$LINENO: result: yes" >&5
8541 echo "${ECHO_T}yes" >&6
8543 echo "$as_me:$LINENO: result: no" >&5
8544 echo "${ECHO_T}no" >&6
8549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8552 # Check whether --enable-textdlg or --disable-textdlg was given.
8553 if test "${enable_textdlg+set}" = set; then
8554 enableval
="$enable_textdlg"
8556 if test "$enableval" = yes; then
8557 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8559 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8564 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8565 if test "x$LINE" != x
; then
8566 eval "DEFAULT_$LINE"
8571 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8575 eval "$ac_cv_use_textdlg"
8576 if test "$no_cache" != 1; then
8577 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8580 if test "$wxUSE_TEXTDLG" = yes; then
8581 echo "$as_me:$LINENO: result: yes" >&5
8582 echo "${ECHO_T}yes" >&6
8584 echo "$as_me:$LINENO: result: no" >&5
8585 echo "${ECHO_T}no" >&6
8590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8593 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8594 if test "${enable_tipdlg+set}" = set; then
8595 enableval
="$enable_tipdlg"
8597 if test "$enableval" = yes; then
8598 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8600 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8605 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8606 if test "x$LINE" != x
; then
8607 eval "DEFAULT_$LINE"
8612 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8616 eval "$ac_cv_use_tipdlg"
8617 if test "$no_cache" != 1; then
8618 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8621 if test "$wxUSE_STARTUP_TIPS" = yes; then
8622 echo "$as_me:$LINENO: result: yes" >&5
8623 echo "${ECHO_T}yes" >&6
8625 echo "$as_me:$LINENO: result: no" >&5
8626 echo "${ECHO_T}no" >&6
8631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8632 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8634 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8635 if test "${enable_progressdlg+set}" = set; then
8636 enableval
="$enable_progressdlg"
8638 if test "$enableval" = yes; then
8639 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8641 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8646 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8647 if test "x$LINE" != x
; then
8648 eval "DEFAULT_$LINE"
8653 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8657 eval "$ac_cv_use_progressdlg"
8658 if test "$no_cache" != 1; then
8659 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8662 if test "$wxUSE_PROGRESSDLG" = yes; then
8663 echo "$as_me:$LINENO: result: yes" >&5
8664 echo "${ECHO_T}yes" >&6
8666 echo "$as_me:$LINENO: result: no" >&5
8667 echo "${ECHO_T}no" >&6
8672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8673 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8675 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8676 if test "${enable_wizarddlg+set}" = set; then
8677 enableval
="$enable_wizarddlg"
8679 if test "$enableval" = yes; then
8680 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8682 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8687 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8688 if test "x$LINE" != x
; then
8689 eval "DEFAULT_$LINE"
8694 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8698 eval "$ac_cv_use_wizarddlg"
8699 if test "$no_cache" != 1; then
8700 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8703 if test "$wxUSE_WIZARDDLG" = yes; then
8704 echo "$as_me:$LINENO: result: yes" >&5
8705 echo "${ECHO_T}yes" >&6
8707 echo "$as_me:$LINENO: result: no" >&5
8708 echo "${ECHO_T}no" >&6
8715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8718 # Check whether --enable-menus or --disable-menus was given.
8719 if test "${enable_menus+set}" = set; then
8720 enableval
="$enable_menus"
8722 if test "$enableval" = yes; then
8723 ac_cv_use_menus
='wxUSE_MENUS=yes'
8725 ac_cv_use_menus
='wxUSE_MENUS=no'
8730 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8731 if test "x$LINE" != x
; then
8732 eval "DEFAULT_$LINE"
8737 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8741 eval "$ac_cv_use_menus"
8742 if test "$no_cache" != 1; then
8743 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8746 if test "$wxUSE_MENUS" = yes; then
8747 echo "$as_me:$LINENO: result: yes" >&5
8748 echo "${ECHO_T}yes" >&6
8750 echo "$as_me:$LINENO: result: no" >&5
8751 echo "${ECHO_T}no" >&6
8756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8757 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8759 # Check whether --enable-miniframe or --disable-miniframe was given.
8760 if test "${enable_miniframe+set}" = set; then
8761 enableval
="$enable_miniframe"
8763 if test "$enableval" = yes; then
8764 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8766 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8771 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8772 if test "x$LINE" != x
; then
8773 eval "DEFAULT_$LINE"
8778 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8782 eval "$ac_cv_use_miniframe"
8783 if test "$no_cache" != 1; then
8784 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8787 if test "$wxUSE_MINIFRAME" = yes; then
8788 echo "$as_me:$LINENO: result: yes" >&5
8789 echo "${ECHO_T}yes" >&6
8791 echo "$as_me:$LINENO: result: no" >&5
8792 echo "${ECHO_T}no" >&6
8797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8798 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8800 # Check whether --enable-tooltips or --disable-tooltips was given.
8801 if test "${enable_tooltips+set}" = set; then
8802 enableval
="$enable_tooltips"
8804 if test "$enableval" = yes; then
8805 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8807 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8812 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8813 if test "x$LINE" != x
; then
8814 eval "DEFAULT_$LINE"
8819 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8823 eval "$ac_cv_use_tooltips"
8824 if test "$no_cache" != 1; then
8825 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8828 if test "$wxUSE_TOOLTIPS" = yes; then
8829 echo "$as_me:$LINENO: result: yes" >&5
8830 echo "${ECHO_T}yes" >&6
8832 echo "$as_me:$LINENO: result: no" >&5
8833 echo "${ECHO_T}no" >&6
8838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8839 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8841 # Check whether --enable-splines or --disable-splines was given.
8842 if test "${enable_splines+set}" = set; then
8843 enableval
="$enable_splines"
8845 if test "$enableval" = yes; then
8846 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8848 ac_cv_use_splines
='wxUSE_SPLINES=no'
8853 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8854 if test "x$LINE" != x
; then
8855 eval "DEFAULT_$LINE"
8860 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8864 eval "$ac_cv_use_splines"
8865 if test "$no_cache" != 1; then
8866 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8869 if test "$wxUSE_SPLINES" = yes; then
8870 echo "$as_me:$LINENO: result: yes" >&5
8871 echo "${ECHO_T}yes" >&6
8873 echo "$as_me:$LINENO: result: no" >&5
8874 echo "${ECHO_T}no" >&6
8879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8880 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8882 # Check whether --enable-validators or --disable-validators was given.
8883 if test "${enable_validators+set}" = set; then
8884 enableval
="$enable_validators"
8886 if test "$enableval" = yes; then
8887 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8889 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8894 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x
; then
8896 eval "DEFAULT_$LINE"
8901 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8905 eval "$ac_cv_use_validators"
8906 if test "$no_cache" != 1; then
8907 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8910 if test "$wxUSE_VALIDATORS" = yes; then
8911 echo "$as_me:$LINENO: result: yes" >&5
8912 echo "${ECHO_T}yes" >&6
8914 echo "$as_me:$LINENO: result: no" >&5
8915 echo "${ECHO_T}no" >&6
8920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8921 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8923 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8924 if test "${enable_busyinfo+set}" = set; then
8925 enableval
="$enable_busyinfo"
8927 if test "$enableval" = yes; then
8928 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8930 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8935 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x
; then
8937 eval "DEFAULT_$LINE"
8942 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8946 eval "$ac_cv_use_busyinfo"
8947 if test "$no_cache" != 1; then
8948 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8951 if test "$wxUSE_BUSYINFO" = yes; then
8952 echo "$as_me:$LINENO: result: yes" >&5
8953 echo "${ECHO_T}yes" >&6
8955 echo "$as_me:$LINENO: result: no" >&5
8956 echo "${ECHO_T}no" >&6
8961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8962 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8964 # Check whether --enable-joystick or --disable-joystick was given.
8965 if test "${enable_joystick+set}" = set; then
8966 enableval
="$enable_joystick"
8968 if test "$enableval" = yes; then
8969 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8971 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8976 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x
; then
8978 eval "DEFAULT_$LINE"
8983 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8987 eval "$ac_cv_use_joystick"
8988 if test "$no_cache" != 1; then
8989 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8992 if test "$wxUSE_JOYSTICK" = yes; then
8993 echo "$as_me:$LINENO: result: yes" >&5
8994 echo "${ECHO_T}yes" >&6
8996 echo "$as_me:$LINENO: result: no" >&5
8997 echo "${ECHO_T}no" >&6
9002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9003 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9005 # Check whether --enable-metafile or --disable-metafile was given.
9006 if test "${enable_metafile+set}" = set; then
9007 enableval
="$enable_metafile"
9009 if test "$enableval" = yes; then
9010 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9012 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9017 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9018 if test "x$LINE" != x
; then
9019 eval "DEFAULT_$LINE"
9024 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9028 eval "$ac_cv_use_metafile"
9029 if test "$no_cache" != 1; then
9030 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9033 if test "$wxUSE_METAFILE" = yes; then
9034 echo "$as_me:$LINENO: result: yes" >&5
9035 echo "${ECHO_T}yes" >&6
9037 echo "$as_me:$LINENO: result: no" >&5
9038 echo "${ECHO_T}no" >&6
9043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9044 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9046 # Check whether --enable-dragimage or --disable-dragimage was given.
9047 if test "${enable_dragimage+set}" = set; then
9048 enableval
="$enable_dragimage"
9050 if test "$enableval" = yes; then
9051 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9053 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9058 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9059 if test "x$LINE" != x
; then
9060 eval "DEFAULT_$LINE"
9065 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9069 eval "$ac_cv_use_dragimage"
9070 if test "$no_cache" != 1; then
9071 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9074 if test "$wxUSE_DRAGIMAGE" = yes; then
9075 echo "$as_me:$LINENO: result: yes" >&5
9076 echo "${ECHO_T}yes" >&6
9078 echo "$as_me:$LINENO: result: no" >&5
9079 echo "${ECHO_T}no" >&6
9084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9085 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9087 # Check whether --enable-accessibility or --disable-accessibility was given.
9088 if test "${enable_accessibility+set}" = set; then
9089 enableval
="$enable_accessibility"
9091 if test "$enableval" = yes; then
9092 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9094 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9099 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9100 if test "x$LINE" != x
; then
9101 eval "DEFAULT_$LINE"
9106 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9110 eval "$ac_cv_use_accessibility"
9111 if test "$no_cache" != 1; then
9112 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9115 if test "$wxUSE_ACCESSIBILITY" = yes; then
9116 echo "$as_me:$LINENO: result: yes" >&5
9117 echo "${ECHO_T}yes" >&6
9119 echo "$as_me:$LINENO: result: no" >&5
9120 echo "${ECHO_T}no" >&6
9127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9128 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9130 # Check whether --enable-palette or --disable-palette was given.
9131 if test "${enable_palette+set}" = set; then
9132 enableval
="$enable_palette"
9134 if test "$enableval" = yes; then
9135 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9137 ac_cv_use_palette
='wxUSE_PALETTE=no'
9142 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x
; then
9144 eval "DEFAULT_$LINE"
9149 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9153 eval "$ac_cv_use_palette"
9154 if test "$no_cache" != 1; then
9155 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9158 if test "$wxUSE_PALETTE" = yes; then
9159 echo "$as_me:$LINENO: result: yes" >&5
9160 echo "${ECHO_T}yes" >&6
9162 echo "$as_me:$LINENO: result: no" >&5
9163 echo "${ECHO_T}no" >&6
9168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9171 # Check whether --enable-image or --disable-image was given.
9172 if test "${enable_image+set}" = set; then
9173 enableval
="$enable_image"
9175 if test "$enableval" = yes; then
9176 ac_cv_use_image
='wxUSE_IMAGE=yes'
9178 ac_cv_use_image
='wxUSE_IMAGE=no'
9183 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x
; then
9185 eval "DEFAULT_$LINE"
9190 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9194 eval "$ac_cv_use_image"
9195 if test "$no_cache" != 1; then
9196 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9199 if test "$wxUSE_IMAGE" = yes; then
9200 echo "$as_me:$LINENO: result: yes" >&5
9201 echo "${ECHO_T}yes" >&6
9203 echo "$as_me:$LINENO: result: no" >&5
9204 echo "${ECHO_T}no" >&6
9209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9212 # Check whether --enable-gif or --disable-gif was given.
9213 if test "${enable_gif+set}" = set; then
9214 enableval
="$enable_gif"
9216 if test "$enableval" = yes; then
9217 ac_cv_use_gif
='wxUSE_GIF=yes'
9219 ac_cv_use_gif
='wxUSE_GIF=no'
9224 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x
; then
9226 eval "DEFAULT_$LINE"
9231 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9235 eval "$ac_cv_use_gif"
9236 if test "$no_cache" != 1; then
9237 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9240 if test "$wxUSE_GIF" = yes; then
9241 echo "$as_me:$LINENO: result: yes" >&5
9242 echo "${ECHO_T}yes" >&6
9244 echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6
9250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9253 # Check whether --enable-pcx or --disable-pcx was given.
9254 if test "${enable_pcx+set}" = set; then
9255 enableval
="$enable_pcx"
9257 if test "$enableval" = yes; then
9258 ac_cv_use_pcx
='wxUSE_PCX=yes'
9260 ac_cv_use_pcx
='wxUSE_PCX=no'
9265 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x
; then
9267 eval "DEFAULT_$LINE"
9272 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9276 eval "$ac_cv_use_pcx"
9277 if test "$no_cache" != 1; then
9278 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9281 if test "$wxUSE_PCX" = yes; then
9282 echo "$as_me:$LINENO: result: yes" >&5
9283 echo "${ECHO_T}yes" >&6
9285 echo "$as_me:$LINENO: result: no" >&5
9286 echo "${ECHO_T}no" >&6
9291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9294 # Check whether --enable-iff or --disable-iff was given.
9295 if test "${enable_iff+set}" = set; then
9296 enableval
="$enable_iff"
9298 if test "$enableval" = yes; then
9299 ac_cv_use_iff
='wxUSE_IFF=yes'
9301 ac_cv_use_iff
='wxUSE_IFF=no'
9306 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9307 if test "x$LINE" != x
; then
9308 eval "DEFAULT_$LINE"
9313 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9317 eval "$ac_cv_use_iff"
9318 if test "$no_cache" != 1; then
9319 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9322 if test "$wxUSE_IFF" = yes; then
9323 echo "$as_me:$LINENO: result: yes" >&5
9324 echo "${ECHO_T}yes" >&6
9326 echo "$as_me:$LINENO: result: no" >&5
9327 echo "${ECHO_T}no" >&6
9332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9333 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9335 # Check whether --enable-pnm or --disable-pnm was given.
9336 if test "${enable_pnm+set}" = set; then
9337 enableval
="$enable_pnm"
9339 if test "$enableval" = yes; then
9340 ac_cv_use_pnm
='wxUSE_PNM=yes'
9342 ac_cv_use_pnm
='wxUSE_PNM=no'
9347 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9348 if test "x$LINE" != x
; then
9349 eval "DEFAULT_$LINE"
9354 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9358 eval "$ac_cv_use_pnm"
9359 if test "$no_cache" != 1; then
9360 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9363 if test "$wxUSE_PNM" = yes; then
9364 echo "$as_me:$LINENO: result: yes" >&5
9365 echo "${ECHO_T}yes" >&6
9367 echo "$as_me:$LINENO: result: no" >&5
9368 echo "${ECHO_T}no" >&6
9373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9374 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9376 # Check whether --enable-xpm or --disable-xpm was given.
9377 if test "${enable_xpm+set}" = set; then
9378 enableval
="$enable_xpm"
9380 if test "$enableval" = yes; then
9381 ac_cv_use_xpm
='wxUSE_XPM=yes'
9383 ac_cv_use_xpm
='wxUSE_XPM=no'
9388 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x
; then
9390 eval "DEFAULT_$LINE"
9395 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9399 eval "$ac_cv_use_xpm"
9400 if test "$no_cache" != 1; then
9401 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9404 if test "$wxUSE_XPM" = yes; then
9405 echo "$as_me:$LINENO: result: yes" >&5
9406 echo "${ECHO_T}yes" >&6
9408 echo "$as_me:$LINENO: result: no" >&5
9409 echo "${ECHO_T}no" >&6
9414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9415 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9417 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9418 if test "${enable_ico_cur+set}" = set; then
9419 enableval
="$enable_ico_cur"
9421 if test "$enableval" = yes; then
9422 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9424 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9429 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9430 if test "x$LINE" != x
; then
9431 eval "DEFAULT_$LINE"
9436 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9440 eval "$ac_cv_use_ico_cur"
9441 if test "$no_cache" != 1; then
9442 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9445 if test "$wxUSE_ICO_CUR" = yes; then
9446 echo "$as_me:$LINENO: result: yes" >&5
9447 echo "${ECHO_T}yes" >&6
9449 echo "$as_me:$LINENO: result: no" >&5
9450 echo "${ECHO_T}no" >&6
9459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9460 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9462 # Check whether --enable-official_build or --disable-official_build was given.
9463 if test "${enable_official_build+set}" = set; then
9464 enableval
="$enable_official_build"
9466 if test "$enableval" = yes; then
9467 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9469 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9474 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9475 if test "x$LINE" != x
; then
9476 eval "DEFAULT_$LINE"
9481 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9485 eval "$ac_cv_use_official_build"
9486 if test "$no_cache" != 1; then
9487 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9490 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9491 echo "$as_me:$LINENO: result: yes" >&5
9492 echo "${ECHO_T}yes" >&6
9494 echo "$as_me:$LINENO: result: no" >&5
9495 echo "${ECHO_T}no" >&6
9498 # Check whether --enable-vendor or --disable-vendor was given.
9499 if test "${enable_vendor+set}" = set; then
9500 enableval
="$enable_vendor"
9503 if test "x$VENDOR" = "x"; then
9508 *-pc-os2_emx | *-pc-os2-emx )
9520 echo "saving argument cache $wx_arg_cache_file"
9521 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9525 echo "$as_me:$LINENO: checking for toolkit" >&5
9526 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9528 # In Wine, we need to default to MSW, not GTK or MOTIF
9529 if test "$wxUSE_WINE" = "yes"; then
9530 DEFAULT_DEFAULT_wxUSE_GTK
=0
9531 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9532 DEFAULT_DEFAULT_wxUSE_MSW
=1
9535 if test "$wxUSE_GUI" = "yes"; then
9537 if test "$USE_BEOS" = 1; then
9538 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9539 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9540 { (exit 1); exit 1; }; }
9543 if test "$TOOLKIT_GIVEN" = 1; then
9544 for toolkit
in `echo $ALL_TOOLKITS`; do
9546 eval "value=\$${var}"
9547 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9550 for toolkit
in `echo $ALL_TOOLKITS`; do
9551 if test "$has_toolkit_in_cache" != 1; then
9552 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9554 var
=DEFAULT_wxUSE_
$toolkit
9556 eval "wxUSE_$toolkit=\$${var}"
9560 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9561 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9562 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9565 *-pc-os2_emx | *-pc-os2-emx )
9566 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9569 case "$NUM_TOOLKITS" in
9573 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9574 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9575 { (exit 1); exit 1; }; }
9578 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9579 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9580 { (exit 1); exit 1; }; }
9583 for toolkit
in `echo $ALL_TOOLKITS`; do
9585 eval "value=\$${var}"
9586 if test "x$value" != x
; then
9587 cache_var
=CACHE_
$toolkit
9588 eval "cache=\$${cache_var}"
9589 if test "$cache" = 1; then
9590 echo "$var=$value" >> ${wx_arg_cache_file}
9592 if test "$value" = 1; then
9593 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
9594 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9595 echo "${ECHO_T}$toolkit_echo" >&6
9600 if test "x$host_alias" != "x"; then
9601 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9602 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9604 echo "$as_me:$LINENO: result: base only" >&5
9605 echo "${ECHO_T}base only" >&6
9613 if test "$wxUSE_MSW" = 1 ; then
9624 if test "$wxUSE_WINE" = "yes"; then
9631 if test "$wants_win32" = 1 ; then
9634 cat >>confdefs.h
<<\_ACEOF
9638 cat >>confdefs.h
<<\_ACEOF
9642 cat >>confdefs.h
<<\_ACEOF
9643 #define __WINDOWS__ 1
9646 cat >>confdefs.h
<<\_ACEOF
9647 #define __GNUWIN32__ 1
9650 cat >>confdefs.h
<<\_ACEOF
9654 cat >>confdefs.h
<<\_ACEOF
9655 #define WINVER 0x0400
9659 if test "$doesnt_want_win32" = 1 ; then
9664 if test "$USE_UNIX" = 1 ; then
9666 cat >>confdefs.h
<<\_ACEOF
9673 cat >confcache
<<\_ACEOF
9674 # This file is a shell script that caches the results of configure
9675 # tests run on this system so they can be shared between configure
9676 # scripts and configure runs, see configure's option --config-cache.
9677 # It is not useful on other systems. If it contains results you don't
9678 # want to keep, you may remove or edit it.
9680 # config.status only pays attention to the cache file if you give it
9681 # the --recheck option to rerun configure.
9683 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9689 # The following way of writing the cache mishandles newlines in values,
9690 # but we know of no workaround that is simple, portable, and efficient.
9691 # So, don't put newlines in cache variables' values.
9692 # Ultrix sh set writes to stderr and can't be redirected directly,
9693 # and sets the high bit in the cache file unless we assign to the vars.
9696 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9698 # `set' does not quote correctly, so add quotes (double-quote
9699 # substitution turns \\\\ into \\, and sed turns \\ into \).
9702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9705 # `set' quotes correctly as required by POSIX, so do not add quotes.
9707 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9714 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9716 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9718 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9719 if test -w $cache_file; then
9720 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9721 cat confcache
>$cache_file
9723 echo "not updating unwritable cache $cache_file"
9728 if test "$build" != "$host" ; then
9729 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9733 RANLIB
=$host_alias-ranlib
9734 DLLTOOL
=$host_alias-dlltool
9735 RESCOMP
=$host_alias-windres
9738 STRIP
=$host_alias-strip
9740 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9741 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9742 { (exit 1); exit 1; }; }
9748 ac_cpp
='$CPP $CPPFLAGS'
9749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9752 if test -n "$ac_tool_prefix"; then
9753 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9754 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9755 echo "$as_me:$LINENO: checking for $ac_word" >&5
9756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9757 if test "${ac_cv_prog_CC+set}" = set; then
9758 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 if test -n "$CC"; then
9761 ac_cv_prog_CC
="$CC" # Let the user override the test.
9763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9767 test -z "$as_dir" && as_dir
=.
9768 for ac_exec_ext
in '' $ac_executable_extensions; do
9769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9770 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9780 if test -n "$CC"; then
9781 echo "$as_me:$LINENO: result: $CC" >&5
9782 echo "${ECHO_T}$CC" >&6
9784 echo "$as_me:$LINENO: result: no" >&5
9785 echo "${ECHO_T}no" >&6
9789 if test -z "$ac_cv_prog_CC"; then
9791 # Extract the first word of "gcc", so it can be a program name with args.
9792 set dummy gcc
; ac_word
=$2
9793 echo "$as_me:$LINENO: checking for $ac_word" >&5
9794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9795 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9796 echo $ECHO_N "(cached) $ECHO_C" >&6
9798 if test -n "$ac_ct_CC"; then
9799 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9805 test -z "$as_dir" && as_dir
=.
9806 for ac_exec_ext
in '' $ac_executable_extensions; do
9807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9808 ac_cv_prog_ac_ct_CC
="gcc"
9809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9817 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9818 if test -n "$ac_ct_CC"; then
9819 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9820 echo "${ECHO_T}$ac_ct_CC" >&6
9822 echo "$as_me:$LINENO: result: no" >&5
9823 echo "${ECHO_T}no" >&6
9831 if test -z "$CC"; then
9832 if test -n "$ac_tool_prefix"; then
9833 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9834 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9835 echo "$as_me:$LINENO: checking for $ac_word" >&5
9836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9837 if test "${ac_cv_prog_CC+set}" = set; then
9838 echo $ECHO_N "(cached) $ECHO_C" >&6
9840 if test -n "$CC"; then
9841 ac_cv_prog_CC
="$CC" # Let the user override the test.
9843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9847 test -z "$as_dir" && as_dir
=.
9848 for ac_exec_ext
in '' $ac_executable_extensions; do
9849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9850 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9860 if test -n "$CC"; then
9861 echo "$as_me:$LINENO: result: $CC" >&5
9862 echo "${ECHO_T}$CC" >&6
9864 echo "$as_me:$LINENO: result: no" >&5
9865 echo "${ECHO_T}no" >&6
9869 if test -z "$ac_cv_prog_CC"; then
9871 # Extract the first word of "cc", so it can be a program name with args.
9872 set dummy cc
; ac_word
=$2
9873 echo "$as_me:$LINENO: checking for $ac_word" >&5
9874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 if test -n "$ac_ct_CC"; then
9879 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9885 test -z "$as_dir" && as_dir
=.
9886 for ac_exec_ext
in '' $ac_executable_extensions; do
9887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9888 ac_cv_prog_ac_ct_CC
="cc"
9889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9897 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9898 if test -n "$ac_ct_CC"; then
9899 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9900 echo "${ECHO_T}$ac_ct_CC" >&6
9902 echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6
9912 if test -z "$CC"; then
9913 # Extract the first word of "cc", so it can be a program name with args.
9914 set dummy cc
; ac_word
=$2
9915 echo "$as_me:$LINENO: checking for $ac_word" >&5
9916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9917 if test "${ac_cv_prog_CC+set}" = set; then
9918 echo $ECHO_N "(cached) $ECHO_C" >&6
9920 if test -n "$CC"; then
9921 ac_cv_prog_CC
="$CC" # Let the user override the test.
9924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9928 test -z "$as_dir" && as_dir
=.
9929 for ac_exec_ext
in '' $ac_executable_extensions; do
9930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9932 ac_prog_rejected
=yes
9936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9942 if test $ac_prog_rejected = yes; then
9943 # We found a bogon in the path, so make sure we never use it.
9944 set dummy
$ac_cv_prog_CC
9946 if test $# != 0; then
9947 # We chose a different compiler from the bogus one.
9948 # However, it has the same basename, so the bogon will be chosen
9949 # first if we set CC to just the basename; use the full file name.
9951 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9957 if test -n "$CC"; then
9958 echo "$as_me:$LINENO: result: $CC" >&5
9959 echo "${ECHO_T}$CC" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9966 if test -z "$CC"; then
9967 if test -n "$ac_tool_prefix"; then
9970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9971 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9972 echo "$as_me:$LINENO: checking for $ac_word" >&5
9973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9974 if test "${ac_cv_prog_CC+set}" = set; then
9975 echo $ECHO_N "(cached) $ECHO_C" >&6
9977 if test -n "$CC"; then
9978 ac_cv_prog_CC
="$CC" # Let the user override the test.
9980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9984 test -z "$as_dir" && as_dir
=.
9985 for ac_exec_ext
in '' $ac_executable_extensions; do
9986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9987 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9997 if test -n "$CC"; then
9998 echo "$as_me:$LINENO: result: $CC" >&5
9999 echo "${ECHO_T}$CC" >&6
10001 echo "$as_me:$LINENO: result: no" >&5
10002 echo "${ECHO_T}no" >&6
10005 test -n "$CC" && break
10008 if test -z "$CC"; then
10012 # Extract the first word of "$ac_prog", so it can be a program name with args.
10013 set dummy
$ac_prog; ac_word
=$2
10014 echo "$as_me:$LINENO: checking for $ac_word" >&5
10015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10016 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10017 echo $ECHO_N "(cached) $ECHO_C" >&6
10019 if test -n "$ac_ct_CC"; then
10020 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10023 for as_dir
in $PATH
10026 test -z "$as_dir" && as_dir
=.
10027 for ac_exec_ext
in '' $ac_executable_extensions; do
10028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10029 ac_cv_prog_ac_ct_CC
="$ac_prog"
10030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10038 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10039 if test -n "$ac_ct_CC"; then
10040 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10041 echo "${ECHO_T}$ac_ct_CC" >&6
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10047 test -n "$ac_ct_CC" && break
10056 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10057 See \`config.log' for more details." >&5
10058 echo "$as_me: error: no acceptable C compiler found in \$PATH
10059 See \`config.log' for more details." >&2;}
10060 { (exit 1); exit 1; }; }
10062 # Provide some information about the compiler.
10063 echo "$as_me:$LINENO:" \
10064 "checking for C compiler version" >&5
10065 ac_compiler
=`set X $ac_compile; echo $2`
10066 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10067 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }
10071 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10072 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }
10076 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10077 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10080 (exit $ac_status); }
10082 cat >conftest.
$ac_ext <<_ACEOF
10083 #line $LINENO "configure"
10086 cat confdefs.h
>>conftest.
$ac_ext
10087 cat >>conftest.
$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10098 ac_clean_files_save
=$ac_clean_files
10099 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10100 # Try to create an executable without -o first, disregard a.out.
10101 # It will help us diagnose broken compilers, and finding out an intuition
10103 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10104 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10105 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10106 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10107 (eval $ac_link_default) 2>&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); }; then
10111 # Find the output, starting from the most likely. This scheme is
10112 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10115 # Be careful to initialize this variable, since it used to be cached.
10116 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10118 # b.out is created by i960 compilers.
10119 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10121 test -f "$ac_file" || continue
10123 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10126 # This is the source file.
10129 # We found the default executable, but exeext='' is most
10133 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10134 # FIXME: I believe we export ac_cv_exeext for Libtool,
10135 # but it would be cool to find out if it's true. Does anybody
10136 # maintain Libtool? --akim.
10137 export ac_cv_exeext
10144 echo "$as_me: failed program was:" >&5
10145 sed 's/^/| /' conftest.
$ac_ext >&5
10147 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10148 See \`config.log' for more details." >&5
10149 echo "$as_me: error: C compiler cannot create executables
10150 See \`config.log' for more details." >&2;}
10151 { (exit 77); exit 77; }; }
10154 ac_exeext
=$ac_cv_exeext
10155 echo "$as_me:$LINENO: result: $ac_file" >&5
10156 echo "${ECHO_T}$ac_file" >&6
10158 # Check the compiler produces executables we can run. If not, either
10159 # the compiler is broken, or we cross compile.
10160 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10161 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10162 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10163 # If not cross compiling, check that we can run a simple program.
10164 if test "$cross_compiling" != yes; then
10165 if { ac_try
='./$ac_file'
10166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10167 (eval $ac_try) 2>&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); }; }; then
10173 if test "$cross_compiling" = maybe
; then
10174 cross_compiling
=yes
10176 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10177 If you meant to cross compile, use \`--host'.
10178 See \`config.log' for more details." >&5
10179 echo "$as_me: error: cannot run C compiled programs.
10180 If you meant to cross compile, use \`--host'.
10181 See \`config.log' for more details." >&2;}
10182 { (exit 1); exit 1; }; }
10186 echo "$as_me:$LINENO: result: yes" >&5
10187 echo "${ECHO_T}yes" >&6
10189 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10190 ac_clean_files
=$ac_clean_files_save
10191 # Check the compiler produces executables we can run. If not, either
10192 # the compiler is broken, or we cross compile.
10193 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10194 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10195 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10196 echo "${ECHO_T}$cross_compiling" >&6
10198 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10199 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10201 (eval $ac_link) 2>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); }; then
10205 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10206 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10207 # work properly (i.e., refer to `conftest.exe'), while it won't with
10209 for ac_file
in conftest.exe conftest conftest.
*; do
10210 test -f "$ac_file" || continue
10212 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10213 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10214 export ac_cv_exeext
10220 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10221 See \`config.log' for more details." >&5
10222 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10223 See \`config.log' for more details." >&2;}
10224 { (exit 1); exit 1; }; }
10227 rm -f conftest
$ac_cv_exeext
10228 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10229 echo "${ECHO_T}$ac_cv_exeext" >&6
10231 rm -f conftest.
$ac_ext
10232 EXEEXT
=$ac_cv_exeext
10234 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10235 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10236 if test "${ac_cv_objext+set}" = set; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10239 cat >conftest.
$ac_ext <<_ACEOF
10240 #line $LINENO "configure"
10243 cat confdefs.h
>>conftest.
$ac_ext
10244 cat >>conftest.
$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10255 rm -f conftest.o conftest.obj
10256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10257 (eval $ac_compile) 2>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; then
10261 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10263 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10264 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10269 echo "$as_me: failed program was:" >&5
10270 sed 's/^/| /' conftest.
$ac_ext >&5
10272 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10273 See \`config.log' for more details." >&5
10274 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10275 See \`config.log' for more details." >&2;}
10276 { (exit 1); exit 1; }; }
10279 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10281 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10282 echo "${ECHO_T}$ac_cv_objext" >&6
10283 OBJEXT
=$ac_cv_objext
10285 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10286 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10287 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10288 echo $ECHO_N "(cached) $ECHO_C" >&6
10290 cat >conftest.
$ac_ext <<_ACEOF
10291 #line $LINENO "configure"
10294 cat confdefs.h
>>conftest.
$ac_ext
10295 cat >>conftest.
$ac_ext <<_ACEOF
10296 /* end confdefs.h. */
10309 rm -f conftest.
$ac_objext
10310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10311 (eval $ac_compile) 2>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } &&
10315 { ac_try
='test -s conftest.$ac_objext'
10316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10317 (eval $ac_try) 2>&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); }; }; then
10321 ac_compiler_gnu
=yes
10323 echo "$as_me: failed program was:" >&5
10324 sed 's/^/| /' conftest.
$ac_ext >&5
10328 rm -f conftest.
$ac_objext conftest.
$ac_ext
10329 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10332 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10333 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10334 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10335 ac_test_CFLAGS
=${CFLAGS+set}
10336 ac_save_CFLAGS
=$CFLAGS
10338 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10339 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10340 if test "${ac_cv_prog_cc_g+set}" = set; then
10341 echo $ECHO_N "(cached) $ECHO_C" >&6
10343 cat >conftest.
$ac_ext <<_ACEOF
10344 #line $LINENO "configure"
10347 cat confdefs.h
>>conftest.
$ac_ext
10348 cat >>conftest.
$ac_ext <<_ACEOF
10349 /* end confdefs.h. */
10359 rm -f conftest.
$ac_objext
10360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10361 (eval $ac_compile) 2>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } &&
10365 { ac_try
='test -s conftest.$ac_objext'
10366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10367 (eval $ac_try) 2>&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); }; }; then
10371 ac_cv_prog_cc_g
=yes
10373 echo "$as_me: failed program was:" >&5
10374 sed 's/^/| /' conftest.
$ac_ext >&5
10378 rm -f conftest.
$ac_objext conftest.
$ac_ext
10380 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10381 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10382 if test "$ac_test_CFLAGS" = set; then
10383 CFLAGS
=$ac_save_CFLAGS
10384 elif test $ac_cv_prog_cc_g = yes; then
10385 if test "$GCC" = yes; then
10391 if test "$GCC" = yes; then
10397 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10398 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10399 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10400 echo $ECHO_N "(cached) $ECHO_C" >&6
10402 ac_cv_prog_cc_stdc
=no
10404 cat >conftest.
$ac_ext <<_ACEOF
10405 #line $LINENO "configure"
10408 cat confdefs.h
>>conftest.
$ac_ext
10409 cat >>conftest.
$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10411 #include <stdarg.h>
10413 #include <sys/types.h>
10414 #include <sys/stat.h>
10415 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10416 struct buf { int x; };
10417 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10418 static char *e (p, i)
10424 static char *f (char * (*g) (char **, int), char **p, ...)
10429 s = g (p, va_arg (v,int));
10433 int test (int i, double x);
10434 struct s1 {int (*f) (int a);};
10435 struct s2 {int (*f) (double a);};
10436 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10442 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10447 # Don't try gcc -ansi; that turns off useful extensions and
10448 # breaks some systems' header files.
10449 # AIX -qlanglvl=ansi
10450 # Ultrix and OSF/1 -std1
10451 # HP-UX 10.20 and later -Ae
10452 # HP-UX older versions -Aa -D_HPUX_SOURCE
10453 # SVR4 -Xc -D__EXTENSIONS__
10454 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10456 CC
="$ac_save_CC $ac_arg"
10457 rm -f conftest.
$ac_objext
10458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10459 (eval $ac_compile) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); } &&
10463 { ac_try
='test -s conftest.$ac_objext'
10464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10465 (eval $ac_try) 2>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }; }; then
10469 ac_cv_prog_cc_stdc
=$ac_arg
10472 echo "$as_me: failed program was:" >&5
10473 sed 's/^/| /' conftest.
$ac_ext >&5
10476 rm -f conftest.
$ac_objext
10478 rm -f conftest.
$ac_ext conftest.
$ac_objext
10483 case "x$ac_cv_prog_cc_stdc" in
10485 echo "$as_me:$LINENO: result: none needed" >&5
10486 echo "${ECHO_T}none needed" >&6 ;;
10488 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10489 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10490 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10493 # Some people use a C++ compiler to compile C. Since we use `exit',
10494 # in C++ we need to declare it. In case someone uses the same compiler
10495 # for both compiling C and C++ we need to have the C++ compiler decide
10496 # the declaration of exit, since it's the most demanding environment.
10497 cat >conftest.
$ac_ext <<_ACEOF
10498 #ifndef __cplusplus
10502 rm -f conftest.
$ac_objext
10503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10504 (eval $ac_compile) 2>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); } &&
10508 { ac_try
='test -s conftest.$ac_objext'
10509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10510 (eval $ac_try) 2>&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); }; }; then
10514 for ac_declaration
in \
10516 '#include <stdlib.h>' \
10517 'extern "C" void std::exit (int) throw (); using std::exit;' \
10518 'extern "C" void std::exit (int); using std::exit;' \
10519 'extern "C" void exit (int) throw ();' \
10520 'extern "C" void exit (int);' \
10523 cat >conftest.
$ac_ext <<_ACEOF
10524 #line $LINENO "configure"
10527 cat confdefs.h
>>conftest.
$ac_ext
10528 cat >>conftest.
$ac_ext <<_ACEOF
10529 /* end confdefs.h. */
10530 #include <stdlib.h>
10540 rm -f conftest.
$ac_objext
10541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10542 (eval $ac_compile) 2>&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } &&
10546 { ac_try
='test -s conftest.$ac_objext'
10547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10548 (eval $ac_try) 2>&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); }; }; then
10554 echo "$as_me: failed program was:" >&5
10555 sed 's/^/| /' conftest.
$ac_ext >&5
10559 rm -f conftest.
$ac_objext conftest.
$ac_ext
10560 cat >conftest.
$ac_ext <<_ACEOF
10561 #line $LINENO "configure"
10564 cat confdefs.h
>>conftest.
$ac_ext
10565 cat >>conftest.
$ac_ext <<_ACEOF
10566 /* end confdefs.h. */
10576 rm -f conftest.
$ac_objext
10577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10578 (eval $ac_compile) 2>&5
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); } &&
10582 { ac_try
='test -s conftest.$ac_objext'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; }; then
10590 echo "$as_me: failed program was:" >&5
10591 sed 's/^/| /' conftest.
$ac_ext >&5
10594 rm -f conftest.
$ac_objext conftest.
$ac_ext
10597 if test -n "$ac_declaration"; then
10598 echo '#ifdef __cplusplus' >>confdefs.h
10599 echo $ac_declaration >>confdefs.h
10600 echo '#endif' >>confdefs.h
10604 echo "$as_me: failed program was:" >&5
10605 sed 's/^/| /' conftest.
$ac_ext >&5
10608 rm -f conftest.
$ac_objext conftest.
$ac_ext
10610 ac_cpp
='$CPP $CPPFLAGS'
10611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10618 ac_cpp
='$CPP $CPPFLAGS'
10619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10622 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10623 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10624 # On Suns, sometimes $CPP names a directory.
10625 if test -n "$CPP" && test -d "$CPP"; then
10628 if test -z "$CPP"; then
10629 if test "${ac_cv_prog_CPP+set}" = set; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10632 # Double quotes because CPP needs to be expanded
10633 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10635 ac_preproc_ok
=false
10636 for ac_c_preproc_warn_flag
in '' yes
10638 # Use a header file that comes with gcc, so configuring glibc
10639 # with a fresh cross-compiler works.
10640 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10641 # <limits.h> exists even on freestanding compilers.
10642 # On the NeXT, cc -E runs the code through the compiler's parser,
10643 # not just through cpp. "Syntax error" is here to catch this case.
10644 cat >conftest.
$ac_ext <<_ACEOF
10645 #line $LINENO "configure"
10648 cat confdefs.h
>>conftest.
$ac_ext
10649 cat >>conftest.
$ac_ext <<_ACEOF
10650 /* end confdefs.h. */
10652 # include <limits.h>
10654 # include <assert.h>
10658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10659 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10661 grep -v '^ *+' conftest.er1
>conftest.err
10663 cat conftest.err
>&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); } >/dev
/null
; then
10666 if test -s conftest.err
; then
10667 ac_cpp_err
=$ac_c_preproc_warn_flag
10674 if test -z "$ac_cpp_err"; then
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.
$ac_ext >&5
10680 # Broken: fails on valid input.
10683 rm -f conftest.err conftest.
$ac_ext
10685 # OK, works on sane cases. Now check whether non-existent headers
10686 # can be detected and how.
10687 cat >conftest.
$ac_ext <<_ACEOF
10688 #line $LINENO "configure"
10691 cat confdefs.h
>>conftest.
$ac_ext
10692 cat >>conftest.
$ac_ext <<_ACEOF
10693 /* end confdefs.h. */
10694 #include <ac_nonexistent.h>
10696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10697 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10699 grep -v '^ *+' conftest.er1
>conftest.err
10701 cat conftest.err
>&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); } >/dev
/null
; then
10704 if test -s conftest.err
; then
10705 ac_cpp_err
=$ac_c_preproc_warn_flag
10712 if test -z "$ac_cpp_err"; then
10713 # Broken: success on invalid input.
10716 echo "$as_me: failed program was:" >&5
10717 sed 's/^/| /' conftest.
$ac_ext >&5
10719 # Passes both tests.
10723 rm -f conftest.err conftest.
$ac_ext
10726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10727 rm -f conftest.err conftest.
$ac_ext
10728 if $ac_preproc_ok; then
10733 ac_cv_prog_CPP
=$CPP
10736 CPP
=$ac_cv_prog_CPP
10738 ac_cv_prog_CPP
=$CPP
10740 echo "$as_me:$LINENO: result: $CPP" >&5
10741 echo "${ECHO_T}$CPP" >&6
10742 ac_preproc_ok
=false
10743 for ac_c_preproc_warn_flag
in '' yes
10745 # Use a header file that comes with gcc, so configuring glibc
10746 # with a fresh cross-compiler works.
10747 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10748 # <limits.h> exists even on freestanding compilers.
10749 # On the NeXT, cc -E runs the code through the compiler's parser,
10750 # not just through cpp. "Syntax error" is here to catch this case.
10751 cat >conftest.
$ac_ext <<_ACEOF
10752 #line $LINENO "configure"
10755 cat confdefs.h
>>conftest.
$ac_ext
10756 cat >>conftest.
$ac_ext <<_ACEOF
10757 /* end confdefs.h. */
10759 # include <limits.h>
10761 # include <assert.h>
10765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10768 grep -v '^ *+' conftest.er1
>conftest.err
10770 cat conftest.err
>&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } >/dev
/null
; then
10773 if test -s conftest.err
; then
10774 ac_cpp_err
=$ac_c_preproc_warn_flag
10781 if test -z "$ac_cpp_err"; then
10784 echo "$as_me: failed program was:" >&5
10785 sed 's/^/| /' conftest.
$ac_ext >&5
10787 # Broken: fails on valid input.
10790 rm -f conftest.err conftest.
$ac_ext
10792 # OK, works on sane cases. Now check whether non-existent headers
10793 # can be detected and how.
10794 cat >conftest.
$ac_ext <<_ACEOF
10795 #line $LINENO "configure"
10798 cat confdefs.h
>>conftest.
$ac_ext
10799 cat >>conftest.
$ac_ext <<_ACEOF
10800 /* end confdefs.h. */
10801 #include <ac_nonexistent.h>
10803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10806 grep -v '^ *+' conftest.er1
>conftest.err
10808 cat conftest.err
>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); } >/dev
/null
; then
10811 if test -s conftest.err
; then
10812 ac_cpp_err
=$ac_c_preproc_warn_flag
10819 if test -z "$ac_cpp_err"; then
10820 # Broken: success on invalid input.
10823 echo "$as_me: failed program was:" >&5
10824 sed 's/^/| /' conftest.
$ac_ext >&5
10826 # Passes both tests.
10830 rm -f conftest.err conftest.
$ac_ext
10833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10834 rm -f conftest.err conftest.
$ac_ext
10835 if $ac_preproc_ok; then
10838 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10839 See \`config.log' for more details." >&5
10840 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10841 See \`config.log' for more details." >&2;}
10842 { (exit 1); exit 1; }; }
10846 ac_cpp
='$CPP $CPPFLAGS'
10847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10852 echo "$as_me:$LINENO: checking for egrep" >&5
10853 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10854 if test "${ac_cv_prog_egrep+set}" = set; then
10855 echo $ECHO_N "(cached) $ECHO_C" >&6
10857 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10858 then ac_cv_prog_egrep
='grep -E'
10859 else ac_cv_prog_egrep
='egrep'
10862 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10863 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10864 EGREP
=$ac_cv_prog_egrep
10867 if test $ac_cv_c_compiler_gnu = yes; then
10868 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10869 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10870 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 ac_pattern
="Autoconf.*'x'"
10874 cat >conftest.
$ac_ext <<_ACEOF
10875 #line $LINENO "configure"
10878 cat confdefs.h
>>conftest.
$ac_ext
10879 cat >>conftest.
$ac_ext <<_ACEOF
10880 /* end confdefs.h. */
10884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10885 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10886 ac_cv_prog_gcc_traditional
=yes
10888 ac_cv_prog_gcc_traditional
=no
10893 if test $ac_cv_prog_gcc_traditional = no
; then
10894 cat >conftest.
$ac_ext <<_ACEOF
10895 #line $LINENO "configure"
10898 cat confdefs.h
>>conftest.
$ac_ext
10899 cat >>conftest.
$ac_ext <<_ACEOF
10900 /* end confdefs.h. */
10901 #include <termio.h>
10904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10905 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10906 ac_cv_prog_gcc_traditional
=yes
10912 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10913 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10914 if test $ac_cv_prog_gcc_traditional = yes; then
10915 CC
="$CC -traditional"
10923 ac_cpp
='$CXXCPP $CPPFLAGS'
10924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10929 CXXFLAGS
=${CXXFLAGS:=}
10931 ac_cpp
='$CXXCPP $CPPFLAGS'
10932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10935 if test -n "$ac_tool_prefix"; then
10936 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10939 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10940 echo "$as_me:$LINENO: checking for $ac_word" >&5
10941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10942 if test "${ac_cv_prog_CXX+set}" = set; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10945 if test -n "$CXX"; then
10946 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10949 for as_dir
in $PATH
10952 test -z "$as_dir" && as_dir
=.
10953 for ac_exec_ext
in '' $ac_executable_extensions; do
10954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10955 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10964 CXX
=$ac_cv_prog_CXX
10965 if test -n "$CXX"; then
10966 echo "$as_me:$LINENO: result: $CXX" >&5
10967 echo "${ECHO_T}$CXX" >&6
10969 echo "$as_me:$LINENO: result: no" >&5
10970 echo "${ECHO_T}no" >&6
10973 test -n "$CXX" && break
10976 if test -z "$CXX"; then
10978 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10980 # Extract the first word of "$ac_prog", so it can be a program name with args.
10981 set dummy
$ac_prog; ac_word
=$2
10982 echo "$as_me:$LINENO: checking for $ac_word" >&5
10983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10984 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 if test -n "$ac_ct_CXX"; then
10988 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10991 for as_dir
in $PATH
10994 test -z "$as_dir" && as_dir
=.
10995 for ac_exec_ext
in '' $ac_executable_extensions; do
10996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10997 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11006 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11007 if test -n "$ac_ct_CXX"; then
11008 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11009 echo "${ECHO_T}$ac_ct_CXX" >&6
11011 echo "$as_me:$LINENO: result: no" >&5
11012 echo "${ECHO_T}no" >&6
11015 test -n "$ac_ct_CXX" && break
11017 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11023 # Provide some information about the compiler.
11024 echo "$as_me:$LINENO:" \
11025 "checking for C++ compiler version" >&5
11026 ac_compiler
=`set X $ac_compile; echo $2`
11027 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11028 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }
11032 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11033 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }
11037 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11038 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); }
11043 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11044 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11045 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 cat >conftest.
$ac_ext <<_ACEOF
11049 #line $LINENO "configure"
11052 cat confdefs.h
>>conftest.
$ac_ext
11053 cat >>conftest.
$ac_ext <<_ACEOF
11054 /* end confdefs.h. */
11067 rm -f conftest.
$ac_objext
11068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11069 (eval $ac_compile) 2>&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); } &&
11073 { ac_try
='test -s conftest.$ac_objext'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then
11079 ac_compiler_gnu
=yes
11081 echo "$as_me: failed program was:" >&5
11082 sed 's/^/| /' conftest.
$ac_ext >&5
11086 rm -f conftest.
$ac_objext conftest.
$ac_ext
11087 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11090 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11091 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11092 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11093 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11094 ac_save_CXXFLAGS
=$CXXFLAGS
11096 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11097 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11098 if test "${ac_cv_prog_cxx_g+set}" = set; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 cat >conftest.
$ac_ext <<_ACEOF
11102 #line $LINENO "configure"
11105 cat confdefs.h
>>conftest.
$ac_ext
11106 cat >>conftest.
$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11117 rm -f conftest.
$ac_objext
11118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } &&
11123 { ac_try
='test -s conftest.$ac_objext'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; }; then
11129 ac_cv_prog_cxx_g
=yes
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.
$ac_ext >&5
11134 ac_cv_prog_cxx_g
=no
11136 rm -f conftest.
$ac_objext conftest.
$ac_ext
11138 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11139 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11140 if test "$ac_test_CXXFLAGS" = set; then
11141 CXXFLAGS
=$ac_save_CXXFLAGS
11142 elif test $ac_cv_prog_cxx_g = yes; then
11143 if test "$GXX" = yes; then
11149 if test "$GXX" = yes; then
11155 for ac_declaration
in \
11157 '#include <stdlib.h>' \
11158 'extern "C" void std::exit (int) throw (); using std::exit;' \
11159 'extern "C" void std::exit (int); using std::exit;' \
11160 'extern "C" void exit (int) throw ();' \
11161 'extern "C" void exit (int);' \
11164 cat >conftest.
$ac_ext <<_ACEOF
11165 #line $LINENO "configure"
11168 cat confdefs.h
>>conftest.
$ac_ext
11169 cat >>conftest.
$ac_ext <<_ACEOF
11170 /* end confdefs.h. */
11171 #include <stdlib.h>
11181 rm -f conftest.
$ac_objext
11182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11183 (eval $ac_compile) 2>&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } &&
11187 { ac_try
='test -s conftest.$ac_objext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.
$ac_ext >&5
11200 rm -f conftest.
$ac_objext conftest.
$ac_ext
11201 cat >conftest.
$ac_ext <<_ACEOF
11202 #line $LINENO "configure"
11205 cat confdefs.h
>>conftest.
$ac_ext
11206 cat >>conftest.
$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11217 rm -f conftest.
$ac_objext
11218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11219 (eval $ac_compile) 2>&5
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); } &&
11223 { ac_try
='test -s conftest.$ac_objext'
11224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11225 (eval $ac_try) 2>&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); }; }; then
11231 echo "$as_me: failed program was:" >&5
11232 sed 's/^/| /' conftest.
$ac_ext >&5
11235 rm -f conftest.
$ac_objext conftest.
$ac_ext
11238 if test -n "$ac_declaration"; then
11239 echo '#ifdef __cplusplus' >>confdefs.h
11240 echo $ac_declaration >>confdefs.h
11241 echo '#endif' >>confdefs.h
11245 ac_cpp
='$CXXCPP $CPPFLAGS'
11246 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11247 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11248 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11252 ac_cpp
='$CPP $CPPFLAGS'
11253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11258 if test -n "$ac_tool_prefix"; then
11259 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11260 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11261 echo "$as_me:$LINENO: checking for $ac_word" >&5
11262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11263 if test "${ac_cv_prog_RANLIB+set}" = set; then
11264 echo $ECHO_N "(cached) $ECHO_C" >&6
11266 if test -n "$RANLIB"; then
11267 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11270 for as_dir
in $PATH
11273 test -z "$as_dir" && as_dir
=.
11274 for ac_exec_ext
in '' $ac_executable_extensions; do
11275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11276 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11285 RANLIB
=$ac_cv_prog_RANLIB
11286 if test -n "$RANLIB"; then
11287 echo "$as_me:$LINENO: result: $RANLIB" >&5
11288 echo "${ECHO_T}$RANLIB" >&6
11290 echo "$as_me:$LINENO: result: no" >&5
11291 echo "${ECHO_T}no" >&6
11295 if test -z "$ac_cv_prog_RANLIB"; then
11296 ac_ct_RANLIB
=$RANLIB
11297 # Extract the first word of "ranlib", so it can be a program name with args.
11298 set dummy ranlib
; ac_word
=$2
11299 echo "$as_me:$LINENO: checking for $ac_word" >&5
11300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11301 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11304 if test -n "$ac_ct_RANLIB"; then
11305 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11308 for as_dir
in $PATH
11311 test -z "$as_dir" && as_dir
=.
11312 for ac_exec_ext
in '' $ac_executable_extensions; do
11313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11314 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11321 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11324 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11325 if test -n "$ac_ct_RANLIB"; then
11326 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11327 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11329 echo "$as_me:$LINENO: result: no" >&5
11330 echo "${ECHO_T}no" >&6
11333 RANLIB
=$ac_ct_RANLIB
11335 RANLIB
="$ac_cv_prog_RANLIB"
11339 # Extract the first word of "ar", so it can be a program name with args.
11340 set dummy
ar; ac_word
=$2
11341 echo "$as_me:$LINENO: checking for $ac_word" >&5
11342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11343 if test "${ac_cv_prog_AR+set}" = set; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11346 if test -n "$AR"; then
11347 ac_cv_prog_AR
="$AR" # Let the user override the test.
11349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11350 for as_dir
in $PATH
11353 test -z "$as_dir" && as_dir
=.
11354 for ac_exec_ext
in '' $ac_executable_extensions; do
11355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11363 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
11367 if test -n "$AR"; then
11368 echo "$as_me:$LINENO: result: $AR" >&5
11369 echo "${ECHO_T}$AR" >&6
11371 echo "$as_me:$LINENO: result: no" >&5
11372 echo "${ECHO_T}no" >&6
11376 # Find a good install program. We prefer a C program (faster),
11377 # so one script is as good as another. But avoid the broken or
11378 # incompatible versions:
11379 # SysV /etc/install, /usr/sbin/install
11380 # SunOS /usr/etc/install
11381 # IRIX /sbin/install
11383 # AmigaOS /C/install, which installs bootblocks on floppy discs
11384 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11385 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11386 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11387 # ./install, which can be erroneously created by make from ./install.sh.
11388 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11389 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11390 if test -z "$INSTALL"; then
11391 if test "${ac_cv_path_install+set}" = set; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11395 for as_dir
in $PATH
11398 test -z "$as_dir" && as_dir
=.
11399 # Account for people who put trailing slashes in PATH elements.
11401 .
/ | .
// | /cC
/* | \
11402 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11405 # OSF1 and SCO ODT 3.0 have their own names for install.
11406 # Don't use installbsd from OSF since it installs stuff as root
11408 for ac_prog
in ginstall scoinst
install; do
11409 for ac_exec_ext
in '' $ac_executable_extensions; do
11410 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11411 if test $ac_prog = install &&
11412 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11413 # AIX install. It has an incompatible calling convention.
11415 elif test $ac_prog = install &&
11416 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11417 # program-specific install script used by HP pwplus--don't use.
11420 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11432 if test "${ac_cv_path_install+set}" = set; then
11433 INSTALL
=$ac_cv_path_install
11435 # As a last resort, use the slow shell script. We don't cache a
11436 # path for INSTALL within a source directory, because that will
11437 # break other packages using the cache if that directory is
11438 # removed, or if the path is relative.
11439 INSTALL
=$ac_install_sh
11442 echo "$as_me:$LINENO: result: $INSTALL" >&5
11443 echo "${ECHO_T}$INSTALL" >&6
11445 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11446 # It thinks the first close brace ends the variable substitution.
11447 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11449 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11451 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11457 ?
:* ) # Drive letter, considered as absolute.
11460 INSTALL
=`pwd`/${INSTALL} ;;
11465 INSTALL_DIR
="mkdir"
11468 *) INSTALL_DIR
="$INSTALL -d"
11475 powerpc
-*-darwin* )
11476 INSTALL_PROGRAM
="cp -fp"
11477 INSTALL_DATA
="cp -fp"
11483 # Extract the first word of "strip", so it can be a program name with args.
11484 set dummy strip
; ac_word
=$2
11485 echo "$as_me:$LINENO: checking for $ac_word" >&5
11486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11487 if test "${ac_cv_prog_STRIP+set}" = set; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 if test -n "$STRIP"; then
11491 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11494 for as_dir
in $PATH
11497 test -z "$as_dir" && as_dir
=.
11498 for ac_exec_ext
in '' $ac_executable_extensions; do
11499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11500 ac_cv_prog_STRIP
="strip"
11501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11507 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11510 STRIP
=$ac_cv_prog_STRIP
11511 if test -n "$STRIP"; then
11512 echo "$as_me:$LINENO: result: $STRIP" >&5
11513 echo "${ECHO_T}$STRIP" >&6
11515 echo "$as_me:$LINENO: result: no" >&5
11516 echo "${ECHO_T}no" >&6
11520 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11521 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11522 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11523 echo $ECHO_N "(cached) $ECHO_C" >&6
11526 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11527 egrep -s GNU
> /dev
/null
); then
11528 wx_cv_prog_makeisgnu
="yes"
11530 wx_cv_prog_makeisgnu
="no"
11534 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11535 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11537 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11545 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11546 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11547 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11548 if test "${wx_cv_prog_makevpath+set}" = set; then
11549 echo $ECHO_N "(cached) $ECHO_C" >&6
11552 cat - << EOF > confMake
11558 if test ! -d sub
; then
11561 echo dummy
> sub
/file
11562 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11564 rm -f sub
/file check final_file confMake
11566 if test "$RESULT" = 0; then
11567 wx_cv_prog_makevpath
="yes"
11569 wx_cv_prog_makevpath
="no"
11573 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11574 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11576 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11577 { { echo "$as_me:$LINENO: error:
11578 You need a make-utility that is able to use the variable
11580 If your version of make does not support VPATH correctly,
11581 please install GNU-make (possibly as gmake), and start
11582 configure with the following command:
11583 export MAKE=gmake; ./configure for sh-type shells
11584 setenv MAKE gmake; ./configure for csh-type shells
11585 Also please do remember to use gmake in this case every time
11586 you are trying to compile.
11588 echo "$as_me: error:
11589 You need a make-utility that is able to use the variable
11591 If your version of make does not support VPATH correctly,
11592 please install GNU-make (possibly as gmake), and start
11593 configure with the following command:
11594 export MAKE=gmake; ./configure for sh-type shells
11595 setenv MAKE gmake; ./configure for csh-type shells
11596 Also please do remember to use gmake in this case every time
11597 you are trying to compile.
11599 { (exit 1); exit 1; }; }
11601 for ac_prog
in 'bison -y' byacc
11603 # Extract the first word of "$ac_prog", so it can be a program name with args.
11604 set dummy
$ac_prog; ac_word
=$2
11605 echo "$as_me:$LINENO: checking for $ac_word" >&5
11606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11607 if test "${ac_cv_prog_YACC+set}" = set; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11610 if test -n "$YACC"; then
11611 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11614 for as_dir
in $PATH
11617 test -z "$as_dir" && as_dir
=.
11618 for ac_exec_ext
in '' $ac_executable_extensions; do
11619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11620 ac_cv_prog_YACC
="$ac_prog"
11621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11629 YACC
=$ac_cv_prog_YACC
11630 if test -n "$YACC"; then
11631 echo "$as_me:$LINENO: result: $YACC" >&5
11632 echo "${ECHO_T}$YACC" >&6
11634 echo "$as_me:$LINENO: result: no" >&5
11635 echo "${ECHO_T}no" >&6
11638 test -n "$YACC" && break
11640 test -n "$YACC" || YACC
="yacc"
11643 for ac_prog
in flex
lex
11645 # Extract the first word of "$ac_prog", so it can be a program name with args.
11646 set dummy
$ac_prog; ac_word
=$2
11647 echo "$as_me:$LINENO: checking for $ac_word" >&5
11648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11649 if test "${ac_cv_prog_LEX+set}" = set; then
11650 echo $ECHO_N "(cached) $ECHO_C" >&6
11652 if test -n "$LEX"; then
11653 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11656 for as_dir
in $PATH
11659 test -z "$as_dir" && as_dir
=.
11660 for ac_exec_ext
in '' $ac_executable_extensions; do
11661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11662 ac_cv_prog_LEX
="$ac_prog"
11663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11671 LEX
=$ac_cv_prog_LEX
11672 if test -n "$LEX"; then
11673 echo "$as_me:$LINENO: result: $LEX" >&5
11674 echo "${ECHO_T}$LEX" >&6
11676 echo "$as_me:$LINENO: result: no" >&5
11677 echo "${ECHO_T}no" >&6
11680 test -n "$LEX" && break
11682 test -n "$LEX" || LEX
=":"
11684 if test -z "$LEXLIB"
11686 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11687 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11688 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11691 ac_check_lib_save_LIBS
=$LIBS
11693 cat >conftest.
$ac_ext <<_ACEOF
11694 #line $LINENO "configure"
11697 cat confdefs.h
>>conftest.
$ac_ext
11698 cat >>conftest.
$ac_ext <<_ACEOF
11699 /* end confdefs.h. */
11701 /* Override any gcc2 internal prototype to avoid an error. */
11705 /* We use char because int might match the return type of a gcc2
11706 builtin and then its argument prototype would still apply. */
11716 rm -f conftest.
$ac_objext conftest
$ac_exeext
11717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11718 (eval $ac_link) 2>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); } &&
11722 { ac_try
='test -s conftest$ac_exeext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 ac_cv_lib_fl_yywrap
=yes
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.
$ac_ext >&5
11733 ac_cv_lib_fl_yywrap
=no
11735 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11736 LIBS
=$ac_check_lib_save_LIBS
11738 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11739 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11740 if test $ac_cv_lib_fl_yywrap = yes; then
11743 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11744 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11745 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11746 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 ac_check_lib_save_LIBS
=$LIBS
11750 cat >conftest.
$ac_ext <<_ACEOF
11751 #line $LINENO "configure"
11754 cat confdefs.h
>>conftest.
$ac_ext
11755 cat >>conftest.
$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11758 /* Override any gcc2 internal prototype to avoid an error. */
11762 /* We use char because int might match the return type of a gcc2
11763 builtin and then its argument prototype would still apply. */
11773 rm -f conftest.
$ac_objext conftest
$ac_exeext
11774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11775 (eval $ac_link) 2>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); } &&
11779 { ac_try
='test -s conftest$ac_exeext'
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; }; then
11785 ac_cv_lib_l_yywrap
=yes
11787 echo "$as_me: failed program was:" >&5
11788 sed 's/^/| /' conftest.
$ac_ext >&5
11790 ac_cv_lib_l_yywrap
=no
11792 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11793 LIBS
=$ac_check_lib_save_LIBS
11795 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11796 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11797 if test $ac_cv_lib_l_yywrap = yes; then
11805 if test "x$LEX" != "x:"; then
11806 echo "$as_me:$LINENO: checking lex output file root" >&5
11807 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11808 if test "${ac_cv_prog_lex_root+set}" = set; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 # The minimal lex program is just a single line: %%. But some broken lexes
11812 # (Solaris, I think it was) want two %% lines, so accommodate them.
11813 cat >conftest.l
<<_ACEOF
11817 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11818 (eval $LEX conftest.l
) 2>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }
11822 if test -f lex.yy.c
; then
11823 ac_cv_prog_lex_root
=lex.yy
11824 elif test -f lexyy.c
; then
11825 ac_cv_prog_lex_root
=lexyy
11827 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11828 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11829 { (exit 1); exit 1; }; }
11832 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11833 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11835 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11837 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11838 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11839 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 # POSIX says lex can declare yytext either as a pointer or an array; the
11843 # default is implementation-dependent. Figure out which it is, since
11844 # not all implementations provide the %pointer and %array declarations.
11845 ac_cv_prog_lex_yytext_pointer
=no
11846 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11848 LIBS
="$LIBS $LEXLIB"
11849 cat >conftest.
$ac_ext <<_ACEOF
11850 `cat $LEX_OUTPUT_ROOT.c`
11852 rm -f conftest.
$ac_objext conftest
$ac_exeext
11853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11854 (eval $ac_link) 2>&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); } &&
11858 { ac_try
='test -s conftest$ac_exeext'
11859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11860 (eval $ac_try) 2>&5
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); }; }; then
11864 ac_cv_prog_lex_yytext_pointer
=yes
11866 echo "$as_me: failed program was:" >&5
11867 sed 's/^/| /' conftest.
$ac_ext >&5
11870 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11872 rm -f "${LEX_OUTPUT_ROOT}.c"
11875 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11876 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11877 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11879 cat >>confdefs.h
<<\_ACEOF
11880 #define YYTEXT_POINTER 1
11887 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11888 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11890 if test "$LN_S" = "ln -s"; then
11891 echo "$as_me:$LINENO: result: yes" >&5
11892 echo "${ECHO_T}yes" >&6
11894 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11895 echo "${ECHO_T}no, using $LN_S" >&6
11900 *-pc-os2_emx | *-pc-os2-emx )
11901 LIBS
="$LIBS -lstdcpp"
11902 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11903 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11904 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11905 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 ac_check_lib_save_LIBS
=$LIBS
11909 LIBS
="-lcExt $LIBS"
11910 cat >conftest.
$ac_ext <<_ACEOF
11911 #line $LINENO "configure"
11914 cat confdefs.h
>>conftest.
$ac_ext
11915 cat >>conftest.
$ac_ext <<_ACEOF
11916 /* end confdefs.h. */
11918 /* Override any gcc2 internal prototype to avoid an error. */
11922 /* We use char because int might match the return type of a gcc2
11923 builtin and then its argument prototype would still apply. */
11933 rm -f conftest.
$ac_objext conftest
$ac_exeext
11934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11935 (eval $ac_link) 2>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); } &&
11939 { ac_try
='test -s conftest$ac_exeext'
11940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11941 (eval $ac_try) 2>&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); }; }; then
11945 ac_cv_lib_cExt_drand48
=yes
11947 echo "$as_me: failed program was:" >&5
11948 sed 's/^/| /' conftest.
$ac_ext >&5
11950 ac_cv_lib_cExt_drand48
=no
11952 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11953 LIBS
=$ac_check_lib_save_LIBS
11955 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11956 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11957 if test $ac_cv_lib_cExt_drand48 = yes; then
11958 LIBS
="$LIBS -lcExt"
11962 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11968 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11969 echo "$as_me:$LINENO: checking for strings.h" >&5
11970 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11971 if test "${ac_cv_header_strings_h+set}" = set; then
11972 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 ac_cv_header_strings_h
=no
11976 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11977 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11978 if test "$ac_cv_header_strings_h" = "no"; then
11979 echo "$as_me:$LINENO: result: forced no into cache" >&5
11980 echo "${ECHO_T}forced no into cache" >&6
11982 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11983 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11986 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11987 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11988 if test "${ac_cv_header_stdc+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11991 cat >conftest.
$ac_ext <<_ACEOF
11992 #line $LINENO "configure"
11995 cat confdefs.h
>>conftest.
$ac_ext
11996 cat >>conftest.
$ac_ext <<_ACEOF
11997 /* end confdefs.h. */
11998 #include <stdlib.h>
11999 #include <stdarg.h>
12000 #include <string.h>
12011 rm -f conftest.
$ac_objext
12012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12013 (eval $ac_compile) 2>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } &&
12017 { ac_try
='test -s conftest.$ac_objext'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; }; then
12023 ac_cv_header_stdc
=yes
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.
$ac_ext >&5
12028 ac_cv_header_stdc
=no
12030 rm -f conftest.
$ac_objext conftest.
$ac_ext
12032 if test $ac_cv_header_stdc = yes; then
12033 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12034 cat >conftest.
$ac_ext <<_ACEOF
12035 #line $LINENO "configure"
12038 cat confdefs.h
>>conftest.
$ac_ext
12039 cat >>conftest.
$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12041 #include <string.h>
12044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12045 $EGREP "memchr" >/dev
/null
2>&1; then
12048 ac_cv_header_stdc
=no
12054 if test $ac_cv_header_stdc = yes; then
12055 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12056 cat >conftest.
$ac_ext <<_ACEOF
12057 #line $LINENO "configure"
12060 cat confdefs.h
>>conftest.
$ac_ext
12061 cat >>conftest.
$ac_ext <<_ACEOF
12062 /* end confdefs.h. */
12063 #include <stdlib.h>
12066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12067 $EGREP "free" >/dev
/null
2>&1; then
12070 ac_cv_header_stdc
=no
12076 if test $ac_cv_header_stdc = yes; then
12077 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12078 if test "$cross_compiling" = yes; then
12081 cat >conftest.
$ac_ext <<_ACEOF
12082 #line $LINENO "configure"
12085 cat confdefs.h
>>conftest.
$ac_ext
12086 cat >>conftest.
$ac_ext <<_ACEOF
12087 /* end confdefs.h. */
12089 #if ((' ' & 0x0FF) == 0x020)
12090 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12091 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12093 # define ISLOWER(c) \
12094 (('a' <= (c) && (c) <= 'i') \
12095 || ('j' <= (c) && (c) <= 'r') \
12096 || ('s' <= (c) && (c) <= 'z'))
12097 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12100 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12105 for (i = 0; i < 256; i++)
12106 if (XOR (islower (i), ISLOWER (i))
12107 || toupper (i) != TOUPPER (i))
12112 rm -f conftest
$ac_exeext
12113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12114 (eval $ac_link) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12119 (eval $ac_try) 2>&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); }; }; then
12125 echo "$as_me: program exited with status $ac_status" >&5
12126 echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.
$ac_ext >&5
12129 ( exit $ac_status )
12130 ac_cv_header_stdc
=no
12132 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12136 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12137 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12138 if test $ac_cv_header_stdc = yes; then
12140 cat >>confdefs.h
<<\_ACEOF
12141 #define STDC_HEADERS 1
12146 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12156 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12157 inttypes.h stdint.h unistd.h
12159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12160 echo "$as_me:$LINENO: checking for $ac_header" >&5
12161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 cat >conftest.
$ac_ext <<_ACEOF
12166 #line $LINENO "configure"
12169 cat confdefs.h
>>conftest.
$ac_ext
12170 cat >>conftest.
$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12172 $ac_includes_default
12174 #include <$ac_header>
12176 rm -f conftest.
$ac_objext
12177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12178 (eval $ac_compile) 2>&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } &&
12182 { ac_try
='test -s conftest.$ac_objext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 eval "$as_ac_Header=yes"
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.
$ac_ext >&5
12193 eval "$as_ac_Header=no"
12195 rm -f conftest.
$ac_objext conftest.
$ac_ext
12197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12200 cat >>confdefs.h
<<_ACEOF
12201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12210 for ac_header
in strings.h
12212 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12214 echo "$as_me:$LINENO: checking for $ac_header" >&5
12215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12222 # Is the header compilable?
12223 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12225 cat >conftest.
$ac_ext <<_ACEOF
12226 #line $LINENO "configure"
12229 cat confdefs.h
>>conftest.
$ac_ext
12230 cat >>conftest.
$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12232 $ac_includes_default
12233 #include <$ac_header>
12235 rm -f conftest.
$ac_objext
12236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12237 (eval $ac_compile) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); } &&
12241 { ac_try
='test -s conftest.$ac_objext'
12242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12243 (eval $ac_try) 2>&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); }; }; then
12247 ac_header_compiler
=yes
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.
$ac_ext >&5
12252 ac_header_compiler
=no
12254 rm -f conftest.
$ac_objext conftest.
$ac_ext
12255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12256 echo "${ECHO_T}$ac_header_compiler" >&6
12258 # Is the header present?
12259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12261 cat >conftest.
$ac_ext <<_ACEOF
12262 #line $LINENO "configure"
12265 cat confdefs.h
>>conftest.
$ac_ext
12266 cat >>conftest.
$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12268 #include <$ac_header>
12270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12273 grep -v '^ *+' conftest.er1
>conftest.err
12275 cat conftest.err
>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } >/dev
/null
; then
12278 if test -s conftest.err
; then
12279 ac_cpp_err
=$ac_c_preproc_warn_flag
12286 if test -z "$ac_cpp_err"; then
12287 ac_header_preproc
=yes
12289 echo "$as_me: failed program was:" >&5
12290 sed 's/^/| /' conftest.
$ac_ext >&5
12292 ac_header_preproc
=no
12294 rm -f conftest.err conftest.
$ac_ext
12295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12296 echo "${ECHO_T}$ac_header_preproc" >&6
12298 # So? What about this header?
12299 case $ac_header_compiler:$ac_header_preproc in
12301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12307 ## ------------------------------------ ##
12308 ## Report this to bug-autoconf@gnu.org. ##
12309 ## ------------------------------------ ##
12312 sed "s/^/$as_me: WARNING: /" >&2
12315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12323 ## ------------------------------------ ##
12324 ## Report this to bug-autoconf@gnu.org. ##
12325 ## ------------------------------------ ##
12328 sed "s/^/$as_me: WARNING: /" >&2
12331 echo "$as_me:$LINENO: checking for $ac_header" >&5
12332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12336 eval "$as_ac_Header=$ac_header_preproc"
12338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12343 cat >>confdefs.h
<<_ACEOF
12344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12353 for ac_header
in stdlib.h
12355 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12357 echo "$as_me:$LINENO: checking for $ac_header" >&5
12358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12360 echo $ECHO_N "(cached) $ECHO_C" >&6
12362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12365 # Is the header compilable?
12366 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12368 cat >conftest.
$ac_ext <<_ACEOF
12369 #line $LINENO "configure"
12372 cat confdefs.h
>>conftest.
$ac_ext
12373 cat >>conftest.
$ac_ext <<_ACEOF
12374 /* end confdefs.h. */
12375 $ac_includes_default
12376 #include <$ac_header>
12378 rm -f conftest.
$ac_objext
12379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12380 (eval $ac_compile) 2>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } &&
12384 { ac_try
='test -s conftest.$ac_objext'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12390 ac_header_compiler
=yes
12392 echo "$as_me: failed program was:" >&5
12393 sed 's/^/| /' conftest.
$ac_ext >&5
12395 ac_header_compiler
=no
12397 rm -f conftest.
$ac_objext conftest.
$ac_ext
12398 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12399 echo "${ECHO_T}$ac_header_compiler" >&6
12401 # Is the header present?
12402 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12403 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12404 cat >conftest.
$ac_ext <<_ACEOF
12405 #line $LINENO "configure"
12408 cat confdefs.h
>>conftest.
$ac_ext
12409 cat >>conftest.
$ac_ext <<_ACEOF
12410 /* end confdefs.h. */
12411 #include <$ac_header>
12413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12414 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12416 grep -v '^ *+' conftest.er1
>conftest.err
12418 cat conftest.err
>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); } >/dev
/null
; then
12421 if test -s conftest.err
; then
12422 ac_cpp_err
=$ac_c_preproc_warn_flag
12429 if test -z "$ac_cpp_err"; then
12430 ac_header_preproc
=yes
12432 echo "$as_me: failed program was:" >&5
12433 sed 's/^/| /' conftest.
$ac_ext >&5
12435 ac_header_preproc
=no
12437 rm -f conftest.err conftest.
$ac_ext
12438 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12439 echo "${ECHO_T}$ac_header_preproc" >&6
12441 # So? What about this header?
12442 case $ac_header_compiler:$ac_header_preproc in
12444 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12445 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12450 ## ------------------------------------ ##
12451 ## Report this to bug-autoconf@gnu.org. ##
12452 ## ------------------------------------ ##
12455 sed "s/^/$as_me: WARNING: /" >&2
12458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12461 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12466 ## ------------------------------------ ##
12467 ## Report this to bug-autoconf@gnu.org. ##
12468 ## ------------------------------------ ##
12471 sed "s/^/$as_me: WARNING: /" >&2
12474 echo "$as_me:$LINENO: checking for $ac_header" >&5
12475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 eval "$as_ac_Header=$ac_header_preproc"
12481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12486 cat >>confdefs.h
<<_ACEOF
12487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12495 for ac_header
in malloc.h
12497 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12499 echo "$as_me:$LINENO: checking for $ac_header" >&5
12500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12507 # Is the header compilable?
12508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12510 cat >conftest.
$ac_ext <<_ACEOF
12511 #line $LINENO "configure"
12514 cat confdefs.h
>>conftest.
$ac_ext
12515 cat >>conftest.
$ac_ext <<_ACEOF
12516 /* end confdefs.h. */
12517 $ac_includes_default
12518 #include <$ac_header>
12520 rm -f conftest.
$ac_objext
12521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12522 (eval $ac_compile) 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); } &&
12526 { ac_try
='test -s conftest.$ac_objext'
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528 (eval $ac_try) 2>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; }; then
12532 ac_header_compiler
=yes
12534 echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.
$ac_ext >&5
12537 ac_header_compiler
=no
12539 rm -f conftest.
$ac_objext conftest.
$ac_ext
12540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12541 echo "${ECHO_T}$ac_header_compiler" >&6
12543 # Is the header present?
12544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12546 cat >conftest.
$ac_ext <<_ACEOF
12547 #line $LINENO "configure"
12550 cat confdefs.h
>>conftest.
$ac_ext
12551 cat >>conftest.
$ac_ext <<_ACEOF
12552 /* end confdefs.h. */
12553 #include <$ac_header>
12555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12556 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12558 grep -v '^ *+' conftest.er1
>conftest.err
12560 cat conftest.err
>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); } >/dev
/null
; then
12563 if test -s conftest.err
; then
12564 ac_cpp_err
=$ac_c_preproc_warn_flag
12571 if test -z "$ac_cpp_err"; then
12572 ac_header_preproc
=yes
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.
$ac_ext >&5
12577 ac_header_preproc
=no
12579 rm -f conftest.err conftest.
$ac_ext
12580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12581 echo "${ECHO_T}$ac_header_preproc" >&6
12583 # So? What about this header?
12584 case $ac_header_compiler:$ac_header_preproc in
12586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12592 ## ------------------------------------ ##
12593 ## Report this to bug-autoconf@gnu.org. ##
12594 ## ------------------------------------ ##
12597 sed "s/^/$as_me: WARNING: /" >&2
12600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12608 ## ------------------------------------ ##
12609 ## Report this to bug-autoconf@gnu.org. ##
12610 ## ------------------------------------ ##
12613 sed "s/^/$as_me: WARNING: /" >&2
12616 echo "$as_me:$LINENO: checking for $ac_header" >&5
12617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12619 echo $ECHO_N "(cached) $ECHO_C" >&6
12621 eval "$as_ac_Header=$ac_header_preproc"
12623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12628 cat >>confdefs.h
<<_ACEOF
12629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12637 for ac_header
in unistd.h
12639 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12641 echo "$as_me:$LINENO: checking for $ac_header" >&5
12642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12649 # Is the header compilable?
12650 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12651 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12652 cat >conftest.
$ac_ext <<_ACEOF
12653 #line $LINENO "configure"
12656 cat confdefs.h
>>conftest.
$ac_ext
12657 cat >>conftest.
$ac_ext <<_ACEOF
12658 /* end confdefs.h. */
12659 $ac_includes_default
12660 #include <$ac_header>
12662 rm -f conftest.
$ac_objext
12663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12664 (eval $ac_compile) 2>&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } &&
12668 { ac_try
='test -s conftest.$ac_objext'
12669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12670 (eval $ac_try) 2>&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); }; }; then
12674 ac_header_compiler
=yes
12676 echo "$as_me: failed program was:" >&5
12677 sed 's/^/| /' conftest.
$ac_ext >&5
12679 ac_header_compiler
=no
12681 rm -f conftest.
$ac_objext conftest.
$ac_ext
12682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12683 echo "${ECHO_T}$ac_header_compiler" >&6
12685 # Is the header present?
12686 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12688 cat >conftest.
$ac_ext <<_ACEOF
12689 #line $LINENO "configure"
12692 cat confdefs.h
>>conftest.
$ac_ext
12693 cat >>conftest.
$ac_ext <<_ACEOF
12694 /* end confdefs.h. */
12695 #include <$ac_header>
12697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12700 grep -v '^ *+' conftest.er1
>conftest.err
12702 cat conftest.err
>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); } >/dev
/null
; then
12705 if test -s conftest.err
; then
12706 ac_cpp_err
=$ac_c_preproc_warn_flag
12713 if test -z "$ac_cpp_err"; then
12714 ac_header_preproc
=yes
12716 echo "$as_me: failed program was:" >&5
12717 sed 's/^/| /' conftest.
$ac_ext >&5
12719 ac_header_preproc
=no
12721 rm -f conftest.err conftest.
$ac_ext
12722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12723 echo "${ECHO_T}$ac_header_preproc" >&6
12725 # So? What about this header?
12726 case $ac_header_compiler:$ac_header_preproc in
12728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12734 ## ------------------------------------ ##
12735 ## Report this to bug-autoconf@gnu.org. ##
12736 ## ------------------------------------ ##
12739 sed "s/^/$as_me: WARNING: /" >&2
12742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12750 ## ------------------------------------ ##
12751 ## Report this to bug-autoconf@gnu.org. ##
12752 ## ------------------------------------ ##
12755 sed "s/^/$as_me: WARNING: /" >&2
12758 echo "$as_me:$LINENO: checking for $ac_header" >&5
12759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 eval "$as_ac_Header=$ac_header_preproc"
12765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12770 cat >>confdefs.h
<<_ACEOF
12771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12779 for ac_header
in wchar.h
12781 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12783 echo "$as_me:$LINENO: checking for $ac_header" >&5
12784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12791 # Is the header compilable?
12792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12794 cat >conftest.
$ac_ext <<_ACEOF
12795 #line $LINENO "configure"
12798 cat confdefs.h
>>conftest.
$ac_ext
12799 cat >>conftest.
$ac_ext <<_ACEOF
12800 /* end confdefs.h. */
12801 $ac_includes_default
12802 #include <$ac_header>
12804 rm -f conftest.
$ac_objext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12806 (eval $ac_compile) 2>&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); } &&
12810 { ac_try
='test -s conftest.$ac_objext'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; }; then
12816 ac_header_compiler
=yes
12818 echo "$as_me: failed program was:" >&5
12819 sed 's/^/| /' conftest.
$ac_ext >&5
12821 ac_header_compiler
=no
12823 rm -f conftest.
$ac_objext conftest.
$ac_ext
12824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12825 echo "${ECHO_T}$ac_header_compiler" >&6
12827 # Is the header present?
12828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12830 cat >conftest.
$ac_ext <<_ACEOF
12831 #line $LINENO "configure"
12834 cat confdefs.h
>>conftest.
$ac_ext
12835 cat >>conftest.
$ac_ext <<_ACEOF
12836 /* end confdefs.h. */
12837 #include <$ac_header>
12839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12840 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12842 grep -v '^ *+' conftest.er1
>conftest.err
12844 cat conftest.err
>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } >/dev
/null
; then
12847 if test -s conftest.err
; then
12848 ac_cpp_err
=$ac_c_preproc_warn_flag
12855 if test -z "$ac_cpp_err"; then
12856 ac_header_preproc
=yes
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.
$ac_ext >&5
12861 ac_header_preproc
=no
12863 rm -f conftest.err conftest.
$ac_ext
12864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12865 echo "${ECHO_T}$ac_header_preproc" >&6
12867 # So? What about this header?
12868 case $ac_header_compiler:$ac_header_preproc in
12870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12876 ## ------------------------------------ ##
12877 ## Report this to bug-autoconf@gnu.org. ##
12878 ## ------------------------------------ ##
12881 sed "s/^/$as_me: WARNING: /" >&2
12884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12892 ## ------------------------------------ ##
12893 ## Report this to bug-autoconf@gnu.org. ##
12894 ## ------------------------------------ ##
12897 sed "s/^/$as_me: WARNING: /" >&2
12900 echo "$as_me:$LINENO: checking for $ac_header" >&5
12901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12903 echo $ECHO_N "(cached) $ECHO_C" >&6
12905 eval "$as_ac_Header=$ac_header_preproc"
12907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12912 cat >>confdefs.h
<<_ACEOF
12913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12921 if test "$ac_cv_header_wchar_h" != "yes"; then
12923 for ac_header
in wcstr.h
12925 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12927 echo "$as_me:$LINENO: checking for $ac_header" >&5
12928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12930 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12935 # Is the header compilable?
12936 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12938 cat >conftest.
$ac_ext <<_ACEOF
12939 #line $LINENO "configure"
12942 cat confdefs.h
>>conftest.
$ac_ext
12943 cat >>conftest.
$ac_ext <<_ACEOF
12944 /* end confdefs.h. */
12945 $ac_includes_default
12946 #include <$ac_header>
12948 rm -f conftest.
$ac_objext
12949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12950 (eval $ac_compile) 2>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } &&
12954 { ac_try
='test -s conftest.$ac_objext'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; }; then
12960 ac_header_compiler
=yes
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.
$ac_ext >&5
12965 ac_header_compiler
=no
12967 rm -f conftest.
$ac_objext conftest.
$ac_ext
12968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12969 echo "${ECHO_T}$ac_header_compiler" >&6
12971 # Is the header present?
12972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12974 cat >conftest.
$ac_ext <<_ACEOF
12975 #line $LINENO "configure"
12978 cat confdefs.h
>>conftest.
$ac_ext
12979 cat >>conftest.
$ac_ext <<_ACEOF
12980 /* end confdefs.h. */
12981 #include <$ac_header>
12983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12986 grep -v '^ *+' conftest.er1
>conftest.err
12988 cat conftest.err
>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } >/dev
/null
; then
12991 if test -s conftest.err
; then
12992 ac_cpp_err
=$ac_c_preproc_warn_flag
12999 if test -z "$ac_cpp_err"; then
13000 ac_header_preproc
=yes
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.
$ac_ext >&5
13005 ac_header_preproc
=no
13007 rm -f conftest.err conftest.
$ac_ext
13008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13009 echo "${ECHO_T}$ac_header_preproc" >&6
13011 # So? What about this header?
13012 case $ac_header_compiler:$ac_header_preproc in
13014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13020 ## ------------------------------------ ##
13021 ## Report this to bug-autoconf@gnu.org. ##
13022 ## ------------------------------------ ##
13025 sed "s/^/$as_me: WARNING: /" >&2
13028 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13029 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13030 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13031 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13036 ## ------------------------------------ ##
13037 ## Report this to bug-autoconf@gnu.org. ##
13038 ## ------------------------------------ ##
13041 sed "s/^/$as_me: WARNING: /" >&2
13044 echo "$as_me:$LINENO: checking for $ac_header" >&5
13045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 eval "$as_ac_Header=$ac_header_preproc"
13051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13056 cat >>confdefs.h
<<_ACEOF
13057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13067 for ac_header
in fnmatch.h
13069 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13071 echo "$as_me:$LINENO: checking for $ac_header" >&5
13072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13074 echo $ECHO_N "(cached) $ECHO_C" >&6
13076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13079 # Is the header compilable?
13080 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13081 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13082 cat >conftest.
$ac_ext <<_ACEOF
13083 #line $LINENO "configure"
13086 cat confdefs.h
>>conftest.
$ac_ext
13087 cat >>conftest.
$ac_ext <<_ACEOF
13088 /* end confdefs.h. */
13089 $ac_includes_default
13090 #include <$ac_header>
13092 rm -f conftest.
$ac_objext
13093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13094 (eval $ac_compile) 2>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); } &&
13098 { ac_try
='test -s conftest.$ac_objext'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; }; then
13104 ac_header_compiler
=yes
13106 echo "$as_me: failed program was:" >&5
13107 sed 's/^/| /' conftest.
$ac_ext >&5
13109 ac_header_compiler
=no
13111 rm -f conftest.
$ac_objext conftest.
$ac_ext
13112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13113 echo "${ECHO_T}$ac_header_compiler" >&6
13115 # Is the header present?
13116 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13117 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13118 cat >conftest.
$ac_ext <<_ACEOF
13119 #line $LINENO "configure"
13122 cat confdefs.h
>>conftest.
$ac_ext
13123 cat >>conftest.
$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13125 #include <$ac_header>
13127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13130 grep -v '^ *+' conftest.er1
>conftest.err
13132 cat conftest.err
>&5
13133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134 (exit $ac_status); } >/dev
/null
; then
13135 if test -s conftest.err
; then
13136 ac_cpp_err
=$ac_c_preproc_warn_flag
13143 if test -z "$ac_cpp_err"; then
13144 ac_header_preproc
=yes
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.
$ac_ext >&5
13149 ac_header_preproc
=no
13151 rm -f conftest.err conftest.
$ac_ext
13152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13153 echo "${ECHO_T}$ac_header_preproc" >&6
13155 # So? What about this header?
13156 case $ac_header_compiler:$ac_header_preproc in
13158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13164 ## ------------------------------------ ##
13165 ## Report this to bug-autoconf@gnu.org. ##
13166 ## ------------------------------------ ##
13169 sed "s/^/$as_me: WARNING: /" >&2
13172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13180 ## ------------------------------------ ##
13181 ## Report this to bug-autoconf@gnu.org. ##
13182 ## ------------------------------------ ##
13185 sed "s/^/$as_me: WARNING: /" >&2
13188 echo "$as_me:$LINENO: checking for $ac_header" >&5
13189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 eval "$as_ac_Header=$ac_header_preproc"
13195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13200 cat >>confdefs.h
<<_ACEOF
13201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13209 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13211 for ac_func
in fnmatch
13213 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13214 echo "$as_me:$LINENO: checking for $ac_func" >&5
13215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13216 if eval "test \"\${$as_ac_var+set}\" = set"; then
13217 echo $ECHO_N "(cached) $ECHO_C" >&6
13219 cat >conftest.
$ac_ext <<_ACEOF
13220 #line $LINENO "configure"
13223 cat confdefs.h
>>conftest.
$ac_ext
13224 cat >>conftest.
$ac_ext <<_ACEOF
13225 /* end confdefs.h. */
13226 /* System header to define __stub macros and hopefully few prototypes,
13227 which can conflict with char $ac_func (); below.
13228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13229 <limits.h> exists even on freestanding compilers. */
13231 # include <limits.h>
13233 # include <assert.h>
13235 /* Override any gcc2 internal prototype to avoid an error. */
13240 /* We use char because int might match the return type of a gcc2
13241 builtin and then its argument prototype would still apply. */
13243 /* The GNU C library defines this for functions which it implements
13244 to always fail with ENOSYS. Some functions are actually named
13245 something starting with __ and the normal name is an alias. */
13246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13249 char (*f) () = $ac_func;
13258 return f != $ac_func;
13263 rm -f conftest.
$ac_objext conftest
$ac_exeext
13264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13265 (eval $ac_link) 2>&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); } &&
13269 { ac_try
='test -s conftest$ac_exeext'
13270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13271 (eval $ac_try) 2>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); }; }; then
13275 eval "$as_ac_var=yes"
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.
$ac_ext >&5
13280 eval "$as_ac_var=no"
13282 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13286 if test `eval echo '${'$as_ac_var'}'` = yes; then
13287 cat >>confdefs.h
<<_ACEOF
13288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13297 for ac_header
in langinfo.h
13299 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13301 echo "$as_me:$LINENO: checking for $ac_header" >&5
13302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13309 # Is the header compilable?
13310 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13312 cat >conftest.
$ac_ext <<_ACEOF
13313 #line $LINENO "configure"
13316 cat confdefs.h
>>conftest.
$ac_ext
13317 cat >>conftest.
$ac_ext <<_ACEOF
13318 /* end confdefs.h. */
13319 $ac_includes_default
13320 #include <$ac_header>
13322 rm -f conftest.
$ac_objext
13323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13324 (eval $ac_compile) 2>&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); } &&
13328 { ac_try
='test -s conftest.$ac_objext'
13329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13330 (eval $ac_try) 2>&5
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); }; }; then
13334 ac_header_compiler
=yes
13336 echo "$as_me: failed program was:" >&5
13337 sed 's/^/| /' conftest.
$ac_ext >&5
13339 ac_header_compiler
=no
13341 rm -f conftest.
$ac_objext conftest.
$ac_ext
13342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13343 echo "${ECHO_T}$ac_header_compiler" >&6
13345 # Is the header present?
13346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13348 cat >conftest.
$ac_ext <<_ACEOF
13349 #line $LINENO "configure"
13352 cat confdefs.h
>>conftest.
$ac_ext
13353 cat >>conftest.
$ac_ext <<_ACEOF
13354 /* end confdefs.h. */
13355 #include <$ac_header>
13357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13360 grep -v '^ *+' conftest.er1
>conftest.err
13362 cat conftest.err
>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } >/dev
/null
; then
13365 if test -s conftest.err
; then
13366 ac_cpp_err
=$ac_c_preproc_warn_flag
13373 if test -z "$ac_cpp_err"; then
13374 ac_header_preproc
=yes
13376 echo "$as_me: failed program was:" >&5
13377 sed 's/^/| /' conftest.
$ac_ext >&5
13379 ac_header_preproc
=no
13381 rm -f conftest.err conftest.
$ac_ext
13382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13383 echo "${ECHO_T}$ac_header_preproc" >&6
13385 # So? What about this header?
13386 case $ac_header_compiler:$ac_header_preproc in
13388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13394 ## ------------------------------------ ##
13395 ## Report this to bug-autoconf@gnu.org. ##
13396 ## ------------------------------------ ##
13399 sed "s/^/$as_me: WARNING: /" >&2
13402 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13403 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13404 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13405 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13410 ## ------------------------------------ ##
13411 ## Report this to bug-autoconf@gnu.org. ##
13412 ## ------------------------------------ ##
13415 sed "s/^/$as_me: WARNING: /" >&2
13418 echo "$as_me:$LINENO: checking for $ac_header" >&5
13419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13421 echo $ECHO_N "(cached) $ECHO_C" >&6
13423 eval "$as_ac_Header=$ac_header_preproc"
13425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13430 cat >>confdefs.h
<<_ACEOF
13431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13440 *-pc-os2_emx | *-pc-os2-emx )
13441 if test $ac_cv_header_langinfo_h = "yes"; then
13442 LIBS
="$LIBS -lintl"
13447 if test "$wxUSE_GUI" = "yes"; then
13448 if test "$wxUSE_UNIX" = "yes"; then
13450 for ac_header
in X
11/XKBlib.h
13452 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13454 echo "$as_me:$LINENO: checking for $ac_header" >&5
13455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13462 # Is the header compilable?
13463 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13464 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13465 cat >conftest.
$ac_ext <<_ACEOF
13466 #line $LINENO "configure"
13469 cat confdefs.h
>>conftest.
$ac_ext
13470 cat >>conftest.
$ac_ext <<_ACEOF
13471 /* end confdefs.h. */
13472 $ac_includes_default
13473 #include <$ac_header>
13475 rm -f conftest.
$ac_objext
13476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13477 (eval $ac_compile) 2>&5
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); } &&
13481 { ac_try
='test -s conftest.$ac_objext'
13482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13483 (eval $ac_try) 2>&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); }; }; then
13487 ac_header_compiler
=yes
13489 echo "$as_me: failed program was:" >&5
13490 sed 's/^/| /' conftest.
$ac_ext >&5
13492 ac_header_compiler
=no
13494 rm -f conftest.
$ac_objext conftest.
$ac_ext
13495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13496 echo "${ECHO_T}$ac_header_compiler" >&6
13498 # Is the header present?
13499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13501 cat >conftest.
$ac_ext <<_ACEOF
13502 #line $LINENO "configure"
13505 cat confdefs.h
>>conftest.
$ac_ext
13506 cat >>conftest.
$ac_ext <<_ACEOF
13507 /* end confdefs.h. */
13508 #include <$ac_header>
13510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13513 grep -v '^ *+' conftest.er1
>conftest.err
13515 cat conftest.err
>&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); } >/dev
/null
; then
13518 if test -s conftest.err
; then
13519 ac_cpp_err
=$ac_c_preproc_warn_flag
13526 if test -z "$ac_cpp_err"; then
13527 ac_header_preproc
=yes
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.
$ac_ext >&5
13532 ac_header_preproc
=no
13534 rm -f conftest.err conftest.
$ac_ext
13535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13536 echo "${ECHO_T}$ac_header_preproc" >&6
13538 # So? What about this header?
13539 case $ac_header_compiler:$ac_header_preproc in
13541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13547 ## ------------------------------------ ##
13548 ## Report this to bug-autoconf@gnu.org. ##
13549 ## ------------------------------------ ##
13552 sed "s/^/$as_me: WARNING: /" >&2
13555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13563 ## ------------------------------------ ##
13564 ## Report this to bug-autoconf@gnu.org. ##
13565 ## ------------------------------------ ##
13568 sed "s/^/$as_me: WARNING: /" >&2
13571 echo "$as_me:$LINENO: checking for $ac_header" >&5
13572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13574 echo $ECHO_N "(cached) $ECHO_C" >&6
13576 eval "$as_ac_Header=$ac_header_preproc"
13578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13583 cat >>confdefs.h
<<_ACEOF
13584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13595 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13596 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13597 if test "${ac_cv_c_const+set}" = set; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 cat >conftest.
$ac_ext <<_ACEOF
13601 #line $LINENO "configure"
13604 cat confdefs.h
>>conftest.
$ac_ext
13605 cat >>conftest.
$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13611 /* FIXME: Include the comments suggested by Paul. */
13612 #ifndef __cplusplus
13613 /* Ultrix mips cc rejects this. */
13614 typedef int charset[2];
13616 /* SunOS 4.1.1 cc rejects this. */
13617 char const *const *ccp;
13619 /* NEC SVR4.0.2 mips cc rejects this. */
13620 struct point {int x, y;};
13621 static struct point const zero = {0,0};
13622 /* AIX XL C 1.02.0.0 rejects this.
13623 It does not let you subtract one const X* pointer from another in
13624 an arm of an if-expression whose if-part is not a constant
13626 const char *g = "string";
13627 ccp = &g + (g ? g-g : 0);
13628 /* HPUX 7.0 cc rejects these. */
13631 ccp = (char const *const *) p;
13632 { /* SCO 3.2v4 cc rejects this. */
13634 char const *s = 0 ? (char *) 0 : (char const *) 0;
13638 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13639 int x[] = {25, 17};
13640 const int *foo = &x[0];
13643 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13644 typedef const int *iptr;
13648 { /* AIX XL C 1.02.0.0 rejects this saying
13649 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13650 struct s { int j; const int *ap[3]; };
13651 struct s *b; b->j = 5;
13653 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13654 const int foo = 10;
13662 rm -f conftest.
$ac_objext
13663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13664 (eval $ac_compile) 2>&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); } &&
13668 { ac_try
='test -s conftest.$ac_objext'
13669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13670 (eval $ac_try) 2>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); }; }; then
13676 echo "$as_me: failed program was:" >&5
13677 sed 's/^/| /' conftest.
$ac_ext >&5
13681 rm -f conftest.
$ac_objext conftest.
$ac_ext
13683 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13684 echo "${ECHO_T}$ac_cv_c_const" >&6
13685 if test $ac_cv_c_const = no
; then
13687 cat >>confdefs.h
<<\_ACEOF
13693 echo "$as_me:$LINENO: checking for inline" >&5
13694 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13695 if test "${ac_cv_c_inline+set}" = set; then
13696 echo $ECHO_N "(cached) $ECHO_C" >&6
13699 for ac_kw
in inline __inline__ __inline
; do
13700 cat >conftest.
$ac_ext <<_ACEOF
13701 #line $LINENO "configure"
13704 cat confdefs.h
>>conftest.
$ac_ext
13705 cat >>conftest.
$ac_ext <<_ACEOF
13706 /* end confdefs.h. */
13707 #ifndef __cplusplus
13709 static $ac_kw foo_t static_foo () {return 0; }
13710 $ac_kw foo_t foo () {return 0; }
13714 rm -f conftest.
$ac_objext
13715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13716 (eval $ac_compile) 2>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } &&
13720 { ac_try
='test -s conftest.$ac_objext'
13721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13722 (eval $ac_try) 2>&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); }; }; then
13726 ac_cv_c_inline
=$ac_kw; break
13728 echo "$as_me: failed program was:" >&5
13729 sed 's/^/| /' conftest.
$ac_ext >&5
13732 rm -f conftest.
$ac_objext conftest.
$ac_ext
13736 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13737 echo "${ECHO_T}$ac_cv_c_inline" >&6
13738 case $ac_cv_c_inline in
13741 cat >>confdefs.h
<<\_ACEOF
13745 *) cat >>confdefs.h
<<_ACEOF
13746 #define inline $ac_cv_c_inline
13752 echo "$as_me:$LINENO: checking for char" >&5
13753 echo $ECHO_N "checking for char... $ECHO_C" >&6
13754 if test "${ac_cv_type_char+set}" = set; then
13755 echo $ECHO_N "(cached) $ECHO_C" >&6
13757 cat >conftest.
$ac_ext <<_ACEOF
13758 #line $LINENO "configure"
13761 cat confdefs.h
>>conftest.
$ac_ext
13762 cat >>conftest.
$ac_ext <<_ACEOF
13763 /* end confdefs.h. */
13764 $ac_includes_default
13776 rm -f conftest.
$ac_objext
13777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13778 (eval $ac_compile) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); } &&
13782 { ac_try
='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_type_char
=yes
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.
$ac_ext >&5
13795 rm -f conftest.
$ac_objext conftest.
$ac_ext
13797 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13798 echo "${ECHO_T}$ac_cv_type_char" >&6
13800 echo "$as_me:$LINENO: checking size of char" >&5
13801 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13802 if test "${ac_cv_sizeof_char+set}" = set; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 if test "$ac_cv_type_char" = yes; then
13806 # The cast to unsigned long works around a bug in the HP C Compiler
13807 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13808 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13809 # This bug is HP SR number 8606223364.
13810 if test "$cross_compiling" = yes; then
13811 # Depending upon the size, compute the lo and hi bounds.
13812 cat >conftest.
$ac_ext <<_ACEOF
13813 #line $LINENO "configure"
13816 cat confdefs.h
>>conftest.
$ac_ext
13817 cat >>conftest.
$ac_ext <<_ACEOF
13818 /* end confdefs.h. */
13819 $ac_includes_default
13823 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13830 rm -f conftest.
$ac_objext
13831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13832 (eval $ac_compile) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } &&
13836 { ac_try
='test -s conftest.$ac_objext'
13837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13838 (eval $ac_try) 2>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); }; }; then
13844 cat >conftest.
$ac_ext <<_ACEOF
13845 #line $LINENO "configure"
13848 cat confdefs.h
>>conftest.
$ac_ext
13849 cat >>conftest.
$ac_ext <<_ACEOF
13850 /* end confdefs.h. */
13851 $ac_includes_default
13855 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13862 rm -f conftest.
$ac_objext
13863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13864 (eval $ac_compile) 2>&5
13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867 (exit $ac_status); } &&
13868 { ac_try
='test -s conftest.$ac_objext'
13869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13870 (eval $ac_try) 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; }; then
13874 ac_hi
=$ac_mid; break
13876 echo "$as_me: failed program was:" >&5
13877 sed 's/^/| /' conftest.
$ac_ext >&5
13879 ac_lo
=`expr $ac_mid + 1`
13880 if test $ac_lo -le $ac_mid; then
13884 ac_mid
=`expr 2 '*' $ac_mid + 1`
13886 rm -f conftest.
$ac_objext conftest.
$ac_ext
13889 echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.
$ac_ext >&5
13892 cat >conftest.
$ac_ext <<_ACEOF
13893 #line $LINENO "configure"
13896 cat confdefs.h
>>conftest.
$ac_ext
13897 cat >>conftest.
$ac_ext <<_ACEOF
13898 /* end confdefs.h. */
13899 $ac_includes_default
13903 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13910 rm -f conftest.
$ac_objext
13911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13912 (eval $ac_compile) 2>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } &&
13916 { ac_try
='test -s conftest.$ac_objext'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; }; then
13924 cat >conftest.
$ac_ext <<_ACEOF
13925 #line $LINENO "configure"
13928 cat confdefs.h
>>conftest.
$ac_ext
13929 cat >>conftest.
$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 $ac_includes_default
13935 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13942 rm -f conftest.
$ac_objext
13943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13944 (eval $ac_compile) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } &&
13948 { ac_try
='test -s conftest.$ac_objext'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; }; then
13954 ac_lo
=$ac_mid; break
13956 echo "$as_me: failed program was:" >&5
13957 sed 's/^/| /' conftest.
$ac_ext >&5
13959 ac_hi
=`expr '(' $ac_mid ')' - 1`
13960 if test $ac_mid -le $ac_hi; then
13964 ac_mid
=`expr 2 '*' $ac_mid`
13966 rm -f conftest.
$ac_objext conftest.
$ac_ext
13969 echo "$as_me: failed program was:" >&5
13970 sed 's/^/| /' conftest.
$ac_ext >&5
13974 rm -f conftest.
$ac_objext conftest.
$ac_ext
13976 rm -f conftest.
$ac_objext conftest.
$ac_ext
13977 # Binary search between lo and hi bounds.
13978 while test "x$ac_lo" != "x$ac_hi"; do
13979 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13980 cat >conftest.
$ac_ext <<_ACEOF
13981 #line $LINENO "configure"
13984 cat confdefs.h
>>conftest.
$ac_ext
13985 cat >>conftest.
$ac_ext <<_ACEOF
13986 /* end confdefs.h. */
13987 $ac_includes_default
13991 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13998 rm -f conftest.
$ac_objext
13999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14000 (eval $ac_compile) 2>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); } &&
14004 { ac_try
='test -s conftest.$ac_objext'
14005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14006 (eval $ac_try) 2>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); }; }; then
14012 echo "$as_me: failed program was:" >&5
14013 sed 's/^/| /' conftest.
$ac_ext >&5
14015 ac_lo
=`expr '(' $ac_mid ')' + 1`
14017 rm -f conftest.
$ac_objext conftest.
$ac_ext
14020 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14021 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14022 See \`config.log' for more details." >&5
14023 echo "$as_me: error: cannot compute sizeof (char), 77
14024 See \`config.log' for more details." >&2;}
14025 { (exit 1); exit 1; }; } ;;
14028 if test "$cross_compiling" = yes; then
14029 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14030 See \`config.log' for more details." >&5
14031 echo "$as_me: error: cannot run test program while cross compiling
14032 See \`config.log' for more details." >&2;}
14033 { (exit 1); exit 1; }; }
14035 cat >conftest.
$ac_ext <<_ACEOF
14036 #line $LINENO "configure"
14039 cat confdefs.h
>>conftest.
$ac_ext
14040 cat >>conftest.
$ac_ext <<_ACEOF
14041 /* end confdefs.h. */
14042 $ac_includes_default
14043 long longval () { return (long) (sizeof (char)); }
14044 unsigned long ulongval () { return (long) (sizeof (char)); }
14046 #include <stdlib.h>
14051 FILE *f = fopen ("conftest.val", "w");
14054 if (((long) (sizeof (char))) < 0)
14056 long i = longval ();
14057 if (i != ((long) (sizeof (char))))
14059 fprintf (f, "%ld\n", i);
14063 unsigned long i = ulongval ();
14064 if (i != ((long) (sizeof (char))))
14066 fprintf (f, "%lu\n", i);
14068 exit (ferror (f) || fclose (f) != 0);
14074 rm -f conftest
$ac_exeext
14075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14076 (eval $ac_link) 2>&5
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; }; then
14085 ac_cv_sizeof_char
=`cat conftest.val`
14087 echo "$as_me: program exited with status $ac_status" >&5
14088 echo "$as_me: failed program was:" >&5
14089 sed 's/^/| /' conftest.
$ac_ext >&5
14091 ( exit $ac_status )
14092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14093 See \`config.log' for more details." >&5
14094 echo "$as_me: error: cannot compute sizeof (char), 77
14095 See \`config.log' for more details." >&2;}
14096 { (exit 1); exit 1; }; }
14098 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14103 ac_cv_sizeof_char
=0
14106 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14107 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14108 cat >>confdefs.h
<<_ACEOF
14109 #define SIZEOF_CHAR $ac_cv_sizeof_char
14113 echo "$as_me:$LINENO: checking for short" >&5
14114 echo $ECHO_N "checking for short... $ECHO_C" >&6
14115 if test "${ac_cv_type_short+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 cat >conftest.
$ac_ext <<_ACEOF
14119 #line $LINENO "configure"
14122 cat confdefs.h
>>conftest.
$ac_ext
14123 cat >>conftest.
$ac_ext <<_ACEOF
14124 /* end confdefs.h. */
14125 $ac_includes_default
14131 if (sizeof (short))
14137 rm -f conftest.
$ac_objext
14138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14139 (eval $ac_compile) 2>&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); } &&
14143 { ac_try
='test -s conftest.$ac_objext'
14144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145 (eval $ac_try) 2>&5
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); }; }; then
14149 ac_cv_type_short
=yes
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.
$ac_ext >&5
14154 ac_cv_type_short
=no
14156 rm -f conftest.
$ac_objext conftest.
$ac_ext
14158 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14159 echo "${ECHO_T}$ac_cv_type_short" >&6
14161 echo "$as_me:$LINENO: checking size of short" >&5
14162 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14163 if test "${ac_cv_sizeof_short+set}" = set; then
14164 echo $ECHO_N "(cached) $ECHO_C" >&6
14166 if test "$ac_cv_type_short" = yes; then
14167 # The cast to unsigned long works around a bug in the HP C Compiler
14168 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14169 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14170 # This bug is HP SR number 8606223364.
14171 if test "$cross_compiling" = yes; then
14172 # Depending upon the size, compute the lo and hi bounds.
14173 cat >conftest.
$ac_ext <<_ACEOF
14174 #line $LINENO "configure"
14177 cat confdefs.h
>>conftest.
$ac_ext
14178 cat >>conftest.
$ac_ext <<_ACEOF
14179 /* end confdefs.h. */
14180 $ac_includes_default
14184 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14191 rm -f conftest.
$ac_objext
14192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14193 (eval $ac_compile) 2>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); } &&
14197 { ac_try
='test -s conftest.$ac_objext'
14198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14199 (eval $ac_try) 2>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); }; }; then
14205 cat >conftest.
$ac_ext <<_ACEOF
14206 #line $LINENO "configure"
14209 cat confdefs.h
>>conftest.
$ac_ext
14210 cat >>conftest.
$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14212 $ac_includes_default
14216 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14223 rm -f conftest.
$ac_objext
14224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14225 (eval $ac_compile) 2>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } &&
14229 { ac_try
='test -s conftest.$ac_objext'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; }; then
14235 ac_hi
=$ac_mid; break
14237 echo "$as_me: failed program was:" >&5
14238 sed 's/^/| /' conftest.
$ac_ext >&5
14240 ac_lo
=`expr $ac_mid + 1`
14241 if test $ac_lo -le $ac_mid; then
14245 ac_mid
=`expr 2 '*' $ac_mid + 1`
14247 rm -f conftest.
$ac_objext conftest.
$ac_ext
14250 echo "$as_me: failed program was:" >&5
14251 sed 's/^/| /' conftest.
$ac_ext >&5
14253 cat >conftest.
$ac_ext <<_ACEOF
14254 #line $LINENO "configure"
14257 cat confdefs.h
>>conftest.
$ac_ext
14258 cat >>conftest.
$ac_ext <<_ACEOF
14259 /* end confdefs.h. */
14260 $ac_includes_default
14264 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14271 rm -f conftest.
$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } &&
14277 { ac_try
='test -s conftest.$ac_objext'
14278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14279 (eval $ac_try) 2>&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; }; then
14285 cat >conftest.
$ac_ext <<_ACEOF
14286 #line $LINENO "configure"
14289 cat confdefs.h
>>conftest.
$ac_ext
14290 cat >>conftest.
$ac_ext <<_ACEOF
14291 /* end confdefs.h. */
14292 $ac_includes_default
14296 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14303 rm -f conftest.
$ac_objext
14304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14305 (eval $ac_compile) 2>&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); } &&
14309 { ac_try
='test -s conftest.$ac_objext'
14310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14311 (eval $ac_try) 2>&5
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); }; }; then
14315 ac_lo
=$ac_mid; break
14317 echo "$as_me: failed program was:" >&5
14318 sed 's/^/| /' conftest.
$ac_ext >&5
14320 ac_hi
=`expr '(' $ac_mid ')' - 1`
14321 if test $ac_mid -le $ac_hi; then
14325 ac_mid
=`expr 2 '*' $ac_mid`
14327 rm -f conftest.
$ac_objext conftest.
$ac_ext
14330 echo "$as_me: failed program was:" >&5
14331 sed 's/^/| /' conftest.
$ac_ext >&5
14335 rm -f conftest.
$ac_objext conftest.
$ac_ext
14337 rm -f conftest.
$ac_objext conftest.
$ac_ext
14338 # Binary search between lo and hi bounds.
14339 while test "x$ac_lo" != "x$ac_hi"; do
14340 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14341 cat >conftest.
$ac_ext <<_ACEOF
14342 #line $LINENO "configure"
14345 cat confdefs.h
>>conftest.
$ac_ext
14346 cat >>conftest.
$ac_ext <<_ACEOF
14347 /* end confdefs.h. */
14348 $ac_includes_default
14352 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14359 rm -f conftest.
$ac_objext
14360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14361 (eval $ac_compile) 2>&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } &&
14365 { ac_try
='test -s conftest.$ac_objext'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; }; then
14373 echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.
$ac_ext >&5
14376 ac_lo
=`expr '(' $ac_mid ')' + 1`
14378 rm -f conftest.
$ac_objext conftest.
$ac_ext
14381 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14382 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14383 See \`config.log' for more details." >&5
14384 echo "$as_me: error: cannot compute sizeof (short), 77
14385 See \`config.log' for more details." >&2;}
14386 { (exit 1); exit 1; }; } ;;
14389 if test "$cross_compiling" = yes; then
14390 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14391 See \`config.log' for more details." >&5
14392 echo "$as_me: error: cannot run test program while cross compiling
14393 See \`config.log' for more details." >&2;}
14394 { (exit 1); exit 1; }; }
14396 cat >conftest.
$ac_ext <<_ACEOF
14397 #line $LINENO "configure"
14400 cat confdefs.h
>>conftest.
$ac_ext
14401 cat >>conftest.
$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14403 $ac_includes_default
14404 long longval () { return (long) (sizeof (short)); }
14405 unsigned long ulongval () { return (long) (sizeof (short)); }
14407 #include <stdlib.h>
14412 FILE *f = fopen ("conftest.val", "w");
14415 if (((long) (sizeof (short))) < 0)
14417 long i = longval ();
14418 if (i != ((long) (sizeof (short))))
14420 fprintf (f, "%ld\n", i);
14424 unsigned long i = ulongval ();
14425 if (i != ((long) (sizeof (short))))
14427 fprintf (f, "%lu\n", i);
14429 exit (ferror (f) || fclose (f) != 0);
14435 rm -f conftest
$ac_exeext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14437 (eval $ac_link) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14442 (eval $ac_try) 2>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; }; then
14446 ac_cv_sizeof_short
=`cat conftest.val`
14448 echo "$as_me: program exited with status $ac_status" >&5
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.
$ac_ext >&5
14452 ( exit $ac_status )
14453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14454 See \`config.log' for more details." >&5
14455 echo "$as_me: error: cannot compute sizeof (short), 77
14456 See \`config.log' for more details." >&2;}
14457 { (exit 1); exit 1; }; }
14459 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14464 ac_cv_sizeof_short
=0
14467 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14468 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14469 cat >>confdefs.h
<<_ACEOF
14470 #define SIZEOF_SHORT $ac_cv_sizeof_short
14474 echo "$as_me:$LINENO: checking for void *" >&5
14475 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14476 if test "${ac_cv_type_void_p+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 cat >conftest.
$ac_ext <<_ACEOF
14480 #line $LINENO "configure"
14483 cat confdefs.h
>>conftest.
$ac_ext
14484 cat >>conftest.
$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14486 $ac_includes_default
14492 if (sizeof (void *))
14498 rm -f conftest.
$ac_objext
14499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14500 (eval $ac_compile) 2>&5
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); } &&
14504 { ac_try
='test -s conftest.$ac_objext'
14505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14506 (eval $ac_try) 2>&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); }; }; then
14510 ac_cv_type_void_p
=yes
14512 echo "$as_me: failed program was:" >&5
14513 sed 's/^/| /' conftest.
$ac_ext >&5
14515 ac_cv_type_void_p
=no
14517 rm -f conftest.
$ac_objext conftest.
$ac_ext
14519 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14520 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14522 echo "$as_me:$LINENO: checking size of void *" >&5
14523 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14524 if test "${ac_cv_sizeof_void_p+set}" = set; then
14525 echo $ECHO_N "(cached) $ECHO_C" >&6
14527 if test "$ac_cv_type_void_p" = yes; then
14528 # The cast to unsigned long works around a bug in the HP C Compiler
14529 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14530 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14531 # This bug is HP SR number 8606223364.
14532 if test "$cross_compiling" = yes; then
14533 # Depending upon the size, compute the lo and hi bounds.
14534 cat >conftest.
$ac_ext <<_ACEOF
14535 #line $LINENO "configure"
14538 cat confdefs.h
>>conftest.
$ac_ext
14539 cat >>conftest.
$ac_ext <<_ACEOF
14540 /* end confdefs.h. */
14541 $ac_includes_default
14545 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14552 rm -f conftest.
$ac_objext
14553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14554 (eval $ac_compile) 2>&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } &&
14558 { ac_try
='test -s conftest.$ac_objext'
14559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14560 (eval $ac_try) 2>&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); }; }; then
14566 cat >conftest.
$ac_ext <<_ACEOF
14567 #line $LINENO "configure"
14570 cat confdefs.h
>>conftest.
$ac_ext
14571 cat >>conftest.
$ac_ext <<_ACEOF
14572 /* end confdefs.h. */
14573 $ac_includes_default
14577 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14584 rm -f conftest.
$ac_objext
14585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14586 (eval $ac_compile) 2>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try
='test -s conftest.$ac_objext'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; }; then
14596 ac_hi
=$ac_mid; break
14598 echo "$as_me: failed program was:" >&5
14599 sed 's/^/| /' conftest.
$ac_ext >&5
14601 ac_lo
=`expr $ac_mid + 1`
14602 if test $ac_lo -le $ac_mid; then
14606 ac_mid
=`expr 2 '*' $ac_mid + 1`
14608 rm -f conftest.
$ac_objext conftest.
$ac_ext
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.
$ac_ext >&5
14614 cat >conftest.
$ac_ext <<_ACEOF
14615 #line $LINENO "configure"
14618 cat confdefs.h
>>conftest.
$ac_ext
14619 cat >>conftest.
$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14621 $ac_includes_default
14625 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14632 rm -f conftest.
$ac_objext
14633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14634 (eval $ac_compile) 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } &&
14638 { ac_try
='test -s conftest.$ac_objext'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; }; then
14646 cat >conftest.
$ac_ext <<_ACEOF
14647 #line $LINENO "configure"
14650 cat confdefs.h
>>conftest.
$ac_ext
14651 cat >>conftest.
$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653 $ac_includes_default
14657 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14664 rm -f conftest.
$ac_objext
14665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14666 (eval $ac_compile) 2>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); } &&
14670 { ac_try
='test -s conftest.$ac_objext'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; }; then
14676 ac_lo
=$ac_mid; break
14678 echo "$as_me: failed program was:" >&5
14679 sed 's/^/| /' conftest.
$ac_ext >&5
14681 ac_hi
=`expr '(' $ac_mid ')' - 1`
14682 if test $ac_mid -le $ac_hi; then
14686 ac_mid
=`expr 2 '*' $ac_mid`
14688 rm -f conftest.
$ac_objext conftest.
$ac_ext
14691 echo "$as_me: failed program was:" >&5
14692 sed 's/^/| /' conftest.
$ac_ext >&5
14696 rm -f conftest.
$ac_objext conftest.
$ac_ext
14698 rm -f conftest.
$ac_objext conftest.
$ac_ext
14699 # Binary search between lo and hi bounds.
14700 while test "x$ac_lo" != "x$ac_hi"; do
14701 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14702 cat >conftest.
$ac_ext <<_ACEOF
14703 #line $LINENO "configure"
14706 cat confdefs.h
>>conftest.
$ac_ext
14707 cat >>conftest.
$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14709 $ac_includes_default
14713 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14720 rm -f conftest.
$ac_objext
14721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14722 (eval $ac_compile) 2>&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } &&
14726 { ac_try
='test -s conftest.$ac_objext'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; }; then
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.
$ac_ext >&5
14737 ac_lo
=`expr '(' $ac_mid ')' + 1`
14739 rm -f conftest.
$ac_objext conftest.
$ac_ext
14742 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14743 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14744 See \`config.log' for more details." >&5
14745 echo "$as_me: error: cannot compute sizeof (void *), 77
14746 See \`config.log' for more details." >&2;}
14747 { (exit 1); exit 1; }; } ;;
14750 if test "$cross_compiling" = yes; then
14751 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14752 See \`config.log' for more details." >&5
14753 echo "$as_me: error: cannot run test program while cross compiling
14754 See \`config.log' for more details." >&2;}
14755 { (exit 1); exit 1; }; }
14757 cat >conftest.
$ac_ext <<_ACEOF
14758 #line $LINENO "configure"
14761 cat confdefs.h
>>conftest.
$ac_ext
14762 cat >>conftest.
$ac_ext <<_ACEOF
14763 /* end confdefs.h. */
14764 $ac_includes_default
14765 long longval () { return (long) (sizeof (void *)); }
14766 unsigned long ulongval () { return (long) (sizeof (void *)); }
14768 #include <stdlib.h>
14773 FILE *f = fopen ("conftest.val", "w");
14776 if (((long) (sizeof (void *))) < 0)
14778 long i = longval ();
14779 if (i != ((long) (sizeof (void *))))
14781 fprintf (f, "%ld\n", i);
14785 unsigned long i = ulongval ();
14786 if (i != ((long) (sizeof (void *))))
14788 fprintf (f, "%lu\n", i);
14790 exit (ferror (f) || fclose (f) != 0);
14796 rm -f conftest
$ac_exeext
14797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14798 (eval $ac_link) 2>&5
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; }; then
14807 ac_cv_sizeof_void_p
=`cat conftest.val`
14809 echo "$as_me: program exited with status $ac_status" >&5
14810 echo "$as_me: failed program was:" >&5
14811 sed 's/^/| /' conftest.
$ac_ext >&5
14813 ( exit $ac_status )
14814 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14815 See \`config.log' for more details." >&5
14816 echo "$as_me: error: cannot compute sizeof (void *), 77
14817 See \`config.log' for more details." >&2;}
14818 { (exit 1); exit 1; }; }
14820 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14825 ac_cv_sizeof_void_p
=0
14828 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14829 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14830 cat >>confdefs.h
<<_ACEOF
14831 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14835 echo "$as_me:$LINENO: checking for int" >&5
14836 echo $ECHO_N "checking for int... $ECHO_C" >&6
14837 if test "${ac_cv_type_int+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 cat >conftest.
$ac_ext <<_ACEOF
14841 #line $LINENO "configure"
14844 cat confdefs.h
>>conftest.
$ac_ext
14845 cat >>conftest.
$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14847 $ac_includes_default
14859 rm -f conftest.
$ac_objext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14861 (eval $ac_compile) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); } &&
14865 { ac_try
='test -s conftest.$ac_objext'
14866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14867 (eval $ac_try) 2>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; }; then
14873 echo "$as_me: failed program was:" >&5
14874 sed 's/^/| /' conftest.
$ac_ext >&5
14878 rm -f conftest.
$ac_objext conftest.
$ac_ext
14880 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14881 echo "${ECHO_T}$ac_cv_type_int" >&6
14883 echo "$as_me:$LINENO: checking size of int" >&5
14884 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14885 if test "${ac_cv_sizeof_int+set}" = set; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14888 if test "$ac_cv_type_int" = yes; then
14889 # The cast to unsigned long works around a bug in the HP C Compiler
14890 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14891 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14892 # This bug is HP SR number 8606223364.
14893 if test "$cross_compiling" = yes; then
14894 # Depending upon the size, compute the lo and hi bounds.
14895 cat >conftest.
$ac_ext <<_ACEOF
14896 #line $LINENO "configure"
14899 cat confdefs.h
>>conftest.
$ac_ext
14900 cat >>conftest.
$ac_ext <<_ACEOF
14901 /* end confdefs.h. */
14902 $ac_includes_default
14906 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14913 rm -f conftest.
$ac_objext
14914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14915 (eval $ac_compile) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } &&
14919 { ac_try
='test -s conftest.$ac_objext'
14920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14921 (eval $ac_try) 2>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); }; }; then
14927 cat >conftest.
$ac_ext <<_ACEOF
14928 #line $LINENO "configure"
14931 cat confdefs.h
>>conftest.
$ac_ext
14932 cat >>conftest.
$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14934 $ac_includes_default
14938 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14945 rm -f conftest.
$ac_objext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14947 (eval $ac_compile) 2>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); } &&
14951 { ac_try
='test -s conftest.$ac_objext'
14952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14953 (eval $ac_try) 2>&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); }; }; then
14957 ac_hi
=$ac_mid; break
14959 echo "$as_me: failed program was:" >&5
14960 sed 's/^/| /' conftest.
$ac_ext >&5
14962 ac_lo
=`expr $ac_mid + 1`
14963 if test $ac_lo -le $ac_mid; then
14967 ac_mid
=`expr 2 '*' $ac_mid + 1`
14969 rm -f conftest.
$ac_objext conftest.
$ac_ext
14972 echo "$as_me: failed program was:" >&5
14973 sed 's/^/| /' conftest.
$ac_ext >&5
14975 cat >conftest.
$ac_ext <<_ACEOF
14976 #line $LINENO "configure"
14979 cat confdefs.h
>>conftest.
$ac_ext
14980 cat >>conftest.
$ac_ext <<_ACEOF
14981 /* end confdefs.h. */
14982 $ac_includes_default
14986 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14993 rm -f conftest.
$ac_objext
14994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14995 (eval $ac_compile) 2>&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try
='test -s conftest.$ac_objext'
15000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001 (eval $ac_try) 2>&5
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); }; }; then
15007 cat >conftest.
$ac_ext <<_ACEOF
15008 #line $LINENO "configure"
15011 cat confdefs.h
>>conftest.
$ac_ext
15012 cat >>conftest.
$ac_ext <<_ACEOF
15013 /* end confdefs.h. */
15014 $ac_includes_default
15018 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15025 rm -f conftest.
$ac_objext
15026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15027 (eval $ac_compile) 2>&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); } &&
15031 { ac_try
='test -s conftest.$ac_objext'
15032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 (eval $ac_try) 2>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; }; then
15037 ac_lo
=$ac_mid; break
15039 echo "$as_me: failed program was:" >&5
15040 sed 's/^/| /' conftest.
$ac_ext >&5
15042 ac_hi
=`expr '(' $ac_mid ')' - 1`
15043 if test $ac_mid -le $ac_hi; then
15047 ac_mid
=`expr 2 '*' $ac_mid`
15049 rm -f conftest.
$ac_objext conftest.
$ac_ext
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.
$ac_ext >&5
15057 rm -f conftest.
$ac_objext conftest.
$ac_ext
15059 rm -f conftest.
$ac_objext conftest.
$ac_ext
15060 # Binary search between lo and hi bounds.
15061 while test "x$ac_lo" != "x$ac_hi"; do
15062 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15063 cat >conftest.
$ac_ext <<_ACEOF
15064 #line $LINENO "configure"
15067 cat confdefs.h
>>conftest.
$ac_ext
15068 cat >>conftest.
$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15070 $ac_includes_default
15074 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15081 rm -f conftest.
$ac_objext
15082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15083 (eval $ac_compile) 2>&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); } &&
15087 { ac_try
='test -s conftest.$ac_objext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.
$ac_ext >&5
15098 ac_lo
=`expr '(' $ac_mid ')' + 1`
15100 rm -f conftest.
$ac_objext conftest.
$ac_ext
15103 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15104 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15105 See \`config.log' for more details." >&5
15106 echo "$as_me: error: cannot compute sizeof (int), 77
15107 See \`config.log' for more details." >&2;}
15108 { (exit 1); exit 1; }; } ;;
15111 if test "$cross_compiling" = yes; then
15112 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15113 See \`config.log' for more details." >&5
15114 echo "$as_me: error: cannot run test program while cross compiling
15115 See \`config.log' for more details." >&2;}
15116 { (exit 1); exit 1; }; }
15118 cat >conftest.
$ac_ext <<_ACEOF
15119 #line $LINENO "configure"
15122 cat confdefs.h
>>conftest.
$ac_ext
15123 cat >>conftest.
$ac_ext <<_ACEOF
15124 /* end confdefs.h. */
15125 $ac_includes_default
15126 long longval () { return (long) (sizeof (int)); }
15127 unsigned long ulongval () { return (long) (sizeof (int)); }
15129 #include <stdlib.h>
15134 FILE *f = fopen ("conftest.val", "w");
15137 if (((long) (sizeof (int))) < 0)
15139 long i = longval ();
15140 if (i != ((long) (sizeof (int))))
15142 fprintf (f, "%ld\n", i);
15146 unsigned long i = ulongval ();
15147 if (i != ((long) (sizeof (int))))
15149 fprintf (f, "%lu\n", i);
15151 exit (ferror (f) || fclose (f) != 0);
15157 rm -f conftest
$ac_exeext
15158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15159 (eval $ac_link) 2>&5
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; }; then
15168 ac_cv_sizeof_int
=`cat conftest.val`
15170 echo "$as_me: program exited with status $ac_status" >&5
15171 echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.
$ac_ext >&5
15174 ( exit $ac_status )
15175 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15176 See \`config.log' for more details." >&5
15177 echo "$as_me: error: cannot compute sizeof (int), 77
15178 See \`config.log' for more details." >&2;}
15179 { (exit 1); exit 1; }; }
15181 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15189 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15190 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15191 cat >>confdefs.h
<<_ACEOF
15192 #define SIZEOF_INT $ac_cv_sizeof_int
15196 echo "$as_me:$LINENO: checking for long" >&5
15197 echo $ECHO_N "checking for long... $ECHO_C" >&6
15198 if test "${ac_cv_type_long+set}" = set; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15201 cat >conftest.
$ac_ext <<_ACEOF
15202 #line $LINENO "configure"
15205 cat confdefs.h
>>conftest.
$ac_ext
15206 cat >>conftest.
$ac_ext <<_ACEOF
15207 /* end confdefs.h. */
15208 $ac_includes_default
15220 rm -f conftest.
$ac_objext
15221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15222 (eval $ac_compile) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } &&
15226 { ac_try
='test -s conftest.$ac_objext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_cv_type_long
=yes
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.
$ac_ext >&5
15239 rm -f conftest.
$ac_objext conftest.
$ac_ext
15241 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15242 echo "${ECHO_T}$ac_cv_type_long" >&6
15244 echo "$as_me:$LINENO: checking size of long" >&5
15245 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15246 if test "${ac_cv_sizeof_long+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15249 if test "$ac_cv_type_long" = yes; then
15250 # The cast to unsigned long works around a bug in the HP C Compiler
15251 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15252 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15253 # This bug is HP SR number 8606223364.
15254 if test "$cross_compiling" = yes; then
15255 # Depending upon the size, compute the lo and hi bounds.
15256 cat >conftest.
$ac_ext <<_ACEOF
15257 #line $LINENO "configure"
15260 cat confdefs.h
>>conftest.
$ac_ext
15261 cat >>conftest.
$ac_ext <<_ACEOF
15262 /* end confdefs.h. */
15263 $ac_includes_default
15267 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15274 rm -f conftest.
$ac_objext
15275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15276 (eval $ac_compile) 2>&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } &&
15280 { ac_try
='test -s conftest.$ac_objext'
15281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15282 (eval $ac_try) 2>&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); }; }; then
15288 cat >conftest.
$ac_ext <<_ACEOF
15289 #line $LINENO "configure"
15292 cat confdefs.h
>>conftest.
$ac_ext
15293 cat >>conftest.
$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295 $ac_includes_default
15299 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15306 rm -f conftest.
$ac_objext
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); } &&
15312 { ac_try
='test -s conftest.$ac_objext'
15313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15314 (eval $ac_try) 2>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); }; }; then
15318 ac_hi
=$ac_mid; break
15320 echo "$as_me: failed program was:" >&5
15321 sed 's/^/| /' conftest.
$ac_ext >&5
15323 ac_lo
=`expr $ac_mid + 1`
15324 if test $ac_lo -le $ac_mid; then
15328 ac_mid
=`expr 2 '*' $ac_mid + 1`
15330 rm -f conftest.
$ac_objext conftest.
$ac_ext
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.
$ac_ext >&5
15336 cat >conftest.
$ac_ext <<_ACEOF
15337 #line $LINENO "configure"
15340 cat confdefs.h
>>conftest.
$ac_ext
15341 cat >>conftest.
$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15343 $ac_includes_default
15347 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15354 rm -f conftest.
$ac_objext
15355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15356 (eval $ac_compile) 2>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } &&
15360 { ac_try
='test -s conftest.$ac_objext'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; }; then
15368 cat >conftest.
$ac_ext <<_ACEOF
15369 #line $LINENO "configure"
15372 cat confdefs.h
>>conftest.
$ac_ext
15373 cat >>conftest.
$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15375 $ac_includes_default
15379 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15386 rm -f conftest.
$ac_objext
15387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); } &&
15392 { ac_try
='test -s conftest.$ac_objext'
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; }; then
15398 ac_lo
=$ac_mid; break
15400 echo "$as_me: failed program was:" >&5
15401 sed 's/^/| /' conftest.
$ac_ext >&5
15403 ac_hi
=`expr '(' $ac_mid ')' - 1`
15404 if test $ac_mid -le $ac_hi; then
15408 ac_mid
=`expr 2 '*' $ac_mid`
15410 rm -f conftest.
$ac_objext conftest.
$ac_ext
15413 echo "$as_me: failed program was:" >&5
15414 sed 's/^/| /' conftest.
$ac_ext >&5
15418 rm -f conftest.
$ac_objext conftest.
$ac_ext
15420 rm -f conftest.
$ac_objext conftest.
$ac_ext
15421 # Binary search between lo and hi bounds.
15422 while test "x$ac_lo" != "x$ac_hi"; do
15423 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15424 cat >conftest.
$ac_ext <<_ACEOF
15425 #line $LINENO "configure"
15428 cat confdefs.h
>>conftest.
$ac_ext
15429 cat >>conftest.
$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15431 $ac_includes_default
15435 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15442 rm -f conftest.
$ac_objext
15443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15444 (eval $ac_compile) 2>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } &&
15448 { ac_try
='test -s conftest.$ac_objext'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; }; then
15456 echo "$as_me: failed program was:" >&5
15457 sed 's/^/| /' conftest.
$ac_ext >&5
15459 ac_lo
=`expr '(' $ac_mid ')' + 1`
15461 rm -f conftest.
$ac_objext conftest.
$ac_ext
15464 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15465 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15466 See \`config.log' for more details." >&5
15467 echo "$as_me: error: cannot compute sizeof (long), 77
15468 See \`config.log' for more details." >&2;}
15469 { (exit 1); exit 1; }; } ;;
15472 if test "$cross_compiling" = yes; then
15473 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15474 See \`config.log' for more details." >&5
15475 echo "$as_me: error: cannot run test program while cross compiling
15476 See \`config.log' for more details." >&2;}
15477 { (exit 1); exit 1; }; }
15479 cat >conftest.
$ac_ext <<_ACEOF
15480 #line $LINENO "configure"
15483 cat confdefs.h
>>conftest.
$ac_ext
15484 cat >>conftest.
$ac_ext <<_ACEOF
15485 /* end confdefs.h. */
15486 $ac_includes_default
15487 long longval () { return (long) (sizeof (long)); }
15488 unsigned long ulongval () { return (long) (sizeof (long)); }
15490 #include <stdlib.h>
15495 FILE *f = fopen ("conftest.val", "w");
15498 if (((long) (sizeof (long))) < 0)
15500 long i = longval ();
15501 if (i != ((long) (sizeof (long))))
15503 fprintf (f, "%ld\n", i);
15507 unsigned long i = ulongval ();
15508 if (i != ((long) (sizeof (long))))
15510 fprintf (f, "%lu\n", i);
15512 exit (ferror (f) || fclose (f) != 0);
15518 rm -f conftest
$ac_exeext
15519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15520 (eval $ac_link) 2>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525 (eval $ac_try) 2>&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); }; }; then
15529 ac_cv_sizeof_long
=`cat conftest.val`
15531 echo "$as_me: program exited with status $ac_status" >&5
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.
$ac_ext >&5
15535 ( exit $ac_status )
15536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15537 See \`config.log' for more details." >&5
15538 echo "$as_me: error: cannot compute sizeof (long), 77
15539 See \`config.log' for more details." >&2;}
15540 { (exit 1); exit 1; }; }
15542 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15547 ac_cv_sizeof_long
=0
15550 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15551 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15552 cat >>confdefs.h
<<_ACEOF
15553 #define SIZEOF_LONG $ac_cv_sizeof_long
15560 echo "$as_me:$LINENO: checking for long long" >&5
15561 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15562 if test "${ac_cv_type_long_long+set}" = set; then
15563 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 cat >conftest.
$ac_ext <<_ACEOF
15566 #line $LINENO "configure"
15569 cat confdefs.h
>>conftest.
$ac_ext
15570 cat >>conftest.
$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572 $ac_includes_default
15576 if ((long long *) 0)
15578 if (sizeof (long long))
15584 rm -f conftest.
$ac_objext
15585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15586 (eval $ac_compile) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); } &&
15590 { ac_try
='test -s conftest.$ac_objext'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; }; then
15596 ac_cv_type_long_long
=yes
15598 echo "$as_me: failed program was:" >&5
15599 sed 's/^/| /' conftest.
$ac_ext >&5
15601 ac_cv_type_long_long
=no
15603 rm -f conftest.
$ac_objext conftest.
$ac_ext
15605 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15606 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15608 echo "$as_me:$LINENO: checking size of long long" >&5
15609 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15610 if test "${ac_cv_sizeof_long_long+set}" = set; then
15611 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 if test "$ac_cv_type_long_long" = yes; then
15614 # The cast to unsigned long works around a bug in the HP C Compiler
15615 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15616 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15617 # This bug is HP SR number 8606223364.
15618 if test "$cross_compiling" = yes; then
15619 # Depending upon the size, compute the lo and hi bounds.
15620 cat >conftest.
$ac_ext <<_ACEOF
15621 #line $LINENO "configure"
15624 cat confdefs.h
>>conftest.
$ac_ext
15625 cat >>conftest.
$ac_ext <<_ACEOF
15626 /* end confdefs.h. */
15627 $ac_includes_default
15631 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15638 rm -f conftest.
$ac_objext
15639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15640 (eval $ac_compile) 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } &&
15644 { ac_try
='test -s conftest.$ac_objext'
15645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15646 (eval $ac_try) 2>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); }; }; then
15652 cat >conftest.
$ac_ext <<_ACEOF
15653 #line $LINENO "configure"
15656 cat confdefs.h
>>conftest.
$ac_ext
15657 cat >>conftest.
$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 $ac_includes_default
15663 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15670 rm -f conftest.
$ac_objext
15671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15672 (eval $ac_compile) 2>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } &&
15676 { ac_try
='test -s conftest.$ac_objext'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; }; then
15682 ac_hi
=$ac_mid; break
15684 echo "$as_me: failed program was:" >&5
15685 sed 's/^/| /' conftest.
$ac_ext >&5
15687 ac_lo
=`expr $ac_mid + 1`
15688 if test $ac_lo -le $ac_mid; then
15692 ac_mid
=`expr 2 '*' $ac_mid + 1`
15694 rm -f conftest.
$ac_objext conftest.
$ac_ext
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.
$ac_ext >&5
15700 cat >conftest.
$ac_ext <<_ACEOF
15701 #line $LINENO "configure"
15704 cat confdefs.h
>>conftest.
$ac_ext
15705 cat >>conftest.
$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15707 $ac_includes_default
15711 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15718 rm -f conftest.
$ac_objext
15719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15720 (eval $ac_compile) 2>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try
='test -s conftest.$ac_objext'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; }; then
15732 cat >conftest.
$ac_ext <<_ACEOF
15733 #line $LINENO "configure"
15736 cat confdefs.h
>>conftest.
$ac_ext
15737 cat >>conftest.
$ac_ext <<_ACEOF
15738 /* end confdefs.h. */
15739 $ac_includes_default
15743 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15750 rm -f conftest.
$ac_objext
15751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15752 (eval $ac_compile) 2>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); } &&
15756 { ac_try
='test -s conftest.$ac_objext'
15757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15758 (eval $ac_try) 2>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); }; }; then
15762 ac_lo
=$ac_mid; break
15764 echo "$as_me: failed program was:" >&5
15765 sed 's/^/| /' conftest.
$ac_ext >&5
15767 ac_hi
=`expr '(' $ac_mid ')' - 1`
15768 if test $ac_mid -le $ac_hi; then
15772 ac_mid
=`expr 2 '*' $ac_mid`
15774 rm -f conftest.
$ac_objext conftest.
$ac_ext
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.
$ac_ext >&5
15782 rm -f conftest.
$ac_objext conftest.
$ac_ext
15784 rm -f conftest.
$ac_objext conftest.
$ac_ext
15785 # Binary search between lo and hi bounds.
15786 while test "x$ac_lo" != "x$ac_hi"; do
15787 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15788 cat >conftest.
$ac_ext <<_ACEOF
15789 #line $LINENO "configure"
15792 cat confdefs.h
>>conftest.
$ac_ext
15793 cat >>conftest.
$ac_ext <<_ACEOF
15794 /* end confdefs.h. */
15795 $ac_includes_default
15799 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15806 rm -f conftest.
$ac_objext
15807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15808 (eval $ac_compile) 2>&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } &&
15812 { ac_try
='test -s conftest.$ac_objext'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; }; then
15820 echo "$as_me: failed program was:" >&5
15821 sed 's/^/| /' conftest.
$ac_ext >&5
15823 ac_lo
=`expr '(' $ac_mid ')' + 1`
15825 rm -f conftest.
$ac_objext conftest.
$ac_ext
15828 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15829 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15830 See \`config.log' for more details." >&5
15831 echo "$as_me: error: cannot compute sizeof (long long), 77
15832 See \`config.log' for more details." >&2;}
15833 { (exit 1); exit 1; }; } ;;
15836 if test "$cross_compiling" = yes; then
15837 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15838 See \`config.log' for more details." >&5
15839 echo "$as_me: error: cannot run test program while cross compiling
15840 See \`config.log' for more details." >&2;}
15841 { (exit 1); exit 1; }; }
15843 cat >conftest.
$ac_ext <<_ACEOF
15844 #line $LINENO "configure"
15847 cat confdefs.h
>>conftest.
$ac_ext
15848 cat >>conftest.
$ac_ext <<_ACEOF
15849 /* end confdefs.h. */
15850 $ac_includes_default
15851 long longval () { return (long) (sizeof (long long)); }
15852 unsigned long ulongval () { return (long) (sizeof (long long)); }
15854 #include <stdlib.h>
15859 FILE *f = fopen ("conftest.val", "w");
15862 if (((long) (sizeof (long long))) < 0)
15864 long i = longval ();
15865 if (i != ((long) (sizeof (long long))))
15867 fprintf (f, "%ld\n", i);
15871 unsigned long i = ulongval ();
15872 if (i != ((long) (sizeof (long long))))
15874 fprintf (f, "%lu\n", i);
15876 exit (ferror (f) || fclose (f) != 0);
15882 rm -f conftest
$ac_exeext
15883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15884 (eval $ac_link) 2>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; }; then
15893 ac_cv_sizeof_long_long
=`cat conftest.val`
15895 echo "$as_me: program exited with status $ac_status" >&5
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.
$ac_ext >&5
15899 ( exit $ac_status )
15900 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15901 See \`config.log' for more details." >&5
15902 echo "$as_me: error: cannot compute sizeof (long long), 77
15903 See \`config.log' for more details." >&2;}
15904 { (exit 1); exit 1; }; }
15906 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15911 ac_cv_sizeof_long_long
=0
15914 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15915 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15916 cat >>confdefs.h
<<_ACEOF
15917 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15923 echo "$as_me:$LINENO: checking for long long" >&5
15924 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15925 if test "${ac_cv_type_long_long+set}" = set; then
15926 echo $ECHO_N "(cached) $ECHO_C" >&6
15928 cat >conftest.
$ac_ext <<_ACEOF
15929 #line $LINENO "configure"
15932 cat confdefs.h
>>conftest.
$ac_ext
15933 cat >>conftest.
$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935 $ac_includes_default
15939 if ((long long *) 0)
15941 if (sizeof (long long))
15947 rm -f conftest.
$ac_objext
15948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15949 (eval $ac_compile) 2>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); } &&
15953 { ac_try
='test -s conftest.$ac_objext'
15954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; }; then
15959 ac_cv_type_long_long
=yes
15961 echo "$as_me: failed program was:" >&5
15962 sed 's/^/| /' conftest.
$ac_ext >&5
15964 ac_cv_type_long_long
=no
15966 rm -f conftest.
$ac_objext conftest.
$ac_ext
15968 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15969 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15971 echo "$as_me:$LINENO: checking size of long long" >&5
15972 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15973 if test "${ac_cv_sizeof_long_long+set}" = set; then
15974 echo $ECHO_N "(cached) $ECHO_C" >&6
15976 if test "$ac_cv_type_long_long" = yes; then
15977 # The cast to unsigned long works around a bug in the HP C Compiler
15978 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15979 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15980 # This bug is HP SR number 8606223364.
15981 if test "$cross_compiling" = yes; then
15982 # Depending upon the size, compute the lo and hi bounds.
15983 cat >conftest.
$ac_ext <<_ACEOF
15984 #line $LINENO "configure"
15987 cat confdefs.h
>>conftest.
$ac_ext
15988 cat >>conftest.
$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15990 $ac_includes_default
15994 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16001 rm -f conftest.
$ac_objext
16002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16003 (eval $ac_compile) 2>&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } &&
16007 { ac_try
='test -s conftest.$ac_objext'
16008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16009 (eval $ac_try) 2>&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); }; }; then
16015 cat >conftest.
$ac_ext <<_ACEOF
16016 #line $LINENO "configure"
16019 cat confdefs.h
>>conftest.
$ac_ext
16020 cat >>conftest.
$ac_ext <<_ACEOF
16021 /* end confdefs.h. */
16022 $ac_includes_default
16026 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16033 rm -f conftest.
$ac_objext
16034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16035 (eval $ac_compile) 2>&5
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } &&
16039 { ac_try
='test -s conftest.$ac_objext'
16040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041 (eval $ac_try) 2>&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); }; }; then
16045 ac_hi
=$ac_mid; break
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.
$ac_ext >&5
16050 ac_lo
=`expr $ac_mid + 1`
16051 if test $ac_lo -le $ac_mid; then
16055 ac_mid
=`expr 2 '*' $ac_mid + 1`
16057 rm -f conftest.
$ac_objext conftest.
$ac_ext
16060 echo "$as_me: failed program was:" >&5
16061 sed 's/^/| /' conftest.
$ac_ext >&5
16063 cat >conftest.
$ac_ext <<_ACEOF
16064 #line $LINENO "configure"
16067 cat confdefs.h
>>conftest.
$ac_ext
16068 cat >>conftest.
$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 $ac_includes_default
16074 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16081 rm -f conftest.
$ac_objext
16082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16083 (eval $ac_compile) 2>&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } &&
16087 { ac_try
='test -s conftest.$ac_objext'
16088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089 (eval $ac_try) 2>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; }; then
16095 cat >conftest.
$ac_ext <<_ACEOF
16096 #line $LINENO "configure"
16099 cat confdefs.h
>>conftest.
$ac_ext
16100 cat >>conftest.
$ac_ext <<_ACEOF
16101 /* end confdefs.h. */
16102 $ac_includes_default
16106 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16113 rm -f conftest.
$ac_objext
16114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16115 (eval $ac_compile) 2>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } &&
16119 { ac_try
='test -s conftest.$ac_objext'
16120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121 (eval $ac_try) 2>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); }; }; then
16125 ac_lo
=$ac_mid; break
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.
$ac_ext >&5
16130 ac_hi
=`expr '(' $ac_mid ')' - 1`
16131 if test $ac_mid -le $ac_hi; then
16135 ac_mid
=`expr 2 '*' $ac_mid`
16137 rm -f conftest.
$ac_objext conftest.
$ac_ext
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.
$ac_ext >&5
16145 rm -f conftest.
$ac_objext conftest.
$ac_ext
16147 rm -f conftest.
$ac_objext conftest.
$ac_ext
16148 # Binary search between lo and hi bounds.
16149 while test "x$ac_lo" != "x$ac_hi"; do
16150 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16151 cat >conftest.
$ac_ext <<_ACEOF
16152 #line $LINENO "configure"
16155 cat confdefs.h
>>conftest.
$ac_ext
16156 cat >>conftest.
$ac_ext <<_ACEOF
16157 /* end confdefs.h. */
16158 $ac_includes_default
16162 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16169 rm -f conftest.
$ac_objext
16170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16171 (eval $ac_compile) 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } &&
16175 { ac_try
='test -s conftest.$ac_objext'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; }; then
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.
$ac_ext >&5
16186 ac_lo
=`expr '(' $ac_mid ')' + 1`
16188 rm -f conftest.
$ac_objext conftest.
$ac_ext
16191 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16192 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16193 See \`config.log' for more details." >&5
16194 echo "$as_me: error: cannot compute sizeof (long long), 77
16195 See \`config.log' for more details." >&2;}
16196 { (exit 1); exit 1; }; } ;;
16199 if test "$cross_compiling" = yes; then
16200 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16201 See \`config.log' for more details." >&5
16202 echo "$as_me: error: cannot run test program while cross compiling
16203 See \`config.log' for more details." >&2;}
16204 { (exit 1); exit 1; }; }
16206 cat >conftest.
$ac_ext <<_ACEOF
16207 #line $LINENO "configure"
16210 cat confdefs.h
>>conftest.
$ac_ext
16211 cat >>conftest.
$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16213 $ac_includes_default
16214 long longval () { return (long) (sizeof (long long)); }
16215 unsigned long ulongval () { return (long) (sizeof (long long)); }
16217 #include <stdlib.h>
16222 FILE *f = fopen ("conftest.val", "w");
16225 if (((long) (sizeof (long long))) < 0)
16227 long i = longval ();
16228 if (i != ((long) (sizeof (long long))))
16230 fprintf (f, "%ld\n", i);
16234 unsigned long i = ulongval ();
16235 if (i != ((long) (sizeof (long long))))
16237 fprintf (f, "%lu\n", i);
16239 exit (ferror (f) || fclose (f) != 0);
16245 rm -f conftest
$ac_exeext
16246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16247 (eval $ac_link) 2>&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252 (eval $ac_try) 2>&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); }; }; then
16256 ac_cv_sizeof_long_long
=`cat conftest.val`
16258 echo "$as_me: program exited with status $ac_status" >&5
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.
$ac_ext >&5
16262 ( exit $ac_status )
16263 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16264 See \`config.log' for more details." >&5
16265 echo "$as_me: error: cannot compute sizeof (long long), 77
16266 See \`config.log' for more details." >&2;}
16267 { (exit 1); exit 1; }; }
16269 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16274 ac_cv_sizeof_long_long
=0
16277 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16278 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16279 cat >>confdefs.h
<<_ACEOF
16280 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16284 if test "$ac_cv_sizeof_long_long" != "0"; then
16285 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16289 echo "$as_me:$LINENO: checking for long long" >&5
16290 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16291 if test "${ac_cv_type_long_long+set}" = set; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 cat >conftest.
$ac_ext <<_ACEOF
16295 #line $LINENO "configure"
16298 cat confdefs.h
>>conftest.
$ac_ext
16299 cat >>conftest.
$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 $ac_includes_default
16305 if ((long long *) 0)
16307 if (sizeof (long long))
16313 rm -f conftest.
$ac_objext
16314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16315 (eval $ac_compile) 2>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } &&
16319 { ac_try
='test -s conftest.$ac_objext'
16320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16321 (eval $ac_try) 2>&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); }; }; then
16325 ac_cv_type_long_long
=yes
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.
$ac_ext >&5
16330 ac_cv_type_long_long
=no
16332 rm -f conftest.
$ac_objext conftest.
$ac_ext
16334 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16335 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16337 echo "$as_me:$LINENO: checking size of long long" >&5
16338 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16339 if test "${ac_cv_sizeof_long_long+set}" = set; then
16340 echo $ECHO_N "(cached) $ECHO_C" >&6
16342 if test "$ac_cv_type_long_long" = yes; then
16343 # The cast to unsigned long works around a bug in the HP C Compiler
16344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16346 # This bug is HP SR number 8606223364.
16347 if test "$cross_compiling" = yes; then
16348 # Depending upon the size, compute the lo and hi bounds.
16349 cat >conftest.
$ac_ext <<_ACEOF
16350 #line $LINENO "configure"
16353 cat confdefs.h
>>conftest.
$ac_ext
16354 cat >>conftest.
$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16356 $ac_includes_default
16360 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16367 rm -f conftest.
$ac_objext
16368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16369 (eval $ac_compile) 2>&5
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); } &&
16373 { ac_try
='test -s conftest.$ac_objext'
16374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16375 (eval $ac_try) 2>&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); }; }; then
16381 cat >conftest.
$ac_ext <<_ACEOF
16382 #line $LINENO "configure"
16385 cat confdefs.h
>>conftest.
$ac_ext
16386 cat >>conftest.
$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16388 $ac_includes_default
16392 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16399 rm -f conftest.
$ac_objext
16400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16401 (eval $ac_compile) 2>&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } &&
16405 { ac_try
='test -s conftest.$ac_objext'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; }; then
16411 ac_hi
=$ac_mid; break
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.
$ac_ext >&5
16416 ac_lo
=`expr $ac_mid + 1`
16417 if test $ac_lo -le $ac_mid; then
16421 ac_mid
=`expr 2 '*' $ac_mid + 1`
16423 rm -f conftest.
$ac_objext conftest.
$ac_ext
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.
$ac_ext >&5
16429 cat >conftest.
$ac_ext <<_ACEOF
16430 #line $LINENO "configure"
16433 cat confdefs.h
>>conftest.
$ac_ext
16434 cat >>conftest.
$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16436 $ac_includes_default
16440 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16447 rm -f conftest.
$ac_objext
16448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16449 (eval $ac_compile) 2>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try
='test -s conftest.$ac_objext'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; }; then
16461 cat >conftest.
$ac_ext <<_ACEOF
16462 #line $LINENO "configure"
16465 cat confdefs.h
>>conftest.
$ac_ext
16466 cat >>conftest.
$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 $ac_includes_default
16472 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16479 rm -f conftest.
$ac_objext
16480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16481 (eval $ac_compile) 2>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } &&
16485 { ac_try
='test -s conftest.$ac_objext'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; }; then
16491 ac_lo
=$ac_mid; break
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.
$ac_ext >&5
16496 ac_hi
=`expr '(' $ac_mid ')' - 1`
16497 if test $ac_mid -le $ac_hi; then
16501 ac_mid
=`expr 2 '*' $ac_mid`
16503 rm -f conftest.
$ac_objext conftest.
$ac_ext
16506 echo "$as_me: failed program was:" >&5
16507 sed 's/^/| /' conftest.
$ac_ext >&5
16511 rm -f conftest.
$ac_objext conftest.
$ac_ext
16513 rm -f conftest.
$ac_objext conftest.
$ac_ext
16514 # Binary search between lo and hi bounds.
16515 while test "x$ac_lo" != "x$ac_hi"; do
16516 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16517 cat >conftest.
$ac_ext <<_ACEOF
16518 #line $LINENO "configure"
16521 cat confdefs.h
>>conftest.
$ac_ext
16522 cat >>conftest.
$ac_ext <<_ACEOF
16523 /* end confdefs.h. */
16524 $ac_includes_default
16528 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16535 rm -f conftest.
$ac_objext
16536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16537 (eval $ac_compile) 2>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try
='test -s conftest.$ac_objext'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; }; then
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.
$ac_ext >&5
16552 ac_lo
=`expr '(' $ac_mid ')' + 1`
16554 rm -f conftest.
$ac_objext conftest.
$ac_ext
16557 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16558 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16559 See \`config.log' for more details." >&5
16560 echo "$as_me: error: cannot compute sizeof (long long), 77
16561 See \`config.log' for more details." >&2;}
16562 { (exit 1); exit 1; }; } ;;
16565 if test "$cross_compiling" = yes; then
16566 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16567 See \`config.log' for more details." >&5
16568 echo "$as_me: error: cannot run test program while cross compiling
16569 See \`config.log' for more details." >&2;}
16570 { (exit 1); exit 1; }; }
16572 cat >conftest.
$ac_ext <<_ACEOF
16573 #line $LINENO "configure"
16576 cat confdefs.h
>>conftest.
$ac_ext
16577 cat >>conftest.
$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 $ac_includes_default
16580 long longval () { return (long) (sizeof (long long)); }
16581 unsigned long ulongval () { return (long) (sizeof (long long)); }
16583 #include <stdlib.h>
16588 FILE *f = fopen ("conftest.val", "w");
16591 if (((long) (sizeof (long long))) < 0)
16593 long i = longval ();
16594 if (i != ((long) (sizeof (long long))))
16596 fprintf (f, "%ld\n", i);
16600 unsigned long i = ulongval ();
16601 if (i != ((long) (sizeof (long long))))
16603 fprintf (f, "%lu\n", i);
16605 exit (ferror (f) || fclose (f) != 0);
16611 rm -f conftest
$ac_exeext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16613 (eval $ac_link) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 ac_cv_sizeof_long_long
=`cat conftest.val`
16624 echo "$as_me: program exited with status $ac_status" >&5
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.
$ac_ext >&5
16628 ( exit $ac_status )
16629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16630 See \`config.log' for more details." >&5
16631 echo "$as_me: error: cannot compute sizeof (long long), 77
16632 See \`config.log' for more details." >&2;}
16633 { (exit 1); exit 1; }; }
16635 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16640 ac_cv_sizeof_long_long
=0
16643 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16644 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16645 cat >>confdefs.h
<<_ACEOF
16646 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16652 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16653 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16654 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16655 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 if test "$cross_compiling" = yes; then
16662 wx_cv_sizeof_wchar_t
=0
16665 wx_cv_sizeof_wchar_t
=4
16671 cat >conftest.
$ac_ext <<_ACEOF
16672 #line $LINENO "configure"
16675 cat confdefs.h
>>conftest.
$ac_ext
16676 cat >>conftest.
$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16679 /* DJGPP only has fake wchar_t: */
16681 # error "fake wchar_t"
16683 #ifdef HAVE_WCHAR_H
16685 # include <stddef.h>
16687 # include <wchar.h>
16689 #ifdef HAVE_STDLIB_H
16690 # include <stdlib.h>
16695 FILE *f=fopen("conftestval", "w");
16697 fprintf(f, "%i", sizeof(wchar_t));
16702 rm -f conftest
$ac_exeext
16703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16704 (eval $ac_link) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; }; then
16713 wx_cv_sizeof_wchar_t
=`cat conftestval`
16715 echo "$as_me: program exited with status $ac_status" >&5
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.
$ac_ext >&5
16719 ( exit $ac_status )
16720 wx_cv_sizeof_wchar_t
=0
16722 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16726 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16727 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16729 cat >>confdefs.h
<<_ACEOF
16730 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16734 # Check whether --enable-largefile or --disable-largefile was given.
16735 if test "${enable_largefile+set}" = set; then
16736 enableval
="$enable_largefile"
16739 if test "$enable_largefile" != no
; then
16742 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16743 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16744 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 cat >conftest.
$ac_ext <<_ACEOF
16749 #line $LINENO "configure"
16752 cat confdefs.h
>>conftest.
$ac_ext
16753 cat >>conftest.
$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16755 #define _FILE_OFFSET_BITS 64
16756 #include <sys/types.h>
16761 unsigned int field: sizeof(off_t) == 8;
16768 rm -f conftest.
$ac_objext
16769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16770 (eval $ac_compile) 2>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } &&
16774 { ac_try
='test -s conftest.$ac_objext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 ac_cv_sys_file_offset_bits
=64
16782 echo "$as_me: failed program was:" >&5
16783 sed 's/^/| /' conftest.
$ac_ext >&5
16785 ac_cv_sys_file_offset_bits
=no
16787 rm -f conftest.
$ac_objext conftest.
$ac_ext
16791 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16792 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16794 if test "$ac_cv_sys_file_offset_bits" != no
; then
16796 cat >>confdefs.h
<<_ACEOF
16797 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16802 if test "x$wx_largefile" != "xyes"; then
16804 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16805 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16806 if test "${ac_cv_sys_large_files+set}" = set; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 cat >conftest.
$ac_ext <<_ACEOF
16811 #line $LINENO "configure"
16814 cat confdefs.h
>>conftest.
$ac_ext
16815 cat >>conftest.
$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16817 #define _LARGE_FILES 1
16818 #include <sys/types.h>
16823 unsigned int field: sizeof(off_t) == 8;
16830 rm -f conftest.
$ac_objext
16831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16832 (eval $ac_compile) 2>&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); } &&
16836 { ac_try
='test -s conftest.$ac_objext'
16837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16838 (eval $ac_try) 2>&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }; }; then
16842 ac_cv_sys_large_files
=1
16844 echo "$as_me: failed program was:" >&5
16845 sed 's/^/| /' conftest.
$ac_ext >&5
16847 ac_cv_sys_large_files
=no
16849 rm -f conftest.
$ac_objext conftest.
$ac_ext
16853 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16854 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16856 if test "$ac_cv_sys_large_files" != no
; then
16858 cat >>confdefs.h
<<_ACEOF
16859 #define _LARGE_FILES $ac_cv_sys_large_files
16866 echo "$as_me:$LINENO: checking if large file support is available" >&5
16867 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16868 if test "x$wx_largefile" = "xyes"; then
16869 cat >>confdefs.h
<<\_ACEOF
16870 #define HAVE_LARGEFILE_SUPPORT 1
16874 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16875 echo "${ECHO_T}$wx_largefile" >&6
16879 if test "x$wx_largefile" = "xyes"; then
16880 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16881 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16883 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16885 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16888 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16889 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16890 if test "${ac_cv_c_bigendian+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 ac_cv_c_bigendian
=unknown
16894 # See if sys/param.h defines the BYTE_ORDER macro.
16895 cat >conftest.
$ac_ext <<_ACEOF
16896 #line $LINENO "configure"
16899 cat confdefs.h
>>conftest.
$ac_ext
16900 cat >>conftest.
$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16902 #include <sys/types.h>
16903 #include <sys/param.h>
16908 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16909 bogus endian macros
16915 rm -f conftest.
$ac_objext
16916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16917 (eval $ac_compile) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } &&
16921 { ac_try
='test -s conftest.$ac_objext'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; }; then
16927 # It does; now see whether it defined to BIG_ENDIAN or not.
16928 cat >conftest.
$ac_ext <<_ACEOF
16929 #line $LINENO "configure"
16932 cat confdefs.h
>>conftest.
$ac_ext
16933 cat >>conftest.
$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935 #include <sys/types.h>
16936 #include <sys/param.h>
16941 #if BYTE_ORDER != BIG_ENDIAN
16948 rm -f conftest.
$ac_objext
16949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16950 (eval $ac_compile) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } &&
16954 { ac_try
='test -s conftest.$ac_objext'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; }; then
16960 ac_cv_c_bigendian
=yes
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.
$ac_ext >&5
16965 ac_cv_c_bigendian
=no
16967 rm -f conftest.
$ac_objext conftest.
$ac_ext
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.
$ac_ext >&5
16973 rm -f conftest.
$ac_objext conftest.
$ac_ext
16974 if test $ac_cv_c_bigendian = unknown
; then
16975 if test "$cross_compiling" = yes; then
16976 ac_cv_c_bigendian
=unknown
16978 cat >conftest.
$ac_ext <<_ACEOF
16979 #line $LINENO "configure"
16982 cat confdefs.h
>>conftest.
$ac_ext
16983 cat >>conftest.
$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16986 /* Are we little or big endian? From Harbison&Steele. */
16990 char c[sizeof (long)];
16993 exit (u.c[sizeof (long) - 1] == 1);
16996 rm -f conftest
$ac_exeext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16998 (eval $ac_link) 2>&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 ac_cv_c_bigendian
=no
17009 echo "$as_me: program exited with status $ac_status" >&5
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.
$ac_ext >&5
17013 ( exit $ac_status )
17014 ac_cv_c_bigendian
=yes
17016 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17020 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17021 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17022 if test $ac_cv_c_bigendian = unknown
; then
17023 { 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
17024 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;}
17026 if test $ac_cv_c_bigendian = yes; then
17027 cat >>confdefs.h
<<\_ACEOF
17028 #define WORDS_BIGENDIAN 1
17036 ac_cpp
='$CXXCPP $CPPFLAGS'
17037 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17038 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17039 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17040 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17041 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17042 if test -z "$CXXCPP"; then
17043 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 # Double quotes because CXXCPP needs to be expanded
17047 for CXXCPP
in "$CXX -E" "/lib/cpp"
17049 ac_preproc_ok
=false
17050 for ac_cxx_preproc_warn_flag
in '' yes
17052 # Use a header file that comes with gcc, so configuring glibc
17053 # with a fresh cross-compiler works.
17054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17055 # <limits.h> exists even on freestanding compilers.
17056 # On the NeXT, cc -E runs the code through the compiler's parser,
17057 # not just through cpp. "Syntax error" is here to catch this case.
17058 cat >conftest.
$ac_ext <<_ACEOF
17059 #line $LINENO "configure"
17062 cat confdefs.h
>>conftest.
$ac_ext
17063 cat >>conftest.
$ac_ext <<_ACEOF
17064 /* end confdefs.h. */
17066 # include <limits.h>
17068 # include <assert.h>
17072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17075 grep -v '^ *+' conftest.er1
>conftest.err
17077 cat conftest.err
>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } >/dev
/null
; then
17080 if test -s conftest.err
; then
17081 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17088 if test -z "$ac_cpp_err"; then
17091 echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.
$ac_ext >&5
17094 # Broken: fails on valid input.
17097 rm -f conftest.err conftest.
$ac_ext
17099 # OK, works on sane cases. Now check whether non-existent headers
17100 # can be detected and how.
17101 cat >conftest.
$ac_ext <<_ACEOF
17102 #line $LINENO "configure"
17105 cat confdefs.h
>>conftest.
$ac_ext
17106 cat >>conftest.
$ac_ext <<_ACEOF
17107 /* end confdefs.h. */
17108 #include <ac_nonexistent.h>
17110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17113 grep -v '^ *+' conftest.er1
>conftest.err
17115 cat conftest.err
>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); } >/dev
/null
; then
17118 if test -s conftest.err
; then
17119 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17126 if test -z "$ac_cpp_err"; then
17127 # Broken: success on invalid input.
17130 echo "$as_me: failed program was:" >&5
17131 sed 's/^/| /' conftest.
$ac_ext >&5
17133 # Passes both tests.
17137 rm -f conftest.err conftest.
$ac_ext
17140 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17141 rm -f conftest.err conftest.
$ac_ext
17142 if $ac_preproc_ok; then
17147 ac_cv_prog_CXXCPP
=$CXXCPP
17150 CXXCPP
=$ac_cv_prog_CXXCPP
17152 ac_cv_prog_CXXCPP
=$CXXCPP
17154 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17155 echo "${ECHO_T}$CXXCPP" >&6
17156 ac_preproc_ok
=false
17157 for ac_cxx_preproc_warn_flag
in '' yes
17159 # Use a header file that comes with gcc, so configuring glibc
17160 # with a fresh cross-compiler works.
17161 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17162 # <limits.h> exists even on freestanding compilers.
17163 # On the NeXT, cc -E runs the code through the compiler's parser,
17164 # not just through cpp. "Syntax error" is here to catch this case.
17165 cat >conftest.
$ac_ext <<_ACEOF
17166 #line $LINENO "configure"
17169 cat confdefs.h
>>conftest.
$ac_ext
17170 cat >>conftest.
$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17173 # include <limits.h>
17175 # include <assert.h>
17179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17180 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17182 grep -v '^ *+' conftest.er1
>conftest.err
17184 cat conftest.err
>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } >/dev
/null
; then
17187 if test -s conftest.err
; then
17188 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17195 if test -z "$ac_cpp_err"; then
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.
$ac_ext >&5
17201 # Broken: fails on valid input.
17204 rm -f conftest.err conftest.
$ac_ext
17206 # OK, works on sane cases. Now check whether non-existent headers
17207 # can be detected and how.
17208 cat >conftest.
$ac_ext <<_ACEOF
17209 #line $LINENO "configure"
17212 cat confdefs.h
>>conftest.
$ac_ext
17213 cat >>conftest.
$ac_ext <<_ACEOF
17214 /* end confdefs.h. */
17215 #include <ac_nonexistent.h>
17217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17218 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17220 grep -v '^ *+' conftest.er1
>conftest.err
17222 cat conftest.err
>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } >/dev
/null
; then
17225 if test -s conftest.err
; then
17226 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17233 if test -z "$ac_cpp_err"; then
17234 # Broken: success on invalid input.
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.
$ac_ext >&5
17240 # Passes both tests.
17244 rm -f conftest.err conftest.
$ac_ext
17247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17248 rm -f conftest.err conftest.
$ac_ext
17249 if $ac_preproc_ok; then
17252 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17253 See \`config.log' for more details." >&5
17254 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17255 See \`config.log' for more details." >&2;}
17256 { (exit 1); exit 1; }; }
17260 ac_cpp
='$CXXCPP $CPPFLAGS'
17261 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17262 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17263 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17267 if test "$cross_compiling" = "yes"; then
17268 cat >>confdefs.h
<<\_ACEOF
17269 #define wxUSE_IOSTREAMH 1
17276 ac_cpp
='$CXXCPP $CPPFLAGS'
17277 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17278 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17279 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17283 for ac_header
in iostream
17285 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17287 echo "$as_me:$LINENO: checking for $ac_header" >&5
17288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17290 echo $ECHO_N "(cached) $ECHO_C" >&6
17292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17295 # Is the header compilable?
17296 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17297 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17298 cat >conftest.
$ac_ext <<_ACEOF
17299 #line $LINENO "configure"
17302 cat confdefs.h
>>conftest.
$ac_ext
17303 cat >>conftest.
$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17305 $ac_includes_default
17306 #include <$ac_header>
17308 rm -f conftest.
$ac_objext
17309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17310 (eval $ac_compile) 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } &&
17314 { ac_try
='test -s conftest.$ac_objext'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17320 ac_header_compiler
=yes
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.
$ac_ext >&5
17325 ac_header_compiler
=no
17327 rm -f conftest.
$ac_objext conftest.
$ac_ext
17328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17329 echo "${ECHO_T}$ac_header_compiler" >&6
17331 # Is the header present?
17332 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17333 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17334 cat >conftest.
$ac_ext <<_ACEOF
17335 #line $LINENO "configure"
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 #include <$ac_header>
17343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17344 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17346 grep -v '^ *+' conftest.er1
>conftest.err
17348 cat conftest.err
>&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); } >/dev
/null
; then
17351 if test -s conftest.err
; then
17352 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17359 if test -z "$ac_cpp_err"; then
17360 ac_header_preproc
=yes
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.
$ac_ext >&5
17365 ac_header_preproc
=no
17367 rm -f conftest.err conftest.
$ac_ext
17368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17369 echo "${ECHO_T}$ac_header_preproc" >&6
17371 # So? What about this header?
17372 case $ac_header_compiler:$ac_header_preproc in
17374 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17375 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17380 ## ------------------------------------ ##
17381 ## Report this to bug-autoconf@gnu.org. ##
17382 ## ------------------------------------ ##
17385 sed "s/^/$as_me: WARNING: /" >&2
17388 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17389 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17390 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17391 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17396 ## ------------------------------------ ##
17397 ## Report this to bug-autoconf@gnu.org. ##
17398 ## ------------------------------------ ##
17401 sed "s/^/$as_me: WARNING: /" >&2
17404 echo "$as_me:$LINENO: checking for $ac_header" >&5
17405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17407 echo $ECHO_N "(cached) $ECHO_C" >&6
17409 eval "$as_ac_Header=$ac_header_preproc"
17411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17416 cat >>confdefs.h
<<_ACEOF
17417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17425 if test "$ac_cv_header_iostream" = "yes" ; then
17428 cat >>confdefs.h
<<\_ACEOF
17429 #define wxUSE_IOSTREAMH 1
17435 ac_cpp
='$CPP $CPPFLAGS'
17436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17444 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17445 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17446 if test "${wx_cv_cpp_bool+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17453 ac_cpp
='$CXXCPP $CPPFLAGS'
17454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17459 cat >conftest.
$ac_ext <<_ACEOF
17460 #line $LINENO "configure"
17463 cat confdefs.h
>>conftest.
$ac_ext
17464 cat >>conftest.
$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17480 rm -f conftest.
$ac_objext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } &&
17486 { ac_try
='test -s conftest.$ac_objext'
17487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488 (eval $ac_try) 2>&5
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; }; then
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.
$ac_ext >&5
17504 rm -f conftest.
$ac_objext conftest.
$ac_ext
17507 ac_cpp
='$CPP $CPPFLAGS'
17508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17514 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17515 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17517 if test "$wx_cv_cpp_bool" = "yes"; then
17518 cat >>confdefs.h
<<\_ACEOF
17519 #define HAVE_BOOL 1
17526 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17527 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17528 if test "${wx_cv_explicit+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17535 ac_cpp
='$CXXCPP $CPPFLAGS'
17536 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17541 cat >conftest.
$ac_ext <<_ACEOF
17542 #line $LINENO "configure"
17545 cat confdefs.h
>>conftest.
$ac_ext
17546 cat >>conftest.
$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17549 class Foo { public: explicit Foo(int) {} };
17561 rm -f conftest.
$ac_objext
17562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } &&
17567 { ac_try
='test -s conftest.$ac_objext'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17574 cat >conftest.
$ac_ext <<_ACEOF
17575 #line $LINENO "configure"
17578 cat confdefs.h
>>conftest.
$ac_ext
17579 cat >>conftest.
$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17582 class Foo { public: explicit Foo(int) {} };
17583 static void TakeFoo(const Foo& foo) { }
17596 rm -f conftest.
$ac_objext
17597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17598 (eval $ac_compile) 2>&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); } &&
17602 { ac_try
='test -s conftest.$ac_objext'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; }; then
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.
$ac_ext >&5
17616 rm -f conftest.
$ac_objext conftest.
$ac_ext
17619 echo "$as_me: failed program was:" >&5
17620 sed 's/^/| /' conftest.
$ac_ext >&5
17625 rm -f conftest.
$ac_objext conftest.
$ac_ext
17628 ac_cpp
='$CPP $CPPFLAGS'
17629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17635 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17636 echo "${ECHO_T}$wx_cv_explicit" >&6
17638 if test "$wx_cv_explicit" = "yes"; then
17639 cat >>confdefs.h
<<\_ACEOF
17640 #define HAVE_EXPLICIT 1
17646 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17647 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17648 if test "${ac_cv_cxx_const_cast+set}" = set; then
17649 echo $ECHO_N "(cached) $ECHO_C" >&6
17654 ac_cpp
='$CXXCPP $CPPFLAGS'
17655 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17656 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17657 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17659 cat >conftest.
$ac_ext <<_ACEOF
17660 #line $LINENO "configure"
17663 cat confdefs.h
>>conftest.
$ac_ext
17664 cat >>conftest.
$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17670 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17675 rm -f conftest.
$ac_objext
17676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17677 (eval $ac_compile) 2>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } &&
17681 { ac_try
='test -s conftest.$ac_objext'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17687 ac_cv_cxx_const_cast
=yes
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.
$ac_ext >&5
17692 ac_cv_cxx_const_cast
=no
17694 rm -f conftest.
$ac_objext conftest.
$ac_ext
17696 ac_cpp
='$CPP $CPPFLAGS'
17697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17703 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17704 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17705 if test "$ac_cv_cxx_const_cast" = yes; then
17707 cat >>confdefs.h
<<\_ACEOF
17708 #define HAVE_CONST_CAST
17714 if test "$wxUSE_STL" = "yes"; then
17716 ac_cpp
='$CXXCPP $CPPFLAGS'
17717 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17718 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17719 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17722 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17723 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17724 cat >conftest.
$ac_ext <<_ACEOF
17725 #line $LINENO "configure"
17728 cat confdefs.h
>>conftest.
$ac_ext
17729 cat >>conftest.
$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17732 #include <functional>
17733 #include <algorithm>
17739 std::vector<int> moo;
17740 std::list<int> foo;
17741 std::vector<int>::iterator it =
17742 std::find_if(moo.begin(), moo.end(),
17743 std::bind2nd(std::less<int>(), 3));
17748 rm -f conftest.
$ac_objext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750 (eval $ac_compile) 2>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try
='test -s conftest.$ac_objext'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; }; then
17760 echo "$as_me:$LINENO: result: yes" >&5
17761 echo "${ECHO_T}yes" >&6
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.
$ac_ext >&5
17766 echo "$as_me:$LINENO: result: no" >&5
17767 echo "${ECHO_T}no" >&6
17768 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17769 echo "$as_me: error: Basic STL functionality missing" >&2;}
17770 { (exit 1); exit 1; }; }
17772 rm -f conftest.
$ac_objext conftest.
$ac_ext
17774 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17775 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17776 cat >conftest.
$ac_ext <<_ACEOF
17777 #line $LINENO "configure"
17780 cat confdefs.h
>>conftest.
$ac_ext
17781 cat >>conftest.
$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17792 rm -f conftest.
$ac_objext
17793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17794 (eval $ac_compile) 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); } &&
17798 { ac_try
='test -s conftest.$ac_objext'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; }; then
17804 echo "$as_me:$LINENO: result: yes" >&5
17805 echo "${ECHO_T}yes" >&6
17806 cat >>confdefs.h
<<\_ACEOF
17807 #define HAVE_STD_WSTRING 1
17811 echo "$as_me: failed program was:" >&5
17812 sed 's/^/| /' conftest.
$ac_ext >&5
17814 echo "$as_me:$LINENO: result: no" >&5
17815 echo "${ECHO_T}no" >&6
17817 rm -f conftest.
$ac_objext conftest.
$ac_ext
17819 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17820 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17821 cat >conftest.
$ac_ext <<_ACEOF
17822 #line $LINENO "configure"
17825 cat confdefs.h
>>conftest.
$ac_ext
17826 cat >>conftest.
$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17832 std::string foo, bar;
17834 foo.compare(1, 1, bar);
17835 foo.compare(1, 1, bar, 1, 1);
17837 foo.compare(1, 1, "");
17838 foo.compare(1, 1, "", 2);
17843 rm -f conftest.
$ac_objext
17844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17845 (eval $ac_compile) 2>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } &&
17849 { ac_try
='test -s conftest.$ac_objext'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; }; then
17855 echo "$as_me:$LINENO: result: yes" >&5
17856 echo "${ECHO_T}yes" >&6
17857 cat >>confdefs.h
<<\_ACEOF
17858 #define HAVE_STD_STRING_COMPARE 1
17862 echo "$as_me: failed program was:" >&5
17863 sed 's/^/| /' conftest.
$ac_ext >&5
17865 echo "$as_me:$LINENO: result: no" >&5
17866 echo "${ECHO_T}no" >&6
17868 rm -f conftest.
$ac_objext conftest.
$ac_ext
17871 ac_cpp
='$CPP $CPPFLAGS'
17872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17880 /usr/local/include \
17882 /usr/Motif-1.2/include \
17883 /usr/Motif-2.1/include \
17885 /usr/include/Motif1.2 \
17886 /opt/xpm/include/X11 \
17887 /opt/GBxpm/include/ \
17888 /opt/GBxpm/X11/include/ \
17890 /usr/Motif1.2/include \
17892 /usr/openwin/include \
17896 /usr/X11R6/include \
17897 /usr/X11R6.4/include \
17898 /usr/X11R5/include \
17899 /usr/X11R4/include \
17901 /usr/include/X11R6 \
17902 /usr/include/X11R5 \
17903 /usr/include/X11R4 \
17905 /usr/local/X11R6/include \
17906 /usr/local/X11R5/include \
17907 /usr/local/X11R4/include \
17909 /usr/local/include/X11R6 \
17910 /usr/local/include/X11R5 \
17911 /usr/local/include/X11R4 \
17915 /usr/local/X11/include \
17916 /usr/local/include/X11 \
17918 /usr/X386/include \
17919 /usr/x386/include \
17920 /usr/XFree86/include/X11 \
17922 X:/XFree86/include \
17923 X:/XFree86/include/X11 \
17926 /usr/local/include/gtk \
17927 /usr/include/glib \
17928 /usr/local/include/glib \
17931 /usr/local/include/qt \
17933 /usr/include/windows \
17934 /usr/include/wine \
17935 /usr/local/include/wine \
17937 /usr/unsupported/include \
17938 /usr/athena/include \
17939 /usr/local/x11r5/include \
17940 /usr/lpp/Xamples/include \
17942 /usr/openwin/share/include"
17944 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17947 cat >confcache
<<\_ACEOF
17948 # This file is a shell script that caches the results of configure
17949 # tests run on this system so they can be shared between configure
17950 # scripts and configure runs, see configure's option --config-cache.
17951 # It is not useful on other systems. If it contains results you don't
17952 # want to keep, you may remove or edit it.
17954 # config.status only pays attention to the cache file if you give it
17955 # the --recheck option to rerun configure.
17957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17959 # following values.
17963 # The following way of writing the cache mishandles newlines in values,
17964 # but we know of no workaround that is simple, portable, and efficient.
17965 # So, don't put newlines in cache variables' values.
17966 # Ultrix sh set writes to stderr and can't be redirected directly,
17967 # and sets the high bit in the cache file unless we assign to the vars.
17970 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17972 # `set' does not quote correctly, so add quotes (double-quote
17973 # substitution turns \\\\ into \\, and sed turns \\ into \).
17976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17979 # `set' quotes correctly as required by POSIX, so do not add quotes.
17981 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17988 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17990 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17992 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17993 if test -w $cache_file; then
17994 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17995 cat confcache
>$cache_file
17997 echo "not updating unwritable cache $cache_file"
18002 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18003 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18004 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18005 if test "${wx_cv_lib_glibc21+set}" = set; then
18006 echo $ECHO_N "(cached) $ECHO_C" >&6
18009 cat >conftest.
$ac_ext <<_ACEOF
18010 #line $LINENO "configure"
18013 cat confdefs.h
>>conftest.
$ac_ext
18014 cat >>conftest.
$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18016 #include <features.h>
18021 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18022 #error not glibc2.1
18029 rm -f conftest.
$ac_objext
18030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18031 (eval $ac_compile) 2>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } &&
18035 { ac_try
='test -s conftest.$ac_objext'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; }; then
18042 wx_cv_lib_glibc21
=yes
18045 echo "$as_me: failed program was:" >&5
18046 sed 's/^/| /' conftest.
$ac_ext >&5
18049 wx_cv_lib_glibc21
=no
18053 rm -f conftest.
$ac_objext conftest.
$ac_ext
18056 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18057 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18058 if test "$wx_cv_lib_glibc21" = "yes"; then
18059 cat >>confdefs.h
<<\_ACEOF
18060 #define wxHAVE_GLIBC2 1
18066 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18067 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18068 cat >>confdefs.h
<<\_ACEOF
18069 #define _GNU_SOURCE 1
18078 if test "$wxUSE_REGEX" != "no"; then
18079 cat >>confdefs.h
<<\_ACEOF
18080 #define wxUSE_REGEX 1
18084 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18085 if test "${ac_cv_header_regex_h+set}" = set; then
18086 echo "$as_me:$LINENO: checking for regex.h" >&5
18087 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18088 if test "${ac_cv_header_regex_h+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18092 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18094 # Is the header compilable?
18095 echo "$as_me:$LINENO: checking regex.h usability" >&5
18096 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18097 cat >conftest.
$ac_ext <<_ACEOF
18098 #line $LINENO "configure"
18101 cat confdefs.h
>>conftest.
$ac_ext
18102 cat >>conftest.
$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18104 $ac_includes_default
18107 rm -f conftest.
$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); } &&
18113 { ac_try
='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18119 ac_header_compiler
=yes
18121 echo "$as_me: failed program was:" >&5
18122 sed 's/^/| /' conftest.
$ac_ext >&5
18124 ac_header_compiler
=no
18126 rm -f conftest.
$ac_objext conftest.
$ac_ext
18127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18128 echo "${ECHO_T}$ac_header_compiler" >&6
18130 # Is the header present?
18131 echo "$as_me:$LINENO: checking regex.h presence" >&5
18132 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18133 cat >conftest.
$ac_ext <<_ACEOF
18134 #line $LINENO "configure"
18137 cat confdefs.h
>>conftest.
$ac_ext
18138 cat >>conftest.
$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18143 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18145 grep -v '^ *+' conftest.er1
>conftest.err
18147 cat conftest.err
>&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } >/dev
/null
; then
18150 if test -s conftest.err
; then
18151 ac_cpp_err
=$ac_c_preproc_warn_flag
18158 if test -z "$ac_cpp_err"; then
18159 ac_header_preproc
=yes
18161 echo "$as_me: failed program was:" >&5
18162 sed 's/^/| /' conftest.
$ac_ext >&5
18164 ac_header_preproc
=no
18166 rm -f conftest.err conftest.
$ac_ext
18167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18168 echo "${ECHO_T}$ac_header_preproc" >&6
18170 # So? What about this header?
18171 case $ac_header_compiler:$ac_header_preproc in
18173 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18174 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18175 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18176 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18179 ## ------------------------------------ ##
18180 ## Report this to bug-autoconf@gnu.org. ##
18181 ## ------------------------------------ ##
18184 sed "s/^/$as_me: WARNING: /" >&2
18187 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18188 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18189 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18190 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18191 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18192 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18195 ## ------------------------------------ ##
18196 ## Report this to bug-autoconf@gnu.org. ##
18197 ## ------------------------------------ ##
18200 sed "s/^/$as_me: WARNING: /" >&2
18203 echo "$as_me:$LINENO: checking for regex.h" >&5
18204 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18205 if test "${ac_cv_header_regex_h+set}" = set; then
18206 echo $ECHO_N "(cached) $ECHO_C" >&6
18208 ac_cv_header_regex_h
=$ac_header_preproc
18210 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18211 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18214 if test $ac_cv_header_regex_h = yes; then
18216 for ac_func
in regcomp
18218 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18219 echo "$as_me:$LINENO: checking for $ac_func" >&5
18220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18221 if eval "test \"\${$as_ac_var+set}\" = set"; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 cat >conftest.
$ac_ext <<_ACEOF
18225 #line $LINENO "configure"
18228 cat confdefs.h
>>conftest.
$ac_ext
18229 cat >>conftest.
$ac_ext <<_ACEOF
18230 /* end confdefs.h. */
18231 /* System header to define __stub macros and hopefully few prototypes,
18232 which can conflict with char $ac_func (); below.
18233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18234 <limits.h> exists even on freestanding compilers. */
18236 # include <limits.h>
18238 # include <assert.h>
18240 /* Override any gcc2 internal prototype to avoid an error. */
18245 /* We use char because int might match the return type of a gcc2
18246 builtin and then its argument prototype would still apply. */
18248 /* The GNU C library defines this for functions which it implements
18249 to always fail with ENOSYS. Some functions are actually named
18250 something starting with __ and the normal name is an alias. */
18251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18254 char (*f) () = $ac_func;
18263 return f != $ac_func;
18268 rm -f conftest.
$ac_objext conftest
$ac_exeext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18270 (eval $ac_link) 2>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } &&
18274 { ac_try
='test -s conftest$ac_exeext'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 eval "$as_ac_var=yes"
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.
$ac_ext >&5
18285 eval "$as_ac_var=no"
18287 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18291 if test `eval echo '${'$as_ac_var'}'` = yes; then
18292 cat >>confdefs.h
<<_ACEOF
18293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18303 if test "x$ac_cv_func_regcomp" != "xyes"; then
18304 if test "$wxUSE_REGEX" = "sys" ; then
18305 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18306 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18307 { (exit 1); exit 1; }; }
18309 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18310 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18311 wxUSE_REGEX
=builtin
18318 if test "$wxUSE_REGEX" = "builtin" ; then
18319 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18326 if test "$wxUSE_ZLIB" != "no" ; then
18327 cat >>confdefs.h
<<\_ACEOF
18328 #define wxUSE_ZLIB 1
18332 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18333 if test "$USE_DARWIN" = 1; then
18334 system_zlib_h_ok
="yes"
18336 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18337 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18338 if test "${ac_cv_header_zlib_h+set}" = set; then
18339 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 if test "$cross_compiling" = yes; then
18342 unset ac_cv_header_zlib_h
18345 cat >conftest.
$ac_ext <<_ACEOF
18346 #line $LINENO "configure"
18349 cat confdefs.h
>>conftest.
$ac_ext
18350 cat >>conftest.
$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18358 FILE *f=fopen("conftestval", "w");
18361 ZLIB_VERSION[0] == '1' &&
18362 (ZLIB_VERSION[2] > '1' ||
18363 (ZLIB_VERSION[2] == '1' &&
18364 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18369 rm -f conftest
$ac_exeext
18370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18371 (eval $ac_link) 2>&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376 (eval $ac_try) 2>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; }; then
18380 ac_cv_header_zlib_h
=`cat conftestval`
18382 echo "$as_me: program exited with status $ac_status" >&5
18383 echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.
$ac_ext >&5
18386 ( exit $ac_status )
18387 ac_cv_header_zlib_h
=no
18389 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18393 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18394 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18395 if test "${ac_cv_header_zlib_h+set}" = set; then
18396 echo "$as_me:$LINENO: checking for zlib.h" >&5
18397 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18398 if test "${ac_cv_header_zlib_h+set}" = set; then
18399 echo $ECHO_N "(cached) $ECHO_C" >&6
18401 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18402 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18404 # Is the header compilable?
18405 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18406 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18407 cat >conftest.
$ac_ext <<_ACEOF
18408 #line $LINENO "configure"
18411 cat confdefs.h
>>conftest.
$ac_ext
18412 cat >>conftest.
$ac_ext <<_ACEOF
18413 /* end confdefs.h. */
18414 $ac_includes_default
18417 rm -f conftest.
$ac_objext
18418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18419 (eval $ac_compile) 2>&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); } &&
18423 { ac_try
='test -s conftest.$ac_objext'
18424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425 (eval $ac_try) 2>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); }; }; then
18429 ac_header_compiler
=yes
18431 echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.
$ac_ext >&5
18434 ac_header_compiler
=no
18436 rm -f conftest.
$ac_objext conftest.
$ac_ext
18437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18438 echo "${ECHO_T}$ac_header_compiler" >&6
18440 # Is the header present?
18441 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18442 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18443 cat >conftest.
$ac_ext <<_ACEOF
18444 #line $LINENO "configure"
18447 cat confdefs.h
>>conftest.
$ac_ext
18448 cat >>conftest.
$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18455 grep -v '^ *+' conftest.er1
>conftest.err
18457 cat conftest.err
>&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); } >/dev
/null
; then
18460 if test -s conftest.err
; then
18461 ac_cpp_err
=$ac_c_preproc_warn_flag
18468 if test -z "$ac_cpp_err"; then
18469 ac_header_preproc
=yes
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.
$ac_ext >&5
18474 ac_header_preproc
=no
18476 rm -f conftest.err conftest.
$ac_ext
18477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18478 echo "${ECHO_T}$ac_header_preproc" >&6
18480 # So? What about this header?
18481 case $ac_header_compiler:$ac_header_preproc in
18483 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18484 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18485 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18486 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18489 ## ------------------------------------ ##
18490 ## Report this to bug-autoconf@gnu.org. ##
18491 ## ------------------------------------ ##
18494 sed "s/^/$as_me: WARNING: /" >&2
18497 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18498 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18499 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18500 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18501 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18502 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18505 ## ------------------------------------ ##
18506 ## Report this to bug-autoconf@gnu.org. ##
18507 ## ------------------------------------ ##
18510 sed "s/^/$as_me: WARNING: /" >&2
18513 echo "$as_me:$LINENO: checking for zlib.h" >&5
18514 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18515 if test "${ac_cv_header_zlib_h+set}" = set; then
18516 echo $ECHO_N "(cached) $ECHO_C" >&6
18518 ac_cv_header_zlib_h
=$ac_header_preproc
18520 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18521 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18527 system_zlib_h_ok
=$ac_cv_header_zlib_h
18530 if test "$system_zlib_h_ok" = "yes"; then
18531 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18532 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18533 if test "${ac_cv_lib_z_deflate+set}" = set; then
18534 echo $ECHO_N "(cached) $ECHO_C" >&6
18536 ac_check_lib_save_LIBS
=$LIBS
18538 cat >conftest.
$ac_ext <<_ACEOF
18539 #line $LINENO "configure"
18542 cat confdefs.h
>>conftest.
$ac_ext
18543 cat >>conftest.
$ac_ext <<_ACEOF
18544 /* end confdefs.h. */
18546 /* Override any gcc2 internal prototype to avoid an error. */
18550 /* We use char because int might match the return type of a gcc2
18551 builtin and then its argument prototype would still apply. */
18561 rm -f conftest.
$ac_objext conftest
$ac_exeext
18562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18563 (eval $ac_link) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); } &&
18567 { ac_try
='test -s conftest$ac_exeext'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; }; then
18573 ac_cv_lib_z_deflate
=yes
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.
$ac_ext >&5
18578 ac_cv_lib_z_deflate
=no
18580 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18581 LIBS
=$ac_check_lib_save_LIBS
18583 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18584 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18585 if test $ac_cv_lib_z_deflate = yes; then
18591 if test "x$ZLIB_LINK" = "x" ; then
18592 if test "$wxUSE_ZLIB" = "sys" ; then
18593 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18594 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18595 { (exit 1); exit 1; }; }
18597 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18598 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18606 if test "$wxUSE_ZLIB" = "builtin" ; then
18607 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18614 if test "$wxUSE_LIBPNG" != "no" ; then
18615 cat >>confdefs.h
<<\_ACEOF
18616 #define wxUSE_LIBPNG 1
18620 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18621 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18622 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18626 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18627 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18628 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18629 wxUSE_LIBPNG
=builtin
18632 if test "$wxUSE_MGL" != 1 ; then
18633 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18634 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18635 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18636 if test "${ac_cv_header_png_h+set}" = set; then
18637 echo $ECHO_N "(cached) $ECHO_C" >&6
18639 if test "$cross_compiling" = yes; then
18640 unset ac_cv_header_png_h
18643 cat >conftest.
$ac_ext <<_ACEOF
18644 #line $LINENO "configure"
18647 cat confdefs.h
>>conftest.
$ac_ext
18648 cat >>conftest.
$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18656 FILE *f=fopen("conftestval", "w");
18659 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18664 rm -f conftest
$ac_exeext
18665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18666 (eval $ac_link) 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; }; then
18675 ac_cv_header_png_h
=`cat conftestval`
18677 echo "$as_me: program exited with status $ac_status" >&5
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.
$ac_ext >&5
18681 ( exit $ac_status )
18682 ac_cv_header_png_h
=no
18684 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18688 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18689 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18690 if test "${ac_cv_header_png_h+set}" = set; then
18691 echo "$as_me:$LINENO: checking for png.h" >&5
18692 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18693 if test "${ac_cv_header_png_h+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18696 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18697 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18699 # Is the header compilable?
18700 echo "$as_me:$LINENO: checking png.h usability" >&5
18701 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18702 cat >conftest.
$ac_ext <<_ACEOF
18703 #line $LINENO "configure"
18706 cat confdefs.h
>>conftest.
$ac_ext
18707 cat >>conftest.
$ac_ext <<_ACEOF
18708 /* end confdefs.h. */
18709 $ac_includes_default
18712 rm -f conftest.
$ac_objext
18713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18714 (eval $ac_compile) 2>&5
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); } &&
18718 { ac_try
='test -s conftest.$ac_objext'
18719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720 (eval $ac_try) 2>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); }; }; then
18724 ac_header_compiler
=yes
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.
$ac_ext >&5
18729 ac_header_compiler
=no
18731 rm -f conftest.
$ac_objext conftest.
$ac_ext
18732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18733 echo "${ECHO_T}$ac_header_compiler" >&6
18735 # Is the header present?
18736 echo "$as_me:$LINENO: checking png.h presence" >&5
18737 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18738 cat >conftest.
$ac_ext <<_ACEOF
18739 #line $LINENO "configure"
18742 cat confdefs.h
>>conftest.
$ac_ext
18743 cat >>conftest.
$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18748 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18750 grep -v '^ *+' conftest.er1
>conftest.err
18752 cat conftest.err
>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } >/dev
/null
; then
18755 if test -s conftest.err
; then
18756 ac_cpp_err
=$ac_c_preproc_warn_flag
18763 if test -z "$ac_cpp_err"; then
18764 ac_header_preproc
=yes
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.
$ac_ext >&5
18769 ac_header_preproc
=no
18771 rm -f conftest.err conftest.
$ac_ext
18772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18773 echo "${ECHO_T}$ac_header_preproc" >&6
18775 # So? What about this header?
18776 case $ac_header_compiler:$ac_header_preproc in
18778 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18779 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18780 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18781 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18784 ## ------------------------------------ ##
18785 ## Report this to bug-autoconf@gnu.org. ##
18786 ## ------------------------------------ ##
18789 sed "s/^/$as_me: WARNING: /" >&2
18792 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18793 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18794 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18795 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18796 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18797 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18800 ## ------------------------------------ ##
18801 ## Report this to bug-autoconf@gnu.org. ##
18802 ## ------------------------------------ ##
18805 sed "s/^/$as_me: WARNING: /" >&2
18808 echo "$as_me:$LINENO: checking for png.h" >&5
18809 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18810 if test "${ac_cv_header_png_h+set}" = set; then
18811 echo $ECHO_N "(cached) $ECHO_C" >&6
18813 ac_cv_header_png_h
=$ac_header_preproc
18815 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18816 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18822 if test "$ac_cv_header_png_h" = "yes"; then
18823 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18824 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18825 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18826 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 ac_check_lib_save_LIBS
=$LIBS
18829 LIBS
="-lpng -lz -lm $LIBS"
18830 cat >conftest.
$ac_ext <<_ACEOF
18831 #line $LINENO "configure"
18834 cat confdefs.h
>>conftest.
$ac_ext
18835 cat >>conftest.
$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18838 /* Override any gcc2 internal prototype to avoid an error. */
18842 /* We use char because int might match the return type of a gcc2
18843 builtin and then its argument prototype would still apply. */
18844 char png_check_sig ();
18853 rm -f conftest.
$ac_objext conftest
$ac_exeext
18854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18855 (eval $ac_link) 2>&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } &&
18859 { ac_try
='test -s conftest$ac_exeext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18865 ac_cv_lib_png_png_check_sig
=yes
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.
$ac_ext >&5
18870 ac_cv_lib_png_png_check_sig
=no
18872 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18873 LIBS
=$ac_check_lib_save_LIBS
18875 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18876 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18877 if test $ac_cv_lib_png_png_check_sig = yes; then
18883 if test "x$PNG_LINK" = "x" ; then
18884 if test "$wxUSE_LIBPNG" = "sys" ; then
18885 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18886 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18887 { (exit 1); exit 1; }; }
18889 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18890 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18891 wxUSE_LIBPNG
=builtin
18899 if test "$wxUSE_LIBPNG" = "builtin" ; then
18900 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18909 if test "$wxUSE_LIBJPEG" != "no" ; then
18910 cat >>confdefs.h
<<\_ACEOF
18911 #define wxUSE_LIBJPEG 1
18915 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18916 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18917 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18921 if test "$wxUSE_MGL" != 1 ; then
18922 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18923 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18924 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18925 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 cat >conftest.
$ac_ext <<_ACEOF
18929 #line $LINENO "configure"
18932 cat confdefs.h
>>conftest.
$ac_ext
18933 cat >>conftest.
$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18936 #undef HAVE_STDLIB_H
18938 #include <jpeglib.h>
18949 rm -f conftest.
$ac_objext
18950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18951 (eval $ac_compile) 2>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } &&
18955 { ac_try
='test -s conftest.$ac_objext'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; }; then
18961 ac_cv_header_jpeglib_h
=yes
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.
$ac_ext >&5
18966 ac_cv_header_jpeglib_h
=no
18969 rm -f conftest.
$ac_objext conftest.
$ac_ext
18973 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18974 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18976 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18977 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18978 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18979 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 ac_check_lib_save_LIBS
=$LIBS
18983 LIBS
="-ljpeg $LIBS"
18984 cat >conftest.
$ac_ext <<_ACEOF
18985 #line $LINENO "configure"
18988 cat confdefs.h
>>conftest.
$ac_ext
18989 cat >>conftest.
$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18992 /* Override any gcc2 internal prototype to avoid an error. */
18996 /* We use char because int might match the return type of a gcc2
18997 builtin and then its argument prototype would still apply. */
18998 char jpeg_read_header ();
19002 jpeg_read_header ();
19007 rm -f conftest.
$ac_objext conftest
$ac_exeext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19009 (eval $ac_link) 2>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try
='test -s conftest$ac_exeext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19019 ac_cv_lib_jpeg_jpeg_read_header
=yes
19021 echo "$as_me: failed program was:" >&5
19022 sed 's/^/| /' conftest.
$ac_ext >&5
19024 ac_cv_lib_jpeg_jpeg_read_header
=no
19026 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19027 LIBS
=$ac_check_lib_save_LIBS
19029 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19030 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19031 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19032 JPEG_LINK
=" -ljpeg"
19037 if test "x$JPEG_LINK" = "x" ; then
19038 if test "$wxUSE_LIBJPEG" = "sys" ; then
19039 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19040 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19041 { (exit 1); exit 1; }; }
19043 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19044 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19045 wxUSE_LIBJPEG
=builtin
19053 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19054 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
19061 TIFF_PREREQ_LINKS
=-lm
19062 if test "$wxUSE_LIBTIFF" != "no" ; then
19063 cat >>confdefs.h
<<\_ACEOF
19064 #define wxUSE_LIBTIFF 1
19068 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19069 if test "$wxUSE_LIBJPEG" = "sys"; then
19070 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19072 if test "$wxUSE_ZLIB" = "sys"; then
19073 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19075 if test "${ac_cv_header_tiffio_h+set}" = set; then
19076 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19077 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19078 if test "${ac_cv_header_tiffio_h+set}" = set; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19081 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19082 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19084 # Is the header compilable?
19085 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19086 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19087 cat >conftest.
$ac_ext <<_ACEOF
19088 #line $LINENO "configure"
19091 cat confdefs.h
>>conftest.
$ac_ext
19092 cat >>conftest.
$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094 $ac_includes_default
19095 #include <tiffio.h>
19097 rm -f conftest.
$ac_objext
19098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19099 (eval $ac_compile) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
19103 { ac_try
='test -s conftest.$ac_objext'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; }; then
19109 ac_header_compiler
=yes
19111 echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.
$ac_ext >&5
19114 ac_header_compiler
=no
19116 rm -f conftest.
$ac_objext conftest.
$ac_ext
19117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19118 echo "${ECHO_T}$ac_header_compiler" >&6
19120 # Is the header present?
19121 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19122 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19123 cat >conftest.
$ac_ext <<_ACEOF
19124 #line $LINENO "configure"
19127 cat confdefs.h
>>conftest.
$ac_ext
19128 cat >>conftest.
$ac_ext <<_ACEOF
19129 /* end confdefs.h. */
19130 #include <tiffio.h>
19132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19135 grep -v '^ *+' conftest.er1
>conftest.err
19137 cat conftest.err
>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } >/dev
/null
; then
19140 if test -s conftest.err
; then
19141 ac_cpp_err
=$ac_c_preproc_warn_flag
19148 if test -z "$ac_cpp_err"; then
19149 ac_header_preproc
=yes
19151 echo "$as_me: failed program was:" >&5
19152 sed 's/^/| /' conftest.
$ac_ext >&5
19154 ac_header_preproc
=no
19156 rm -f conftest.err conftest.
$ac_ext
19157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19158 echo "${ECHO_T}$ac_header_preproc" >&6
19160 # So? What about this header?
19161 case $ac_header_compiler:$ac_header_preproc in
19163 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19164 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19165 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19166 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19169 ## ------------------------------------ ##
19170 ## Report this to bug-autoconf@gnu.org. ##
19171 ## ------------------------------------ ##
19174 sed "s/^/$as_me: WARNING: /" >&2
19177 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19178 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19179 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19180 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19181 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19182 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19185 ## ------------------------------------ ##
19186 ## Report this to bug-autoconf@gnu.org. ##
19187 ## ------------------------------------ ##
19190 sed "s/^/$as_me: WARNING: /" >&2
19193 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19194 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19195 if test "${ac_cv_header_tiffio_h+set}" = set; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19198 ac_cv_header_tiffio_h
=$ac_header_preproc
19200 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19201 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19204 if test $ac_cv_header_tiffio_h = yes; then
19205 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19206 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19207 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19208 echo $ECHO_N "(cached) $ECHO_C" >&6
19210 ac_check_lib_save_LIBS
=$LIBS
19211 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19212 cat >conftest.
$ac_ext <<_ACEOF
19213 #line $LINENO "configure"
19216 cat confdefs.h
>>conftest.
$ac_ext
19217 cat >>conftest.
$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19220 /* Override any gcc2 internal prototype to avoid an error. */
19224 /* We use char because int might match the return type of a gcc2
19225 builtin and then its argument prototype would still apply. */
19235 rm -f conftest.
$ac_objext conftest
$ac_exeext
19236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19237 (eval $ac_link) 2>&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); } &&
19241 { ac_try
='test -s conftest$ac_exeext'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; }; then
19247 ac_cv_lib_tiff_TIFFError
=yes
19249 echo "$as_me: failed program was:" >&5
19250 sed 's/^/| /' conftest.
$ac_ext >&5
19252 ac_cv_lib_tiff_TIFFError
=no
19254 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19255 LIBS
=$ac_check_lib_save_LIBS
19257 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19258 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19259 if test $ac_cv_lib_tiff_TIFFError = yes; then
19260 TIFF_LINK
=" -ltiff"
19268 if test "x$TIFF_LINK" = "x" ; then
19269 if test "$wxUSE_LIBTIFF" = "sys" ; then
19270 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19271 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19272 { (exit 1); exit 1; }; }
19274 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19275 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19276 wxUSE_LIBTIFF
=builtin
19283 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19284 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19289 if test "$wxUSE_EXPAT" != "no"; then
19291 cat >>confdefs.h
<<\_ACEOF
19292 #define wxUSE_EXPAT 1
19295 cat >>confdefs.h
<<\_ACEOF
19296 #define wxUSE_XML 1
19300 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19301 if test "${ac_cv_header_expat_h+set}" = set; then
19302 echo "$as_me:$LINENO: checking for expat.h" >&5
19303 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19304 if test "${ac_cv_header_expat_h+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19308 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19310 # Is the header compilable?
19311 echo "$as_me:$LINENO: checking expat.h usability" >&5
19312 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19313 cat >conftest.
$ac_ext <<_ACEOF
19314 #line $LINENO "configure"
19317 cat confdefs.h
>>conftest.
$ac_ext
19318 cat >>conftest.
$ac_ext <<_ACEOF
19319 /* end confdefs.h. */
19320 $ac_includes_default
19323 rm -f conftest.
$ac_objext
19324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19325 (eval $ac_compile) 2>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } &&
19329 { ac_try
='test -s conftest.$ac_objext'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19335 ac_header_compiler
=yes
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.
$ac_ext >&5
19340 ac_header_compiler
=no
19342 rm -f conftest.
$ac_objext conftest.
$ac_ext
19343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19344 echo "${ECHO_T}$ac_header_compiler" >&6
19346 # Is the header present?
19347 echo "$as_me:$LINENO: checking expat.h presence" >&5
19348 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19349 cat >conftest.
$ac_ext <<_ACEOF
19350 #line $LINENO "configure"
19353 cat confdefs.h
>>conftest.
$ac_ext
19354 cat >>conftest.
$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19361 grep -v '^ *+' conftest.er1
>conftest.err
19363 cat conftest.err
>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } >/dev
/null
; then
19366 if test -s conftest.err
; then
19367 ac_cpp_err
=$ac_c_preproc_warn_flag
19374 if test -z "$ac_cpp_err"; then
19375 ac_header_preproc
=yes
19377 echo "$as_me: failed program was:" >&5
19378 sed 's/^/| /' conftest.
$ac_ext >&5
19380 ac_header_preproc
=no
19382 rm -f conftest.err conftest.
$ac_ext
19383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19384 echo "${ECHO_T}$ac_header_preproc" >&6
19386 # So? What about this header?
19387 case $ac_header_compiler:$ac_header_preproc in
19389 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19390 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19391 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19392 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19395 ## ------------------------------------ ##
19396 ## Report this to bug-autoconf@gnu.org. ##
19397 ## ------------------------------------ ##
19400 sed "s/^/$as_me: WARNING: /" >&2
19403 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19404 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19405 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19406 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19407 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19408 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19411 ## ------------------------------------ ##
19412 ## Report this to bug-autoconf@gnu.org. ##
19413 ## ------------------------------------ ##
19416 sed "s/^/$as_me: WARNING: /" >&2
19419 echo "$as_me:$LINENO: checking for expat.h" >&5
19420 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19421 if test "${ac_cv_header_expat_h+set}" = set; then
19422 echo $ECHO_N "(cached) $ECHO_C" >&6
19424 ac_cv_header_expat_h
=$ac_header_preproc
19426 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19427 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19430 if test $ac_cv_header_expat_h = yes; then
19435 if test "x$found_expat_h" = "x1"; then
19436 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19437 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19438 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19439 echo $ECHO_N "(cached) $ECHO_C" >&6
19445 ac_cpp
='$CXXCPP $CPPFLAGS'
19446 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19450 cat >conftest.
$ac_ext <<_ACEOF
19451 #line $LINENO "configure"
19454 cat confdefs.h
>>conftest.
$ac_ext
19455 cat >>conftest.
$ac_ext <<_ACEOF
19456 /* end confdefs.h. */
19466 rm -f conftest.
$ac_objext
19467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19468 (eval $ac_compile) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } &&
19472 { ac_try
='test -s conftest.$ac_objext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 wx_cv_expat_is_not_broken
=yes
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.
$ac_ext >&5
19483 wx_cv_expat_is_not_broken
=no
19486 rm -f conftest.
$ac_objext conftest.
$ac_ext
19488 ac_cpp
='$CPP $CPPFLAGS'
19489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19496 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19497 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19498 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19499 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19500 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19501 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19502 echo $ECHO_N "(cached) $ECHO_C" >&6
19504 ac_check_lib_save_LIBS
=$LIBS
19505 LIBS
="-lexpat $LIBS"
19506 cat >conftest.
$ac_ext <<_ACEOF
19507 #line $LINENO "configure"
19510 cat confdefs.h
>>conftest.
$ac_ext
19511 cat >>conftest.
$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19514 /* Override any gcc2 internal prototype to avoid an error. */
19518 /* We use char because int might match the return type of a gcc2
19519 builtin and then its argument prototype would still apply. */
19520 char XML_ParserCreate ();
19524 XML_ParserCreate ();
19529 rm -f conftest.
$ac_objext conftest
$ac_exeext
19530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19531 (eval $ac_link) 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } &&
19535 { ac_try
='test -s conftest$ac_exeext'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; }; then
19541 ac_cv_lib_expat_XML_ParserCreate
=yes
19543 echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.
$ac_ext >&5
19546 ac_cv_lib_expat_XML_ParserCreate
=no
19548 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19549 LIBS
=$ac_check_lib_save_LIBS
19551 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19552 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19553 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19554 EXPAT_LINK
=" -lexpat"
19559 if test "x$EXPAT_LINK" = "x" ; then
19560 if test "$wxUSE_EXPAT" = "sys" ; then
19561 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19562 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19563 { (exit 1); exit 1; }; }
19565 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19566 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19567 wxUSE_EXPAT
=builtin
19573 if test "$wxUSE_EXPAT" = "builtin" ; then
19576 subdirs
="$subdirs src/expat"
19590 if test "$USE_WIN32" = 1 ; then
19592 for ac_header
in w32api.h
19594 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19596 echo "$as_me:$LINENO: checking for $ac_header" >&5
19597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19599 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19604 # Is the header compilable?
19605 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19607 cat >conftest.
$ac_ext <<_ACEOF
19608 #line $LINENO "configure"
19611 cat confdefs.h
>>conftest.
$ac_ext
19612 cat >>conftest.
$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 $ac_includes_default
19615 #include <$ac_header>
19617 rm -f conftest.
$ac_objext
19618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19619 (eval $ac_compile) 2>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } &&
19623 { ac_try
='test -s conftest.$ac_objext'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; }; then
19629 ac_header_compiler
=yes
19631 echo "$as_me: failed program was:" >&5
19632 sed 's/^/| /' conftest.
$ac_ext >&5
19634 ac_header_compiler
=no
19636 rm -f conftest.
$ac_objext conftest.
$ac_ext
19637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19638 echo "${ECHO_T}$ac_header_compiler" >&6
19640 # Is the header present?
19641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19643 cat >conftest.
$ac_ext <<_ACEOF
19644 #line $LINENO "configure"
19647 cat confdefs.h
>>conftest.
$ac_ext
19648 cat >>conftest.
$ac_ext <<_ACEOF
19649 /* end confdefs.h. */
19650 #include <$ac_header>
19652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19653 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } >/dev
/null
; then
19660 if test -s conftest.err
; then
19661 ac_cpp_err
=$ac_c_preproc_warn_flag
19668 if test -z "$ac_cpp_err"; then
19669 ac_header_preproc
=yes
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.
$ac_ext >&5
19674 ac_header_preproc
=no
19676 rm -f conftest.err conftest.
$ac_ext
19677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19678 echo "${ECHO_T}$ac_header_preproc" >&6
19680 # So? What about this header?
19681 case $ac_header_compiler:$ac_header_preproc in
19683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19689 ## ------------------------------------ ##
19690 ## Report this to bug-autoconf@gnu.org. ##
19691 ## ------------------------------------ ##
19694 sed "s/^/$as_me: WARNING: /" >&2
19697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19705 ## ------------------------------------ ##
19706 ## Report this to bug-autoconf@gnu.org. ##
19707 ## ------------------------------------ ##
19710 sed "s/^/$as_me: WARNING: /" >&2
19713 echo "$as_me:$LINENO: checking for $ac_header" >&5
19714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 eval "$as_ac_Header=$ac_header_preproc"
19720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19725 cat >>confdefs.h
<<_ACEOF
19726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19733 if test "${ac_cv_header_windows_h+set}" = set; then
19734 echo "$as_me:$LINENO: checking for windows.h" >&5
19735 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19736 if test "${ac_cv_header_windows_h+set}" = set; then
19737 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19740 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19742 # Is the header compilable?
19743 echo "$as_me:$LINENO: checking windows.h usability" >&5
19744 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19745 cat >conftest.
$ac_ext <<_ACEOF
19746 #line $LINENO "configure"
19749 cat confdefs.h
>>conftest.
$ac_ext
19750 cat >>conftest.
$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19752 $ac_includes_default
19753 #include <windows.h>
19755 rm -f conftest.
$ac_objext
19756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19757 (eval $ac_compile) 2>&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } &&
19761 { ac_try
='test -s conftest.$ac_objext'
19762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763 (eval $ac_try) 2>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); }; }; then
19767 ac_header_compiler
=yes
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.
$ac_ext >&5
19772 ac_header_compiler
=no
19774 rm -f conftest.
$ac_objext conftest.
$ac_ext
19775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19776 echo "${ECHO_T}$ac_header_compiler" >&6
19778 # Is the header present?
19779 echo "$as_me:$LINENO: checking windows.h presence" >&5
19780 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19781 cat >conftest.
$ac_ext <<_ACEOF
19782 #line $LINENO "configure"
19785 cat confdefs.h
>>conftest.
$ac_ext
19786 cat >>conftest.
$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19788 #include <windows.h>
19790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19791 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19793 grep -v '^ *+' conftest.er1
>conftest.err
19795 cat conftest.err
>&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } >/dev
/null
; then
19798 if test -s conftest.err
; then
19799 ac_cpp_err
=$ac_c_preproc_warn_flag
19806 if test -z "$ac_cpp_err"; then
19807 ac_header_preproc
=yes
19809 echo "$as_me: failed program was:" >&5
19810 sed 's/^/| /' conftest.
$ac_ext >&5
19812 ac_header_preproc
=no
19814 rm -f conftest.err conftest.
$ac_ext
19815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19816 echo "${ECHO_T}$ac_header_preproc" >&6
19818 # So? What about this header?
19819 case $ac_header_compiler:$ac_header_preproc in
19821 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19822 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19823 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19824 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19827 ## ------------------------------------ ##
19828 ## Report this to bug-autoconf@gnu.org. ##
19829 ## ------------------------------------ ##
19832 sed "s/^/$as_me: WARNING: /" >&2
19835 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19836 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19837 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19838 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19839 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19840 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19843 ## ------------------------------------ ##
19844 ## Report this to bug-autoconf@gnu.org. ##
19845 ## ------------------------------------ ##
19848 sed "s/^/$as_me: WARNING: /" >&2
19851 echo "$as_me:$LINENO: checking for windows.h" >&5
19852 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19853 if test "${ac_cv_header_windows_h+set}" = set; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19856 ac_cv_header_windows_h
=$ac_header_preproc
19858 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19859 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19862 if test $ac_cv_header_windows_h = yes; then
19866 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19867 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19868 { (exit 1); exit 1; }; }
19874 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19876 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19877 LIBS
="$LIBS -loleacc"
19882 LIBS
="$LIBS -lkernel32 -luser32"
19883 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19886 if test "$wxUSE_ODBC" = "sys" ; then
19889 if test "$wxUSE_ODBC" = "yes" ; then
19890 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19891 cat >>confdefs.h
<<\_ACEOF
19892 #define wxUSE_ODBC 1
19897 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19898 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19900 WIN32INSTALL
=win32install
19903 if test "$wxUSE_GUI" = "yes"; then
19912 if test "$wxUSE_MSW" = 1 ; then
19917 if test "$wxUSE_GTK" = 1; then
19918 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19919 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19921 gtk_version_cached
=1
19922 if test "${wx_cv_lib_gtk+set}" = set; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19926 gtk_version_cached
=0
19927 echo "$as_me:$LINENO: result: " >&5
19928 echo "${ECHO_T}" >&6
19931 if test "$wxUSE_THREADS" = "yes"; then
19932 GTK_MODULES
=gthread
19936 if test "x$wxUSE_GTK2" = "xyes"; then
19937 # Check whether --enable-gtktest or --disable-gtktest was given.
19938 if test "${enable_gtktest+set}" = set; then
19939 enableval
="$enable_gtktest"
19945 pkg_config_args
=gtk
+-2.0
19946 for module
in .
$GTK_MODULES
19950 pkg_config_args
="$pkg_config_args gthread-2.0"
19957 # Extract the first word of "pkg-config", so it can be a program name with args.
19958 set dummy pkg
-config; ac_word
=$2
19959 echo "$as_me:$LINENO: checking for $ac_word" >&5
19960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19961 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19962 echo $ECHO_N "(cached) $ECHO_C" >&6
19964 case $PKG_CONFIG in
19966 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19970 for as_dir
in $PATH
19973 test -z "$as_dir" && as_dir
=.
19974 for ac_exec_ext
in '' $ac_executable_extensions; do
19975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19976 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19983 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19987 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19989 if test -n "$PKG_CONFIG"; then
19990 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19991 echo "${ECHO_T}$PKG_CONFIG" >&6
19993 echo "$as_me:$LINENO: result: no" >&5
19994 echo "${ECHO_T}no" >&6
19998 if test x
$PKG_CONFIG != xno
; then
19999 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20002 echo *** pkg
-config too old
; version
0.7 or better required.
20010 min_gtk_version
=2.0.0
20011 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20012 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20014 if test x
$PKG_CONFIG != xno
; then
20015 ## don't try to run the test against uninstalled libtool libs
20016 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20017 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20021 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20028 if test x
"$no_gtk" = x
; then
20029 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20030 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20031 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20033 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20035 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20037 if test "x$enable_gtktest" = "xyes" ; then
20038 ac_save_CFLAGS
="$CFLAGS"
20039 ac_save_LIBS
="$LIBS"
20040 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20041 LIBS
="$GTK_LIBS $LIBS"
20043 if test "$cross_compiling" = yes; then
20044 echo $ac_n "cross compiling; assumed OK... $ac_c"
20046 cat >conftest.
$ac_ext <<_ACEOF
20047 #line $LINENO "configure"
20050 cat confdefs.h
>>conftest.
$ac_ext
20051 cat >>conftest.
$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20054 #include <gtk/gtk.h>
20056 #include <stdlib.h>
20061 int major, minor, micro;
20064 system ("touch conf.gtktest");
20066 /* HP/UX 9 (%@#!) writes to sscanf strings */
20067 tmp_version = g_strdup("$min_gtk_version");
20068 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20069 printf("%s, bad version string\n", "$min_gtk_version");
20073 if ((gtk_major_version != $gtk_config_major_version) ||
20074 (gtk_minor_version != $gtk_config_minor_version) ||
20075 (gtk_micro_version != $gtk_config_micro_version))
20077 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20078 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20079 gtk_major_version, gtk_minor_version, gtk_micro_version);
20080 printf ("*** was found! If pkg-config was correct, then it is best\n");
20081 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20082 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20083 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20084 printf("*** required on your system.\n");
20085 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20086 printf("*** to point to the correct configuration files\n");
20088 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20089 (gtk_minor_version != GTK_MINOR_VERSION) ||
20090 (gtk_micro_version != GTK_MICRO_VERSION))
20092 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20093 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20094 printf("*** library (version %d.%d.%d)\n",
20095 gtk_major_version, gtk_minor_version, gtk_micro_version);
20099 if ((gtk_major_version > major) ||
20100 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20101 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20107 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20108 gtk_major_version, gtk_minor_version, gtk_micro_version);
20109 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20110 major, minor, micro);
20111 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20113 printf("*** If you have already installed a sufficiently new version, this error\n");
20114 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20115 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20116 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20117 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20118 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20119 printf("*** so that the correct libraries are found at run-time))\n");
20126 rm -f conftest
$ac_exeext
20127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20128 (eval $ac_link) 2>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; }; then
20139 echo "$as_me: program exited with status $ac_status" >&5
20140 echo "$as_me: failed program was:" >&5
20141 sed 's/^/| /' conftest.
$ac_ext >&5
20143 ( exit $ac_status )
20146 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20148 CFLAGS
="$ac_save_CFLAGS"
20149 LIBS
="$ac_save_LIBS"
20152 if test "x$no_gtk" = x
; then
20153 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20154 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20157 echo "$as_me:$LINENO: result: no" >&5
20158 echo "${ECHO_T}no" >&6
20159 if test "$PKG_CONFIG" = "no" ; then
20160 echo "*** A new enough version of pkg-config was not found."
20161 echo "*** See http://pkgconfig.sourceforge.net"
20163 if test -f conf.gtktest
; then
20166 echo "*** Could not run GTK+ test program, checking why..."
20167 ac_save_CFLAGS
="$CFLAGS"
20168 ac_save_LIBS
="$LIBS"
20169 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20170 LIBS
="$LIBS $GTK_LIBS"
20171 cat >conftest.
$ac_ext <<_ACEOF
20172 #line $LINENO "configure"
20175 cat confdefs.h
>>conftest.
$ac_ext
20176 cat >>conftest.
$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20179 #include <gtk/gtk.h>
20185 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20190 rm -f conftest.
$ac_objext conftest
$ac_exeext
20191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20192 (eval $ac_link) 2>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try
='test -s conftest$ac_exeext'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; }; then
20202 echo "*** The test program compiled, but did not run. This usually means"
20203 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20204 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20205 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20206 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20207 echo "*** is required on your system"
20209 echo "*** If you have an old version installed, it is best to remove it, although"
20210 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.
$ac_ext >&5
20215 echo "*** The test program failed to compile or link. See the file config.log for the"
20216 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20218 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20219 CFLAGS
="$ac_save_CFLAGS"
20220 LIBS
="$ac_save_LIBS"
20233 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20234 if test "${with_gtk_prefix+set}" = set; then
20235 withval
="$with_gtk_prefix"
20236 gtk_config_prefix
="$withval"
20238 gtk_config_prefix
=""
20241 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20242 if test "${with_gtk_exec_prefix+set}" = set; then
20243 withval
="$with_gtk_exec_prefix"
20244 gtk_config_exec_prefix
="$withval"
20246 gtk_config_exec_prefix
=""
20248 # Check whether --enable-gtktest or --disable-gtktest was given.
20249 if test "${enable_gtktest+set}" = set; then
20250 enableval
="$enable_gtktest"
20256 for module
in .
$GTK_MODULES
20260 gtk_config_args
="$gtk_config_args gthread"
20265 if test x
$gtk_config_exec_prefix != x
; then
20266 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20267 if test x
${GTK_CONFIG+set} != xset
; then
20268 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20271 if test x
$gtk_config_prefix != x
; then
20272 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20273 if test x
${GTK_CONFIG+set} != xset
; then
20274 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20278 # Extract the first word of "gtk-config", so it can be a program name with args.
20279 set dummy gtk
-config; ac_word
=$2
20280 echo "$as_me:$LINENO: checking for $ac_word" >&5
20281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20282 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20285 case $GTK_CONFIG in
20287 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20291 for as_dir
in $PATH
20294 test -z "$as_dir" && as_dir
=.
20295 for ac_exec_ext
in '' $ac_executable_extensions; do
20296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20297 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20304 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20308 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20310 if test -n "$GTK_CONFIG"; then
20311 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20312 echo "${ECHO_T}$GTK_CONFIG" >&6
20314 echo "$as_me:$LINENO: result: no" >&5
20315 echo "${ECHO_T}no" >&6
20318 min_gtk_version
=1.2.7
20319 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20320 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20322 if test "$GTK_CONFIG" = "no" ; then
20325 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20326 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20327 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20329 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20331 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20333 if test "x$enable_gtktest" = "xyes" ; then
20334 ac_save_CFLAGS
="$CFLAGS"
20335 ac_save_LIBS
="$LIBS"
20336 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20337 LIBS
="$GTK_LIBS $LIBS"
20339 if test "$cross_compiling" = yes; then
20340 echo $ac_n "cross compiling; assumed OK... $ac_c"
20342 cat >conftest.
$ac_ext <<_ACEOF
20343 #line $LINENO "configure"
20346 cat confdefs.h
>>conftest.
$ac_ext
20347 cat >>conftest.
$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20350 #include <gtk/gtk.h>
20352 #include <stdlib.h>
20357 int major, minor, micro;
20360 system ("touch conf.gtktest");
20362 /* HP/UX 9 (%@#!) writes to sscanf strings */
20363 tmp_version = g_strdup("$min_gtk_version");
20364 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20365 printf("%s, bad version string\n", "$min_gtk_version");
20369 if ((gtk_major_version != $gtk_config_major_version) ||
20370 (gtk_minor_version != $gtk_config_minor_version) ||
20371 (gtk_micro_version != $gtk_config_micro_version))
20373 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20374 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20375 gtk_major_version, gtk_minor_version, gtk_micro_version);
20376 printf ("*** was found! If gtk-config was correct, then it is best\n");
20377 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20378 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20379 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20380 printf("*** required on your system.\n");
20381 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20382 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20383 printf("*** before re-running configure\n");
20385 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20386 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20387 (gtk_minor_version != GTK_MINOR_VERSION) ||
20388 (gtk_micro_version != GTK_MICRO_VERSION))
20390 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20391 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20392 printf("*** library (version %d.%d.%d)\n",
20393 gtk_major_version, gtk_minor_version, gtk_micro_version);
20395 #endif /* defined (GTK_MAJOR_VERSION) ... */
20398 if ((gtk_major_version > major) ||
20399 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20400 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20406 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20407 gtk_major_version, gtk_minor_version, gtk_micro_version);
20408 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20409 major, minor, micro);
20410 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20412 printf("*** If you have already installed a sufficiently new version, this error\n");
20413 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20414 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20415 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20416 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20417 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20418 printf("*** so that the correct libraries are found at run-time))\n");
20425 rm -f conftest
$ac_exeext
20426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20427 (eval $ac_link) 2>&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20432 (eval $ac_try) 2>&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); }; }; then
20438 echo "$as_me: program exited with status $ac_status" >&5
20439 echo "$as_me: failed program was:" >&5
20440 sed 's/^/| /' conftest.
$ac_ext >&5
20442 ( exit $ac_status )
20445 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20447 CFLAGS
="$ac_save_CFLAGS"
20448 LIBS
="$ac_save_LIBS"
20451 if test "x$no_gtk" = x
; then
20452 echo "$as_me:$LINENO: result: yes" >&5
20453 echo "${ECHO_T}yes" >&6
20454 wx_cv_lib_gtk
=1.2.7
20456 echo "$as_me:$LINENO: result: no" >&5
20457 echo "${ECHO_T}no" >&6
20458 if test "$GTK_CONFIG" = "no" ; then
20459 echo "*** The gtk-config script installed by GTK could not be found"
20460 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20461 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20462 echo "*** full path to gtk-config."
20464 if test -f conf.gtktest
; then
20467 echo "*** Could not run GTK test program, checking why..."
20468 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20469 LIBS
="$LIBS $GTK_LIBS"
20470 cat >conftest.
$ac_ext <<_ACEOF
20471 #line $LINENO "configure"
20474 cat confdefs.h
>>conftest.
$ac_ext
20475 cat >>conftest.
$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20478 #include <gtk/gtk.h>
20484 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20489 rm -f conftest.
$ac_objext conftest
$ac_exeext
20490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20491 (eval $ac_link) 2>&5
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); } &&
20495 { ac_try
='test -s conftest$ac_exeext'
20496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497 (eval $ac_try) 2>&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; }; then
20501 echo "*** The test program compiled, but did not run. This usually means"
20502 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20503 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20504 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20505 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20506 echo "*** is required on your system"
20508 echo "*** If you have an old version installed, it is best to remove it, although"
20509 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20511 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20512 echo "*** came with the system with the command"
20514 echo "*** rpm --erase --nodeps gtk gtk-devel"
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.
$ac_ext >&5
20519 echo "*** The test program failed to compile or link. See the file config.log for the"
20520 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20521 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20522 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20524 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20525 CFLAGS
="$ac_save_CFLAGS"
20526 LIBS
="$ac_save_LIBS"
20538 if test -z "$wx_cv_lib_gtk"; then
20540 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20541 if test "${with_gtk_prefix+set}" = set; then
20542 withval
="$with_gtk_prefix"
20543 gtk_config_prefix
="$withval"
20545 gtk_config_prefix
=""
20548 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20549 if test "${with_gtk_exec_prefix+set}" = set; then
20550 withval
="$with_gtk_exec_prefix"
20551 gtk_config_exec_prefix
="$withval"
20553 gtk_config_exec_prefix
=""
20555 # Check whether --enable-gtktest or --disable-gtktest was given.
20556 if test "${enable_gtktest+set}" = set; then
20557 enableval
="$enable_gtktest"
20563 for module
in .
$GTK_MODULES
20567 gtk_config_args
="$gtk_config_args gthread"
20572 if test x
$gtk_config_exec_prefix != x
; then
20573 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20574 if test x
${GTK_CONFIG+set} != xset
; then
20575 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20578 if test x
$gtk_config_prefix != x
; then
20579 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20580 if test x
${GTK_CONFIG+set} != xset
; then
20581 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20585 # Extract the first word of "gtk-config", so it can be a program name with args.
20586 set dummy gtk
-config; ac_word
=$2
20587 echo "$as_me:$LINENO: checking for $ac_word" >&5
20588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20589 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20590 echo $ECHO_N "(cached) $ECHO_C" >&6
20592 case $GTK_CONFIG in
20594 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20598 for as_dir
in $PATH
20601 test -z "$as_dir" && as_dir
=.
20602 for ac_exec_ext
in '' $ac_executable_extensions; do
20603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20604 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20611 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20615 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20617 if test -n "$GTK_CONFIG"; then
20618 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20619 echo "${ECHO_T}$GTK_CONFIG" >&6
20621 echo "$as_me:$LINENO: result: no" >&5
20622 echo "${ECHO_T}no" >&6
20625 min_gtk_version
=1.2.3
20626 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20627 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20629 if test "$GTK_CONFIG" = "no" ; then
20632 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20633 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20634 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20635 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20636 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20638 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20640 if test "x$enable_gtktest" = "xyes" ; then
20641 ac_save_CFLAGS
="$CFLAGS"
20642 ac_save_LIBS
="$LIBS"
20643 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20644 LIBS
="$GTK_LIBS $LIBS"
20646 if test "$cross_compiling" = yes; then
20647 echo $ac_n "cross compiling; assumed OK... $ac_c"
20649 cat >conftest.
$ac_ext <<_ACEOF
20650 #line $LINENO "configure"
20653 cat confdefs.h
>>conftest.
$ac_ext
20654 cat >>conftest.
$ac_ext <<_ACEOF
20655 /* end confdefs.h. */
20657 #include <gtk/gtk.h>
20659 #include <stdlib.h>
20664 int major, minor, micro;
20667 system ("touch conf.gtktest");
20669 /* HP/UX 9 (%@#!) writes to sscanf strings */
20670 tmp_version = g_strdup("$min_gtk_version");
20671 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20672 printf("%s, bad version string\n", "$min_gtk_version");
20676 if ((gtk_major_version != $gtk_config_major_version) ||
20677 (gtk_minor_version != $gtk_config_minor_version) ||
20678 (gtk_micro_version != $gtk_config_micro_version))
20680 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20681 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20682 gtk_major_version, gtk_minor_version, gtk_micro_version);
20683 printf ("*** was found! If gtk-config was correct, then it is best\n");
20684 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20685 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20686 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20687 printf("*** required on your system.\n");
20688 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20689 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20690 printf("*** before re-running configure\n");
20692 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20693 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20694 (gtk_minor_version != GTK_MINOR_VERSION) ||
20695 (gtk_micro_version != GTK_MICRO_VERSION))
20697 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20698 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20699 printf("*** library (version %d.%d.%d)\n",
20700 gtk_major_version, gtk_minor_version, gtk_micro_version);
20702 #endif /* defined (GTK_MAJOR_VERSION) ... */
20705 if ((gtk_major_version > major) ||
20706 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20707 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20713 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20714 gtk_major_version, gtk_minor_version, gtk_micro_version);
20715 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20716 major, minor, micro);
20717 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20719 printf("*** If you have already installed a sufficiently new version, this error\n");
20720 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20721 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20722 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20723 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20724 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20725 printf("*** so that the correct libraries are found at run-time))\n");
20732 rm -f conftest
$ac_exeext
20733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20734 (eval $ac_link) 2>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20739 (eval $ac_try) 2>&5
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); }; }; then
20745 echo "$as_me: program exited with status $ac_status" >&5
20746 echo "$as_me: failed program was:" >&5
20747 sed 's/^/| /' conftest.
$ac_ext >&5
20749 ( exit $ac_status )
20752 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20754 CFLAGS
="$ac_save_CFLAGS"
20755 LIBS
="$ac_save_LIBS"
20758 if test "x$no_gtk" = x
; then
20759 echo "$as_me:$LINENO: result: yes" >&5
20760 echo "${ECHO_T}yes" >&6
20761 wx_cv_lib_gtk
=1.2.3
20763 echo "$as_me:$LINENO: result: no" >&5
20764 echo "${ECHO_T}no" >&6
20765 if test "$GTK_CONFIG" = "no" ; then
20766 echo "*** The gtk-config script installed by GTK could not be found"
20767 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20768 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20769 echo "*** full path to gtk-config."
20771 if test -f conf.gtktest
; then
20774 echo "*** Could not run GTK test program, checking why..."
20775 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20776 LIBS
="$LIBS $GTK_LIBS"
20777 cat >conftest.
$ac_ext <<_ACEOF
20778 #line $LINENO "configure"
20781 cat confdefs.h
>>conftest.
$ac_ext
20782 cat >>conftest.
$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20785 #include <gtk/gtk.h>
20791 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20796 rm -f conftest.
$ac_objext conftest
$ac_exeext
20797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20798 (eval $ac_link) 2>&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } &&
20802 { ac_try
='test -s conftest$ac_exeext'
20803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804 (eval $ac_try) 2>&5
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; }; then
20808 echo "*** The test program compiled, but did not run. This usually means"
20809 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20810 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20811 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20812 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20813 echo "*** is required on your system"
20815 echo "*** If you have an old version installed, it is best to remove it, although"
20816 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20818 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20819 echo "*** came with the system with the command"
20821 echo "*** rpm --erase --nodeps gtk gtk-devel"
20823 echo "$as_me: failed program was:" >&5
20824 sed 's/^/| /' conftest.
$ac_ext >&5
20826 echo "*** The test program failed to compile or link. See the file config.log for the"
20827 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20828 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20829 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20831 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20832 CFLAGS
="$ac_save_CFLAGS"
20833 LIBS
="$ac_save_LIBS"
20847 if test -z "$wx_cv_lib_gtk"; then
20850 wx_cv_cflags_gtk
=$GTK_CFLAGS
20851 wx_cv_libs_gtk
=$GTK_LIBS
20858 if test "$gtk_version_cached" = 1; then
20859 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20860 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20863 case "$wx_cv_lib_gtk" in
20872 *) { { echo "$as_me:$LINENO: error:
20873 Please check that gtk-config is in path, the directory
20874 where GTK+ libraries are installed (returned by
20875 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20876 equivalent variable and GTK+ is version 1.2.3 or above.
20878 echo "$as_me: error:
20879 Please check that gtk-config is in path, the directory
20880 where GTK+ libraries are installed (returned by
20881 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20882 equivalent variable and GTK+ is version 1.2.3 or above.
20884 { (exit 1); exit 1; }; }
20888 if test "$WXGTK20" = 1; then
20889 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20893 if test -z "$PKG_CONFIG"; then
20894 # Extract the first word of "pkg-config", so it can be a program name with args.
20895 set dummy pkg
-config; ac_word
=$2
20896 echo "$as_me:$LINENO: checking for $ac_word" >&5
20897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20898 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20899 echo $ECHO_N "(cached) $ECHO_C" >&6
20901 case $PKG_CONFIG in
20903 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20907 for as_dir
in $PATH
20910 test -z "$as_dir" && as_dir
=.
20911 for ac_exec_ext
in '' $ac_executable_extensions; do
20912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20913 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20920 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20924 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20926 if test -n "$PKG_CONFIG"; then
20927 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20928 echo "${ECHO_T}$PKG_CONFIG" >&6
20930 echo "$as_me:$LINENO: result: no" >&5
20931 echo "${ECHO_T}no" >&6
20936 if test "$PKG_CONFIG" = "no" ; then
20937 echo "*** The pkg-config script could not be found. Make sure it is"
20938 echo "*** in your path, or set the PKG_CONFIG environment variable"
20939 echo "*** to the full path to pkg-config."
20940 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20942 PKG_CONFIG_MIN_VERSION
=0.9.0
20943 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20944 echo "$as_me:$LINENO: checking for pangoft2" >&5
20945 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20947 if $PKG_CONFIG --exists "pangoft2" ; then
20948 echo "$as_me:$LINENO: result: yes" >&5
20949 echo "${ECHO_T}yes" >&6
20952 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20953 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20954 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20955 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20956 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20958 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20959 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20960 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20961 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20962 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20966 ## If we have a custom action on failure, don't print errors, but
20967 ## do set a variable so people can do so.
20968 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20975 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20976 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20980 if test $succeeded = yes; then
20982 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20983 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20987 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20988 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20989 wxUSE_PRINTING_ARCHITECTURE
="no"
20996 if test "$wxUSE_UNICODE" = "yes"; then
20997 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20998 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21003 if test "$USE_DARWIN" != 1; then
21005 for ac_func
in poll
21007 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21008 echo "$as_me:$LINENO: checking for $ac_func" >&5
21009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21010 if eval "test \"\${$as_ac_var+set}\" = set"; then
21011 echo $ECHO_N "(cached) $ECHO_C" >&6
21013 cat >conftest.
$ac_ext <<_ACEOF
21014 #line $LINENO "configure"
21017 cat confdefs.h
>>conftest.
$ac_ext
21018 cat >>conftest.
$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21020 /* System header to define __stub macros and hopefully few prototypes,
21021 which can conflict with char $ac_func (); below.
21022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21023 <limits.h> exists even on freestanding compilers. */
21025 # include <limits.h>
21027 # include <assert.h>
21029 /* Override any gcc2 internal prototype to avoid an error. */
21034 /* We use char because int might match the return type of a gcc2
21035 builtin and then its argument prototype would still apply. */
21037 /* The GNU C library defines this for functions which it implements
21038 to always fail with ENOSYS. Some functions are actually named
21039 something starting with __ and the normal name is an alias. */
21040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21043 char (*f) () = $ac_func;
21052 return f != $ac_func;
21057 rm -f conftest.
$ac_objext conftest
$ac_exeext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21059 (eval $ac_link) 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); } &&
21063 { ac_try
='test -s conftest$ac_exeext'
21064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21065 (eval $ac_try) 2>&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); }; }; then
21069 eval "$as_ac_var=yes"
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.
$ac_ext >&5
21074 eval "$as_ac_var=no"
21076 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21080 if test `eval echo '${'$as_ac_var'}'` = yes; then
21081 cat >>confdefs.h
<<_ACEOF
21082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21090 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21091 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21093 AFMINSTALL
=afminstall
21097 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21098 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21099 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 ac_check_lib_save_LIBS
=$LIBS
21104 cat >conftest.
$ac_ext <<_ACEOF
21105 #line $LINENO "configure"
21108 cat confdefs.h
>>conftest.
$ac_ext
21109 cat >>conftest.
$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21112 /* Override any gcc2 internal prototype to avoid an error. */
21116 /* We use char because int might match the return type of a gcc2
21117 builtin and then its argument prototype would still apply. */
21118 char gdk_im_open ();
21127 rm -f conftest.
$ac_objext conftest
$ac_exeext
21128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21129 (eval $ac_link) 2>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } &&
21133 { ac_try
='test -s conftest$ac_exeext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 ac_cv_lib_gdk_gdk_im_open
=yes
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.
$ac_ext >&5
21144 ac_cv_lib_gdk_gdk_im_open
=no
21146 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21147 LIBS
=$ac_check_lib_save_LIBS
21149 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21150 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21151 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21152 cat >>confdefs.h
<<\_ACEOF
21160 if test "$wxUSE_MGL" = 1; then
21161 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21162 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21163 if test "x$MGL_ROOT" = x
; then
21164 echo "$as_me:$LINENO: result: not found" >&5
21165 echo "${ECHO_T}not found" >&6
21166 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21167 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21168 { (exit 1); exit 1; }; }
21170 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21171 echo "${ECHO_T}$MGL_ROOT" >&6
21174 echo "$as_me:$LINENO: checking for libmgl location" >&5
21175 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21178 if test "x$wxUSE_SHARED" = xyes
; then
21179 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
21181 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
21185 mgl_os_candidates
="dos32/dj2"
21188 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21189 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21190 { (exit 1); exit 1; }; }
21196 for mgl_os_i
in $mgl_os_candidates ; do
21197 if test "x$mgl_os" = x
; then
21198 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21199 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21200 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21205 if test "x$mgl_lib_type" = x
; then
21206 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21207 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21208 mgl_lib_type
=release
21215 if test "x$mgl_os" = x
; then
21216 echo "$as_me:$LINENO: result: not found" >&5
21217 echo "${ECHO_T}not found" >&6
21218 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21219 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21220 { (exit 1); exit 1; }; }
21222 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21223 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21225 wxUSE_UNIVERSAL
="yes"
21227 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21228 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21230 AFMINSTALL
=afminstall
21235 if test "$wxUSE_MICROWIN" = 1; then
21236 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21237 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21238 if test "x$MICROWINDOWS" = x
; then
21239 echo "$as_me:$LINENO: result: not found" >&5
21240 echo "${ECHO_T}not found" >&6
21241 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21242 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21243 { (exit 1); exit 1; }; }
21245 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21246 echo "${ECHO_T}$MICROWINDOWS" >&6
21249 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21250 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21251 echo "${ECHO_T}MicroWindows' libraries found." >&6
21253 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21254 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21255 { (exit 1); exit 1; }; }
21258 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21259 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21261 wxUSE_UNIVERSAL
="yes"
21263 AFMINSTALL
=afminstall
21265 GUIDIST
=MICROWIN_DIST
21267 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21270 if test "$wxUSE_X11" = 1; then
21271 echo "$as_me:$LINENO: checking for X" >&5
21272 echo $ECHO_N "checking for X... $ECHO_C" >&6
21275 # Check whether --with-x or --without-x was given.
21276 if test "${with_x+set}" = set; then
21280 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21281 if test "x$with_x" = xno
; then
21282 # The user explicitly disabled X.
21285 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21286 # Both variables are already set.
21289 if test "${ac_cv_have_x+set}" = set; then
21290 echo $ECHO_N "(cached) $ECHO_C" >&6
21292 # One or both of the vars are not set, and there is no cached value.
21293 ac_x_includes
=no ac_x_libraries
=no
21294 rm -fr conftest.dir
21295 if mkdir conftest.dir
; then
21297 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21298 cat >Imakefile
<<'_ACEOF'
21300 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21302 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21303 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21304 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21305 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21306 for ac_extension
in a so sl
; do
21307 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21308 test -f $ac_im_libdir/libX11.
$ac_extension; then
21309 ac_im_usrlibdir
=$ac_im_libdir; break
21312 # Screen out bogus values from the imake configuration. They are
21313 # bogus both because they are the default anyway, and because
21314 # using them would break gcc on systems where it needs fixed includes.
21315 case $ac_im_incroot in
21317 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21319 case $ac_im_usrlibdir in
21320 /usr
/lib
| /lib
) ;;
21321 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21325 rm -fr conftest.dir
21328 # Standard set of common directories for X headers.
21329 # Check X11 before X11Rn because it is often a symlink to the current release.
21341 /usr/local/X11/include
21342 /usr/local/X11R6/include
21343 /usr/local/X11R5/include
21344 /usr/local/X11R4/include
21346 /usr/local/include/X11
21347 /usr/local/include/X11R6
21348 /usr/local/include/X11R5
21349 /usr/local/include/X11R4
21353 /usr/XFree86/include/X11
21357 /usr/unsupported/include
21358 /usr/athena/include
21359 /usr/local/x11r5/include
21360 /usr/lpp/Xamples/include
21362 /usr/openwin/include
21363 /usr/openwin/share/include'
21365 if test "$ac_x_includes" = no
; then
21366 # Guess where to find include files, by looking for Intrinsic.h.
21367 # First, try using that file with no special directory specified.
21368 cat >conftest.
$ac_ext <<_ACEOF
21369 #line $LINENO "configure"
21372 cat confdefs.h
>>conftest.
$ac_ext
21373 cat >>conftest.
$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 #include <X11/Intrinsic.h>
21377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21380 grep -v '^ *+' conftest.er1
>conftest.err
21382 cat conftest.err
>&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } >/dev
/null
; then
21385 if test -s conftest.err
; then
21386 ac_cpp_err
=$ac_c_preproc_warn_flag
21393 if test -z "$ac_cpp_err"; then
21394 # We can compile using X headers with no special include directory.
21397 echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.
$ac_ext >&5
21400 for ac_dir
in $ac_x_header_dirs; do
21401 if test -r "$ac_dir/X11/Intrinsic.h"; then
21402 ac_x_includes
=$ac_dir
21407 rm -f conftest.err conftest.
$ac_ext
21408 fi # $ac_x_includes = no
21410 if test "$ac_x_libraries" = no
; then
21411 # Check for the libraries.
21412 # See if we find them without any special options.
21413 # Don't add to $LIBS permanently.
21416 cat >conftest.
$ac_ext <<_ACEOF
21417 #line $LINENO "configure"
21420 cat confdefs.h
>>conftest.
$ac_ext
21421 cat >>conftest.
$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 #include <X11/Intrinsic.h>
21432 rm -f conftest.
$ac_objext conftest
$ac_exeext
21433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21434 (eval $ac_link) 2>&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try
='test -s conftest$ac_exeext'
21439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21440 (eval $ac_try) 2>&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); }; }; then
21445 # We can link X programs with no special library path.
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.
$ac_ext >&5
21452 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21454 # Don't even attempt the hair of trying to link an X program!
21455 for ac_extension
in a so sl
; do
21456 if test -r $ac_dir/libXt.
$ac_extension; then
21457 ac_x_libraries
=$ac_dir
21463 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21464 fi # $ac_x_libraries = no
21466 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21467 # Didn't find X anywhere. Cache the known absence of X.
21468 ac_cv_have_x
="have_x=no"
21470 # Record where we found X for the cache.
21471 ac_cv_have_x
="have_x=yes \
21472 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21477 eval "$ac_cv_have_x"
21480 if test "$have_x" != yes; then
21481 echo "$as_me:$LINENO: result: $have_x" >&5
21482 echo "${ECHO_T}$have_x" >&6
21485 # If each of the values was on the command line, it overrides each guess.
21486 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21487 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21488 # Update the cache value to reflect the command line values.
21489 ac_cv_have_x
="have_x=yes \
21490 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21491 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21492 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21495 if test "$no_x" = yes; then
21496 # Not all programs may use this symbol, but it does not hurt to define it.
21498 cat >>confdefs.h
<<\_ACEOF
21499 #define X_DISPLAY_MISSING 1
21502 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21504 if test -n "$x_includes"; then
21505 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21508 # It would also be nice to do this for all -L options, not just this one.
21509 if test -n "$x_libraries"; then
21510 X_LIBS
="$X_LIBS -L$x_libraries"
21511 # For Solaris; some versions of Sun CC require a space after -R and
21512 # others require no space. Words are not sufficient . . . .
21513 case `(uname -sr) 2>/dev/null` in
21515 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21516 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21517 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21518 cat >conftest.
$ac_ext <<_ACEOF
21519 #line $LINENO "configure"
21522 cat confdefs.h
>>conftest.
$ac_ext
21523 cat >>conftest.
$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21534 rm -f conftest.
$ac_objext conftest
$ac_exeext
21535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21536 (eval $ac_link) 2>&5
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); } &&
21540 { ac_try
='test -s conftest$ac_exeext'
21541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21542 (eval $ac_try) 2>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; }; then
21548 echo "$as_me: failed program was:" >&5
21549 sed 's/^/| /' conftest.
$ac_ext >&5
21553 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21554 if test $ac_R_nospace = yes; then
21555 echo "$as_me:$LINENO: result: no" >&5
21556 echo "${ECHO_T}no" >&6
21557 X_LIBS
="$X_LIBS -R$x_libraries"
21559 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21560 cat >conftest.
$ac_ext <<_ACEOF
21561 #line $LINENO "configure"
21564 cat confdefs.h
>>conftest.
$ac_ext
21565 cat >>conftest.
$ac_ext <<_ACEOF
21566 /* end confdefs.h. */
21576 rm -f conftest.
$ac_objext conftest
$ac_exeext
21577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21578 (eval $ac_link) 2>&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try
='test -s conftest$ac_exeext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.
$ac_ext >&5
21595 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21596 if test $ac_R_space = yes; then
21597 echo "$as_me:$LINENO: result: yes" >&5
21598 echo "${ECHO_T}yes" >&6
21599 X_LIBS
="$X_LIBS -R $x_libraries"
21601 echo "$as_me:$LINENO: result: neither works" >&5
21602 echo "${ECHO_T}neither works" >&6
21605 LIBS
=$ac_xsave_LIBS
21609 # Check for system-dependent libraries X programs must link with.
21610 # Do this before checking for the system-independent R6 libraries
21611 # (-lICE), since we may need -lsocket or whatever for X linking.
21613 if test "$ISC" = yes; then
21614 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21616 # Martyn Johnson says this is needed for Ultrix, if the X
21617 # libraries were built with DECnet support. And Karl Berry says
21618 # the Alpha needs dnet_stub (dnet does not exist).
21619 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21620 cat >conftest.
$ac_ext <<_ACEOF
21621 #line $LINENO "configure"
21624 cat confdefs.h
>>conftest.
$ac_ext
21625 cat >>conftest.
$ac_ext <<_ACEOF
21626 /* end confdefs.h. */
21628 /* Override any gcc2 internal prototype to avoid an error. */
21632 /* We use char because int might match the return type of a gcc2
21633 builtin and then its argument prototype would still apply. */
21634 char XOpenDisplay ();
21643 rm -f conftest.
$ac_objext conftest
$ac_exeext
21644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21645 (eval $ac_link) 2>&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } &&
21649 { ac_try
='test -s conftest$ac_exeext'
21650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21651 (eval $ac_try) 2>&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); }; }; then
21657 echo "$as_me: failed program was:" >&5
21658 sed 's/^/| /' conftest.
$ac_ext >&5
21660 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21661 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21662 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21663 echo $ECHO_N "(cached) $ECHO_C" >&6
21665 ac_check_lib_save_LIBS
=$LIBS
21666 LIBS
="-ldnet $LIBS"
21667 cat >conftest.
$ac_ext <<_ACEOF
21668 #line $LINENO "configure"
21671 cat confdefs.h
>>conftest.
$ac_ext
21672 cat >>conftest.
$ac_ext <<_ACEOF
21673 /* end confdefs.h. */
21675 /* Override any gcc2 internal prototype to avoid an error. */
21679 /* We use char because int might match the return type of a gcc2
21680 builtin and then its argument prototype would still apply. */
21690 rm -f conftest.
$ac_objext conftest
$ac_exeext
21691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21692 (eval $ac_link) 2>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } &&
21696 { ac_try
='test -s conftest$ac_exeext'
21697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21698 (eval $ac_try) 2>&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); }; }; then
21702 ac_cv_lib_dnet_dnet_ntoa
=yes
21704 echo "$as_me: failed program was:" >&5
21705 sed 's/^/| /' conftest.
$ac_ext >&5
21707 ac_cv_lib_dnet_dnet_ntoa
=no
21709 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21710 LIBS
=$ac_check_lib_save_LIBS
21712 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21713 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21714 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21715 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21718 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21719 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21720 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21721 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21722 echo $ECHO_N "(cached) $ECHO_C" >&6
21724 ac_check_lib_save_LIBS
=$LIBS
21725 LIBS
="-ldnet_stub $LIBS"
21726 cat >conftest.
$ac_ext <<_ACEOF
21727 #line $LINENO "configure"
21730 cat confdefs.h
>>conftest.
$ac_ext
21731 cat >>conftest.
$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21734 /* Override any gcc2 internal prototype to avoid an error. */
21738 /* We use char because int might match the return type of a gcc2
21739 builtin and then its argument prototype would still apply. */
21749 rm -f conftest.
$ac_objext conftest
$ac_exeext
21750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21751 (eval $ac_link) 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); } &&
21755 { ac_try
='test -s conftest$ac_exeext'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.
$ac_ext >&5
21766 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21768 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21769 LIBS
=$ac_check_lib_save_LIBS
21771 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21772 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21773 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21774 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21779 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21780 LIBS
="$ac_xsave_LIBS"
21782 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21783 # to get the SysV transport functions.
21784 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21786 # The nsl library prevents programs from opening the X display
21787 # on Irix 5.2, according to T.E. Dickey.
21788 # The functions gethostbyname, getservbyname, and inet_addr are
21789 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21790 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21791 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21792 if test "${ac_cv_func_gethostbyname+set}" = set; then
21793 echo $ECHO_N "(cached) $ECHO_C" >&6
21795 cat >conftest.
$ac_ext <<_ACEOF
21796 #line $LINENO "configure"
21799 cat confdefs.h
>>conftest.
$ac_ext
21800 cat >>conftest.
$ac_ext <<_ACEOF
21801 /* end confdefs.h. */
21802 /* System header to define __stub macros and hopefully few prototypes,
21803 which can conflict with char gethostbyname (); below.
21804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21805 <limits.h> exists even on freestanding compilers. */
21807 # include <limits.h>
21809 # include <assert.h>
21811 /* Override any gcc2 internal prototype to avoid an error. */
21816 /* We use char because int might match the return type of a gcc2
21817 builtin and then its argument prototype would still apply. */
21818 char gethostbyname ();
21819 /* The GNU C library defines this for functions which it implements
21820 to always fail with ENOSYS. Some functions are actually named
21821 something starting with __ and the normal name is an alias. */
21822 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21825 char (*f) () = gethostbyname;
21834 return f != gethostbyname;
21839 rm -f conftest.
$ac_objext conftest
$ac_exeext
21840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21841 (eval $ac_link) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } &&
21845 { ac_try
='test -s conftest$ac_exeext'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; }; then
21851 ac_cv_func_gethostbyname
=yes
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.
$ac_ext >&5
21856 ac_cv_func_gethostbyname
=no
21858 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21860 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21861 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21863 if test $ac_cv_func_gethostbyname = no
; then
21864 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21865 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21866 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 ac_check_lib_save_LIBS
=$LIBS
21871 cat >conftest.
$ac_ext <<_ACEOF
21872 #line $LINENO "configure"
21875 cat confdefs.h
>>conftest.
$ac_ext
21876 cat >>conftest.
$ac_ext <<_ACEOF
21877 /* end confdefs.h. */
21879 /* Override any gcc2 internal prototype to avoid an error. */
21883 /* We use char because int might match the return type of a gcc2
21884 builtin and then its argument prototype would still apply. */
21885 char gethostbyname ();
21894 rm -f conftest.
$ac_objext conftest
$ac_exeext
21895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21896 (eval $ac_link) 2>&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } &&
21900 { ac_try
='test -s conftest$ac_exeext'
21901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21902 (eval $ac_try) 2>&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; }; then
21906 ac_cv_lib_nsl_gethostbyname
=yes
21908 echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.
$ac_ext >&5
21911 ac_cv_lib_nsl_gethostbyname
=no
21913 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21914 LIBS
=$ac_check_lib_save_LIBS
21916 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21917 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21918 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21919 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21922 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21923 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21924 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21925 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21926 echo $ECHO_N "(cached) $ECHO_C" >&6
21928 ac_check_lib_save_LIBS
=$LIBS
21930 cat >conftest.
$ac_ext <<_ACEOF
21931 #line $LINENO "configure"
21934 cat confdefs.h
>>conftest.
$ac_ext
21935 cat >>conftest.
$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21938 /* Override any gcc2 internal prototype to avoid an error. */
21942 /* We use char because int might match the return type of a gcc2
21943 builtin and then its argument prototype would still apply. */
21944 char gethostbyname ();
21953 rm -f conftest.
$ac_objext conftest
$ac_exeext
21954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21955 (eval $ac_link) 2>&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); } &&
21959 { ac_try
='test -s conftest$ac_exeext'
21960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21961 (eval $ac_try) 2>&5
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; }; then
21965 ac_cv_lib_bsd_gethostbyname
=yes
21967 echo "$as_me: failed program was:" >&5
21968 sed 's/^/| /' conftest.
$ac_ext >&5
21970 ac_cv_lib_bsd_gethostbyname
=no
21972 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21973 LIBS
=$ac_check_lib_save_LIBS
21975 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21976 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21977 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21978 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21984 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21985 # socket/setsockopt and other routines are undefined under SCO ODT
21986 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21987 # on later versions), says Simon Leinen: it contains gethostby*
21988 # variants that don't use the name server (or something). -lsocket
21989 # must be given before -lnsl if both are needed. We assume that
21990 # if connect needs -lnsl, so does gethostbyname.
21991 echo "$as_me:$LINENO: checking for connect" >&5
21992 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21993 if test "${ac_cv_func_connect+set}" = set; then
21994 echo $ECHO_N "(cached) $ECHO_C" >&6
21996 cat >conftest.
$ac_ext <<_ACEOF
21997 #line $LINENO "configure"
22000 cat confdefs.h
>>conftest.
$ac_ext
22001 cat >>conftest.
$ac_ext <<_ACEOF
22002 /* end confdefs.h. */
22003 /* System header to define __stub macros and hopefully few prototypes,
22004 which can conflict with char connect (); below.
22005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22006 <limits.h> exists even on freestanding compilers. */
22008 # include <limits.h>
22010 # include <assert.h>
22012 /* Override any gcc2 internal prototype to avoid an error. */
22017 /* We use char because int might match the return type of a gcc2
22018 builtin and then its argument prototype would still apply. */
22020 /* The GNU C library defines this for functions which it implements
22021 to always fail with ENOSYS. Some functions are actually named
22022 something starting with __ and the normal name is an alias. */
22023 #if defined (__stub_connect) || defined (__stub___connect)
22026 char (*f) () = connect;
22035 return f != connect;
22040 rm -f conftest.
$ac_objext conftest
$ac_exeext
22041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22042 (eval $ac_link) 2>&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } &&
22046 { ac_try
='test -s conftest$ac_exeext'
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; }; then
22052 ac_cv_func_connect
=yes
22054 echo "$as_me: failed program was:" >&5
22055 sed 's/^/| /' conftest.
$ac_ext >&5
22057 ac_cv_func_connect
=no
22059 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22061 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22062 echo "${ECHO_T}$ac_cv_func_connect" >&6
22064 if test $ac_cv_func_connect = no
; then
22065 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22066 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22067 if test "${ac_cv_lib_socket_connect+set}" = set; then
22068 echo $ECHO_N "(cached) $ECHO_C" >&6
22070 ac_check_lib_save_LIBS
=$LIBS
22071 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22072 cat >conftest.
$ac_ext <<_ACEOF
22073 #line $LINENO "configure"
22076 cat confdefs.h
>>conftest.
$ac_ext
22077 cat >>conftest.
$ac_ext <<_ACEOF
22078 /* end confdefs.h. */
22080 /* Override any gcc2 internal prototype to avoid an error. */
22084 /* We use char because int might match the return type of a gcc2
22085 builtin and then its argument prototype would still apply. */
22095 rm -f conftest.
$ac_objext conftest
$ac_exeext
22096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22097 (eval $ac_link) 2>&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } &&
22101 { ac_try
='test -s conftest$ac_exeext'
22102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22103 (eval $ac_try) 2>&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); }; }; then
22107 ac_cv_lib_socket_connect
=yes
22109 echo "$as_me: failed program was:" >&5
22110 sed 's/^/| /' conftest.
$ac_ext >&5
22112 ac_cv_lib_socket_connect
=no
22114 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22115 LIBS
=$ac_check_lib_save_LIBS
22117 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22118 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22119 if test $ac_cv_lib_socket_connect = yes; then
22120 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22125 # Guillermo Gomez says -lposix is necessary on A/UX.
22126 echo "$as_me:$LINENO: checking for remove" >&5
22127 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22128 if test "${ac_cv_func_remove+set}" = set; then
22129 echo $ECHO_N "(cached) $ECHO_C" >&6
22131 cat >conftest.
$ac_ext <<_ACEOF
22132 #line $LINENO "configure"
22135 cat confdefs.h
>>conftest.
$ac_ext
22136 cat >>conftest.
$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 /* System header to define __stub macros and hopefully few prototypes,
22139 which can conflict with char remove (); below.
22140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22141 <limits.h> exists even on freestanding compilers. */
22143 # include <limits.h>
22145 # include <assert.h>
22147 /* Override any gcc2 internal prototype to avoid an error. */
22152 /* We use char because int might match the return type of a gcc2
22153 builtin and then its argument prototype would still apply. */
22155 /* The GNU C library defines this for functions which it implements
22156 to always fail with ENOSYS. Some functions are actually named
22157 something starting with __ and the normal name is an alias. */
22158 #if defined (__stub_remove) || defined (__stub___remove)
22161 char (*f) () = remove;
22170 return f != remove;
22175 rm -f conftest.
$ac_objext conftest
$ac_exeext
22176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22177 (eval $ac_link) 2>&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } &&
22181 { ac_try
='test -s conftest$ac_exeext'
22182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183 (eval $ac_try) 2>&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; }; then
22187 ac_cv_func_remove
=yes
22189 echo "$as_me: failed program was:" >&5
22190 sed 's/^/| /' conftest.
$ac_ext >&5
22192 ac_cv_func_remove
=no
22194 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22196 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22197 echo "${ECHO_T}$ac_cv_func_remove" >&6
22199 if test $ac_cv_func_remove = no
; then
22200 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22201 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22202 if test "${ac_cv_lib_posix_remove+set}" = set; then
22203 echo $ECHO_N "(cached) $ECHO_C" >&6
22205 ac_check_lib_save_LIBS
=$LIBS
22206 LIBS
="-lposix $LIBS"
22207 cat >conftest.
$ac_ext <<_ACEOF
22208 #line $LINENO "configure"
22211 cat confdefs.h
>>conftest.
$ac_ext
22212 cat >>conftest.
$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22215 /* Override any gcc2 internal prototype to avoid an error. */
22219 /* We use char because int might match the return type of a gcc2
22220 builtin and then its argument prototype would still apply. */
22230 rm -f conftest.
$ac_objext conftest
$ac_exeext
22231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22232 (eval $ac_link) 2>&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); } &&
22236 { ac_try
='test -s conftest$ac_exeext'
22237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22238 (eval $ac_try) 2>&5
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); }; }; then
22242 ac_cv_lib_posix_remove
=yes
22244 echo "$as_me: failed program was:" >&5
22245 sed 's/^/| /' conftest.
$ac_ext >&5
22247 ac_cv_lib_posix_remove
=no
22249 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22250 LIBS
=$ac_check_lib_save_LIBS
22252 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22253 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22254 if test $ac_cv_lib_posix_remove = yes; then
22255 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22260 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22261 echo "$as_me:$LINENO: checking for shmat" >&5
22262 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22263 if test "${ac_cv_func_shmat+set}" = set; then
22264 echo $ECHO_N "(cached) $ECHO_C" >&6
22266 cat >conftest.
$ac_ext <<_ACEOF
22267 #line $LINENO "configure"
22270 cat confdefs.h
>>conftest.
$ac_ext
22271 cat >>conftest.
$ac_ext <<_ACEOF
22272 /* end confdefs.h. */
22273 /* System header to define __stub macros and hopefully few prototypes,
22274 which can conflict with char shmat (); below.
22275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22276 <limits.h> exists even on freestanding compilers. */
22278 # include <limits.h>
22280 # include <assert.h>
22282 /* Override any gcc2 internal prototype to avoid an error. */
22287 /* We use char because int might match the return type of a gcc2
22288 builtin and then its argument prototype would still apply. */
22290 /* The GNU C library defines this for functions which it implements
22291 to always fail with ENOSYS. Some functions are actually named
22292 something starting with __ and the normal name is an alias. */
22293 #if defined (__stub_shmat) || defined (__stub___shmat)
22296 char (*f) () = shmat;
22310 rm -f conftest.
$ac_objext conftest
$ac_exeext
22311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22312 (eval $ac_link) 2>&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); } &&
22316 { ac_try
='test -s conftest$ac_exeext'
22317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22318 (eval $ac_try) 2>&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); }; }; then
22322 ac_cv_func_shmat
=yes
22324 echo "$as_me: failed program was:" >&5
22325 sed 's/^/| /' conftest.
$ac_ext >&5
22327 ac_cv_func_shmat
=no
22329 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22331 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22332 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22334 if test $ac_cv_func_shmat = no
; then
22335 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22336 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22337 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22338 echo $ECHO_N "(cached) $ECHO_C" >&6
22340 ac_check_lib_save_LIBS
=$LIBS
22342 cat >conftest.
$ac_ext <<_ACEOF
22343 #line $LINENO "configure"
22346 cat confdefs.h
>>conftest.
$ac_ext
22347 cat >>conftest.
$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22350 /* Override any gcc2 internal prototype to avoid an error. */
22354 /* We use char because int might match the return type of a gcc2
22355 builtin and then its argument prototype would still apply. */
22365 rm -f conftest.
$ac_objext conftest
$ac_exeext
22366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22367 (eval $ac_link) 2>&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } &&
22371 { ac_try
='test -s conftest$ac_exeext'
22372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22373 (eval $ac_try) 2>&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); }; }; then
22377 ac_cv_lib_ipc_shmat
=yes
22379 echo "$as_me: failed program was:" >&5
22380 sed 's/^/| /' conftest.
$ac_ext >&5
22382 ac_cv_lib_ipc_shmat
=no
22384 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22385 LIBS
=$ac_check_lib_save_LIBS
22387 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22388 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22389 if test $ac_cv_lib_ipc_shmat = yes; then
22390 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22396 # Check for libraries that X11R6 Xt/Xaw programs need.
22397 ac_save_LDFLAGS
=$LDFLAGS
22398 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22399 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22400 # check for ICE first), but we must link in the order -lSM -lICE or
22401 # we get undefined symbols. So assume we have SM if we have ICE.
22402 # These have to be linked with before -lX11, unlike the other
22403 # libraries we check for below, so use a different variable.
22404 # John Interrante, Karl Berry
22405 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22406 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22407 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22408 echo $ECHO_N "(cached) $ECHO_C" >&6
22410 ac_check_lib_save_LIBS
=$LIBS
22411 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22412 cat >conftest.
$ac_ext <<_ACEOF
22413 #line $LINENO "configure"
22416 cat confdefs.h
>>conftest.
$ac_ext
22417 cat >>conftest.
$ac_ext <<_ACEOF
22418 /* end confdefs.h. */
22420 /* Override any gcc2 internal prototype to avoid an error. */
22424 /* We use char because int might match the return type of a gcc2
22425 builtin and then its argument prototype would still apply. */
22426 char IceConnectionNumber ();
22430 IceConnectionNumber ();
22435 rm -f conftest.
$ac_objext conftest
$ac_exeext
22436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22437 (eval $ac_link) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); } &&
22441 { ac_try
='test -s conftest$ac_exeext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 ac_cv_lib_ICE_IceConnectionNumber
=yes
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.
$ac_ext >&5
22452 ac_cv_lib_ICE_IceConnectionNumber
=no
22454 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22455 LIBS
=$ac_check_lib_save_LIBS
22457 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22458 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22459 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22460 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22463 LDFLAGS
=$ac_save_LDFLAGS
22468 if test "$no_x" = "yes"; then
22469 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22470 echo "$as_me: error: X11 not found" >&2;}
22471 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22474 GUI_TK_LIBRARY
="$X_LIBS"
22475 TOOLKIT_INCLUDE
="$X_CFLAGS"
22476 AFMINSTALL
=afminstall
22477 COMPILED_X_PROGRAM
=0
22479 if test "$wxUSE_NANOX" = "yes"; then
22480 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22481 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22482 if test "x$MICROWIN" = x
; then
22483 echo "$as_me:$LINENO: result: not found" >&5
22484 echo "${ECHO_T}not found" >&6
22485 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22486 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22487 { (exit 1); exit 1; }; }
22489 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22490 echo "${ECHO_T}$MICROWIN" >&6
22491 cat >>confdefs.h
<<\_ACEOF
22492 #define wxUSE_NANOX 1
22499 echo "$as_me:$LINENO: checking for Xpm library" >&5
22500 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22503 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22505 for ac_extension
in a so sl dylib
; do
22506 if test -f "$ac_dir/libXpm.$ac_extension"; then
22507 ac_find_libraries
=$ac_dir
22513 if test "$ac_find_libraries" != "" ; then
22515 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22517 if test $result = 0; then
22520 ac_path_to_link
=" -L$ac_find_libraries"
22523 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22525 cat >>confdefs.h
<<\_ACEOF
22526 #define wxHAVE_LIB_XPM 1
22529 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22530 echo "${ECHO_T}found at $ac_find_libraries" >&6
22532 cat >conftest.
$ac_ext <<_ACEOF
22533 #line $LINENO "configure"
22536 cat confdefs.h
>>conftest.
$ac_ext
22537 cat >>conftest.
$ac_ext <<_ACEOF
22538 /* end confdefs.h. */
22540 #include <X11/xpm.h>
22547 version = XpmLibraryVersion();
22553 rm -f conftest.
$ac_objext
22554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22555 (eval $ac_compile) 2>&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); } &&
22559 { ac_try
='test -s conftest.$ac_objext'
22560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22561 (eval $ac_try) 2>&5
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); }; }; then
22567 cat >>confdefs.h
<<\_ACEOF
22568 #define wxHAVE_LIB_XPM 1
22571 echo "$as_me:$LINENO: result: found in default search path" >&5
22572 echo "${ECHO_T}found in default search path" >&6
22573 COMPILED_X_PROGRAM
=0
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.
$ac_ext >&5
22580 echo "$as_me:$LINENO: result: no" >&5
22581 echo "${ECHO_T}no" >&6
22582 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22583 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22587 rm -f conftest.
$ac_objext conftest.
$ac_ext
22590 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22591 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22592 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22593 echo $ECHO_N "(cached) $ECHO_C" >&6
22595 ac_check_lib_save_LIBS
=$LIBS
22596 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22597 cat >conftest.
$ac_ext <<_ACEOF
22598 #line $LINENO "configure"
22601 cat confdefs.h
>>conftest.
$ac_ext
22602 cat >>conftest.
$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22605 /* Override any gcc2 internal prototype to avoid an error. */
22609 /* We use char because int might match the return type of a gcc2
22610 builtin and then its argument prototype would still apply. */
22611 char XShapeQueryExtension ();
22615 XShapeQueryExtension ();
22620 rm -f conftest.
$ac_objext conftest
$ac_exeext
22621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22622 (eval $ac_link) 2>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } &&
22626 { ac_try
='test -s conftest$ac_exeext'
22627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22628 (eval $ac_try) 2>&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); }; }; then
22632 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22634 echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.
$ac_ext >&5
22637 ac_cv_lib_Xext_XShapeQueryExtension
=no
22639 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22640 LIBS
=$ac_check_lib_save_LIBS
22642 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22643 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22644 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22646 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22652 if test "$wxUSE_UNICODE" = "yes"; then
22656 if test -z "$PKG_CONFIG"; then
22657 # Extract the first word of "pkg-config", so it can be a program name with args.
22658 set dummy pkg
-config; ac_word
=$2
22659 echo "$as_me:$LINENO: checking for $ac_word" >&5
22660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22661 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22662 echo $ECHO_N "(cached) $ECHO_C" >&6
22664 case $PKG_CONFIG in
22666 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22670 for as_dir
in $PATH
22673 test -z "$as_dir" && as_dir
=.
22674 for ac_exec_ext
in '' $ac_executable_extensions; do
22675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22676 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22683 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22687 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22689 if test -n "$PKG_CONFIG"; then
22690 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22691 echo "${ECHO_T}$PKG_CONFIG" >&6
22693 echo "$as_me:$LINENO: result: no" >&5
22694 echo "${ECHO_T}no" >&6
22699 if test "$PKG_CONFIG" = "no" ; then
22700 echo "*** The pkg-config script could not be found. Make sure it is"
22701 echo "*** in your path, or set the PKG_CONFIG environment variable"
22702 echo "*** to the full path to pkg-config."
22703 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22705 PKG_CONFIG_MIN_VERSION
=0.9.0
22706 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22707 echo "$as_me:$LINENO: checking for pangox" >&5
22708 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22710 if $PKG_CONFIG --exists "pangox" ; then
22711 echo "$as_me:$LINENO: result: yes" >&5
22712 echo "${ECHO_T}yes" >&6
22715 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22716 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22717 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22718 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22719 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22721 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22722 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22723 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22724 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22725 echo "${ECHO_T}$PANGOX_LIBS" >&6
22729 ## If we have a custom action on failure, don't print errors, but
22730 ## do set a variable so people can do so.
22731 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22738 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22739 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22743 if test $succeeded = yes; then
22745 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22746 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22750 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22751 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22752 { (exit 1); exit 1; }; }
22760 if test -z "$PKG_CONFIG"; then
22761 # Extract the first word of "pkg-config", so it can be a program name with args.
22762 set dummy pkg
-config; ac_word
=$2
22763 echo "$as_me:$LINENO: checking for $ac_word" >&5
22764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22765 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22766 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 case $PKG_CONFIG in
22770 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22774 for as_dir
in $PATH
22777 test -z "$as_dir" && as_dir
=.
22778 for ac_exec_ext
in '' $ac_executable_extensions; do
22779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22780 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22787 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22791 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22793 if test -n "$PKG_CONFIG"; then
22794 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22795 echo "${ECHO_T}$PKG_CONFIG" >&6
22797 echo "$as_me:$LINENO: result: no" >&5
22798 echo "${ECHO_T}no" >&6
22803 if test "$PKG_CONFIG" = "no" ; then
22804 echo "*** The pkg-config script could not be found. Make sure it is"
22805 echo "*** in your path, or set the PKG_CONFIG environment variable"
22806 echo "*** to the full path to pkg-config."
22807 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22809 PKG_CONFIG_MIN_VERSION
=0.9.0
22810 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22811 echo "$as_me:$LINENO: checking for pangoft2" >&5
22812 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22814 if $PKG_CONFIG --exists "pangoft2" ; then
22815 echo "$as_me:$LINENO: result: yes" >&5
22816 echo "${ECHO_T}yes" >&6
22819 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22820 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22821 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22822 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22823 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22825 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22826 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22827 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22828 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22829 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22833 ## If we have a custom action on failure, don't print errors, but
22834 ## do set a variable so people can do so.
22835 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22842 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22843 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22847 if test $succeeded = yes; then
22849 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22850 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22854 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22855 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22856 wxUSE_PRINTING_ARCHITECTURE
="no"
22864 if test -z "$PKG_CONFIG"; then
22865 # Extract the first word of "pkg-config", so it can be a program name with args.
22866 set dummy pkg
-config; ac_word
=$2
22867 echo "$as_me:$LINENO: checking for $ac_word" >&5
22868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22869 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22870 echo $ECHO_N "(cached) $ECHO_C" >&6
22872 case $PKG_CONFIG in
22874 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22878 for as_dir
in $PATH
22881 test -z "$as_dir" && as_dir
=.
22882 for ac_exec_ext
in '' $ac_executable_extensions; do
22883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22884 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22891 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22895 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22897 if test -n "$PKG_CONFIG"; then
22898 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22899 echo "${ECHO_T}$PKG_CONFIG" >&6
22901 echo "$as_me:$LINENO: result: no" >&5
22902 echo "${ECHO_T}no" >&6
22907 if test "$PKG_CONFIG" = "no" ; then
22908 echo "*** The pkg-config script could not be found. Make sure it is"
22909 echo "*** in your path, or set the PKG_CONFIG environment variable"
22910 echo "*** to the full path to pkg-config."
22911 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22913 PKG_CONFIG_MIN_VERSION
=0.9.0
22914 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22915 echo "$as_me:$LINENO: checking for pangoxft" >&5
22916 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22918 if $PKG_CONFIG --exists "pangoxft" ; then
22919 echo "$as_me:$LINENO: result: yes" >&5
22920 echo "${ECHO_T}yes" >&6
22923 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22924 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22925 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22926 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22927 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22929 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22930 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22931 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22932 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22933 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22937 ## If we have a custom action on failure, don't print errors, but
22938 ## do set a variable so people can do so.
22939 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22946 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22947 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22951 if test $succeeded = yes; then
22953 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22954 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22958 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22959 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22966 wxUSE_UNIVERSAL
="yes"
22968 if test "$wxUSE_NANOX" = "yes"; then
22969 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22970 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"
22971 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22973 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22976 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22981 if test "$wxUSE_MOTIF" = 1; then
22982 if test "$no_x" = yes; then
22983 # Not all programs may use this symbol, but it does not hurt to define it.
22985 cat >>confdefs.h
<<\_ACEOF
22986 #define X_DISPLAY_MISSING 1
22989 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22991 if test -n "$x_includes"; then
22992 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22995 # It would also be nice to do this for all -L options, not just this one.
22996 if test -n "$x_libraries"; then
22997 X_LIBS
="$X_LIBS -L$x_libraries"
22998 # For Solaris; some versions of Sun CC require a space after -R and
22999 # others require no space. Words are not sufficient . . . .
23000 case `(uname -sr) 2>/dev/null` in
23002 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23003 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23004 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23005 cat >conftest.
$ac_ext <<_ACEOF
23006 #line $LINENO "configure"
23009 cat confdefs.h
>>conftest.
$ac_ext
23010 cat >>conftest.
$ac_ext <<_ACEOF
23011 /* end confdefs.h. */
23021 rm -f conftest.
$ac_objext conftest
$ac_exeext
23022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23023 (eval $ac_link) 2>&5
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); } &&
23027 { ac_try
='test -s conftest$ac_exeext'
23028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23029 (eval $ac_try) 2>&5
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); }; }; then
23035 echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.
$ac_ext >&5
23040 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23041 if test $ac_R_nospace = yes; then
23042 echo "$as_me:$LINENO: result: no" >&5
23043 echo "${ECHO_T}no" >&6
23044 X_LIBS
="$X_LIBS -R$x_libraries"
23046 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23047 cat >conftest.
$ac_ext <<_ACEOF
23048 #line $LINENO "configure"
23051 cat confdefs.h
>>conftest.
$ac_ext
23052 cat >>conftest.
$ac_ext <<_ACEOF
23053 /* end confdefs.h. */
23063 rm -f conftest.
$ac_objext conftest
$ac_exeext
23064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23065 (eval $ac_link) 2>&5
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } &&
23069 { ac_try
='test -s conftest$ac_exeext'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; }; then
23077 echo "$as_me: failed program was:" >&5
23078 sed 's/^/| /' conftest.
$ac_ext >&5
23082 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23083 if test $ac_R_space = yes; then
23084 echo "$as_me:$LINENO: result: yes" >&5
23085 echo "${ECHO_T}yes" >&6
23086 X_LIBS
="$X_LIBS -R $x_libraries"
23088 echo "$as_me:$LINENO: result: neither works" >&5
23089 echo "${ECHO_T}neither works" >&6
23092 LIBS
=$ac_xsave_LIBS
23096 # Check for system-dependent libraries X programs must link with.
23097 # Do this before checking for the system-independent R6 libraries
23098 # (-lICE), since we may need -lsocket or whatever for X linking.
23100 if test "$ISC" = yes; then
23101 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23103 # Martyn Johnson says this is needed for Ultrix, if the X
23104 # libraries were built with DECnet support. And Karl Berry says
23105 # the Alpha needs dnet_stub (dnet does not exist).
23106 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23107 cat >conftest.
$ac_ext <<_ACEOF
23108 #line $LINENO "configure"
23111 cat confdefs.h
>>conftest.
$ac_ext
23112 cat >>conftest.
$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23115 /* Override any gcc2 internal prototype to avoid an error. */
23119 /* We use char because int might match the return type of a gcc2
23120 builtin and then its argument prototype would still apply. */
23121 char XOpenDisplay ();
23130 rm -f conftest.
$ac_objext conftest
$ac_exeext
23131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23132 (eval $ac_link) 2>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } &&
23136 { ac_try
='test -s conftest$ac_exeext'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; }; then
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.
$ac_ext >&5
23147 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23148 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23149 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23150 echo $ECHO_N "(cached) $ECHO_C" >&6
23152 ac_check_lib_save_LIBS
=$LIBS
23153 LIBS
="-ldnet $LIBS"
23154 cat >conftest.
$ac_ext <<_ACEOF
23155 #line $LINENO "configure"
23158 cat confdefs.h
>>conftest.
$ac_ext
23159 cat >>conftest.
$ac_ext <<_ACEOF
23160 /* end confdefs.h. */
23162 /* Override any gcc2 internal prototype to avoid an error. */
23166 /* We use char because int might match the return type of a gcc2
23167 builtin and then its argument prototype would still apply. */
23177 rm -f conftest.
$ac_objext conftest
$ac_exeext
23178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23179 (eval $ac_link) 2>&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); } &&
23183 { ac_try
='test -s conftest$ac_exeext'
23184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23185 (eval $ac_try) 2>&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); }; }; then
23189 ac_cv_lib_dnet_dnet_ntoa
=yes
23191 echo "$as_me: failed program was:" >&5
23192 sed 's/^/| /' conftest.
$ac_ext >&5
23194 ac_cv_lib_dnet_dnet_ntoa
=no
23196 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23197 LIBS
=$ac_check_lib_save_LIBS
23199 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23200 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23201 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23202 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23205 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23206 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23207 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23208 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23209 echo $ECHO_N "(cached) $ECHO_C" >&6
23211 ac_check_lib_save_LIBS
=$LIBS
23212 LIBS
="-ldnet_stub $LIBS"
23213 cat >conftest.
$ac_ext <<_ACEOF
23214 #line $LINENO "configure"
23217 cat confdefs.h
>>conftest.
$ac_ext
23218 cat >>conftest.
$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23221 /* Override any gcc2 internal prototype to avoid an error. */
23225 /* We use char because int might match the return type of a gcc2
23226 builtin and then its argument prototype would still apply. */
23236 rm -f conftest.
$ac_objext conftest
$ac_exeext
23237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23238 (eval $ac_link) 2>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } &&
23242 { ac_try
='test -s conftest$ac_exeext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23248 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.
$ac_ext >&5
23253 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23255 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23256 LIBS
=$ac_check_lib_save_LIBS
23258 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23259 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23260 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23261 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23266 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23267 LIBS
="$ac_xsave_LIBS"
23269 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23270 # to get the SysV transport functions.
23271 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23273 # The nsl library prevents programs from opening the X display
23274 # on Irix 5.2, according to T.E. Dickey.
23275 # The functions gethostbyname, getservbyname, and inet_addr are
23276 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23277 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23278 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23279 if test "${ac_cv_func_gethostbyname+set}" = set; then
23280 echo $ECHO_N "(cached) $ECHO_C" >&6
23282 cat >conftest.
$ac_ext <<_ACEOF
23283 #line $LINENO "configure"
23286 cat confdefs.h
>>conftest.
$ac_ext
23287 cat >>conftest.
$ac_ext <<_ACEOF
23288 /* end confdefs.h. */
23289 /* System header to define __stub macros and hopefully few prototypes,
23290 which can conflict with char gethostbyname (); below.
23291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23292 <limits.h> exists even on freestanding compilers. */
23294 # include <limits.h>
23296 # include <assert.h>
23298 /* Override any gcc2 internal prototype to avoid an error. */
23303 /* We use char because int might match the return type of a gcc2
23304 builtin and then its argument prototype would still apply. */
23305 char gethostbyname ();
23306 /* The GNU C library defines this for functions which it implements
23307 to always fail with ENOSYS. Some functions are actually named
23308 something starting with __ and the normal name is an alias. */
23309 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23312 char (*f) () = gethostbyname;
23321 return f != gethostbyname;
23326 rm -f conftest.
$ac_objext conftest
$ac_exeext
23327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23328 (eval $ac_link) 2>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } &&
23332 { ac_try
='test -s conftest$ac_exeext'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; }; then
23338 ac_cv_func_gethostbyname
=yes
23340 echo "$as_me: failed program was:" >&5
23341 sed 's/^/| /' conftest.
$ac_ext >&5
23343 ac_cv_func_gethostbyname
=no
23345 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23347 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23348 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23350 if test $ac_cv_func_gethostbyname = no
; then
23351 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23352 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23353 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23356 ac_check_lib_save_LIBS
=$LIBS
23358 cat >conftest.
$ac_ext <<_ACEOF
23359 #line $LINENO "configure"
23362 cat confdefs.h
>>conftest.
$ac_ext
23363 cat >>conftest.
$ac_ext <<_ACEOF
23364 /* end confdefs.h. */
23366 /* Override any gcc2 internal prototype to avoid an error. */
23370 /* We use char because int might match the return type of a gcc2
23371 builtin and then its argument prototype would still apply. */
23372 char gethostbyname ();
23381 rm -f conftest.
$ac_objext conftest
$ac_exeext
23382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23383 (eval $ac_link) 2>&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } &&
23387 { ac_try
='test -s conftest$ac_exeext'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; }; then
23393 ac_cv_lib_nsl_gethostbyname
=yes
23395 echo "$as_me: failed program was:" >&5
23396 sed 's/^/| /' conftest.
$ac_ext >&5
23398 ac_cv_lib_nsl_gethostbyname
=no
23400 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23401 LIBS
=$ac_check_lib_save_LIBS
23403 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23404 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23405 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23406 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23409 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23410 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23411 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23412 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23413 echo $ECHO_N "(cached) $ECHO_C" >&6
23415 ac_check_lib_save_LIBS
=$LIBS
23417 cat >conftest.
$ac_ext <<_ACEOF
23418 #line $LINENO "configure"
23421 cat confdefs.h
>>conftest.
$ac_ext
23422 cat >>conftest.
$ac_ext <<_ACEOF
23423 /* end confdefs.h. */
23425 /* Override any gcc2 internal prototype to avoid an error. */
23429 /* We use char because int might match the return type of a gcc2
23430 builtin and then its argument prototype would still apply. */
23431 char gethostbyname ();
23440 rm -f conftest.
$ac_objext conftest
$ac_exeext
23441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23442 (eval $ac_link) 2>&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } &&
23446 { ac_try
='test -s conftest$ac_exeext'
23447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23448 (eval $ac_try) 2>&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); }; }; then
23452 ac_cv_lib_bsd_gethostbyname
=yes
23454 echo "$as_me: failed program was:" >&5
23455 sed 's/^/| /' conftest.
$ac_ext >&5
23457 ac_cv_lib_bsd_gethostbyname
=no
23459 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23460 LIBS
=$ac_check_lib_save_LIBS
23462 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23463 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23464 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23465 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23471 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23472 # socket/setsockopt and other routines are undefined under SCO ODT
23473 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23474 # on later versions), says Simon Leinen: it contains gethostby*
23475 # variants that don't use the name server (or something). -lsocket
23476 # must be given before -lnsl if both are needed. We assume that
23477 # if connect needs -lnsl, so does gethostbyname.
23478 echo "$as_me:$LINENO: checking for connect" >&5
23479 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23480 if test "${ac_cv_func_connect+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23483 cat >conftest.
$ac_ext <<_ACEOF
23484 #line $LINENO "configure"
23487 cat confdefs.h
>>conftest.
$ac_ext
23488 cat >>conftest.
$ac_ext <<_ACEOF
23489 /* end confdefs.h. */
23490 /* System header to define __stub macros and hopefully few prototypes,
23491 which can conflict with char connect (); below.
23492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23493 <limits.h> exists even on freestanding compilers. */
23495 # include <limits.h>
23497 # include <assert.h>
23499 /* Override any gcc2 internal prototype to avoid an error. */
23504 /* We use char because int might match the return type of a gcc2
23505 builtin and then its argument prototype would still apply. */
23507 /* The GNU C library defines this for functions which it implements
23508 to always fail with ENOSYS. Some functions are actually named
23509 something starting with __ and the normal name is an alias. */
23510 #if defined (__stub_connect) || defined (__stub___connect)
23513 char (*f) () = connect;
23522 return f != connect;
23527 rm -f conftest.
$ac_objext conftest
$ac_exeext
23528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23529 (eval $ac_link) 2>&5
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); } &&
23533 { ac_try
='test -s conftest$ac_exeext'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; }; then
23539 ac_cv_func_connect
=yes
23541 echo "$as_me: failed program was:" >&5
23542 sed 's/^/| /' conftest.
$ac_ext >&5
23544 ac_cv_func_connect
=no
23546 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23548 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23549 echo "${ECHO_T}$ac_cv_func_connect" >&6
23551 if test $ac_cv_func_connect = no
; then
23552 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23553 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23554 if test "${ac_cv_lib_socket_connect+set}" = set; then
23555 echo $ECHO_N "(cached) $ECHO_C" >&6
23557 ac_check_lib_save_LIBS
=$LIBS
23558 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23559 cat >conftest.
$ac_ext <<_ACEOF
23560 #line $LINENO "configure"
23563 cat confdefs.h
>>conftest.
$ac_ext
23564 cat >>conftest.
$ac_ext <<_ACEOF
23565 /* end confdefs.h. */
23567 /* Override any gcc2 internal prototype to avoid an error. */
23571 /* We use char because int might match the return type of a gcc2
23572 builtin and then its argument prototype would still apply. */
23582 rm -f conftest.
$ac_objext conftest
$ac_exeext
23583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23584 (eval $ac_link) 2>&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } &&
23588 { ac_try
='test -s conftest$ac_exeext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 ac_cv_lib_socket_connect
=yes
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.
$ac_ext >&5
23599 ac_cv_lib_socket_connect
=no
23601 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23602 LIBS
=$ac_check_lib_save_LIBS
23604 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23605 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23606 if test $ac_cv_lib_socket_connect = yes; then
23607 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23612 # Guillermo Gomez says -lposix is necessary on A/UX.
23613 echo "$as_me:$LINENO: checking for remove" >&5
23614 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23615 if test "${ac_cv_func_remove+set}" = set; then
23616 echo $ECHO_N "(cached) $ECHO_C" >&6
23618 cat >conftest.
$ac_ext <<_ACEOF
23619 #line $LINENO "configure"
23622 cat confdefs.h
>>conftest.
$ac_ext
23623 cat >>conftest.
$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23625 /* System header to define __stub macros and hopefully few prototypes,
23626 which can conflict with char remove (); below.
23627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23628 <limits.h> exists even on freestanding compilers. */
23630 # include <limits.h>
23632 # include <assert.h>
23634 /* Override any gcc2 internal prototype to avoid an error. */
23639 /* We use char because int might match the return type of a gcc2
23640 builtin and then its argument prototype would still apply. */
23642 /* The GNU C library defines this for functions which it implements
23643 to always fail with ENOSYS. Some functions are actually named
23644 something starting with __ and the normal name is an alias. */
23645 #if defined (__stub_remove) || defined (__stub___remove)
23648 char (*f) () = remove;
23657 return f != remove;
23662 rm -f conftest.
$ac_objext conftest
$ac_exeext
23663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23664 (eval $ac_link) 2>&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } &&
23668 { ac_try
='test -s conftest$ac_exeext'
23669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23670 (eval $ac_try) 2>&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); }; }; then
23674 ac_cv_func_remove
=yes
23676 echo "$as_me: failed program was:" >&5
23677 sed 's/^/| /' conftest.
$ac_ext >&5
23679 ac_cv_func_remove
=no
23681 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23683 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23684 echo "${ECHO_T}$ac_cv_func_remove" >&6
23686 if test $ac_cv_func_remove = no
; then
23687 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23688 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23689 if test "${ac_cv_lib_posix_remove+set}" = set; then
23690 echo $ECHO_N "(cached) $ECHO_C" >&6
23692 ac_check_lib_save_LIBS
=$LIBS
23693 LIBS
="-lposix $LIBS"
23694 cat >conftest.
$ac_ext <<_ACEOF
23695 #line $LINENO "configure"
23698 cat confdefs.h
>>conftest.
$ac_ext
23699 cat >>conftest.
$ac_ext <<_ACEOF
23700 /* end confdefs.h. */
23702 /* Override any gcc2 internal prototype to avoid an error. */
23706 /* We use char because int might match the return type of a gcc2
23707 builtin and then its argument prototype would still apply. */
23717 rm -f conftest.
$ac_objext conftest
$ac_exeext
23718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23719 (eval $ac_link) 2>&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } &&
23723 { ac_try
='test -s conftest$ac_exeext'
23724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23725 (eval $ac_try) 2>&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); }; }; then
23729 ac_cv_lib_posix_remove
=yes
23731 echo "$as_me: failed program was:" >&5
23732 sed 's/^/| /' conftest.
$ac_ext >&5
23734 ac_cv_lib_posix_remove
=no
23736 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23737 LIBS
=$ac_check_lib_save_LIBS
23739 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23740 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23741 if test $ac_cv_lib_posix_remove = yes; then
23742 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23747 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23748 echo "$as_me:$LINENO: checking for shmat" >&5
23749 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23750 if test "${ac_cv_func_shmat+set}" = set; then
23751 echo $ECHO_N "(cached) $ECHO_C" >&6
23753 cat >conftest.
$ac_ext <<_ACEOF
23754 #line $LINENO "configure"
23757 cat confdefs.h
>>conftest.
$ac_ext
23758 cat >>conftest.
$ac_ext <<_ACEOF
23759 /* end confdefs.h. */
23760 /* System header to define __stub macros and hopefully few prototypes,
23761 which can conflict with char shmat (); below.
23762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23763 <limits.h> exists even on freestanding compilers. */
23765 # include <limits.h>
23767 # include <assert.h>
23769 /* Override any gcc2 internal prototype to avoid an error. */
23774 /* We use char because int might match the return type of a gcc2
23775 builtin and then its argument prototype would still apply. */
23777 /* The GNU C library defines this for functions which it implements
23778 to always fail with ENOSYS. Some functions are actually named
23779 something starting with __ and the normal name is an alias. */
23780 #if defined (__stub_shmat) || defined (__stub___shmat)
23783 char (*f) () = shmat;
23797 rm -f conftest.
$ac_objext conftest
$ac_exeext
23798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23799 (eval $ac_link) 2>&5
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); } &&
23803 { ac_try
='test -s conftest$ac_exeext'
23804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23805 (eval $ac_try) 2>&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); }; }; then
23809 ac_cv_func_shmat
=yes
23811 echo "$as_me: failed program was:" >&5
23812 sed 's/^/| /' conftest.
$ac_ext >&5
23814 ac_cv_func_shmat
=no
23816 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23818 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23819 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23821 if test $ac_cv_func_shmat = no
; then
23822 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23823 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23824 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23825 echo $ECHO_N "(cached) $ECHO_C" >&6
23827 ac_check_lib_save_LIBS
=$LIBS
23829 cat >conftest.
$ac_ext <<_ACEOF
23830 #line $LINENO "configure"
23833 cat confdefs.h
>>conftest.
$ac_ext
23834 cat >>conftest.
$ac_ext <<_ACEOF
23835 /* end confdefs.h. */
23837 /* Override any gcc2 internal prototype to avoid an error. */
23841 /* We use char because int might match the return type of a gcc2
23842 builtin and then its argument prototype would still apply. */
23852 rm -f conftest.
$ac_objext conftest
$ac_exeext
23853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23854 (eval $ac_link) 2>&5
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); } &&
23858 { ac_try
='test -s conftest$ac_exeext'
23859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23860 (eval $ac_try) 2>&5
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); }; }; then
23864 ac_cv_lib_ipc_shmat
=yes
23866 echo "$as_me: failed program was:" >&5
23867 sed 's/^/| /' conftest.
$ac_ext >&5
23869 ac_cv_lib_ipc_shmat
=no
23871 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23872 LIBS
=$ac_check_lib_save_LIBS
23874 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23875 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23876 if test $ac_cv_lib_ipc_shmat = yes; then
23877 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23883 # Check for libraries that X11R6 Xt/Xaw programs need.
23884 ac_save_LDFLAGS
=$LDFLAGS
23885 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23886 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23887 # check for ICE first), but we must link in the order -lSM -lICE or
23888 # we get undefined symbols. So assume we have SM if we have ICE.
23889 # These have to be linked with before -lX11, unlike the other
23890 # libraries we check for below, so use a different variable.
23891 # John Interrante, Karl Berry
23892 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23893 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23894 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23895 echo $ECHO_N "(cached) $ECHO_C" >&6
23897 ac_check_lib_save_LIBS
=$LIBS
23898 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23899 cat >conftest.
$ac_ext <<_ACEOF
23900 #line $LINENO "configure"
23903 cat confdefs.h
>>conftest.
$ac_ext
23904 cat >>conftest.
$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23907 /* Override any gcc2 internal prototype to avoid an error. */
23911 /* We use char because int might match the return type of a gcc2
23912 builtin and then its argument prototype would still apply. */
23913 char IceConnectionNumber ();
23917 IceConnectionNumber ();
23922 rm -f conftest.
$ac_objext conftest
$ac_exeext
23923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23924 (eval $ac_link) 2>&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } &&
23928 { ac_try
='test -s conftest$ac_exeext'
23929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23930 (eval $ac_try) 2>&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); }; }; then
23934 ac_cv_lib_ICE_IceConnectionNumber
=yes
23936 echo "$as_me: failed program was:" >&5
23937 sed 's/^/| /' conftest.
$ac_ext >&5
23939 ac_cv_lib_ICE_IceConnectionNumber
=no
23941 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23942 LIBS
=$ac_check_lib_save_LIBS
23944 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23945 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23946 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23947 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23950 LDFLAGS
=$ac_save_LDFLAGS
23955 if test "$no_x" = "yes"; then
23956 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23957 echo "$as_me: error: X11 not found" >&2;}
23958 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23961 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23962 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23963 AFMINSTALL
=afminstall
23964 COMPILED_X_PROGRAM
=0
23966 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23967 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23970 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23972 if test -f "$ac_dir/Xm/Xm.h"; then
23973 ac_find_includes
=$ac_dir
23978 if test "$ac_find_includes" != "" ; then
23979 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23980 echo "${ECHO_T}found in $ac_find_includes" >&6
23982 if test "x$ac_find_includes" = "x/usr/include"; then
23983 ac_path_to_include
=""
23985 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23987 if test $result = 0; then
23988 ac_path_to_include
=""
23990 ac_path_to_include
=" -I$ac_find_includes"
23994 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23996 cat >conftest.
$ac_ext <<_ACEOF
23997 #line $LINENO "configure"
24000 cat confdefs.h
>>conftest.
$ac_ext
24001 cat >>conftest.
$ac_ext <<_ACEOF
24002 /* end confdefs.h. */
24011 version = xmUseVersion;
24017 rm -f conftest.
$ac_objext
24018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24019 (eval $ac_compile) 2>&5
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); } &&
24023 { ac_try
='test -s conftest.$ac_objext'
24024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24025 (eval $ac_try) 2>&5
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); }; }; then
24030 echo "$as_me:$LINENO: result: found in default search path" >&5
24031 echo "${ECHO_T}found in default search path" >&6
24032 COMPILED_X_PROGRAM
=1
24035 echo "$as_me: failed program was:" >&5
24036 sed 's/^/| /' conftest.
$ac_ext >&5
24039 echo "$as_me:$LINENO: result: no" >&5
24040 echo "${ECHO_T}no" >&6
24041 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24042 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24043 { (exit 1); exit 1; }; }
24047 rm -f conftest.
$ac_objext conftest.
$ac_ext
24050 if test "$COMPILED_X_PROGRAM" = 0; then
24051 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24052 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24055 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24057 for ac_extension
in a so sl dylib
; do
24058 if test -f "$ac_dir/libXm.$ac_extension"; then
24059 ac_find_libraries
=$ac_dir
24065 if test "$ac_find_libraries" != "" ; then
24066 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24067 echo "${ECHO_T}found at $ac_find_libraries" >&6
24070 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24072 if test $result = 0; then
24075 ac_path_to_link
=" -L$ac_find_libraries"
24078 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24080 save_CFLAGS
=$CFLAGS
24081 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24083 cat >conftest.
$ac_ext <<_ACEOF
24084 #line $LINENO "configure"
24087 cat confdefs.h
>>conftest.
$ac_ext
24088 cat >>conftest.
$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24098 version = xmUseVersion;
24104 rm -f conftest.
$ac_objext
24105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24106 (eval $ac_compile) 2>&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } &&
24110 { ac_try
='test -s conftest.$ac_objext'
24111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24112 (eval $ac_try) 2>&5
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); }; }; then
24117 echo "$as_me:$LINENO: result: found in default search path" >&5
24118 echo "${ECHO_T}found in default search path" >&6
24119 COMPILED_X_PROGRAM
=1
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.
$ac_ext >&5
24126 echo "$as_me:$LINENO: result: no" >&5
24127 echo "${ECHO_T}no" >&6
24128 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24129 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24130 { (exit 1); exit 1; }; }
24134 rm -f conftest.
$ac_objext conftest.
$ac_ext
24136 CFLAGS
=$save_CFLAGS
24141 echo "$as_me:$LINENO: checking for Xpm library" >&5
24142 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24145 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24147 for ac_extension
in a so sl dylib
; do
24148 if test -f "$ac_dir/libXpm.$ac_extension"; then
24149 ac_find_libraries
=$ac_dir
24155 if test "$ac_find_libraries" != "" ; then
24157 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24159 if test $result = 0; then
24162 ac_path_to_link
=" -L$ac_find_libraries"
24165 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24168 cat >>confdefs.h
<<\_ACEOF
24169 #define wxHAVE_LIB_XPM 1
24172 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24173 echo "${ECHO_T}found at $ac_find_libraries" >&6
24175 save_CFLAGS
=$CFLAGS
24176 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24178 cat >conftest.
$ac_ext <<_ACEOF
24179 #line $LINENO "configure"
24182 cat confdefs.h
>>conftest.
$ac_ext
24183 cat >>conftest.
$ac_ext <<_ACEOF
24184 /* end confdefs.h. */
24186 #include <X11/xpm.h>
24193 version = XpmLibraryVersion();
24199 rm -f conftest.
$ac_objext
24200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24201 (eval $ac_compile) 2>&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } &&
24205 { ac_try
='test -s conftest.$ac_objext'
24206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207 (eval $ac_try) 2>&5
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); }; }; then
24213 cat >>confdefs.h
<<\_ACEOF
24214 #define wxHAVE_LIB_XPM 1
24217 echo "$as_me:$LINENO: result: found in default search path" >&5
24218 echo "${ECHO_T}found in default search path" >&6
24219 COMPILED_X_PROGRAM
=0
24222 echo "$as_me: failed program was:" >&5
24223 sed 's/^/| /' conftest.
$ac_ext >&5
24226 echo "$as_me:$LINENO: result: no" >&5
24227 echo "${ECHO_T}no" >&6
24228 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24229 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24233 rm -f conftest.
$ac_objext conftest.
$ac_ext
24235 CFLAGS
=$save_CFLAGS
24238 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24239 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24243 for libp
in "" " -lXp"; do
24244 if test "$libs_found" = "0"; then
24245 for libsm_ice
in " -lSM -lICE"; do
24246 if test "$libs_found" = "0"; then
24248 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24249 save_CFLAGS
=$CFLAGS
24250 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24252 cat >conftest.
$ac_ext <<_ACEOF
24253 #line $LINENO "configure"
24256 cat confdefs.h
>>conftest.
$ac_ext
24257 cat >>conftest.
$ac_ext <<_ACEOF
24258 /* end confdefs.h. */
24261 #include <Xm/List.h>
24267 XmString string = NULL;
24270 XmListAddItem(w, string, position);
24276 rm -f conftest.
$ac_objext conftest
$ac_exeext
24277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24278 (eval $ac_link) 2>&5
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); } &&
24282 { ac_try
='test -s conftest$ac_exeext'
24283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284 (eval $ac_try) 2>&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); }; }; then
24290 libsm_ice_link
="$libsm_ice"
24291 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24292 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24296 echo "$as_me: failed program was:" >&5
24297 sed 's/^/| /' conftest.
$ac_ext >&5
24302 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24305 CFLAGS
=$save_CFLAGS
24311 if test "$libs_found" = "0"; then
24312 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24313 echo "${ECHO_T}can't find the right libraries" >&6
24314 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24315 echo "$as_me: error: can't link a simple motif program" >&2;}
24316 { (exit 1); exit 1; }; }
24319 save_CFLAGS
=$CFLAGS
24320 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24321 echo "$as_me:$LINENO: checking for Motif 2" >&5
24322 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24323 cat >conftest.
$ac_ext <<_ACEOF
24324 #line $LINENO "configure"
24327 cat confdefs.h
>>conftest.
$ac_ext
24328 cat >>conftest.
$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24337 #if XmVersion < 2000
24338 #error "Not Motif 2"
24345 rm -f conftest.
$ac_objext
24346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24347 (eval $ac_compile) 2>&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); } &&
24351 { ac_try
='test -s conftest.$ac_objext'
24352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24353 (eval $ac_try) 2>&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); }; }; then
24358 cat >>confdefs.h
<<\_ACEOF
24359 #define __WXMOTIF20__ 1
24362 echo "$as_me:$LINENO: result: found" >&5
24363 echo "${ECHO_T}found" >&6
24366 echo "$as_me: failed program was:" >&5
24367 sed 's/^/| /' conftest.
$ac_ext >&5
24370 cat >>confdefs.h
<<\_ACEOF
24371 #define __WXMOTIF20__ 0
24374 echo "$as_me:$LINENO: result: not found" >&5
24375 echo "${ECHO_T}not found" >&6
24378 rm -f conftest.
$ac_objext conftest.
$ac_ext
24379 CFLAGS
=$save_CFLAGS
24381 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24382 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24388 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24389 test "$wxHAVE_XEXT_LIB" = 1; then
24390 save_CFLAGS
="$CFLAGS"
24391 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24393 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24394 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24395 cat >conftest.
$ac_ext <<_ACEOF
24396 #line $LINENO "configure"
24399 cat confdefs.h
>>conftest.
$ac_ext
24400 cat >>conftest.
$ac_ext <<_ACEOF
24401 /* end confdefs.h. */
24403 #include <X11/Xlib.h>
24404 #include <X11/extensions/shape.h>
24410 int dummy1, dummy2;
24411 XShapeQueryExtension((Display*)NULL,
24412 (int*)NULL, (int*)NULL);
24418 rm -f conftest.
$ac_objext
24419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24420 (eval $ac_compile) 2>&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try
='test -s conftest.$ac_objext'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; }; then
24431 cat >>confdefs.h
<<\_ACEOF
24432 #define HAVE_XSHAPE 1
24435 echo "$as_me:$LINENO: result: found" >&5
24436 echo "${ECHO_T}found" >&6
24439 echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.
$ac_ext >&5
24443 echo "$as_me:$LINENO: result: not found" >&5
24444 echo "${ECHO_T}not found" >&6
24447 rm -f conftest.
$ac_objext conftest.
$ac_ext
24448 CFLAGS
="$save_CFLAGS"
24451 if test "$wxUSE_MAC" = 1; then
24452 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24454 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24457 WXBASEPORT
="_carbon"
24460 if test "$wxUSE_COCOA" = 1; then
24461 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24466 if test "$wxUSE_PM" = 1; then
24469 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24470 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24474 if test "$TOOLKIT" = "PM" ; then
24477 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24480 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24482 if test "$wxUSE_UNIVERSAL" = "yes"; then
24483 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24485 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24486 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24488 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24489 if test "$wxUSE_X11" = 1; then
24490 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24492 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24494 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24497 ALL_OBJECTS
="\$(GUIOBJS)"
24498 ALL_SOURCES
="\$(ALL_SOURCES)"
24499 ALL_HEADERS
="\$(ALL_HEADERS)"
24502 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24504 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24505 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24508 if test "$wxUSE_HTML" = "yes"; then
24509 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24512 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24513 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24515 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24516 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24518 if test "$wxUSE_LIBPNG" = "builtin" ; then
24519 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24522 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24523 DISTDIR
="wx\$(TOOLKIT)"
24529 if test "$USE_WIN32" = 1 ; then
24530 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24531 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24535 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24536 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24539 ALL_SOURCES
="\$(ALL_SOURCES)"
24540 ALL_HEADERS
="\$(ALL_HEADERS)"
24542 PORT_FILES
="\${top_srcdir}/src/files.lst"
24544 GUIDIST
="BASE_DIST"
24554 if test "$TOOLKIT" != "MSW" ; then
24556 if test "$wxUSE_ODBC" != "no" ; then
24557 cat >>confdefs.h
<<\_ACEOF
24558 #define wxUSE_ODBC 1
24561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24563 WXODBCFLAG
="-D_IODBC_"
24566 if test "$wxUSE_ODBC" = "sys" ; then
24568 if test "${ac_cv_header_sql_h+set}" = set; then
24569 echo "$as_me:$LINENO: checking for sql.h" >&5
24570 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24571 if test "${ac_cv_header_sql_h+set}" = set; then
24572 echo $ECHO_N "(cached) $ECHO_C" >&6
24574 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24575 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24577 # Is the header compilable?
24578 echo "$as_me:$LINENO: checking sql.h usability" >&5
24579 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24580 cat >conftest.
$ac_ext <<_ACEOF
24581 #line $LINENO "configure"
24584 cat confdefs.h
>>conftest.
$ac_ext
24585 cat >>conftest.
$ac_ext <<_ACEOF
24586 /* end confdefs.h. */
24587 $ac_includes_default
24590 rm -f conftest.
$ac_objext
24591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24592 (eval $ac_compile) 2>&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); } &&
24596 { ac_try
='test -s conftest.$ac_objext'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24602 ac_header_compiler
=yes
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.
$ac_ext >&5
24607 ac_header_compiler
=no
24609 rm -f conftest.
$ac_objext conftest.
$ac_ext
24610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24611 echo "${ECHO_T}$ac_header_compiler" >&6
24613 # Is the header present?
24614 echo "$as_me:$LINENO: checking sql.h presence" >&5
24615 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24616 cat >conftest.
$ac_ext <<_ACEOF
24617 #line $LINENO "configure"
24620 cat confdefs.h
>>conftest.
$ac_ext
24621 cat >>conftest.
$ac_ext <<_ACEOF
24622 /* end confdefs.h. */
24625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24628 grep -v '^ *+' conftest.er1
>conftest.err
24630 cat conftest.err
>&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); } >/dev
/null
; then
24633 if test -s conftest.err
; then
24634 ac_cpp_err
=$ac_c_preproc_warn_flag
24641 if test -z "$ac_cpp_err"; then
24642 ac_header_preproc
=yes
24644 echo "$as_me: failed program was:" >&5
24645 sed 's/^/| /' conftest.
$ac_ext >&5
24647 ac_header_preproc
=no
24649 rm -f conftest.err conftest.
$ac_ext
24650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24651 echo "${ECHO_T}$ac_header_preproc" >&6
24653 # So? What about this header?
24654 case $ac_header_compiler:$ac_header_preproc in
24656 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24657 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24658 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24659 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24662 ## ------------------------------------ ##
24663 ## Report this to bug-autoconf@gnu.org. ##
24664 ## ------------------------------------ ##
24667 sed "s/^/$as_me: WARNING: /" >&2
24670 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24671 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24672 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24673 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24674 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24675 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24678 ## ------------------------------------ ##
24679 ## Report this to bug-autoconf@gnu.org. ##
24680 ## ------------------------------------ ##
24683 sed "s/^/$as_me: WARNING: /" >&2
24686 echo "$as_me:$LINENO: checking for sql.h" >&5
24687 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24688 if test "${ac_cv_header_sql_h+set}" = set; then
24689 echo $ECHO_N "(cached) $ECHO_C" >&6
24691 ac_cv_header_sql_h
=$ac_header_preproc
24693 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24694 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24699 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24700 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24701 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24702 echo $ECHO_N "(cached) $ECHO_C" >&6
24704 ac_func_search_save_LIBS
=$LIBS
24705 ac_cv_search_SQLAllocEnv
=no
24706 cat >conftest.
$ac_ext <<_ACEOF
24707 #line $LINENO "configure"
24710 cat confdefs.h
>>conftest.
$ac_ext
24711 cat >>conftest.
$ac_ext <<_ACEOF
24712 /* end confdefs.h. */
24714 /* Override any gcc2 internal prototype to avoid an error. */
24718 /* We use char because int might match the return type of a gcc2
24719 builtin and then its argument prototype would still apply. */
24720 char SQLAllocEnv ();
24729 rm -f conftest.
$ac_objext conftest
$ac_exeext
24730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24731 (eval $ac_link) 2>&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
24735 { ac_try
='test -s conftest$ac_exeext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 ac_cv_search_SQLAllocEnv
="none required"
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.
$ac_ext >&5
24747 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24748 if test "$ac_cv_search_SQLAllocEnv" = no
; then
24749 for ac_lib
in iodbc unixodbc odbc
; do
24750 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24751 cat >conftest.
$ac_ext <<_ACEOF
24752 #line $LINENO "configure"
24755 cat confdefs.h
>>conftest.
$ac_ext
24756 cat >>conftest.
$ac_ext <<_ACEOF
24757 /* end confdefs.h. */
24759 /* Override any gcc2 internal prototype to avoid an error. */
24763 /* We use char because int might match the return type of a gcc2
24764 builtin and then its argument prototype would still apply. */
24765 char SQLAllocEnv ();
24774 rm -f conftest.
$ac_objext conftest
$ac_exeext
24775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24776 (eval $ac_link) 2>&5
24778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24779 (exit $ac_status); } &&
24780 { ac_try
='test -s conftest$ac_exeext'
24781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24782 (eval $ac_try) 2>&5
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); }; }; then
24786 ac_cv_search_SQLAllocEnv
="-l$ac_lib"
24789 echo "$as_me: failed program was:" >&5
24790 sed 's/^/| /' conftest.
$ac_ext >&5
24793 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24796 LIBS
=$ac_func_search_save_LIBS
24798 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24799 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24800 if test "$ac_cv_search_SQLAllocEnv" != no
; then
24801 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS
="$ac_cv_search_SQLAllocEnv $LIBS"
24805 wxUSE_ODBC
=builtin;
24806 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24807 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24812 if test "$wxUSE_ODBC" != "sys" ; then
24813 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
24820 if test "$wxUSE_REGEX" = "builtin" ; then
24821 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24823 if test "$wxUSE_ZLIB" = "builtin" ; then
24824 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24829 if test "$wxUSE_OPENGL" = "yes"; then
24830 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24831 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24832 elif test "$wxUSE_MSW" = 1; then
24833 OPENGL_LIBS
="-lopengl32 -lglu32"
24838 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24840 if test -f "$ac_dir/GL/gl.h"; then
24841 ac_find_includes
=$ac_dir
24846 if test "$ac_find_includes" != "" ; then
24847 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24848 echo "${ECHO_T}found in $ac_find_includes" >&6
24851 if test "x$ac_find_includes" = "x/usr/include"; then
24852 ac_path_to_include
=""
24854 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24856 if test $result = 0; then
24857 ac_path_to_include
=""
24859 ac_path_to_include
=" -I$ac_find_includes"
24863 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24867 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24868 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24869 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24870 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24874 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24876 # Is the header compilable?
24877 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24878 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24879 cat >conftest.
$ac_ext <<_ACEOF
24880 #line $LINENO "configure"
24883 cat confdefs.h
>>conftest.
$ac_ext
24884 cat >>conftest.
$ac_ext <<_ACEOF
24885 /* end confdefs.h. */
24886 $ac_includes_default
24889 rm -f conftest.
$ac_objext
24890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24891 (eval $ac_compile) 2>&5
24893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894 (exit $ac_status); } &&
24895 { ac_try
='test -s conftest.$ac_objext'
24896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24897 (eval $ac_try) 2>&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); }; }; then
24901 ac_header_compiler
=yes
24903 echo "$as_me: failed program was:" >&5
24904 sed 's/^/| /' conftest.
$ac_ext >&5
24906 ac_header_compiler
=no
24908 rm -f conftest.
$ac_objext conftest.
$ac_ext
24909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24910 echo "${ECHO_T}$ac_header_compiler" >&6
24912 # Is the header present?
24913 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24914 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24915 cat >conftest.
$ac_ext <<_ACEOF
24916 #line $LINENO "configure"
24919 cat confdefs.h
>>conftest.
$ac_ext
24920 cat >>conftest.
$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24925 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24927 grep -v '^ *+' conftest.er1
>conftest.err
24929 cat conftest.err
>&5
24930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24931 (exit $ac_status); } >/dev
/null
; then
24932 if test -s conftest.err
; then
24933 ac_cpp_err
=$ac_c_preproc_warn_flag
24940 if test -z "$ac_cpp_err"; then
24941 ac_header_preproc
=yes
24943 echo "$as_me: failed program was:" >&5
24944 sed 's/^/| /' conftest.
$ac_ext >&5
24946 ac_header_preproc
=no
24948 rm -f conftest.err conftest.
$ac_ext
24949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24950 echo "${ECHO_T}$ac_header_preproc" >&6
24952 # So? What about this header?
24953 case $ac_header_compiler:$ac_header_preproc in
24955 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24956 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24957 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24958 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24961 ## ------------------------------------ ##
24962 ## Report this to bug-autoconf@gnu.org. ##
24963 ## ------------------------------------ ##
24966 sed "s/^/$as_me: WARNING: /" >&2
24969 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24970 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24971 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24972 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24973 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24974 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24977 ## ------------------------------------ ##
24978 ## Report this to bug-autoconf@gnu.org. ##
24979 ## ------------------------------------ ##
24982 sed "s/^/$as_me: WARNING: /" >&2
24985 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24986 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24987 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24988 echo $ECHO_N "(cached) $ECHO_C" >&6
24990 ac_cv_header_GL_gl_h
=$ac_header_preproc
24992 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24993 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24996 if test $ac_cv_header_GL_gl_h = yes; then
25000 echo "$as_me:$LINENO: checking for -lGL" >&5
25001 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25004 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25006 for ac_extension
in a so sl dylib
; do
25007 if test -f "$ac_dir/libGL.$ac_extension"; then
25008 ac_find_libraries
=$ac_dir
25014 if test "$ac_find_libraries" != "" ; then
25016 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25018 if test $result = 0; then
25021 ac_path_to_link
=" -L$ac_find_libraries"
25024 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25025 LDFLAGS_GL
="$ac_path_to_link"
25030 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25032 for ac_extension
in a so sl dylib
; do
25033 if test -f "$ac_dir/libGLU.$ac_extension"; then
25034 ac_find_libraries
=$ac_dir
25040 if test "$ac_find_libraries" != "" ; then
25042 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25044 if test $result = 0; then
25047 ac_path_to_link
=" -L$ac_find_libraries"
25050 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25051 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25052 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25056 OPENGL_LIBS
="-lGL -lGLU"
25057 echo "$as_me:$LINENO: result: yes" >&5
25058 echo "${ECHO_T}yes" >&6
25062 if "$found_gl" != 1; then
25063 echo "$as_me:$LINENO: result: no" >&5
25064 echo "${ECHO_T}no" >&6
25065 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25066 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25069 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25071 for ac_extension
in a so sl dylib
; do
25072 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25073 ac_find_libraries
=$ac_dir
25079 if test "$ac_find_libraries" != "" ; then
25081 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25083 if test $result = 0; then
25086 ac_path_to_link
=" -L$ac_find_libraries"
25089 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25090 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25091 echo "$as_me:$LINENO: result: yes" >&5
25092 echo "${ECHO_T}yes" >&6
25094 echo "$as_me:$LINENO: result: no" >&5
25095 echo "${ECHO_T}no" >&6
25103 if test "x$OPENGL_LIBS" = "x"; then
25104 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25105 echo "$as_me: error: OpenGL libraries not available" >&2;}
25106 { (exit 1); exit 1; }; }
25110 if test "$wxUSE_OPENGL" = "yes"; then
25112 cat >>confdefs.h
<<\_ACEOF
25113 #define wxUSE_OPENGL 1
25116 cat >>confdefs.h
<<\_ACEOF
25117 #define wxUSE_GLCANVAS 1
25120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
25124 if test -z "$TOOLKIT_VPATH" ; then
25125 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25128 if test -n "$TOOLKIT" ; then
25129 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25133 lib_unicode_suffix
=
25134 if test "$wxUSE_UNICODE" = "yes"; then
25135 lib_unicode_suffix
=u
25141 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25147 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25151 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25153 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25154 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25156 if test "$cross_compiling" = "yes"; then
25157 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25158 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25159 HOST_SUFFIX
="-${host_alias}"
25162 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25163 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25164 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25165 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25167 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25168 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25170 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25171 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25172 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25173 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25176 *-*-cygwin* | *-*-mingw32* )
25177 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25178 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25183 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25184 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25186 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25187 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25188 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25189 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25191 if test "$wxUSE_MAC" = 1; then
25192 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25193 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25198 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25199 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25201 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25202 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25204 if test "$wxUSE_OPENGL" = "yes"; then
25205 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25206 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25211 if test "$wxUSE_SHARED" = "yes"; then
25213 *-pc-os2_emx | *-pc-os2-emx | \
25216 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25217 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25223 if test "$wxUSE_SHARED" = "yes"; then
25227 found_versioning
=no
25230 if test $found_versioning = no
; then
25231 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25232 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25233 if test "${wx_cv_version_script+set}" = set; then
25234 echo $ECHO_N "(cached) $ECHO_C" >&6
25237 echo "VER_1 { *; };" >conftest.sym
25238 echo "int main() { return 0; }" >conftest.cpp
25241 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25242 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244 (eval $ac_try) 2>&5
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; } ; then
25248 if test -s conftest.stderr
; then
25249 wx_cv_version_script
=no
25251 wx_cv_version_script
=yes
25254 wx_cv_version_script
=no
25256 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25259 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25260 echo "${ECHO_T}$wx_cv_version_script" >&6
25261 if test $wx_cv_version_script = yes ; then
25262 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25268 *-*-linux* | *-*-gnu* )
25269 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25273 if test "$GCC" = yes ; then
25274 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25276 saveLdflags
="$LDFLAGS"
25277 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25278 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25279 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25280 cat >conftest.
$ac_ext <<_ACEOF
25281 #line $LINENO "configure"
25284 cat confdefs.h
>>conftest.
$ac_ext
25285 cat >>conftest.
$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25296 rm -f conftest.
$ac_objext conftest
$ac_exeext
25297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25298 (eval $ac_link) 2>&5
25300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25301 (exit $ac_status); } &&
25302 { ac_try
='test -s conftest$ac_exeext'
25303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25304 (eval $ac_try) 2>&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); }; }; then
25309 echo "$as_me:$LINENO: result: yes" >&5
25310 echo "${ECHO_T}yes" >&6
25311 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.
$ac_ext >&5
25318 echo "$as_me:$LINENO: result: no" >&5
25319 echo "${ECHO_T}no" >&6
25320 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25321 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25322 LDFLAGS
="$saveLdflags -Wl,-R,/"
25323 cat >conftest.
$ac_ext <<_ACEOF
25324 #line $LINENO "configure"
25327 cat confdefs.h
>>conftest.
$ac_ext
25328 cat >>conftest.
$ac_ext <<_ACEOF
25329 /* end confdefs.h. */
25339 rm -f conftest.
$ac_objext conftest
$ac_exeext
25340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25341 (eval $ac_link) 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); } &&
25345 { ac_try
='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25352 echo "$as_me:$LINENO: result: yes" >&5
25353 echo "${ECHO_T}yes" >&6
25354 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25356 echo "$as_me: failed program was:" >&5
25357 sed 's/^/| /' conftest.
$ac_ext >&5
25360 echo "$as_me:$LINENO: result: no" >&5
25361 echo "${ECHO_T}no" >&6
25364 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25367 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25368 LDFLAGS
="$saveLdflags"
25370 SHARED_LD
="${CXX} -G -o"
25372 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25377 if test "x$WX_TARGET_LIBRARY" = "x"; then
25378 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25379 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25382 WX_TARGET_LIBRARY_TYPE
="so"
25383 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25386 if test "$wxUSE_SHARED" = "no"; then
25388 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25389 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25392 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25393 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25396 if test "$wxUSE_OPENGL" = "yes"; then
25397 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25398 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25400 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25403 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25404 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25406 WX_TARGET_LIBRARY_TYPE
="a"
25407 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25417 if test "$wxUSE_MAC" = 1; then
25418 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25419 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25420 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25421 # Extract the first word of "Rez", so it can be a program name with args.
25422 set dummy Rez
; ac_word
=$2
25423 echo "$as_me:$LINENO: checking for $ac_word" >&5
25424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25425 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25426 echo $ECHO_N "(cached) $ECHO_C" >&6
25428 if test -n "$RESCOMP"; then
25429 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25432 for as_dir
in $PATH
25435 test -z "$as_dir" && as_dir
=.
25436 for ac_exec_ext
in '' $ac_executable_extensions; do
25437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25438 ac_cv_prog_RESCOMP
="Rez"
25439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25445 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25448 RESCOMP
=$ac_cv_prog_RESCOMP
25449 if test -n "$RESCOMP"; then
25450 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25451 echo "${ECHO_T}$RESCOMP" >&6
25453 echo "$as_me:$LINENO: result: no" >&5
25454 echo "${ECHO_T}no" >&6
25457 # Extract the first word of "DeRez", so it can be a program name with args.
25458 set dummy DeRez
; ac_word
=$2
25459 echo "$as_me:$LINENO: checking for $ac_word" >&5
25460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25461 if test "${ac_cv_prog_DEREZ+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 if test -n "$DEREZ"; then
25465 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25468 for as_dir
in $PATH
25471 test -z "$as_dir" && as_dir
=.
25472 for ac_exec_ext
in '' $ac_executable_extensions; do
25473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25474 ac_cv_prog_DEREZ
="DeRez"
25475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25481 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25484 DEREZ
=$ac_cv_prog_DEREZ
25485 if test -n "$DEREZ"; then
25486 echo "$as_me:$LINENO: result: $DEREZ" >&5
25487 echo "${ECHO_T}$DEREZ" >&6
25489 echo "$as_me:$LINENO: result: no" >&5
25490 echo "${ECHO_T}no" >&6
25493 # Extract the first word of "SetFile", so it can be a program name with args.
25494 set dummy SetFile
; ac_word
=$2
25495 echo "$as_me:$LINENO: checking for $ac_word" >&5
25496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25497 if test "${ac_cv_prog_SETFILE+set}" = set; then
25498 echo $ECHO_N "(cached) $ECHO_C" >&6
25500 if test -n "$SETFILE"; then
25501 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25504 for as_dir
in $PATH
25507 test -z "$as_dir" && as_dir
=.
25508 for ac_exec_ext
in '' $ac_executable_extensions; do
25509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25510 ac_cv_prog_SETFILE
="SetFile"
25511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25517 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25520 SETFILE
=$ac_cv_prog_SETFILE
25521 if test -n "$SETFILE"; then
25522 echo "$as_me:$LINENO: result: $SETFILE" >&5
25523 echo "${ECHO_T}$SETFILE" >&6
25525 echo "$as_me:$LINENO: result: no" >&5
25526 echo "${ECHO_T}no" >&6
25529 MACOSX_BUNDLE
="bundle"
25530 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25531 MACSETFILE
="\$(SETFILE)"
25532 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25533 elif test "$wxUSE_COCOA" = 1; then
25534 # Extract the first word of "Rez", so it can be a program name with args.
25535 set dummy Rez
; ac_word
=$2
25536 echo "$as_me:$LINENO: checking for $ac_word" >&5
25537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25538 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 if test -n "$RESCOMP"; then
25542 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25545 for as_dir
in $PATH
25548 test -z "$as_dir" && as_dir
=.
25549 for ac_exec_ext
in '' $ac_executable_extensions; do
25550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25551 ac_cv_prog_RESCOMP
="Rez"
25552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25558 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25561 RESCOMP
=$ac_cv_prog_RESCOMP
25562 if test -n "$RESCOMP"; then
25563 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25564 echo "${ECHO_T}$RESCOMP" >&6
25566 echo "$as_me:$LINENO: result: no" >&5
25567 echo "${ECHO_T}no" >&6
25570 # Extract the first word of "DeRez", so it can be a program name with args.
25571 set dummy DeRez
; ac_word
=$2
25572 echo "$as_me:$LINENO: checking for $ac_word" >&5
25573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25574 if test "${ac_cv_prog_DEREZ+set}" = set; then
25575 echo $ECHO_N "(cached) $ECHO_C" >&6
25577 if test -n "$DEREZ"; then
25578 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25581 for as_dir
in $PATH
25584 test -z "$as_dir" && as_dir
=.
25585 for ac_exec_ext
in '' $ac_executable_extensions; do
25586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25587 ac_cv_prog_DEREZ
="DeRez"
25588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25594 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25597 DEREZ
=$ac_cv_prog_DEREZ
25598 if test -n "$DEREZ"; then
25599 echo "$as_me:$LINENO: result: $DEREZ" >&5
25600 echo "${ECHO_T}$DEREZ" >&6
25602 echo "$as_me:$LINENO: result: no" >&5
25603 echo "${ECHO_T}no" >&6
25606 # Extract the first word of "SetFile", so it can be a program name with args.
25607 set dummy SetFile
; ac_word
=$2
25608 echo "$as_me:$LINENO: checking for $ac_word" >&5
25609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25610 if test "${ac_cv_prog_SETFILE+set}" = set; then
25611 echo $ECHO_N "(cached) $ECHO_C" >&6
25613 if test -n "$SETFILE"; then
25614 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25617 for as_dir
in $PATH
25620 test -z "$as_dir" && as_dir
=.
25621 for ac_exec_ext
in '' $ac_executable_extensions; do
25622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25623 ac_cv_prog_SETFILE
="SetFile"
25624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25630 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25633 SETFILE
=$ac_cv_prog_SETFILE
25634 if test -n "$SETFILE"; then
25635 echo "$as_me:$LINENO: result: $SETFILE" >&5
25636 echo "${ECHO_T}$SETFILE" >&6
25638 echo "$as_me:$LINENO: result: no" >&5
25639 echo "${ECHO_T}no" >&6
25642 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25643 MACSETFILE
="\$(SETFILE)"
25644 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25646 if test "$wxUSE_PM" = 1; then
25647 MACRESCOMP
="emxbind -ep"
25652 echo "$as_me:$LINENO: checking for mode_t" >&5
25653 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25654 if test "${ac_cv_type_mode_t+set}" = set; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25657 cat >conftest.
$ac_ext <<_ACEOF
25658 #line $LINENO "configure"
25661 cat confdefs.h
>>conftest.
$ac_ext
25662 cat >>conftest.
$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25664 $ac_includes_default
25670 if (sizeof (mode_t))
25676 rm -f conftest.
$ac_objext
25677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25678 (eval $ac_compile) 2>&5
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); } &&
25682 { ac_try
='test -s conftest.$ac_objext'
25683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684 (eval $ac_try) 2>&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); }; }; then
25688 ac_cv_type_mode_t
=yes
25690 echo "$as_me: failed program was:" >&5
25691 sed 's/^/| /' conftest.
$ac_ext >&5
25693 ac_cv_type_mode_t
=no
25695 rm -f conftest.
$ac_objext conftest.
$ac_ext
25697 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25698 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25699 if test $ac_cv_type_mode_t = yes; then
25703 cat >>confdefs.h
<<_ACEOF
25709 echo "$as_me:$LINENO: checking for off_t" >&5
25710 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25711 if test "${ac_cv_type_off_t+set}" = set; then
25712 echo $ECHO_N "(cached) $ECHO_C" >&6
25714 cat >conftest.
$ac_ext <<_ACEOF
25715 #line $LINENO "configure"
25718 cat confdefs.h
>>conftest.
$ac_ext
25719 cat >>conftest.
$ac_ext <<_ACEOF
25720 /* end confdefs.h. */
25721 $ac_includes_default
25727 if (sizeof (off_t))
25733 rm -f conftest.
$ac_objext
25734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25735 (eval $ac_compile) 2>&5
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); } &&
25739 { ac_try
='test -s conftest.$ac_objext'
25740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25741 (eval $ac_try) 2>&5
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); }; }; then
25745 ac_cv_type_off_t
=yes
25747 echo "$as_me: failed program was:" >&5
25748 sed 's/^/| /' conftest.
$ac_ext >&5
25750 ac_cv_type_off_t
=no
25752 rm -f conftest.
$ac_objext conftest.
$ac_ext
25754 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25755 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25756 if test $ac_cv_type_off_t = yes; then
25760 cat >>confdefs.h
<<_ACEOF
25766 echo "$as_me:$LINENO: checking for pid_t" >&5
25767 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25768 if test "${ac_cv_type_pid_t+set}" = set; then
25769 echo $ECHO_N "(cached) $ECHO_C" >&6
25771 cat >conftest.
$ac_ext <<_ACEOF
25772 #line $LINENO "configure"
25775 cat confdefs.h
>>conftest.
$ac_ext
25776 cat >>conftest.
$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25778 $ac_includes_default
25784 if (sizeof (pid_t))
25790 rm -f conftest.
$ac_objext
25791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25792 (eval $ac_compile) 2>&5
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); } &&
25796 { ac_try
='test -s conftest.$ac_objext'
25797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25798 (eval $ac_try) 2>&5
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); }; }; then
25802 ac_cv_type_pid_t
=yes
25804 echo "$as_me: failed program was:" >&5
25805 sed 's/^/| /' conftest.
$ac_ext >&5
25807 ac_cv_type_pid_t
=no
25809 rm -f conftest.
$ac_objext conftest.
$ac_ext
25811 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25812 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25813 if test $ac_cv_type_pid_t = yes; then
25817 cat >>confdefs.h
<<_ACEOF
25823 echo "$as_me:$LINENO: checking for size_t" >&5
25824 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25825 if test "${ac_cv_type_size_t+set}" = set; then
25826 echo $ECHO_N "(cached) $ECHO_C" >&6
25828 cat >conftest.
$ac_ext <<_ACEOF
25829 #line $LINENO "configure"
25832 cat confdefs.h
>>conftest.
$ac_ext
25833 cat >>conftest.
$ac_ext <<_ACEOF
25834 /* end confdefs.h. */
25835 $ac_includes_default
25841 if (sizeof (size_t))
25847 rm -f conftest.
$ac_objext
25848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25849 (eval $ac_compile) 2>&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try
='test -s conftest.$ac_objext'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; }; then
25859 ac_cv_type_size_t
=yes
25861 echo "$as_me: failed program was:" >&5
25862 sed 's/^/| /' conftest.
$ac_ext >&5
25864 ac_cv_type_size_t
=no
25866 rm -f conftest.
$ac_objext conftest.
$ac_ext
25868 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25869 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25870 if test $ac_cv_type_size_t = yes; then
25874 cat >>confdefs.h
<<_ACEOF
25875 #define size_t unsigned
25880 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25881 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25882 if test "${ac_cv_type_uid_t+set}" = set; then
25883 echo $ECHO_N "(cached) $ECHO_C" >&6
25885 cat >conftest.
$ac_ext <<_ACEOF
25886 #line $LINENO "configure"
25889 cat confdefs.h
>>conftest.
$ac_ext
25890 cat >>conftest.
$ac_ext <<_ACEOF
25891 /* end confdefs.h. */
25892 #include <sys/types.h>
25895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25896 $EGREP "uid_t" >/dev
/null
2>&1; then
25897 ac_cv_type_uid_t
=yes
25899 ac_cv_type_uid_t
=no
25904 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25905 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25906 if test $ac_cv_type_uid_t = no
; then
25908 cat >>confdefs.h
<<\_ACEOF
25913 cat >>confdefs.h
<<\_ACEOF
25923 ac_cpp
='$CXXCPP $CPPFLAGS'
25924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25928 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25929 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25930 if test "${wx_cv_size_t_is_uint+set}" = set; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25934 cat >conftest.
$ac_ext <<_ACEOF
25935 #line $LINENO "configure"
25938 cat confdefs.h
>>conftest.
$ac_ext
25939 cat >>conftest.
$ac_ext <<_ACEOF
25940 /* end confdefs.h. */
25941 #include <stddef.h>
25948 struct Foo { void foo(size_t); void foo(unsigned int); };
25956 rm -f conftest.
$ac_objext
25957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25958 (eval $ac_compile) 2>&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } &&
25962 { ac_try
='test -s conftest.$ac_objext'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; }; then
25968 wx_cv_size_t_is_uint
=no
25970 echo "$as_me: failed program was:" >&5
25971 sed 's/^/| /' conftest.
$ac_ext >&5
25973 wx_cv_size_t_is_uint
=yes
25976 rm -f conftest.
$ac_objext conftest.
$ac_ext
25980 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25981 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25983 if test "$wx_cv_size_t_is_uint" = "yes"; then
25984 cat >>confdefs.h
<<\_ACEOF
25985 #define wxSIZE_T_IS_UINT 1
25989 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25990 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25991 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25992 echo $ECHO_N "(cached) $ECHO_C" >&6
25994 cat >conftest.
$ac_ext <<_ACEOF
25995 #line $LINENO "configure"
25998 cat confdefs.h
>>conftest.
$ac_ext
25999 cat >>conftest.
$ac_ext <<_ACEOF
26000 /* end confdefs.h. */
26001 #include <stddef.h>
26008 struct Foo { void foo(size_t); void foo(unsigned long); };
26016 rm -f conftest.
$ac_objext
26017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26018 (eval $ac_compile) 2>&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); } &&
26022 { ac_try
='test -s conftest.$ac_objext'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 wx_cv_size_t_is_ulong
=no
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.
$ac_ext >&5
26033 wx_cv_size_t_is_ulong
=yes
26036 rm -f conftest.
$ac_objext conftest.
$ac_ext
26039 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26040 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26042 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26043 cat >>confdefs.h
<<\_ACEOF
26044 #define wxSIZE_T_IS_ULONG 1
26051 ac_cpp
='$CPP $CPPFLAGS'
26052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26058 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26059 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26060 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26061 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 cat >conftest.
$ac_ext <<_ACEOF
26065 #line $LINENO "configure"
26068 cat confdefs.h
>>conftest.
$ac_ext
26069 cat >>conftest.
$ac_ext <<_ACEOF
26070 /* end confdefs.h. */
26084 rm -f conftest.
$ac_objext
26085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26086 (eval $ac_compile) 2>&5
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); } &&
26090 { ac_try
='test -s conftest.$ac_objext'
26091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26092 (eval $ac_try) 2>&5
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); }; }; then
26097 wx_cv_struct_pw_gecos
=yes
26100 echo "$as_me: failed program was:" >&5
26101 sed 's/^/| /' conftest.
$ac_ext >&5
26104 wx_cv_struct_pw_gecos
=no
26108 rm -f conftest.
$ac_objext conftest.
$ac_ext
26112 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26113 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26115 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26116 cat >>confdefs.h
<<\_ACEOF
26117 #define HAVE_PW_GECOS 1
26123 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26124 cat >>confdefs.h
<<\_ACEOF
26125 #define wxUSE_WCHAR_T 1
26132 for ac_func
in wcslen
26134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26135 echo "$as_me:$LINENO: checking for $ac_func" >&5
26136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26137 if eval "test \"\${$as_ac_var+set}\" = set"; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26140 cat >conftest.
$ac_ext <<_ACEOF
26141 #line $LINENO "configure"
26144 cat confdefs.h
>>conftest.
$ac_ext
26145 cat >>conftest.
$ac_ext <<_ACEOF
26146 /* end confdefs.h. */
26147 /* System header to define __stub macros and hopefully few prototypes,
26148 which can conflict with char $ac_func (); below.
26149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26150 <limits.h> exists even on freestanding compilers. */
26152 # include <limits.h>
26154 # include <assert.h>
26156 /* Override any gcc2 internal prototype to avoid an error. */
26161 /* We use char because int might match the return type of a gcc2
26162 builtin and then its argument prototype would still apply. */
26164 /* The GNU C library defines this for functions which it implements
26165 to always fail with ENOSYS. Some functions are actually named
26166 something starting with __ and the normal name is an alias. */
26167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26170 char (*f) () = $ac_func;
26179 return f != $ac_func;
26184 rm -f conftest.
$ac_objext conftest
$ac_exeext
26185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26186 (eval $ac_link) 2>&5
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); } &&
26190 { ac_try
='test -s conftest$ac_exeext'
26191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26192 (eval $ac_try) 2>&5
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196 eval "$as_ac_var=yes"
26198 echo "$as_me: failed program was:" >&5
26199 sed 's/^/| /' conftest.
$ac_ext >&5
26201 eval "$as_ac_var=no"
26203 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26207 if test `eval echo '${'$as_ac_var'}'` = yes; then
26208 cat >>confdefs.h
<<_ACEOF
26209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26216 if test "$WCSLEN_FOUND" = 0; then
26217 if test "$TOOLKIT" = "MSW"; then
26218 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26219 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26220 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26223 ac_check_lib_save_LIBS
=$LIBS
26224 LIBS
="-lmsvcrt $LIBS"
26225 cat >conftest.
$ac_ext <<_ACEOF
26226 #line $LINENO "configure"
26229 cat confdefs.h
>>conftest.
$ac_ext
26230 cat >>conftest.
$ac_ext <<_ACEOF
26231 /* end confdefs.h. */
26233 /* Override any gcc2 internal prototype to avoid an error. */
26237 /* We use char because int might match the return type of a gcc2
26238 builtin and then its argument prototype would still apply. */
26248 rm -f conftest.
$ac_objext conftest
$ac_exeext
26249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26250 (eval $ac_link) 2>&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); } &&
26254 { ac_try
='test -s conftest$ac_exeext'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; }; then
26260 ac_cv_lib_msvcrt_wcslen
=yes
26262 echo "$as_me: failed program was:" >&5
26263 sed 's/^/| /' conftest.
$ac_ext >&5
26265 ac_cv_lib_msvcrt_wcslen
=no
26267 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26268 LIBS
=$ac_check_lib_save_LIBS
26270 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26271 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26272 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26277 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26278 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26279 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26280 echo $ECHO_N "(cached) $ECHO_C" >&6
26282 ac_check_lib_save_LIBS
=$LIBS
26284 cat >conftest.
$ac_ext <<_ACEOF
26285 #line $LINENO "configure"
26288 cat confdefs.h
>>conftest.
$ac_ext
26289 cat >>conftest.
$ac_ext <<_ACEOF
26290 /* end confdefs.h. */
26292 /* Override any gcc2 internal prototype to avoid an error. */
26296 /* We use char because int might match the return type of a gcc2
26297 builtin and then its argument prototype would still apply. */
26307 rm -f conftest.
$ac_objext conftest
$ac_exeext
26308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26309 (eval $ac_link) 2>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } &&
26313 { ac_try
='test -s conftest$ac_exeext'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; }; then
26319 ac_cv_lib_w_wcslen
=yes
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.
$ac_ext >&5
26324 ac_cv_lib_w_wcslen
=no
26326 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26327 LIBS
=$ac_check_lib_save_LIBS
26329 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26330 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26331 if test $ac_cv_lib_w_wcslen = yes; then
26341 if test "$WCSLEN_FOUND" = 1; then
26342 cat >>confdefs.h
<<\_ACEOF
26343 #define HAVE_WCSLEN 1
26349 for ac_func
in wcsrtombs
26351 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26352 echo "$as_me:$LINENO: checking for $ac_func" >&5
26353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26354 if eval "test \"\${$as_ac_var+set}\" = set"; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26357 cat >conftest.
$ac_ext <<_ACEOF
26358 #line $LINENO "configure"
26361 cat confdefs.h
>>conftest.
$ac_ext
26362 cat >>conftest.
$ac_ext <<_ACEOF
26363 /* end confdefs.h. */
26364 /* System header to define __stub macros and hopefully few prototypes,
26365 which can conflict with char $ac_func (); below.
26366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26367 <limits.h> exists even on freestanding compilers. */
26369 # include <limits.h>
26371 # include <assert.h>
26373 /* Override any gcc2 internal prototype to avoid an error. */
26378 /* We use char because int might match the return type of a gcc2
26379 builtin and then its argument prototype would still apply. */
26381 /* The GNU C library defines this for functions which it implements
26382 to always fail with ENOSYS. Some functions are actually named
26383 something starting with __ and the normal name is an alias. */
26384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26387 char (*f) () = $ac_func;
26396 return f != $ac_func;
26401 rm -f conftest.
$ac_objext conftest
$ac_exeext
26402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26403 (eval $ac_link) 2>&5
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); } &&
26407 { ac_try
='test -s conftest$ac_exeext'
26408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26409 (eval $ac_try) 2>&5
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); }; }; then
26413 eval "$as_ac_var=yes"
26415 echo "$as_me: failed program was:" >&5
26416 sed 's/^/| /' conftest.
$ac_ext >&5
26418 eval "$as_ac_var=no"
26420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26424 if test `eval echo '${'$as_ac_var'}'` = yes; then
26425 cat >>confdefs.h
<<_ACEOF
26426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26433 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26434 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26440 ac_cpp
='$CXXCPP $CPPFLAGS'
26441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26447 for ac_func
in vsnprintf
26449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26450 echo "$as_me:$LINENO: checking for $ac_func" >&5
26451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26452 if eval "test \"\${$as_ac_var+set}\" = set"; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26455 cat >conftest.
$ac_ext <<_ACEOF
26456 #line $LINENO "configure"
26459 cat confdefs.h
>>conftest.
$ac_ext
26460 cat >>conftest.
$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26462 /* System header to define __stub macros and hopefully few prototypes,
26463 which can conflict with char $ac_func (); below.
26464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26465 <limits.h> exists even on freestanding compilers. */
26467 # include <limits.h>
26469 # include <assert.h>
26471 /* Override any gcc2 internal prototype to avoid an error. */
26476 /* We use char because int might match the return type of a gcc2
26477 builtin and then its argument prototype would still apply. */
26479 /* The GNU C library defines this for functions which it implements
26480 to always fail with ENOSYS. Some functions are actually named
26481 something starting with __ and the normal name is an alias. */
26482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26485 char (*f) () = $ac_func;
26494 return f != $ac_func;
26499 rm -f conftest.
$ac_objext conftest
$ac_exeext
26500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26501 (eval $ac_link) 2>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } &&
26505 { ac_try
='test -s conftest$ac_exeext'
26506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26507 (eval $ac_try) 2>&5
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); }; }; then
26511 eval "$as_ac_var=yes"
26513 echo "$as_me: failed program was:" >&5
26514 sed 's/^/| /' conftest.
$ac_ext >&5
26516 eval "$as_ac_var=no"
26518 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26522 if test `eval echo '${'$as_ac_var'}'` = yes; then
26523 cat >>confdefs.h
<<_ACEOF
26524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26531 if test "$ac_cv_func_vsnprintf" = "yes"; then
26532 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26533 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26534 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26535 echo $ECHO_N "(cached) $ECHO_C" >&6
26538 cat >conftest.
$ac_ext <<_ACEOF
26539 #line $LINENO "configure"
26542 cat confdefs.h
>>conftest.
$ac_ext
26543 cat >>conftest.
$ac_ext <<_ACEOF
26544 /* end confdefs.h. */
26547 #include <stdarg.h>
26555 vsnprintf(buf, 10u, "%s", ap);
26561 rm -f conftest.
$ac_objext
26562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26563 (eval $ac_compile) 2>&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); } &&
26567 { ac_try
='test -s conftest.$ac_objext'
26568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26569 (eval $ac_try) 2>&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); }; }; then
26573 wx_cv_func_vsnprintf_decl
=yes
26575 echo "$as_me: failed program was:" >&5
26576 sed 's/^/| /' conftest.
$ac_ext >&5
26578 wx_cv_func_vsnprintf_decl
=no
26581 rm -f conftest.
$ac_objext conftest.
$ac_ext
26585 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26586 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26588 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26589 cat >>confdefs.h
<<\_ACEOF
26590 #define HAVE_VSNPRINTF_DECL 1
26596 if test "$wxUSE_UNICODE" = yes; then
26600 for ac_func
in fputwc wprintf vswprintf
26602 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26603 echo "$as_me:$LINENO: checking for $ac_func" >&5
26604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26605 if eval "test \"\${$as_ac_var+set}\" = set"; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26608 cat >conftest.
$ac_ext <<_ACEOF
26609 #line $LINENO "configure"
26612 cat confdefs.h
>>conftest.
$ac_ext
26613 cat >>conftest.
$ac_ext <<_ACEOF
26614 /* end confdefs.h. */
26615 /* System header to define __stub macros and hopefully few prototypes,
26616 which can conflict with char $ac_func (); below.
26617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26618 <limits.h> exists even on freestanding compilers. */
26620 # include <limits.h>
26622 # include <assert.h>
26624 /* Override any gcc2 internal prototype to avoid an error. */
26629 /* We use char because int might match the return type of a gcc2
26630 builtin and then its argument prototype would still apply. */
26632 /* The GNU C library defines this for functions which it implements
26633 to always fail with ENOSYS. Some functions are actually named
26634 something starting with __ and the normal name is an alias. */
26635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26638 char (*f) () = $ac_func;
26647 return f != $ac_func;
26652 rm -f conftest.
$ac_objext conftest
$ac_exeext
26653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26654 (eval $ac_link) 2>&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } &&
26658 { ac_try
='test -s conftest$ac_exeext'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; }; then
26664 eval "$as_ac_var=yes"
26666 echo "$as_me: failed program was:" >&5
26667 sed 's/^/| /' conftest.
$ac_ext >&5
26669 eval "$as_ac_var=no"
26671 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26675 if test `eval echo '${'$as_ac_var'}'` = yes; then
26676 cat >>confdefs.h
<<_ACEOF
26677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26684 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26685 echo $ECHO_N "checking for _vsnwprintf... $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. */
26702 rm -f conftest.
$ac_objext
26703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26704 (eval $ac_compile) 2>&5
26706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26707 (exit $ac_status); } &&
26708 { ac_try
='test -s conftest.$ac_objext'
26709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26710 (eval $ac_try) 2>&5
26712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26713 (exit $ac_status); }; }; then
26714 echo "$as_me:$LINENO: result: yes" >&5
26715 echo "${ECHO_T}yes" >&6
26716 cat >>confdefs.h
<<\_ACEOF
26717 #define HAVE__VSNWPRINTF 1
26721 echo "$as_me: failed program was:" >&5
26722 sed 's/^/| /' conftest.
$ac_ext >&5
26724 echo "$as_me:$LINENO: result: no" >&5
26725 echo "${ECHO_T}no" >&6
26727 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26731 ac_cpp
='$CPP $CPPFLAGS'
26732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26739 if test "$TOOLKIT" != "MSW"; then
26745 ac_cpp
='$CXXCPP $CPPFLAGS'
26746 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26747 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26748 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26753 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26754 if test "${with_libiconv_prefix+set}" = set; then
26755 withval
="$with_libiconv_prefix"
26757 for dir
in `echo "$withval" | tr : ' '`; do
26758 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26759 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26764 echo "$as_me:$LINENO: checking for iconv" >&5
26765 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26766 if test "${am_cv_func_iconv+set}" = set; then
26767 echo $ECHO_N "(cached) $ECHO_C" >&6
26770 am_cv_func_iconv
="no, consider installing GNU libiconv"
26772 cat >conftest.
$ac_ext <<_ACEOF
26773 #line $LINENO "configure"
26776 cat confdefs.h
>>conftest.
$ac_ext
26777 cat >>conftest.
$ac_ext <<_ACEOF
26778 /* end confdefs.h. */
26779 #include <stdlib.h>
26784 iconv_t cd = iconv_open("","");
26785 iconv(cd,NULL,NULL,NULL,NULL);
26791 rm -f conftest.
$ac_objext conftest
$ac_exeext
26792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26793 (eval $ac_link) 2>&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } &&
26797 { ac_try
='test -s conftest$ac_exeext'
26798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799 (eval $ac_try) 2>&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); }; }; then
26803 am_cv_func_iconv
=yes
26805 echo "$as_me: failed program was:" >&5
26806 sed 's/^/| /' conftest.
$ac_ext >&5
26809 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26810 if test "$am_cv_func_iconv" != yes; then
26811 am_save_LIBS
="$LIBS"
26812 LIBS
="$LIBS -liconv"
26813 cat >conftest.
$ac_ext <<_ACEOF
26814 #line $LINENO "configure"
26817 cat confdefs.h
>>conftest.
$ac_ext
26818 cat >>conftest.
$ac_ext <<_ACEOF
26819 /* end confdefs.h. */
26820 #include <stdlib.h>
26825 iconv_t cd = iconv_open("","");
26826 iconv(cd,NULL,NULL,NULL,NULL);
26832 rm -f conftest.
$ac_objext conftest
$ac_exeext
26833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26834 (eval $ac_link) 2>&5
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); } &&
26838 { ac_try
='test -s conftest$ac_exeext'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26844 am_cv_lib_iconv
=yes
26845 am_cv_func_iconv
=yes
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.
$ac_ext >&5
26851 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26852 LIBS
="$am_save_LIBS"
26856 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26857 echo "${ECHO_T}$am_cv_func_iconv" >&6
26858 if test "$am_cv_func_iconv" = yes; then
26860 cat >>confdefs.h
<<\_ACEOF
26861 #define HAVE_ICONV 1
26864 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26865 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26866 if test "${wx_cv_func_iconv_const+set}" = set; then
26867 echo $ECHO_N "(cached) $ECHO_C" >&6
26869 cat >conftest.
$ac_ext <<_ACEOF
26870 #line $LINENO "configure"
26873 cat confdefs.h
>>conftest.
$ac_ext
26874 cat >>conftest.
$ac_ext <<_ACEOF
26875 /* end confdefs.h. */
26877 #include <stdlib.h>
26883 #if defined(__STDC__) || defined(__cplusplus)
26884 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26897 rm -f conftest.
$ac_objext
26898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26899 (eval $ac_compile) 2>&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } &&
26903 { ac_try
='test -s conftest.$ac_objext'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; }; then
26909 wx_cv_func_iconv_const
="no"
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.
$ac_ext >&5
26914 wx_cv_func_iconv_const
="yes"
26917 rm -f conftest.
$ac_objext conftest.
$ac_ext
26920 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26921 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26924 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26925 iconv_const
="const"
26929 cat >>confdefs.h
<<_ACEOF
26930 #define ICONV_CONST $iconv_const
26935 if test "$am_cv_lib_iconv" = yes; then
26940 LIBS
="$LIBICONV $LIBS"
26942 ac_cpp
='$CPP $CPPFLAGS'
26943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26948 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26950 for ac_func
in sigaction
26952 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26953 echo "$as_me:$LINENO: checking for $ac_func" >&5
26954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26955 if eval "test \"\${$as_ac_var+set}\" = set"; then
26956 echo $ECHO_N "(cached) $ECHO_C" >&6
26958 cat >conftest.
$ac_ext <<_ACEOF
26959 #line $LINENO "configure"
26962 cat confdefs.h
>>conftest.
$ac_ext
26963 cat >>conftest.
$ac_ext <<_ACEOF
26964 /* end confdefs.h. */
26965 /* System header to define __stub macros and hopefully few prototypes,
26966 which can conflict with char $ac_func (); below.
26967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26968 <limits.h> exists even on freestanding compilers. */
26970 # include <limits.h>
26972 # include <assert.h>
26974 /* Override any gcc2 internal prototype to avoid an error. */
26979 /* We use char because int might match the return type of a gcc2
26980 builtin and then its argument prototype would still apply. */
26982 /* The GNU C library defines this for functions which it implements
26983 to always fail with ENOSYS. Some functions are actually named
26984 something starting with __ and the normal name is an alias. */
26985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26988 char (*f) () = $ac_func;
26997 return f != $ac_func;
27002 rm -f conftest.
$ac_objext conftest
$ac_exeext
27003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27004 (eval $ac_link) 2>&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); } &&
27008 { ac_try
='test -s conftest$ac_exeext'
27009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27010 (eval $ac_try) 2>&5
27012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27013 (exit $ac_status); }; }; then
27014 eval "$as_ac_var=yes"
27016 echo "$as_me: failed program was:" >&5
27017 sed 's/^/| /' conftest.
$ac_ext >&5
27019 eval "$as_ac_var=no"
27021 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27025 if test `eval echo '${'$as_ac_var'}'` = yes; then
27026 cat >>confdefs.h
<<_ACEOF
27027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27034 if test "$ac_cv_func_sigaction" = "no"; then
27035 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27036 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27037 wxUSE_ON_FATAL_EXCEPTION
=no
27040 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27044 ac_cpp
='$CXXCPP $CPPFLAGS'
27045 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27046 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27047 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27050 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27051 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27052 if test "${wx_cv_type_sa_handler+set}" = set; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27056 cat >conftest.
$ac_ext <<_ACEOF
27057 #line $LINENO "configure"
27060 cat confdefs.h
>>conftest.
$ac_ext
27061 cat >>conftest.
$ac_ext <<_ACEOF
27062 /* end confdefs.h. */
27063 #include <signal.h>
27068 extern void testSigHandler(int);
27070 struct sigaction sa;
27071 sa.sa_handler = testSigHandler;
27077 rm -f conftest.
$ac_objext
27078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27079 (eval $ac_compile) 2>&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } &&
27083 { ac_try
='test -s conftest.$ac_objext'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; }; then
27090 wx_cv_type_sa_handler
=int
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.
$ac_ext >&5
27097 wx_cv_type_sa_handler
=void
27100 rm -f conftest.
$ac_objext conftest.
$ac_ext
27103 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27104 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27107 ac_cpp
='$CPP $CPPFLAGS'
27108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27113 cat >>confdefs.h
<<_ACEOF
27114 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27122 for ac_func
in mkstemp mktemp
27124 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27125 echo "$as_me:$LINENO: checking for $ac_func" >&5
27126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27127 if eval "test \"\${$as_ac_var+set}\" = set"; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27130 cat >conftest.
$ac_ext <<_ACEOF
27131 #line $LINENO "configure"
27134 cat confdefs.h
>>conftest.
$ac_ext
27135 cat >>conftest.
$ac_ext <<_ACEOF
27136 /* end confdefs.h. */
27137 /* System header to define __stub macros and hopefully few prototypes,
27138 which can conflict with char $ac_func (); below.
27139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27140 <limits.h> exists even on freestanding compilers. */
27142 # include <limits.h>
27144 # include <assert.h>
27146 /* Override any gcc2 internal prototype to avoid an error. */
27151 /* We use char because int might match the return type of a gcc2
27152 builtin and then its argument prototype would still apply. */
27154 /* The GNU C library defines this for functions which it implements
27155 to always fail with ENOSYS. Some functions are actually named
27156 something starting with __ and the normal name is an alias. */
27157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27160 char (*f) () = $ac_func;
27169 return f != $ac_func;
27174 rm -f conftest.
$ac_objext conftest
$ac_exeext
27175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27176 (eval $ac_link) 2>&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } &&
27180 { ac_try
='test -s conftest$ac_exeext'
27181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27182 (eval $ac_try) 2>&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); }; }; then
27186 eval "$as_ac_var=yes"
27188 echo "$as_me: failed program was:" >&5
27189 sed 's/^/| /' conftest.
$ac_ext >&5
27191 eval "$as_ac_var=no"
27193 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27197 if test `eval echo '${'$as_ac_var'}'` = yes; then
27198 cat >>confdefs.h
<<_ACEOF
27199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27206 echo "$as_me:$LINENO: checking for statfs" >&5
27207 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27208 if test "${wx_cv_func_statfs+set}" = set; then
27209 echo $ECHO_N "(cached) $ECHO_C" >&6
27211 cat >conftest.
$ac_ext <<_ACEOF
27212 #line $LINENO "configure"
27215 cat confdefs.h
>>conftest.
$ac_ext
27216 cat >>conftest.
$ac_ext <<_ACEOF
27217 /* end confdefs.h. */
27219 #if defined(__BSD__)
27220 #include <sys/param.h>
27221 #include <sys/mount.h>
27223 #include <sys/vfs.h>
27241 rm -f conftest.
$ac_objext
27242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27243 (eval $ac_compile) 2>&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } &&
27247 { ac_try
='test -s conftest.$ac_objext'
27248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27249 (eval $ac_try) 2>&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); }; }; then
27254 wx_cv_func_statfs
=yes
27257 echo "$as_me: failed program was:" >&5
27258 sed 's/^/| /' conftest.
$ac_ext >&5
27261 wx_cv_func_statfs
=no
27265 rm -f conftest.
$ac_objext conftest.
$ac_ext
27268 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27269 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27271 if test "$wx_cv_func_statfs" = "yes"; then
27272 wx_cv_type_statvfs_t
="struct statfs"
27273 cat >>confdefs.h
<<\_ACEOF
27274 #define HAVE_STATFS 1
27278 echo "$as_me:$LINENO: checking for statvfs" >&5
27279 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27280 if test "${wx_cv_func_statvfs+set}" = set; then
27281 echo $ECHO_N "(cached) $ECHO_C" >&6
27283 cat >conftest.
$ac_ext <<_ACEOF
27284 #line $LINENO "configure"
27287 cat confdefs.h
>>conftest.
$ac_ext
27288 cat >>conftest.
$ac_ext <<_ACEOF
27289 /* end confdefs.h. */
27291 #include <stddef.h>
27292 #include <sys/statvfs.h>
27298 statvfs("/", NULL);
27304 rm -f conftest.
$ac_objext
27305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27306 (eval $ac_compile) 2>&5
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); } &&
27310 { ac_try
='test -s conftest.$ac_objext'
27311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27312 (eval $ac_try) 2>&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); }; }; then
27316 wx_cv_func_statvfs
=yes
27318 echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.
$ac_ext >&5
27321 wx_cv_func_statvfs
=no
27324 rm -f conftest.
$ac_objext conftest.
$ac_ext
27327 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27328 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27330 if test "$wx_cv_func_statvfs" = "yes"; then
27334 ac_cpp
='$CXXCPP $CPPFLAGS'
27335 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27336 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27337 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27340 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27341 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27342 if test "${wx_cv_type_statvfs_t+set}" = set; then
27343 echo $ECHO_N "(cached) $ECHO_C" >&6
27345 cat >conftest.
$ac_ext <<_ACEOF
27346 #line $LINENO "configure"
27349 cat confdefs.h
>>conftest.
$ac_ext
27350 cat >>conftest.
$ac_ext <<_ACEOF
27351 /* end confdefs.h. */
27353 #include <sys/statvfs.h>
27370 rm -f conftest.
$ac_objext
27371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27372 (eval $ac_compile) 2>&5
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } &&
27376 { ac_try
='test -s conftest.$ac_objext'
27377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27378 (eval $ac_try) 2>&5
27380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27381 (exit $ac_status); }; }; then
27382 wx_cv_type_statvfs_t
=statvfs_t
27384 echo "$as_me: failed program was:" >&5
27385 sed 's/^/| /' conftest.
$ac_ext >&5
27388 cat >conftest.
$ac_ext <<_ACEOF
27389 #line $LINENO "configure"
27392 cat confdefs.h
>>conftest.
$ac_ext
27393 cat >>conftest.
$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27396 #include <sys/statvfs.h>
27413 rm -f conftest.
$ac_objext
27414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27415 (eval $ac_compile) 2>&5
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); } &&
27419 { ac_try
='test -s conftest.$ac_objext'
27420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27421 (eval $ac_try) 2>&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); }; }; then
27425 wx_cv_type_statvfs_t
="struct statvfs"
27427 echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.
$ac_ext >&5
27430 wx_cv_type_statvfs_t
="unknown"
27433 rm -f conftest.
$ac_objext conftest.
$ac_ext
27437 rm -f conftest.
$ac_objext conftest.
$ac_ext
27440 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27441 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27444 ac_cpp
='$CPP $CPPFLAGS'
27445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27450 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27451 cat >>confdefs.h
<<\_ACEOF
27452 #define HAVE_STATVFS 1
27457 wx_cv_type_statvfs_t
="unknown"
27461 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27462 cat >>confdefs.h
<<_ACEOF
27463 #define WX_STATFS_T $wx_cv_type_statvfs_t
27467 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27468 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27471 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27474 for ac_func
in fcntl flock
27476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27477 echo "$as_me:$LINENO: checking for $ac_func" >&5
27478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27479 if eval "test \"\${$as_ac_var+set}\" = set"; then
27480 echo $ECHO_N "(cached) $ECHO_C" >&6
27482 cat >conftest.
$ac_ext <<_ACEOF
27483 #line $LINENO "configure"
27486 cat confdefs.h
>>conftest.
$ac_ext
27487 cat >>conftest.
$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489 /* System header to define __stub macros and hopefully few prototypes,
27490 which can conflict with char $ac_func (); below.
27491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27492 <limits.h> exists even on freestanding compilers. */
27494 # include <limits.h>
27496 # include <assert.h>
27498 /* Override any gcc2 internal prototype to avoid an error. */
27503 /* We use char because int might match the return type of a gcc2
27504 builtin and then its argument prototype would still apply. */
27506 /* The GNU C library defines this for functions which it implements
27507 to always fail with ENOSYS. Some functions are actually named
27508 something starting with __ and the normal name is an alias. */
27509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27512 char (*f) () = $ac_func;
27521 return f != $ac_func;
27526 rm -f conftest.
$ac_objext conftest
$ac_exeext
27527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27528 (eval $ac_link) 2>&5
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); } &&
27532 { ac_try
='test -s conftest$ac_exeext'
27533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27534 (eval $ac_try) 2>&5
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); }; }; then
27538 eval "$as_ac_var=yes"
27540 echo "$as_me: failed program was:" >&5
27541 sed 's/^/| /' conftest.
$ac_ext >&5
27543 eval "$as_ac_var=no"
27545 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27549 if test `eval echo '${'$as_ac_var'}'` = yes; then
27550 cat >>confdefs.h
<<_ACEOF
27551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27558 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27559 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27560 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27561 wxUSE_SNGLINST_CHECKER
=no
27566 for ac_func
in timegm
27568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27569 echo "$as_me:$LINENO: checking for $ac_func" >&5
27570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27571 if eval "test \"\${$as_ac_var+set}\" = set"; then
27572 echo $ECHO_N "(cached) $ECHO_C" >&6
27574 cat >conftest.
$ac_ext <<_ACEOF
27575 #line $LINENO "configure"
27578 cat confdefs.h
>>conftest.
$ac_ext
27579 cat >>conftest.
$ac_ext <<_ACEOF
27580 /* end confdefs.h. */
27581 /* System header to define __stub macros and hopefully few prototypes,
27582 which can conflict with char $ac_func (); below.
27583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27584 <limits.h> exists even on freestanding compilers. */
27586 # include <limits.h>
27588 # include <assert.h>
27590 /* Override any gcc2 internal prototype to avoid an error. */
27595 /* We use char because int might match the return type of a gcc2
27596 builtin and then its argument prototype would still apply. */
27598 /* The GNU C library defines this for functions which it implements
27599 to always fail with ENOSYS. Some functions are actually named
27600 something starting with __ and the normal name is an alias. */
27601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27604 char (*f) () = $ac_func;
27613 return f != $ac_func;
27618 rm -f conftest.
$ac_objext conftest
$ac_exeext
27619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27620 (eval $ac_link) 2>&5
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); } &&
27624 { ac_try
='test -s conftest$ac_exeext'
27625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27626 (eval $ac_try) 2>&5
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); }; }; then
27630 eval "$as_ac_var=yes"
27632 echo "$as_me: failed program was:" >&5
27633 sed 's/^/| /' conftest.
$ac_ext >&5
27635 eval "$as_ac_var=no"
27637 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27641 if test `eval echo '${'$as_ac_var'}'` = yes; then
27642 cat >>confdefs.h
<<_ACEOF
27643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27652 for ac_func
in putenv setenv
27654 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27655 echo "$as_me:$LINENO: checking for $ac_func" >&5
27656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27657 if eval "test \"\${$as_ac_var+set}\" = set"; then
27658 echo $ECHO_N "(cached) $ECHO_C" >&6
27660 cat >conftest.
$ac_ext <<_ACEOF
27661 #line $LINENO "configure"
27664 cat confdefs.h
>>conftest.
$ac_ext
27665 cat >>conftest.
$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27667 /* System header to define __stub macros and hopefully few prototypes,
27668 which can conflict with char $ac_func (); below.
27669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27670 <limits.h> exists even on freestanding compilers. */
27672 # include <limits.h>
27674 # include <assert.h>
27676 /* Override any gcc2 internal prototype to avoid an error. */
27681 /* We use char because int might match the return type of a gcc2
27682 builtin and then its argument prototype would still apply. */
27684 /* The GNU C library defines this for functions which it implements
27685 to always fail with ENOSYS. Some functions are actually named
27686 something starting with __ and the normal name is an alias. */
27687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27690 char (*f) () = $ac_func;
27699 return f != $ac_func;
27704 rm -f conftest.
$ac_objext conftest
$ac_exeext
27705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27706 (eval $ac_link) 2>&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } &&
27710 { ac_try
='test -s conftest$ac_exeext'
27711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27712 (eval $ac_try) 2>&5
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); }; }; then
27716 eval "$as_ac_var=yes"
27718 echo "$as_me: failed program was:" >&5
27719 sed 's/^/| /' conftest.
$ac_ext >&5
27721 eval "$as_ac_var=no"
27723 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27727 if test `eval echo '${'$as_ac_var'}'` = yes; then
27728 cat >>confdefs.h
<<_ACEOF
27729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27736 HAVE_SOME_SLEEP_FUNC
=0
27737 if test "$USE_BEOS" = 1; then
27738 cat >>confdefs.h
<<\_ACEOF
27739 #define HAVE_SLEEP 1
27742 HAVE_SOME_SLEEP_FUNC
=1
27745 if test "$USE_DARWIN" = 1; then
27746 cat >>confdefs.h
<<\_ACEOF
27747 #define HAVE_USLEEP 1
27750 HAVE_SOME_SLEEP_FUNC
=1
27753 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27756 for ac_func
in nanosleep
27758 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27759 echo "$as_me:$LINENO: checking for $ac_func" >&5
27760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27761 if eval "test \"\${$as_ac_var+set}\" = set"; then
27762 echo $ECHO_N "(cached) $ECHO_C" >&6
27764 cat >conftest.
$ac_ext <<_ACEOF
27765 #line $LINENO "configure"
27768 cat confdefs.h
>>conftest.
$ac_ext
27769 cat >>conftest.
$ac_ext <<_ACEOF
27770 /* end confdefs.h. */
27771 /* System header to define __stub macros and hopefully few prototypes,
27772 which can conflict with char $ac_func (); below.
27773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27774 <limits.h> exists even on freestanding compilers. */
27776 # include <limits.h>
27778 # include <assert.h>
27780 /* Override any gcc2 internal prototype to avoid an error. */
27785 /* We use char because int might match the return type of a gcc2
27786 builtin and then its argument prototype would still apply. */
27788 /* The GNU C library defines this for functions which it implements
27789 to always fail with ENOSYS. Some functions are actually named
27790 something starting with __ and the normal name is an alias. */
27791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27794 char (*f) () = $ac_func;
27803 return f != $ac_func;
27808 rm -f conftest.
$ac_objext conftest
$ac_exeext
27809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27810 (eval $ac_link) 2>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } &&
27814 { ac_try
='test -s conftest$ac_exeext'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; }; then
27820 eval "$as_ac_var=yes"
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.
$ac_ext >&5
27825 eval "$as_ac_var=no"
27827 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27831 if test `eval echo '${'$as_ac_var'}'` = yes; then
27832 cat >>confdefs.h
<<_ACEOF
27833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27835 cat >>confdefs.h
<<\_ACEOF
27836 #define HAVE_NANOSLEEP 1
27841 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27842 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27843 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 ac_check_lib_save_LIBS
=$LIBS
27847 LIBS
="-lposix4 $LIBS"
27848 cat >conftest.
$ac_ext <<_ACEOF
27849 #line $LINENO "configure"
27852 cat confdefs.h
>>conftest.
$ac_ext
27853 cat >>conftest.
$ac_ext <<_ACEOF
27854 /* end confdefs.h. */
27856 /* Override any gcc2 internal prototype to avoid an error. */
27860 /* We use char because int might match the return type of a gcc2
27861 builtin and then its argument prototype would still apply. */
27871 rm -f conftest.
$ac_objext conftest
$ac_exeext
27872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27873 (eval $ac_link) 2>&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } &&
27877 { ac_try
='test -s conftest$ac_exeext'
27878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27879 (eval $ac_try) 2>&5
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); }; }; then
27883 ac_cv_lib_posix4_nanosleep
=yes
27885 echo "$as_me: failed program was:" >&5
27886 sed 's/^/| /' conftest.
$ac_ext >&5
27888 ac_cv_lib_posix4_nanosleep
=no
27890 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27891 LIBS
=$ac_check_lib_save_LIBS
27893 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27894 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27895 if test $ac_cv_lib_posix4_nanosleep = yes; then
27897 cat >>confdefs.h
<<\_ACEOF
27898 #define HAVE_NANOSLEEP 1
27901 POSIX4_LINK
=" -lposix4"
27906 for ac_func
in usleep
27908 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27909 echo "$as_me:$LINENO: checking for $ac_func" >&5
27910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27911 if eval "test \"\${$as_ac_var+set}\" = set"; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27914 cat >conftest.
$ac_ext <<_ACEOF
27915 #line $LINENO "configure"
27918 cat confdefs.h
>>conftest.
$ac_ext
27919 cat >>conftest.
$ac_ext <<_ACEOF
27920 /* end confdefs.h. */
27921 /* System header to define __stub macros and hopefully few prototypes,
27922 which can conflict with char $ac_func (); below.
27923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27924 <limits.h> exists even on freestanding compilers. */
27926 # include <limits.h>
27928 # include <assert.h>
27930 /* Override any gcc2 internal prototype to avoid an error. */
27935 /* We use char because int might match the return type of a gcc2
27936 builtin and then its argument prototype would still apply. */
27938 /* The GNU C library defines this for functions which it implements
27939 to always fail with ENOSYS. Some functions are actually named
27940 something starting with __ and the normal name is an alias. */
27941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27944 char (*f) () = $ac_func;
27953 return f != $ac_func;
27958 rm -f conftest.
$ac_objext conftest
$ac_exeext
27959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27960 (eval $ac_link) 2>&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); } &&
27964 { ac_try
='test -s conftest$ac_exeext'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 eval "$as_ac_var=yes"
27972 echo "$as_me: failed program was:" >&5
27973 sed 's/^/| /' conftest.
$ac_ext >&5
27975 eval "$as_ac_var=no"
27977 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27981 if test `eval echo '${'$as_ac_var'}'` = yes; then
27982 cat >>confdefs.h
<<_ACEOF
27983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27985 cat >>confdefs.h
<<\_ACEOF
27986 #define HAVE_USLEEP 1
27990 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27991 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28009 for ac_func
in uname gethostname
28011 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28012 echo "$as_me:$LINENO: checking for $ac_func" >&5
28013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28014 if eval "test \"\${$as_ac_var+set}\" = set"; then
28015 echo $ECHO_N "(cached) $ECHO_C" >&6
28017 cat >conftest.
$ac_ext <<_ACEOF
28018 #line $LINENO "configure"
28021 cat confdefs.h
>>conftest.
$ac_ext
28022 cat >>conftest.
$ac_ext <<_ACEOF
28023 /* end confdefs.h. */
28024 /* System header to define __stub macros and hopefully few prototypes,
28025 which can conflict with char $ac_func (); below.
28026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28027 <limits.h> exists even on freestanding compilers. */
28029 # include <limits.h>
28031 # include <assert.h>
28033 /* Override any gcc2 internal prototype to avoid an error. */
28038 /* We use char because int might match the return type of a gcc2
28039 builtin and then its argument prototype would still apply. */
28041 /* The GNU C library defines this for functions which it implements
28042 to always fail with ENOSYS. Some functions are actually named
28043 something starting with __ and the normal name is an alias. */
28044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28047 char (*f) () = $ac_func;
28056 return f != $ac_func;
28061 rm -f conftest.
$ac_objext conftest
$ac_exeext
28062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28063 (eval $ac_link) 2>&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } &&
28067 { ac_try
='test -s conftest$ac_exeext'
28068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28069 (eval $ac_try) 2>&5
28071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28072 (exit $ac_status); }; }; then
28073 eval "$as_ac_var=yes"
28075 echo "$as_me: failed program was:" >&5
28076 sed 's/^/| /' conftest.
$ac_ext >&5
28078 eval "$as_ac_var=no"
28080 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28084 if test `eval echo '${'$as_ac_var'}'` = yes; then
28085 cat >>confdefs.h
<<_ACEOF
28086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28096 ac_cpp
='$CXXCPP $CPPFLAGS'
28097 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28098 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28099 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28103 for ac_func
in strtok_r
28105 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28106 echo "$as_me:$LINENO: checking for $ac_func" >&5
28107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28108 if eval "test \"\${$as_ac_var+set}\" = set"; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 cat >conftest.
$ac_ext <<_ACEOF
28112 #line $LINENO "configure"
28115 cat confdefs.h
>>conftest.
$ac_ext
28116 cat >>conftest.
$ac_ext <<_ACEOF
28117 /* end confdefs.h. */
28118 /* System header to define __stub macros and hopefully few prototypes,
28119 which can conflict with char $ac_func (); below.
28120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28121 <limits.h> exists even on freestanding compilers. */
28123 # include <limits.h>
28125 # include <assert.h>
28127 /* Override any gcc2 internal prototype to avoid an error. */
28132 /* We use char because int might match the return type of a gcc2
28133 builtin and then its argument prototype would still apply. */
28135 /* The GNU C library defines this for functions which it implements
28136 to always fail with ENOSYS. Some functions are actually named
28137 something starting with __ and the normal name is an alias. */
28138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28141 char (*f) () = $ac_func;
28150 return f != $ac_func;
28155 rm -f conftest.
$ac_objext conftest
$ac_exeext
28156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28157 (eval $ac_link) 2>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try
='test -s conftest$ac_exeext'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; }; then
28167 eval "$as_ac_var=yes"
28169 echo "$as_me: failed program was:" >&5
28170 sed 's/^/| /' conftest.
$ac_ext >&5
28172 eval "$as_ac_var=no"
28174 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28178 if test `eval echo '${'$as_ac_var'}'` = yes; then
28179 cat >>confdefs.h
<<_ACEOF
28180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28188 ac_cpp
='$CPP $CPPFLAGS'
28189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28196 for ac_func
in inet_addr
28198 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28199 echo "$as_me:$LINENO: checking for $ac_func" >&5
28200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28201 if eval "test \"\${$as_ac_var+set}\" = set"; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 cat >conftest.
$ac_ext <<_ACEOF
28205 #line $LINENO "configure"
28208 cat confdefs.h
>>conftest.
$ac_ext
28209 cat >>conftest.
$ac_ext <<_ACEOF
28210 /* end confdefs.h. */
28211 /* System header to define __stub macros and hopefully few prototypes,
28212 which can conflict with char $ac_func (); below.
28213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28214 <limits.h> exists even on freestanding compilers. */
28216 # include <limits.h>
28218 # include <assert.h>
28220 /* Override any gcc2 internal prototype to avoid an error. */
28225 /* We use char because int might match the return type of a gcc2
28226 builtin and then its argument prototype would still apply. */
28228 /* The GNU C library defines this for functions which it implements
28229 to always fail with ENOSYS. Some functions are actually named
28230 something starting with __ and the normal name is an alias. */
28231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28234 char (*f) () = $ac_func;
28243 return f != $ac_func;
28248 rm -f conftest.
$ac_objext conftest
$ac_exeext
28249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28250 (eval $ac_link) 2>&5
28252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28253 (exit $ac_status); } &&
28254 { ac_try
='test -s conftest$ac_exeext'
28255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28256 (eval $ac_try) 2>&5
28258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28259 (exit $ac_status); }; }; then
28260 eval "$as_ac_var=yes"
28262 echo "$as_me: failed program was:" >&5
28263 sed 's/^/| /' conftest.
$ac_ext >&5
28265 eval "$as_ac_var=no"
28267 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28271 if test `eval echo '${'$as_ac_var'}'` = yes; then
28272 cat >>confdefs.h
<<_ACEOF
28273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28275 cat >>confdefs.h
<<\_ACEOF
28276 #define HAVE_INET_ADDR 1
28281 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28282 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28283 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28284 echo $ECHO_N "(cached) $ECHO_C" >&6
28286 ac_check_lib_save_LIBS
=$LIBS
28288 cat >conftest.
$ac_ext <<_ACEOF
28289 #line $LINENO "configure"
28292 cat confdefs.h
>>conftest.
$ac_ext
28293 cat >>conftest.
$ac_ext <<_ACEOF
28294 /* end confdefs.h. */
28296 /* Override any gcc2 internal prototype to avoid an error. */
28300 /* We use char because int might match the return type of a gcc2
28301 builtin and then its argument prototype would still apply. */
28311 rm -f conftest.
$ac_objext conftest
$ac_exeext
28312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28313 (eval $ac_link) 2>&5
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); } &&
28317 { ac_try
='test -s conftest$ac_exeext'
28318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28319 (eval $ac_try) 2>&5
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); }; }; then
28323 ac_cv_lib_nsl_inet_addr
=yes
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.
$ac_ext >&5
28328 ac_cv_lib_nsl_inet_addr
=no
28330 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28331 LIBS
=$ac_check_lib_save_LIBS
28333 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28334 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28335 if test $ac_cv_lib_nsl_inet_addr = yes; then
28338 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28339 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28340 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28341 echo $ECHO_N "(cached) $ECHO_C" >&6
28343 ac_check_lib_save_LIBS
=$LIBS
28344 LIBS
="-lresolv $LIBS"
28345 cat >conftest.
$ac_ext <<_ACEOF
28346 #line $LINENO "configure"
28349 cat confdefs.h
>>conftest.
$ac_ext
28350 cat >>conftest.
$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28353 /* Override any gcc2 internal prototype to avoid an error. */
28357 /* We use char because int might match the return type of a gcc2
28358 builtin and then its argument prototype would still apply. */
28368 rm -f conftest.
$ac_objext conftest
$ac_exeext
28369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28370 (eval $ac_link) 2>&5
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); } &&
28374 { ac_try
='test -s conftest$ac_exeext'
28375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28376 (eval $ac_try) 2>&5
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); }; }; then
28380 ac_cv_lib_resolv_inet_addr
=yes
28382 echo "$as_me: failed program was:" >&5
28383 sed 's/^/| /' conftest.
$ac_ext >&5
28385 ac_cv_lib_resolv_inet_addr
=no
28387 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28388 LIBS
=$ac_check_lib_save_LIBS
28390 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28391 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28392 if test $ac_cv_lib_resolv_inet_addr = yes; then
28395 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28396 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28397 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28398 echo $ECHO_N "(cached) $ECHO_C" >&6
28400 ac_check_lib_save_LIBS
=$LIBS
28401 LIBS
="-lsocket $LIBS"
28402 cat >conftest.
$ac_ext <<_ACEOF
28403 #line $LINENO "configure"
28406 cat confdefs.h
>>conftest.
$ac_ext
28407 cat >>conftest.
$ac_ext <<_ACEOF
28408 /* end confdefs.h. */
28410 /* Override any gcc2 internal prototype to avoid an error. */
28414 /* We use char because int might match the return type of a gcc2
28415 builtin and then its argument prototype would still apply. */
28425 rm -f conftest.
$ac_objext conftest
$ac_exeext
28426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28427 (eval $ac_link) 2>&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } &&
28431 { ac_try
='test -s conftest$ac_exeext'
28432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28433 (eval $ac_try) 2>&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); }; }; then
28437 ac_cv_lib_socket_inet_addr
=yes
28439 echo "$as_me: failed program was:" >&5
28440 sed 's/^/| /' conftest.
$ac_ext >&5
28442 ac_cv_lib_socket_inet_addr
=no
28444 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28445 LIBS
=$ac_check_lib_save_LIBS
28447 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28448 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28449 if test $ac_cv_lib_socket_inet_addr = yes; then
28467 for ac_func
in inet_aton
28469 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28470 echo "$as_me:$LINENO: checking for $ac_func" >&5
28471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28472 if eval "test \"\${$as_ac_var+set}\" = set"; then
28473 echo $ECHO_N "(cached) $ECHO_C" >&6
28475 cat >conftest.
$ac_ext <<_ACEOF
28476 #line $LINENO "configure"
28479 cat confdefs.h
>>conftest.
$ac_ext
28480 cat >>conftest.
$ac_ext <<_ACEOF
28481 /* end confdefs.h. */
28482 /* System header to define __stub macros and hopefully few prototypes,
28483 which can conflict with char $ac_func (); below.
28484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28485 <limits.h> exists even on freestanding compilers. */
28487 # include <limits.h>
28489 # include <assert.h>
28491 /* Override any gcc2 internal prototype to avoid an error. */
28496 /* We use char because int might match the return type of a gcc2
28497 builtin and then its argument prototype would still apply. */
28499 /* The GNU C library defines this for functions which it implements
28500 to always fail with ENOSYS. Some functions are actually named
28501 something starting with __ and the normal name is an alias. */
28502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28505 char (*f) () = $ac_func;
28514 return f != $ac_func;
28519 rm -f conftest.
$ac_objext conftest
$ac_exeext
28520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28521 (eval $ac_link) 2>&5
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); } &&
28525 { ac_try
='test -s conftest$ac_exeext'
28526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527 (eval $ac_try) 2>&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; }; then
28531 eval "$as_ac_var=yes"
28533 echo "$as_me: failed program was:" >&5
28534 sed 's/^/| /' conftest.
$ac_ext >&5
28536 eval "$as_ac_var=no"
28538 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28542 if test `eval echo '${'$as_ac_var'}'` = yes; then
28543 cat >>confdefs.h
<<_ACEOF
28544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28546 cat >>confdefs.h
<<\_ACEOF
28547 #define HAVE_INET_ATON 1
28552 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28553 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28554 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28555 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28556 echo $ECHO_N "(cached) $ECHO_C" >&6
28558 ac_check_lib_save_LIBS
=$LIBS
28559 LIBS
="-l$INET_LINK $LIBS"
28560 cat >conftest.
$ac_ext <<_ACEOF
28561 #line $LINENO "configure"
28564 cat confdefs.h
>>conftest.
$ac_ext
28565 cat >>conftest.
$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28568 /* Override any gcc2 internal prototype to avoid an error. */
28572 /* We use char because int might match the return type of a gcc2
28573 builtin and then its argument prototype would still apply. */
28583 rm -f conftest.
$ac_objext conftest
$ac_exeext
28584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28585 (eval $ac_link) 2>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } &&
28589 { ac_try
='test -s conftest$ac_exeext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 eval "$as_ac_Lib=yes"
28597 echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.
$ac_ext >&5
28600 eval "$as_ac_Lib=no"
28602 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28603 LIBS
=$ac_check_lib_save_LIBS
28605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28606 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28607 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28608 cat >>confdefs.h
<<\_ACEOF
28609 #define HAVE_INET_ATON 1
28619 if test "x$INET_LINK" != "x"; then
28620 cat >>confdefs.h
<<\_ACEOF
28621 #define HAVE_INET_ADDR 1
28624 INET_LINK
=" -l$INET_LINK"
28632 if test "${ac_cv_header_esd_h+set}" = set; then
28633 echo "$as_me:$LINENO: checking for esd.h" >&5
28634 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28635 if test "${ac_cv_header_esd_h+set}" = set; then
28636 echo $ECHO_N "(cached) $ECHO_C" >&6
28638 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28639 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28641 # Is the header compilable?
28642 echo "$as_me:$LINENO: checking esd.h usability" >&5
28643 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28644 cat >conftest.
$ac_ext <<_ACEOF
28645 #line $LINENO "configure"
28648 cat confdefs.h
>>conftest.
$ac_ext
28649 cat >>conftest.
$ac_ext <<_ACEOF
28650 /* end confdefs.h. */
28651 $ac_includes_default
28654 rm -f conftest.
$ac_objext
28655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28656 (eval $ac_compile) 2>&5
28658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28659 (exit $ac_status); } &&
28660 { ac_try
='test -s conftest.$ac_objext'
28661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28662 (eval $ac_try) 2>&5
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); }; }; then
28666 ac_header_compiler
=yes
28668 echo "$as_me: failed program was:" >&5
28669 sed 's/^/| /' conftest.
$ac_ext >&5
28671 ac_header_compiler
=no
28673 rm -f conftest.
$ac_objext conftest.
$ac_ext
28674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28675 echo "${ECHO_T}$ac_header_compiler" >&6
28677 # Is the header present?
28678 echo "$as_me:$LINENO: checking esd.h presence" >&5
28679 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28680 cat >conftest.
$ac_ext <<_ACEOF
28681 #line $LINENO "configure"
28684 cat confdefs.h
>>conftest.
$ac_ext
28685 cat >>conftest.
$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28690 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28692 grep -v '^ *+' conftest.er1
>conftest.err
28694 cat conftest.err
>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); } >/dev
/null
; then
28697 if test -s conftest.err
; then
28698 ac_cpp_err
=$ac_c_preproc_warn_flag
28705 if test -z "$ac_cpp_err"; then
28706 ac_header_preproc
=yes
28708 echo "$as_me: failed program was:" >&5
28709 sed 's/^/| /' conftest.
$ac_ext >&5
28711 ac_header_preproc
=no
28713 rm -f conftest.err conftest.
$ac_ext
28714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28715 echo "${ECHO_T}$ac_header_preproc" >&6
28717 # So? What about this header?
28718 case $ac_header_compiler:$ac_header_preproc in
28720 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28721 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28722 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28723 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28726 ## ------------------------------------ ##
28727 ## Report this to bug-autoconf@gnu.org. ##
28728 ## ------------------------------------ ##
28731 sed "s/^/$as_me: WARNING: /" >&2
28734 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28735 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28736 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28737 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28738 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28739 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28742 ## ------------------------------------ ##
28743 ## Report this to bug-autoconf@gnu.org. ##
28744 ## ------------------------------------ ##
28747 sed "s/^/$as_me: WARNING: /" >&2
28750 echo "$as_me:$LINENO: checking for esd.h" >&5
28751 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28752 if test "${ac_cv_header_esd_h+set}" = set; then
28753 echo $ECHO_N "(cached) $ECHO_C" >&6
28755 ac_cv_header_esd_h
=$ac_header_preproc
28757 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28758 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28761 if test $ac_cv_header_esd_h = yes; then
28763 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28764 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28765 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28766 echo $ECHO_N "(cached) $ECHO_C" >&6
28768 ac_check_lib_save_LIBS
=$LIBS
28770 cat >conftest.
$ac_ext <<_ACEOF
28771 #line $LINENO "configure"
28774 cat confdefs.h
>>conftest.
$ac_ext
28775 cat >>conftest.
$ac_ext <<_ACEOF
28776 /* end confdefs.h. */
28778 /* Override any gcc2 internal prototype to avoid an error. */
28782 /* We use char because int might match the return type of a gcc2
28783 builtin and then its argument prototype would still apply. */
28793 rm -f conftest.
$ac_objext conftest
$ac_exeext
28794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28795 (eval $ac_link) 2>&5
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); } &&
28799 { ac_try
='test -s conftest$ac_exeext'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; }; then
28805 ac_cv_lib_esd_esd_close
=yes
28807 echo "$as_me: failed program was:" >&5
28808 sed 's/^/| /' conftest.
$ac_ext >&5
28810 ac_cv_lib_esd_esd_close
=no
28812 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28813 LIBS
=$ac_check_lib_save_LIBS
28815 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28816 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28817 if test $ac_cv_lib_esd_esd_close = yes; then
28830 cat >confcache
<<\_ACEOF
28831 # This file is a shell script that caches the results of configure
28832 # tests run on this system so they can be shared between configure
28833 # scripts and configure runs, see configure's option --config-cache.
28834 # It is not useful on other systems. If it contains results you don't
28835 # want to keep, you may remove or edit it.
28837 # config.status only pays attention to the cache file if you give it
28838 # the --recheck option to rerun configure.
28840 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28841 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28842 # following values.
28846 # The following way of writing the cache mishandles newlines in values,
28847 # but we know of no workaround that is simple, portable, and efficient.
28848 # So, don't put newlines in cache variables' values.
28849 # Ultrix sh set writes to stderr and can't be redirected directly,
28850 # and sets the high bit in the cache file unless we assign to the vars.
28853 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28855 # `set' does not quote correctly, so add quotes (double-quote
28856 # substitution turns \\\\ into \\, and sed turns \\ into \).
28859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28862 # `set' quotes correctly as required by POSIX, so do not add quotes.
28864 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28871 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28873 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28875 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28876 if test -w $cache_file; then
28877 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28878 cat confcache
>$cache_file
28880 echo "not updating unwritable cache $cache_file"
28887 if test "$TOOLKIT" != "MSW"; then
28893 if test "$wxUSE_THREADS" = "yes" ; then
28894 if test "$USE_BEOS" = 1; then
28895 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28896 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28901 if test "$wxUSE_THREADS" = "yes" ; then
28904 THREAD_OPTS
="-pthread"
28906 *-*-solaris2* | *-*-sunos4* )
28907 if test "x$GCC" = "xyes"; then
28908 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28910 THREAD_OPTS
="-mt $THREAD_OPTS"
28914 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28916 *-*-darwin* | *-*-cygwin* )
28920 THREAD_OPTS
="pthreads"
28923 if test "x$GCC" != "xyes"; then
28929 if test "x$GCC" = "xyes"; then
28935 if test "x$GCC" != "xyes"; then
28936 THREAD_OPTS
="-Ethread"
28941 THREAD_OPTS
="$THREAD_OPTS pthread none"
28944 for flag
in $THREAD_OPTS; do
28947 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28948 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28952 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28953 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28954 THREADS_CFLAGS
="$flag"
28958 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28959 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28960 THREADS_LINK
="-l$flag"
28965 save_CFLAGS
="$CFLAGS"
28966 LIBS
="$THREADS_LINK $LIBS"
28967 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28969 cat >conftest.
$ac_ext <<_ACEOF
28970 #line $LINENO "configure"
28973 cat confdefs.h
>>conftest.
$ac_ext
28974 cat >>conftest.
$ac_ext <<_ACEOF
28975 /* end confdefs.h. */
28976 #include <pthread.h>
28980 pthread_create(0,0,0,0);
28985 rm -f conftest.
$ac_objext conftest
$ac_exeext
28986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28987 (eval $ac_link) 2>&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); } &&
28991 { ac_try
='test -s conftest$ac_exeext'
28992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28993 (eval $ac_try) 2>&5
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); }; }; then
28999 echo "$as_me: failed program was:" >&5
29000 sed 's/^/| /' conftest.
$ac_ext >&5
29003 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29006 CFLAGS
="$save_CFLAGS"
29008 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29009 echo "${ECHO_T}$THREADS_OK" >&6
29010 if test "x$THREADS_OK" = "xyes"; then
29018 if test "x$THREADS_OK" != "xyes"; then
29020 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29021 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29023 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29024 LIBS
="$THREADS_LINK $LIBS"
29026 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29027 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29031 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29032 flag
="-D_THREAD_SAFE"
29035 flag
="-D_THREAD_SAFE"
29038 flag
="-D_REENTRANT"
29039 if test "x$GCC" != "xyes"; then
29040 flag
="$flag -D_RWSTD_MULTI_THREAD"
29043 *solaris
* | alpha
*-osf*)
29044 flag
="-D_REENTRANT"
29047 echo "$as_me:$LINENO: result: ${flag}" >&5
29048 echo "${ECHO_T}${flag}" >&6
29049 if test "x$flag" != xno
; then
29050 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29053 if test "x$THREADS_CFLAGS" != "x"; then
29054 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29055 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29060 if test "$wxUSE_THREADS" = "yes" ; then
29062 for ac_func
in thr_setconcurrency
29064 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29065 echo "$as_me:$LINENO: checking for $ac_func" >&5
29066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29067 if eval "test \"\${$as_ac_var+set}\" = set"; then
29068 echo $ECHO_N "(cached) $ECHO_C" >&6
29070 cat >conftest.
$ac_ext <<_ACEOF
29071 #line $LINENO "configure"
29074 cat confdefs.h
>>conftest.
$ac_ext
29075 cat >>conftest.
$ac_ext <<_ACEOF
29076 /* end confdefs.h. */
29077 /* System header to define __stub macros and hopefully few prototypes,
29078 which can conflict with char $ac_func (); below.
29079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29080 <limits.h> exists even on freestanding compilers. */
29082 # include <limits.h>
29084 # include <assert.h>
29086 /* Override any gcc2 internal prototype to avoid an error. */
29091 /* We use char because int might match the return type of a gcc2
29092 builtin and then its argument prototype would still apply. */
29094 /* The GNU C library defines this for functions which it implements
29095 to always fail with ENOSYS. Some functions are actually named
29096 something starting with __ and the normal name is an alias. */
29097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29100 char (*f) () = $ac_func;
29109 return f != $ac_func;
29114 rm -f conftest.
$ac_objext conftest
$ac_exeext
29115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29116 (eval $ac_link) 2>&5
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); } &&
29120 { ac_try
='test -s conftest$ac_exeext'
29121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29122 (eval $ac_try) 2>&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); }; }; then
29126 eval "$as_ac_var=yes"
29128 echo "$as_me: failed program was:" >&5
29129 sed 's/^/| /' conftest.
$ac_ext >&5
29131 eval "$as_ac_var=no"
29133 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29137 if test `eval echo '${'$as_ac_var'}'` = yes; then
29138 cat >>confdefs.h
<<_ACEOF
29139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29147 for ac_header
in sched.h
29149 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29151 echo "$as_me:$LINENO: checking for $ac_header" >&5
29152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29154 echo $ECHO_N "(cached) $ECHO_C" >&6
29156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29159 # Is the header compilable?
29160 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29161 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29162 cat >conftest.
$ac_ext <<_ACEOF
29163 #line $LINENO "configure"
29166 cat confdefs.h
>>conftest.
$ac_ext
29167 cat >>conftest.
$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29169 $ac_includes_default
29170 #include <$ac_header>
29172 rm -f conftest.
$ac_objext
29173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29174 (eval $ac_compile) 2>&5
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); } &&
29178 { ac_try
='test -s conftest.$ac_objext'
29179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29180 (eval $ac_try) 2>&5
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; }; then
29184 ac_header_compiler
=yes
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.
$ac_ext >&5
29189 ac_header_compiler
=no
29191 rm -f conftest.
$ac_objext conftest.
$ac_ext
29192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29193 echo "${ECHO_T}$ac_header_compiler" >&6
29195 # Is the header present?
29196 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29197 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29198 cat >conftest.
$ac_ext <<_ACEOF
29199 #line $LINENO "configure"
29202 cat confdefs.h
>>conftest.
$ac_ext
29203 cat >>conftest.
$ac_ext <<_ACEOF
29204 /* end confdefs.h. */
29205 #include <$ac_header>
29207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29208 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29210 grep -v '^ *+' conftest.er1
>conftest.err
29212 cat conftest.err
>&5
29213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 (exit $ac_status); } >/dev
/null
; then
29215 if test -s conftest.err
; then
29216 ac_cpp_err
=$ac_c_preproc_warn_flag
29223 if test -z "$ac_cpp_err"; then
29224 ac_header_preproc
=yes
29226 echo "$as_me: failed program was:" >&5
29227 sed 's/^/| /' conftest.
$ac_ext >&5
29229 ac_header_preproc
=no
29231 rm -f conftest.err conftest.
$ac_ext
29232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29233 echo "${ECHO_T}$ac_header_preproc" >&6
29235 # So? What about this header?
29236 case $ac_header_compiler:$ac_header_preproc in
29238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29244 ## ------------------------------------ ##
29245 ## Report this to bug-autoconf@gnu.org. ##
29246 ## ------------------------------------ ##
29249 sed "s/^/$as_me: WARNING: /" >&2
29252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29260 ## ------------------------------------ ##
29261 ## Report this to bug-autoconf@gnu.org. ##
29262 ## ------------------------------------ ##
29265 sed "s/^/$as_me: WARNING: /" >&2
29268 echo "$as_me:$LINENO: checking for $ac_header" >&5
29269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29271 echo $ECHO_N "(cached) $ECHO_C" >&6
29273 eval "$as_ac_Header=$ac_header_preproc"
29275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29280 cat >>confdefs.h
<<_ACEOF
29281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29288 if test "$ac_cv_header_sched_h" = "yes"; then
29289 echo "$as_me:$LINENO: checking for sched_yield" >&5
29290 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29291 if test "${ac_cv_func_sched_yield+set}" = set; then
29292 echo $ECHO_N "(cached) $ECHO_C" >&6
29294 cat >conftest.
$ac_ext <<_ACEOF
29295 #line $LINENO "configure"
29298 cat confdefs.h
>>conftest.
$ac_ext
29299 cat >>conftest.
$ac_ext <<_ACEOF
29300 /* end confdefs.h. */
29301 /* System header to define __stub macros and hopefully few prototypes,
29302 which can conflict with char sched_yield (); below.
29303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29304 <limits.h> exists even on freestanding compilers. */
29306 # include <limits.h>
29308 # include <assert.h>
29310 /* Override any gcc2 internal prototype to avoid an error. */
29315 /* We use char because int might match the return type of a gcc2
29316 builtin and then its argument prototype would still apply. */
29317 char sched_yield ();
29318 /* The GNU C library defines this for functions which it implements
29319 to always fail with ENOSYS. Some functions are actually named
29320 something starting with __ and the normal name is an alias. */
29321 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29324 char (*f) () = sched_yield;
29333 return f != sched_yield;
29338 rm -f conftest.
$ac_objext conftest
$ac_exeext
29339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29340 (eval $ac_link) 2>&5
29342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29343 (exit $ac_status); } &&
29344 { ac_try
='test -s conftest$ac_exeext'
29345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29346 (eval $ac_try) 2>&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); }; }; then
29350 ac_cv_func_sched_yield
=yes
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.
$ac_ext >&5
29355 ac_cv_func_sched_yield
=no
29357 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29359 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29360 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29361 if test $ac_cv_func_sched_yield = yes; then
29362 cat >>confdefs.h
<<\_ACEOF
29363 #define HAVE_SCHED_YIELD 1
29368 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29369 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29370 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29371 echo $ECHO_N "(cached) $ECHO_C" >&6
29373 ac_check_lib_save_LIBS
=$LIBS
29374 LIBS
="-lposix4 $LIBS"
29375 cat >conftest.
$ac_ext <<_ACEOF
29376 #line $LINENO "configure"
29379 cat confdefs.h
>>conftest.
$ac_ext
29380 cat >>conftest.
$ac_ext <<_ACEOF
29381 /* end confdefs.h. */
29383 /* Override any gcc2 internal prototype to avoid an error. */
29387 /* We use char because int might match the return type of a gcc2
29388 builtin and then its argument prototype would still apply. */
29389 char sched_yield ();
29398 rm -f conftest.
$ac_objext conftest
$ac_exeext
29399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29400 (eval $ac_link) 2>&5
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); } &&
29404 { ac_try
='test -s conftest$ac_exeext'
29405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29406 (eval $ac_try) 2>&5
29408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29409 (exit $ac_status); }; }; then
29410 ac_cv_lib_posix4_sched_yield
=yes
29412 echo "$as_me: failed program was:" >&5
29413 sed 's/^/| /' conftest.
$ac_ext >&5
29415 ac_cv_lib_posix4_sched_yield
=no
29417 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29418 LIBS
=$ac_check_lib_save_LIBS
29420 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29421 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29422 if test $ac_cv_lib_posix4_sched_yield = yes; then
29423 cat >>confdefs.h
<<\_ACEOF
29424 #define HAVE_SCHED_YIELD 1
29426 POSIX4_LINK
=" -lposix4"
29428 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29429 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29440 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29441 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29442 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29443 echo $ECHO_N "(cached) $ECHO_C" >&6
29445 cat >conftest.
$ac_ext <<_ACEOF
29446 #line $LINENO "configure"
29449 cat confdefs.h
>>conftest.
$ac_ext
29450 cat >>conftest.
$ac_ext <<_ACEOF
29451 /* end confdefs.h. */
29452 /* System header to define __stub macros and hopefully few prototypes,
29453 which can conflict with char pthread_attr_getschedpolicy (); below.
29454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29455 <limits.h> exists even on freestanding compilers. */
29457 # include <limits.h>
29459 # include <assert.h>
29461 /* Override any gcc2 internal prototype to avoid an error. */
29466 /* We use char because int might match the return type of a gcc2
29467 builtin and then its argument prototype would still apply. */
29468 char pthread_attr_getschedpolicy ();
29469 /* The GNU C library defines this for functions which it implements
29470 to always fail with ENOSYS. Some functions are actually named
29471 something starting with __ and the normal name is an alias. */
29472 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29475 char (*f) () = pthread_attr_getschedpolicy;
29484 return f != pthread_attr_getschedpolicy;
29489 rm -f conftest.
$ac_objext conftest
$ac_exeext
29490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29491 (eval $ac_link) 2>&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); } &&
29495 { ac_try
='test -s conftest$ac_exeext'
29496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29497 (eval $ac_try) 2>&5
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); }; }; then
29501 ac_cv_func_pthread_attr_getschedpolicy
=yes
29503 echo "$as_me: failed program was:" >&5
29504 sed 's/^/| /' conftest.
$ac_ext >&5
29506 ac_cv_func_pthread_attr_getschedpolicy
=no
29508 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29510 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29511 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29512 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29513 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29514 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29515 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29516 echo $ECHO_N "(cached) $ECHO_C" >&6
29518 cat >conftest.
$ac_ext <<_ACEOF
29519 #line $LINENO "configure"
29522 cat confdefs.h
>>conftest.
$ac_ext
29523 cat >>conftest.
$ac_ext <<_ACEOF
29524 /* end confdefs.h. */
29525 /* System header to define __stub macros and hopefully few prototypes,
29526 which can conflict with char pthread_attr_setschedparam (); below.
29527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29528 <limits.h> exists even on freestanding compilers. */
29530 # include <limits.h>
29532 # include <assert.h>
29534 /* Override any gcc2 internal prototype to avoid an error. */
29539 /* We use char because int might match the return type of a gcc2
29540 builtin and then its argument prototype would still apply. */
29541 char pthread_attr_setschedparam ();
29542 /* The GNU C library defines this for functions which it implements
29543 to always fail with ENOSYS. Some functions are actually named
29544 something starting with __ and the normal name is an alias. */
29545 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29548 char (*f) () = pthread_attr_setschedparam;
29557 return f != pthread_attr_setschedparam;
29562 rm -f conftest.
$ac_objext conftest
$ac_exeext
29563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29564 (eval $ac_link) 2>&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } &&
29568 { ac_try
='test -s conftest$ac_exeext'
29569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29570 (eval $ac_try) 2>&5
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); }; }; then
29574 ac_cv_func_pthread_attr_setschedparam
=yes
29576 echo "$as_me: failed program was:" >&5
29577 sed 's/^/| /' conftest.
$ac_ext >&5
29579 ac_cv_func_pthread_attr_setschedparam
=no
29581 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29583 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29584 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29585 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29586 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29587 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29588 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29589 echo $ECHO_N "(cached) $ECHO_C" >&6
29591 cat >conftest.
$ac_ext <<_ACEOF
29592 #line $LINENO "configure"
29595 cat confdefs.h
>>conftest.
$ac_ext
29596 cat >>conftest.
$ac_ext <<_ACEOF
29597 /* end confdefs.h. */
29598 /* System header to define __stub macros and hopefully few prototypes,
29599 which can conflict with char sched_get_priority_max (); below.
29600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29601 <limits.h> exists even on freestanding compilers. */
29603 # include <limits.h>
29605 # include <assert.h>
29607 /* Override any gcc2 internal prototype to avoid an error. */
29612 /* We use char because int might match the return type of a gcc2
29613 builtin and then its argument prototype would still apply. */
29614 char sched_get_priority_max ();
29615 /* The GNU C library defines this for functions which it implements
29616 to always fail with ENOSYS. Some functions are actually named
29617 something starting with __ and the normal name is an alias. */
29618 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29621 char (*f) () = sched_get_priority_max;
29630 return f != sched_get_priority_max;
29635 rm -f conftest.
$ac_objext conftest
$ac_exeext
29636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29637 (eval $ac_link) 2>&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } &&
29641 { ac_try
='test -s conftest$ac_exeext'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; }; then
29647 ac_cv_func_sched_get_priority_max
=yes
29649 echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.
$ac_ext >&5
29652 ac_cv_func_sched_get_priority_max
=no
29654 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29656 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29657 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29658 if test $ac_cv_func_sched_get_priority_max = yes; then
29661 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29662 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29663 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29664 echo $ECHO_N "(cached) $ECHO_C" >&6
29666 ac_check_lib_save_LIBS
=$LIBS
29667 LIBS
="-lposix4 $LIBS"
29668 cat >conftest.
$ac_ext <<_ACEOF
29669 #line $LINENO "configure"
29672 cat confdefs.h
>>conftest.
$ac_ext
29673 cat >>conftest.
$ac_ext <<_ACEOF
29674 /* end confdefs.h. */
29676 /* Override any gcc2 internal prototype to avoid an error. */
29680 /* We use char because int might match the return type of a gcc2
29681 builtin and then its argument prototype would still apply. */
29682 char sched_get_priority_max ();
29686 sched_get_priority_max ();
29691 rm -f conftest.
$ac_objext conftest
$ac_exeext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29693 (eval $ac_link) 2>&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); } &&
29697 { ac_try
='test -s conftest$ac_exeext'
29698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29699 (eval $ac_try) 2>&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); }; }; then
29703 ac_cv_lib_posix4_sched_get_priority_max
=yes
29705 echo "$as_me: failed program was:" >&5
29706 sed 's/^/| /' conftest.
$ac_ext >&5
29708 ac_cv_lib_posix4_sched_get_priority_max
=no
29710 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29711 LIBS
=$ac_check_lib_save_LIBS
29713 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29714 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29715 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29718 POSIX4_LINK
=" -lposix4"
29732 if test "$HAVE_PRIOR_FUNCS" = 1; then
29733 cat >>confdefs.h
<<\_ACEOF
29734 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29738 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29739 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29742 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29743 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29744 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29745 echo $ECHO_N "(cached) $ECHO_C" >&6
29747 cat >conftest.
$ac_ext <<_ACEOF
29748 #line $LINENO "configure"
29751 cat confdefs.h
>>conftest.
$ac_ext
29752 cat >>conftest.
$ac_ext <<_ACEOF
29753 /* end confdefs.h. */
29754 /* System header to define __stub macros and hopefully few prototypes,
29755 which can conflict with char pthread_cancel (); below.
29756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29757 <limits.h> exists even on freestanding compilers. */
29759 # include <limits.h>
29761 # include <assert.h>
29763 /* Override any gcc2 internal prototype to avoid an error. */
29768 /* We use char because int might match the return type of a gcc2
29769 builtin and then its argument prototype would still apply. */
29770 char pthread_cancel ();
29771 /* The GNU C library defines this for functions which it implements
29772 to always fail with ENOSYS. Some functions are actually named
29773 something starting with __ and the normal name is an alias. */
29774 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29777 char (*f) () = pthread_cancel;
29786 return f != pthread_cancel;
29791 rm -f conftest.
$ac_objext conftest
$ac_exeext
29792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29793 (eval $ac_link) 2>&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); } &&
29797 { ac_try
='test -s conftest$ac_exeext'
29798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29799 (eval $ac_try) 2>&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); }; }; then
29803 ac_cv_func_pthread_cancel
=yes
29805 echo "$as_me: failed program was:" >&5
29806 sed 's/^/| /' conftest.
$ac_ext >&5
29808 ac_cv_func_pthread_cancel
=no
29810 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29812 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29813 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29814 if test $ac_cv_func_pthread_cancel = yes; then
29815 cat >>confdefs.h
<<\_ACEOF
29816 #define HAVE_PTHREAD_CANCEL 1
29820 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29821 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29825 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29826 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29827 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29828 echo $ECHO_N "(cached) $ECHO_C" >&6
29831 cat >conftest.
$ac_ext <<_ACEOF
29832 #line $LINENO "configure"
29835 cat confdefs.h
>>conftest.
$ac_ext
29836 cat >>conftest.
$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29838 #include <pthread.h>
29843 pthread_cleanup_push(NULL, NULL);
29844 pthread_cleanup_pop(0);
29850 rm -f conftest.
$ac_objext
29851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29852 (eval $ac_compile) 2>&5
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); } &&
29856 { ac_try
='test -s conftest.$ac_objext'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; }; then
29863 wx_cv_func_pthread_cleanup_push
=yes
29866 echo "$as_me: failed program was:" >&5
29867 sed 's/^/| /' conftest.
$ac_ext >&5
29870 wx_cv_func_pthread_cleanup_push
=no
29873 rm -f conftest.
$ac_objext conftest.
$ac_ext
29876 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29877 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29879 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29880 cat >>confdefs.h
<<\_ACEOF
29881 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29887 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29888 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29889 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29890 echo $ECHO_N "(cached) $ECHO_C" >&6
29893 cat >conftest.
$ac_ext <<_ACEOF
29894 #line $LINENO "configure"
29897 cat confdefs.h
>>conftest.
$ac_ext
29898 cat >>conftest.
$ac_ext <<_ACEOF
29899 /* end confdefs.h. */
29900 #include <pthread.h>
29905 pthread_mutexattr_t attr;
29906 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29912 rm -f conftest.
$ac_objext
29913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29914 (eval $ac_compile) 2>&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); } &&
29918 { ac_try
='test -s conftest.$ac_objext'
29919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29920 (eval $ac_try) 2>&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); }; }; then
29925 wx_cv_type_pthread_mutexattr_t
=yes
29928 echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.
$ac_ext >&5
29932 wx_cv_type_pthread_mutexattr_t
=no
29936 rm -f conftest.
$ac_objext conftest.
$ac_ext
29939 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29940 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29942 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29943 cat >>confdefs.h
<<\_ACEOF
29944 #define HAVE_PTHREAD_MUTEXATTR_T 1
29948 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29949 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29950 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29951 echo $ECHO_N "(cached) $ECHO_C" >&6
29954 cat >conftest.
$ac_ext <<_ACEOF
29955 #line $LINENO "configure"
29958 cat confdefs.h
>>conftest.
$ac_ext
29959 cat >>conftest.
$ac_ext <<_ACEOF
29960 /* end confdefs.h. */
29961 #include <pthread.h>
29966 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29972 rm -f conftest.
$ac_objext
29973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29974 (eval $ac_compile) 2>&5
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); } &&
29978 { ac_try
='test -s conftest.$ac_objext'
29979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29980 (eval $ac_try) 2>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); }; }; then
29985 wx_cv_type_pthread_rec_mutex_init
=yes
29988 echo "$as_me: failed program was:" >&5
29989 sed 's/^/| /' conftest.
$ac_ext >&5
29992 wx_cv_type_pthread_rec_mutex_init
=no
29996 rm -f conftest.
$ac_objext conftest.
$ac_ext
29999 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30000 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30001 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30002 cat >>confdefs.h
<<\_ACEOF
30003 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30007 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30008 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30014 if test "$wxUSE_THREADS" = "yes" ; then
30017 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30018 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30019 if test "${wx_cv_cflags_mthread+set}" = set; then
30020 echo $ECHO_N "(cached) $ECHO_C" >&6
30023 CFLAGS_OLD
="$CFLAGS"
30024 CFLAGS
="$CFLAGS -mthreads"
30025 cat >conftest.
$ac_ext <<_ACEOF
30026 #line $LINENO "configure"
30029 cat confdefs.h
>>conftest.
$ac_ext
30030 cat >>conftest.
$ac_ext <<_ACEOF
30031 /* end confdefs.h. */
30041 rm -f conftest.
$ac_objext
30042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30043 (eval $ac_compile) 2>&5
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); } &&
30047 { ac_try
='test -s conftest.$ac_objext'
30048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30049 (eval $ac_try) 2>&5
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); }; }; then
30053 wx_cv_cflags_mthread
=yes
30055 echo "$as_me: failed program was:" >&5
30056 sed 's/^/| /' conftest.
$ac_ext >&5
30058 wx_cv_cflags_mthread
=no
30061 rm -f conftest.
$ac_objext conftest.
$ac_ext
30065 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30066 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30068 if test "$wx_cv_cflags_mthread" = "yes"; then
30069 CXXFLAGS
="$CXXFLAGS -mthreads"
30070 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30071 LDFLAGS
="$LDFLAGS -mthreads"
30073 CFLAGS
="$CFLAGS_OLD"
30080 if test "$wxUSE_THREADS" = "yes"; then
30081 cat >>confdefs.h
<<\_ACEOF
30082 #define wxUSE_THREADS 1
30086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30088 if test "$ac_cv_func_strtok_r" = "yes"; then
30089 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30090 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30091 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30092 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30093 echo "$as_me:$LINENO: result: yes" >&5
30094 echo "${ECHO_T}yes" >&6
30096 echo "$as_me:$LINENO: result: no" >&5
30097 echo "${ECHO_T}no" >&6
30102 if test "$WXGTK20" = 1 ; then
30103 cat >>confdefs.h
<<_ACEOF
30104 #define __WXGTK20__ $WXGTK20
30110 if test "$WXGTK12" = 1 ; then
30111 cat >>confdefs.h
<<_ACEOF
30112 #define __WXGTK12__ $WXGTK12
30117 if test "$WXGTK127" = 1 ; then
30118 cat >>confdefs.h
<<_ACEOF
30119 #define __WXGTK127__ $WXGTK127
30126 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30131 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30132 wxUSE_DEBUG_INFO
=yes
30136 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30137 cat >>confdefs.h
<<\_ACEOF
30141 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30143 if test "$wxUSE_GTK" = 1 ; then
30144 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30148 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30149 cat >>confdefs.h
<<\_ACEOF
30150 #define wxUSE_MEMORY_TRACING 1
30153 cat >>confdefs.h
<<\_ACEOF
30154 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30157 cat >>confdefs.h
<<\_ACEOF
30158 #define wxUSE_DEBUG_NEW_ALWAYS 1
30161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30164 if test "$wxUSE_DMALLOC" = "yes" ; then
30165 DMALLOC_LIBS
="-ldmalloc"
30169 if test "$wxUSE_PROFILE" = "yes" ; then
30174 CODE_GEN_FLAGS_CXX
=
30175 if test "$GCC" = "yes" ; then
30176 if test "$wxUSE_NO_RTTI" = "yes" ; then
30177 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30179 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30180 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30182 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30183 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30188 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30191 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30197 if test "$wxUSE_OPTIMISE" = "no" ; then
30198 if test "$GCC" = yes ; then
30202 if test "$GCC" = yes ; then
30206 i586
-*-*|i686
-*-* )
30207 OPTIMISE
="${OPTIMISE} "
30216 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30217 cat >>confdefs.h
<<\_ACEOF
30218 #define WXWIN_COMPATIBILITY_2 1
30222 WXWIN_COMPATIBILITY_2_2
="yes"
30225 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30226 cat >>confdefs.h
<<\_ACEOF
30227 #define WXWIN_COMPATIBILITY_2_2 1
30231 WXWIN_COMPATIBILITY_2_4
="yes"
30234 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30235 cat >>confdefs.h
<<\_ACEOF
30236 #define WXWIN_COMPATIBILITY_2_4 1
30242 if test "$wxUSE_GUI" = "yes"; then
30243 cat >>confdefs.h
<<\_ACEOF
30244 #define wxUSE_GUI 1
30249 cat >>confdefs.h
<<\_ACEOF
30250 #define wxUSE_NOGUI 1
30256 if test "$wxUSE_UNIX" = "yes"; then
30257 cat >>confdefs.h
<<\_ACEOF
30258 #define wxUSE_UNIX 1
30264 if test "$wxUSE_STL" = "yes"; then
30265 cat >>confdefs.h
<<\_ACEOF
30266 #define wxUSE_STL 1
30271 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30272 cat >>confdefs.h
<<\_ACEOF
30273 #define wxUSE_APPLE_IEEE 1
30278 if test "$wxUSE_TIMER" = "yes"; then
30279 cat >>confdefs.h
<<\_ACEOF
30280 #define wxUSE_TIMER 1
30285 if test "$wxUSE_WAVE" = "yes"; then
30286 cat >>confdefs.h
<<\_ACEOF
30287 #define wxUSE_WAVE 1
30292 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30293 cat >>confdefs.h
<<\_ACEOF
30294 #define wxUSE_CMDLINE_PARSER 1
30299 if test "$wxUSE_STOPWATCH" = "yes"; then
30300 cat >>confdefs.h
<<\_ACEOF
30301 #define wxUSE_STOPWATCH 1
30306 if test "$wxUSE_DATETIME" = "yes"; then
30307 cat >>confdefs.h
<<\_ACEOF
30308 #define wxUSE_DATETIME 1
30313 if test "$wxUSE_FILE" = "yes"; then
30314 cat >>confdefs.h
<<\_ACEOF
30315 #define wxUSE_FILE 1
30320 if test "$wxUSE_FFILE" = "yes"; then
30321 cat >>confdefs.h
<<\_ACEOF
30322 #define wxUSE_FFILE 1
30327 if test "$wxUSE_FILESYSTEM" = "yes"; then
30328 cat >>confdefs.h
<<\_ACEOF
30329 #define wxUSE_FILESYSTEM 1
30334 if test "$wxUSE_FS_ZIP" = "yes"; then
30335 cat >>confdefs.h
<<\_ACEOF
30336 #define wxUSE_FS_ZIP 1
30341 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30342 cat >>confdefs.h
<<\_ACEOF
30343 #define wxUSE_ZIPSTREAM 1
30348 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30349 cat >>confdefs.h
<<\_ACEOF
30350 #define wxUSE_ON_FATAL_EXCEPTION 1
30355 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30356 cat >>confdefs.h
<<\_ACEOF
30357 #define wxUSE_SNGLINST_CHECKER 1
30362 if test "$wxUSE_BUSYINFO" = "yes"; then
30363 cat >>confdefs.h
<<\_ACEOF
30364 #define wxUSE_BUSYINFO 1
30369 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30370 cat >>confdefs.h
<<\_ACEOF
30371 #define wxUSE_STD_IOSTREAM 1
30376 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30377 cat >>confdefs.h
<<\_ACEOF
30378 #define wxUSE_TEXTBUFFER 1
30383 if test "$wxUSE_TEXTFILE" = "yes"; then
30384 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30385 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30386 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30388 cat >>confdefs.h
<<\_ACEOF
30389 #define wxUSE_TEXTFILE 1
30395 if test "$wxUSE_CONFIG" = "yes" ; then
30396 if test "$wxUSE_TEXTFILE" != "yes"; then
30397 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30398 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30400 cat >>confdefs.h
<<\_ACEOF
30401 #define wxUSE_CONFIG 1
30404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30408 if test "$wxUSE_INTL" = "yes" ; then
30409 if test "$wxUSE_FILE" != "yes"; then
30410 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30411 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30413 cat >>confdefs.h
<<\_ACEOF
30414 #define wxUSE_INTL 1
30417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30418 GUIDIST
="$GUIDIST INTL_DIST"
30422 if test "$wxUSE_LOG" = "yes"; then
30423 cat >>confdefs.h
<<\_ACEOF
30424 #define wxUSE_LOG 1
30428 if test "$wxUSE_LOGGUI" = "yes"; then
30429 cat >>confdefs.h
<<\_ACEOF
30430 #define wxUSE_LOGGUI 1
30435 if test "$wxUSE_LOGWINDOW" = "yes"; then
30436 cat >>confdefs.h
<<\_ACEOF
30437 #define wxUSE_LOGWINDOW 1
30442 if test "$wxUSE_LOGDIALOG" = "yes"; then
30443 cat >>confdefs.h
<<\_ACEOF
30444 #define wxUSE_LOG_DIALOG 1
30450 if test "$wxUSE_LONGLONG" = "yes"; then
30451 cat >>confdefs.h
<<\_ACEOF
30452 #define wxUSE_LONGLONG 1
30457 if test "$wxUSE_GEOMETRY" = "yes"; then
30458 cat >>confdefs.h
<<\_ACEOF
30459 #define wxUSE_GEOMETRY 1
30464 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30465 cat >>confdefs.h
<<\_ACEOF
30466 #define wxUSE_DIALUP_MANAGER 1
30469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30472 if test "$wxUSE_STREAMS" = "yes" ; then
30473 cat >>confdefs.h
<<\_ACEOF
30474 #define wxUSE_STREAMS 1
30480 if test "$wxUSE_DATETIME" = "yes"; then
30482 for ac_func
in strptime
30484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30485 echo "$as_me:$LINENO: checking for $ac_func" >&5
30486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30487 if eval "test \"\${$as_ac_var+set}\" = set"; then
30488 echo $ECHO_N "(cached) $ECHO_C" >&6
30490 cat >conftest.
$ac_ext <<_ACEOF
30491 #line $LINENO "configure"
30494 cat confdefs.h
>>conftest.
$ac_ext
30495 cat >>conftest.
$ac_ext <<_ACEOF
30496 /* end confdefs.h. */
30497 /* System header to define __stub macros and hopefully few prototypes,
30498 which can conflict with char $ac_func (); below.
30499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30500 <limits.h> exists even on freestanding compilers. */
30502 # include <limits.h>
30504 # include <assert.h>
30506 /* Override any gcc2 internal prototype to avoid an error. */
30511 /* We use char because int might match the return type of a gcc2
30512 builtin and then its argument prototype would still apply. */
30514 /* The GNU C library defines this for functions which it implements
30515 to always fail with ENOSYS. Some functions are actually named
30516 something starting with __ and the normal name is an alias. */
30517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30520 char (*f) () = $ac_func;
30529 return f != $ac_func;
30534 rm -f conftest.
$ac_objext conftest
$ac_exeext
30535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30536 (eval $ac_link) 2>&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } &&
30540 { ac_try
='test -s conftest$ac_exeext'
30541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542 (eval $ac_try) 2>&5
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; }; then
30546 eval "$as_ac_var=yes"
30548 echo "$as_me: failed program was:" >&5
30549 sed 's/^/| /' conftest.
$ac_ext >&5
30551 eval "$as_ac_var=no"
30553 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30557 if test `eval echo '${'$as_ac_var'}'` = yes; then
30558 cat >>confdefs.h
<<_ACEOF
30559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30566 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30567 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30568 if test "${wx_cv_var_timezone+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30572 cat >conftest.
$ac_ext <<_ACEOF
30573 #line $LINENO "configure"
30576 cat confdefs.h
>>conftest.
$ac_ext
30577 cat >>conftest.
$ac_ext <<_ACEOF
30578 /* end confdefs.h. */
30593 rm -f conftest.
$ac_objext
30594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30595 (eval $ac_compile) 2>&5
30597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30598 (exit $ac_status); } &&
30599 { ac_try
='test -s conftest.$ac_objext'
30600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30601 (eval $ac_try) 2>&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); }; }; then
30606 wx_cv_var_timezone
=timezone
30609 echo "$as_me: failed program was:" >&5
30610 sed 's/^/| /' conftest.
$ac_ext >&5
30613 cat >conftest.
$ac_ext <<_ACEOF
30614 #line $LINENO "configure"
30617 cat confdefs.h
>>conftest.
$ac_ext
30618 cat >>conftest.
$ac_ext <<_ACEOF
30619 /* end confdefs.h. */
30634 rm -f conftest.
$ac_objext
30635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30636 (eval $ac_compile) 2>&5
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); } &&
30640 { ac_try
='test -s conftest.$ac_objext'
30641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30642 (eval $ac_try) 2>&5
30644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30645 (exit $ac_status); }; }; then
30647 wx_cv_var_timezone
=_timezone
30650 echo "$as_me: failed program was:" >&5
30651 sed 's/^/| /' conftest.
$ac_ext >&5
30654 cat >conftest.
$ac_ext <<_ACEOF
30655 #line $LINENO "configure"
30658 cat confdefs.h
>>conftest.
$ac_ext
30659 cat >>conftest.
$ac_ext <<_ACEOF
30660 /* end confdefs.h. */
30675 rm -f conftest.
$ac_objext
30676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30677 (eval $ac_compile) 2>&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); } &&
30681 { ac_try
='test -s conftest.$ac_objext'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; }; then
30688 wx_cv_var_timezone
=__timezone
30691 echo "$as_me: failed program was:" >&5
30692 sed 's/^/| /' conftest.
$ac_ext >&5
30695 if test "$USE_DOS" = 0 ; then
30696 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30697 echo "$as_me: WARNING: no timezone variable" >&2;}
30702 rm -f conftest.
$ac_objext conftest.
$ac_ext
30706 rm -f conftest.
$ac_objext conftest.
$ac_ext
30710 rm -f conftest.
$ac_objext conftest.
$ac_ext
30714 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30715 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30717 if test "x$wx_cv_var_timezone" != x
; then
30718 cat >>confdefs.h
<<_ACEOF
30719 #define WX_TIMEZONE $wx_cv_var_timezone
30725 for ac_func
in localtime
30727 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30728 echo "$as_me:$LINENO: checking for $ac_func" >&5
30729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30730 if eval "test \"\${$as_ac_var+set}\" = set"; then
30731 echo $ECHO_N "(cached) $ECHO_C" >&6
30733 cat >conftest.
$ac_ext <<_ACEOF
30734 #line $LINENO "configure"
30737 cat confdefs.h
>>conftest.
$ac_ext
30738 cat >>conftest.
$ac_ext <<_ACEOF
30739 /* end confdefs.h. */
30740 /* System header to define __stub macros and hopefully few prototypes,
30741 which can conflict with char $ac_func (); below.
30742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30743 <limits.h> exists even on freestanding compilers. */
30745 # include <limits.h>
30747 # include <assert.h>
30749 /* Override any gcc2 internal prototype to avoid an error. */
30754 /* We use char because int might match the return type of a gcc2
30755 builtin and then its argument prototype would still apply. */
30757 /* The GNU C library defines this for functions which it implements
30758 to always fail with ENOSYS. Some functions are actually named
30759 something starting with __ and the normal name is an alias. */
30760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30763 char (*f) () = $ac_func;
30772 return f != $ac_func;
30777 rm -f conftest.
$ac_objext conftest
$ac_exeext
30778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30779 (eval $ac_link) 2>&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); } &&
30783 { ac_try
='test -s conftest$ac_exeext'
30784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30785 (eval $ac_try) 2>&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); }; }; then
30789 eval "$as_ac_var=yes"
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.
$ac_ext >&5
30794 eval "$as_ac_var=no"
30796 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30800 if test `eval echo '${'$as_ac_var'}'` = yes; then
30801 cat >>confdefs.h
<<_ACEOF
30802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30809 if test "$ac_cv_func_localtime" = "yes"; then
30810 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30811 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30812 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30813 echo $ECHO_N "(cached) $ECHO_C" >&6
30816 cat >conftest.
$ac_ext <<_ACEOF
30817 #line $LINENO "configure"
30820 cat confdefs.h
>>conftest.
$ac_ext
30821 cat >>conftest.
$ac_ext <<_ACEOF
30822 /* end confdefs.h. */
30837 rm -f conftest.
$ac_objext
30838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30839 (eval $ac_compile) 2>&5
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); } &&
30843 { ac_try
='test -s conftest.$ac_objext'
30844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30845 (eval $ac_try) 2>&5
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); }; }; then
30850 wx_cv_struct_tm_has_gmtoff
=yes
30853 echo "$as_me: failed program was:" >&5
30854 sed 's/^/| /' conftest.
$ac_ext >&5
30856 wx_cv_struct_tm_has_gmtoff
=no
30859 rm -f conftest.
$ac_objext conftest.
$ac_ext
30862 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30863 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30866 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30867 cat >>confdefs.h
<<\_ACEOF
30868 #define WX_GMTOFF_IN_TM 1
30875 for ac_func
in gettimeofday ftime
30877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30878 echo "$as_me:$LINENO: checking for $ac_func" >&5
30879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30880 if eval "test \"\${$as_ac_var+set}\" = set"; then
30881 echo $ECHO_N "(cached) $ECHO_C" >&6
30883 cat >conftest.
$ac_ext <<_ACEOF
30884 #line $LINENO "configure"
30887 cat confdefs.h
>>conftest.
$ac_ext
30888 cat >>conftest.
$ac_ext <<_ACEOF
30889 /* end confdefs.h. */
30890 /* System header to define __stub macros and hopefully few prototypes,
30891 which can conflict with char $ac_func (); below.
30892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30893 <limits.h> exists even on freestanding compilers. */
30895 # include <limits.h>
30897 # include <assert.h>
30899 /* Override any gcc2 internal prototype to avoid an error. */
30904 /* We use char because int might match the return type of a gcc2
30905 builtin and then its argument prototype would still apply. */
30907 /* The GNU C library defines this for functions which it implements
30908 to always fail with ENOSYS. Some functions are actually named
30909 something starting with __ and the normal name is an alias. */
30910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30913 char (*f) () = $ac_func;
30922 return f != $ac_func;
30927 rm -f conftest.
$ac_objext conftest
$ac_exeext
30928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30929 (eval $ac_link) 2>&5
30931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932 (exit $ac_status); } &&
30933 { ac_try
='test -s conftest$ac_exeext'
30934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935 (eval $ac_try) 2>&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; }; then
30939 eval "$as_ac_var=yes"
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.
$ac_ext >&5
30944 eval "$as_ac_var=no"
30946 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30950 if test `eval echo '${'$as_ac_var'}'` = yes; then
30951 cat >>confdefs.h
<<_ACEOF
30952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30959 if test "$ac_cv_func_gettimeofday" = "yes"; then
30960 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30961 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30962 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30963 echo $ECHO_N "(cached) $ECHO_C" >&6
30969 ac_cpp
='$CXXCPP $CPPFLAGS'
30970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30975 cat >conftest.
$ac_ext <<_ACEOF
30976 #line $LINENO "configure"
30979 cat confdefs.h
>>conftest.
$ac_ext
30980 cat >>conftest.
$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30983 #include <sys/time.h>
30984 #include <unistd.h>
30991 gettimeofday(&tv, NULL);
30997 rm -f conftest.
$ac_objext
30998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30999 (eval $ac_compile) 2>&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); } &&
31003 { ac_try
='test -s conftest.$ac_objext'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; }; then
31009 wx_cv_func_gettimeofday_has_2_args
=yes
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.
$ac_ext >&5
31014 cat >conftest.
$ac_ext <<_ACEOF
31015 #line $LINENO "configure"
31018 cat confdefs.h
>>conftest.
$ac_ext
31019 cat >>conftest.
$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31022 #include <sys/time.h>
31023 #include <unistd.h>
31036 rm -f conftest.
$ac_objext
31037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31038 (eval $ac_compile) 2>&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); } &&
31042 { ac_try
='test -s conftest.$ac_objext'
31043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31044 (eval $ac_try) 2>&5
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); }; }; then
31048 wx_cv_func_gettimeofday_has_2_args
=no
31050 echo "$as_me: failed program was:" >&5
31051 sed 's/^/| /' conftest.
$ac_ext >&5
31054 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31055 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31056 wx_cv_func_gettimeofday_has_2_args
=unknown
31060 rm -f conftest.
$ac_objext conftest.
$ac_ext
31063 rm -f conftest.
$ac_objext conftest.
$ac_ext
31065 ac_cpp
='$CPP $CPPFLAGS'
31066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31072 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31073 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31075 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31076 cat >>confdefs.h
<<\_ACEOF
31077 #define WX_GETTIMEOFDAY_NO_TZ 1
31083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31087 if test "$wxUSE_SOCKETS" = "yes"; then
31088 if test "$wxUSE_MGL" = "1"; then
31089 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31090 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31093 if test "$wxUSE_COCOA" = "1"; then
31094 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31095 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31100 if test "$wxUSE_SOCKETS" = "yes"; then
31101 if test "$TOOLKIT" != "MSW"; then
31102 echo "$as_me:$LINENO: checking for socket" >&5
31103 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31104 if test "${ac_cv_func_socket+set}" = set; then
31105 echo $ECHO_N "(cached) $ECHO_C" >&6
31107 cat >conftest.
$ac_ext <<_ACEOF
31108 #line $LINENO "configure"
31111 cat confdefs.h
>>conftest.
$ac_ext
31112 cat >>conftest.
$ac_ext <<_ACEOF
31113 /* end confdefs.h. */
31114 /* System header to define __stub macros and hopefully few prototypes,
31115 which can conflict with char socket (); below.
31116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31117 <limits.h> exists even on freestanding compilers. */
31119 # include <limits.h>
31121 # include <assert.h>
31123 /* Override any gcc2 internal prototype to avoid an error. */
31128 /* We use char because int might match the return type of a gcc2
31129 builtin and then its argument prototype would still apply. */
31131 /* The GNU C library defines this for functions which it implements
31132 to always fail with ENOSYS. Some functions are actually named
31133 something starting with __ and the normal name is an alias. */
31134 #if defined (__stub_socket) || defined (__stub___socket)
31137 char (*f) () = socket;
31146 return f != socket;
31151 rm -f conftest.
$ac_objext conftest
$ac_exeext
31152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31153 (eval $ac_link) 2>&5
31155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31156 (exit $ac_status); } &&
31157 { ac_try
='test -s conftest$ac_exeext'
31158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31159 (eval $ac_try) 2>&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); }; }; then
31163 ac_cv_func_socket
=yes
31165 echo "$as_me: failed program was:" >&5
31166 sed 's/^/| /' conftest.
$ac_ext >&5
31168 ac_cv_func_socket
=no
31170 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31172 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31173 echo "${ECHO_T}$ac_cv_func_socket" >&6
31174 if test $ac_cv_func_socket = yes; then
31177 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31178 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31179 if test "${ac_cv_lib_socket_socket+set}" = set; then
31180 echo $ECHO_N "(cached) $ECHO_C" >&6
31182 ac_check_lib_save_LIBS
=$LIBS
31183 LIBS
="-lsocket $LIBS"
31184 cat >conftest.
$ac_ext <<_ACEOF
31185 #line $LINENO "configure"
31188 cat confdefs.h
>>conftest.
$ac_ext
31189 cat >>conftest.
$ac_ext <<_ACEOF
31190 /* end confdefs.h. */
31192 /* Override any gcc2 internal prototype to avoid an error. */
31196 /* We use char because int might match the return type of a gcc2
31197 builtin and then its argument prototype would still apply. */
31207 rm -f conftest.
$ac_objext conftest
$ac_exeext
31208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31209 (eval $ac_link) 2>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try
='test -s conftest$ac_exeext'
31214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31215 (eval $ac_try) 2>&5
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); }; }; then
31219 ac_cv_lib_socket_socket
=yes
31221 echo "$as_me: failed program was:" >&5
31222 sed 's/^/| /' conftest.
$ac_ext >&5
31224 ac_cv_lib_socket_socket
=no
31226 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31227 LIBS
=$ac_check_lib_save_LIBS
31229 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31230 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31231 if test $ac_cv_lib_socket_socket = yes; then
31232 if test "$INET_LINK" != " -lsocket"; then
31233 INET_LINK
="$INET_LINK -lsocket"
31237 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31238 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31250 if test "$wxUSE_SOCKETS" = "yes" ; then
31251 if test "$TOOLKIT" != "MSW"; then
31252 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31253 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31254 if test "${wx_cv_type_getsockname3+set}" = set; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31258 cat >conftest.
$ac_ext <<_ACEOF
31259 #line $LINENO "configure"
31262 cat confdefs.h
>>conftest.
$ac_ext
31263 cat >>conftest.
$ac_ext <<_ACEOF
31264 /* end confdefs.h. */
31266 #include <sys/types.h>
31267 #include <sys/socket.h>
31274 getsockname(0, 0, &len);
31280 rm -f conftest.
$ac_objext
31281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31282 (eval $ac_compile) 2>&5
31284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285 (exit $ac_status); } &&
31286 { ac_try
='test -s conftest.$ac_objext'
31287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31288 (eval $ac_try) 2>&5
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); }; }; then
31292 wx_cv_type_getsockname3
=socklen_t
31294 echo "$as_me: failed program was:" >&5
31295 sed 's/^/| /' conftest.
$ac_ext >&5
31298 CFLAGS_OLD
="$CFLAGS"
31299 if test "$GCC" = yes ; then
31300 CFLAGS
="$CFLAGS -Werror"
31303 cat >conftest.
$ac_ext <<_ACEOF
31304 #line $LINENO "configure"
31307 cat confdefs.h
>>conftest.
$ac_ext
31308 cat >>conftest.
$ac_ext <<_ACEOF
31309 /* end confdefs.h. */
31311 #include <sys/types.h>
31312 #include <sys/socket.h>
31319 getsockname(0, 0, &len);
31325 rm -f conftest.
$ac_objext
31326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31327 (eval $ac_compile) 2>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try
='test -s conftest.$ac_objext'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; }; then
31337 wx_cv_type_getsockname3
=size_t
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.
$ac_ext >&5
31342 cat >conftest.
$ac_ext <<_ACEOF
31343 #line $LINENO "configure"
31346 cat confdefs.h
>>conftest.
$ac_ext
31347 cat >>conftest.
$ac_ext <<_ACEOF
31348 /* end confdefs.h. */
31350 #include <sys/types.h>
31351 #include <sys/socket.h>
31358 getsockname(0, 0, &len);
31364 rm -f conftest.
$ac_objext
31365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31366 (eval $ac_compile) 2>&5
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); } &&
31370 { ac_try
='test -s conftest.$ac_objext'
31371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31372 (eval $ac_try) 2>&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; }; then
31376 wx_cv_type_getsockname3
=int
31378 echo "$as_me: failed program was:" >&5
31379 sed 's/^/| /' conftest.
$ac_ext >&5
31381 wx_cv_type_getsockname3
=unknown
31384 rm -f conftest.
$ac_objext conftest.
$ac_ext
31387 rm -f conftest.
$ac_objext conftest.
$ac_ext
31389 CFLAGS
="$CFLAGS_OLD"
31393 rm -f conftest.
$ac_objext conftest.
$ac_ext
31396 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31397 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31399 if test "$wx_cv_type_getsockname3" = "unknown"; then
31401 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31402 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31404 cat >>confdefs.h
<<_ACEOF
31405 #define SOCKLEN_T $wx_cv_type_getsockname3
31412 if test "$wxUSE_SOCKETS" = "yes" ; then
31413 cat >>confdefs.h
<<\_ACEOF
31414 #define wxUSE_SOCKETS 1
31417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31420 if test "$wxUSE_PROTOCOL" = "yes"; then
31421 if test "$wxUSE_SOCKETS" != "yes"; then
31422 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31423 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31428 if test "$wxUSE_PROTOCOL" = "yes"; then
31429 cat >>confdefs.h
<<\_ACEOF
31430 #define wxUSE_PROTOCOL 1
31434 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31435 cat >>confdefs.h
<<\_ACEOF
31436 #define wxUSE_PROTOCOL_HTTP 1
31440 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31441 cat >>confdefs.h
<<\_ACEOF
31442 #define wxUSE_PROTOCOL_FTP 1
31446 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31447 cat >>confdefs.h
<<\_ACEOF
31448 #define wxUSE_PROTOCOL_FILE 1
31453 if test "$wxUSE_FS_INET" = "yes"; then
31454 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31455 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31460 if test "$wxUSE_URL" = "yes"; then
31461 if test "$wxUSE_PROTOCOL" != "yes"; then
31462 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31463 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31466 if test "$wxUSE_URL" = "yes"; then
31467 cat >>confdefs.h
<<\_ACEOF
31468 #define wxUSE_URL 1
31474 if test "$wxUSE_FS_INET" = "yes"; then
31475 cat >>confdefs.h
<<\_ACEOF
31476 #define wxUSE_FS_INET 1
31482 if test "$wxUSE_GUI" = "yes"; then
31484 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31485 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31486 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31489 if test "$TOOLKIT" = "MOTIF"; then
31490 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31491 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31494 if test "$TOOLKIT" = "X11"; then
31495 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31496 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31500 if test "$TOOLKIT" != "MSW"; then
31501 if test "$wxUSE_JOYSTICK" = "yes"; then
31503 for ac_header
in linux
/joystick.h
31505 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31507 echo "$as_me:$LINENO: checking for $ac_header" >&5
31508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31510 echo $ECHO_N "(cached) $ECHO_C" >&6
31512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31515 # Is the header compilable?
31516 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31518 cat >conftest.
$ac_ext <<_ACEOF
31519 #line $LINENO "configure"
31522 cat confdefs.h
>>conftest.
$ac_ext
31523 cat >>conftest.
$ac_ext <<_ACEOF
31524 /* end confdefs.h. */
31525 $ac_includes_default
31526 #include <$ac_header>
31528 rm -f conftest.
$ac_objext
31529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31530 (eval $ac_compile) 2>&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); } &&
31534 { ac_try
='test -s conftest.$ac_objext'
31535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536 (eval $ac_try) 2>&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); }; }; then
31540 ac_header_compiler
=yes
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.
$ac_ext >&5
31545 ac_header_compiler
=no
31547 rm -f conftest.
$ac_objext conftest.
$ac_ext
31548 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31549 echo "${ECHO_T}$ac_header_compiler" >&6
31551 # Is the header present?
31552 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31553 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31554 cat >conftest.
$ac_ext <<_ACEOF
31555 #line $LINENO "configure"
31558 cat confdefs.h
>>conftest.
$ac_ext
31559 cat >>conftest.
$ac_ext <<_ACEOF
31560 /* end confdefs.h. */
31561 #include <$ac_header>
31563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31564 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31566 grep -v '^ *+' conftest.er1
>conftest.err
31568 cat conftest.err
>&5
31569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570 (exit $ac_status); } >/dev
/null
; then
31571 if test -s conftest.err
; then
31572 ac_cpp_err
=$ac_c_preproc_warn_flag
31579 if test -z "$ac_cpp_err"; then
31580 ac_header_preproc
=yes
31582 echo "$as_me: failed program was:" >&5
31583 sed 's/^/| /' conftest.
$ac_ext >&5
31585 ac_header_preproc
=no
31587 rm -f conftest.err conftest.
$ac_ext
31588 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31589 echo "${ECHO_T}$ac_header_preproc" >&6
31591 # So? What about this header?
31592 case $ac_header_compiler:$ac_header_preproc in
31594 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31595 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31600 ## ------------------------------------ ##
31601 ## Report this to bug-autoconf@gnu.org. ##
31602 ## ------------------------------------ ##
31605 sed "s/^/$as_me: WARNING: /" >&2
31608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31616 ## ------------------------------------ ##
31617 ## Report this to bug-autoconf@gnu.org. ##
31618 ## ------------------------------------ ##
31621 sed "s/^/$as_me: WARNING: /" >&2
31624 echo "$as_me:$LINENO: checking for $ac_header" >&5
31625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31627 echo $ECHO_N "(cached) $ECHO_C" >&6
31629 eval "$as_ac_Header=$ac_header_preproc"
31631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31636 cat >>confdefs.h
<<_ACEOF
31637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31644 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31646 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31647 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31652 if test "$wxUSE_JOYSTICK" = "yes"; then
31653 cat >>confdefs.h
<<\_ACEOF
31654 #define wxUSE_JOYSTICK 1
31657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31662 if test "$TOOLKIT" != "MSW"; then
31666 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31667 if test "$USE_DARWIN" = 1; then
31671 for ac_func
in dlopen
31673 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31674 echo "$as_me:$LINENO: checking for $ac_func" >&5
31675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31676 if eval "test \"\${$as_ac_var+set}\" = set"; then
31677 echo $ECHO_N "(cached) $ECHO_C" >&6
31679 cat >conftest.
$ac_ext <<_ACEOF
31680 #line $LINENO "configure"
31683 cat confdefs.h
>>conftest.
$ac_ext
31684 cat >>conftest.
$ac_ext <<_ACEOF
31685 /* end confdefs.h. */
31686 /* System header to define __stub macros and hopefully few prototypes,
31687 which can conflict with char $ac_func (); below.
31688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31689 <limits.h> exists even on freestanding compilers. */
31691 # include <limits.h>
31693 # include <assert.h>
31695 /* Override any gcc2 internal prototype to avoid an error. */
31700 /* We use char because int might match the return type of a gcc2
31701 builtin and then its argument prototype would still apply. */
31703 /* The GNU C library defines this for functions which it implements
31704 to always fail with ENOSYS. Some functions are actually named
31705 something starting with __ and the normal name is an alias. */
31706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31709 char (*f) () = $ac_func;
31718 return f != $ac_func;
31723 rm -f conftest.
$ac_objext conftest
$ac_exeext
31724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31725 (eval $ac_link) 2>&5
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); } &&
31729 { ac_try
='test -s conftest$ac_exeext'
31730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31731 (eval $ac_try) 2>&5
31733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31734 (exit $ac_status); }; }; then
31735 eval "$as_ac_var=yes"
31737 echo "$as_me: failed program was:" >&5
31738 sed 's/^/| /' conftest.
$ac_ext >&5
31740 eval "$as_ac_var=no"
31742 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31746 if test `eval echo '${'$as_ac_var'}'` = yes; then
31747 cat >>confdefs.h
<<_ACEOF
31748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31751 cat >>confdefs.h
<<\_ACEOF
31752 #define HAVE_DLOPEN 1
31759 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31760 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31761 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31762 echo $ECHO_N "(cached) $ECHO_C" >&6
31764 ac_check_lib_save_LIBS
=$LIBS
31766 cat >conftest.
$ac_ext <<_ACEOF
31767 #line $LINENO "configure"
31770 cat confdefs.h
>>conftest.
$ac_ext
31771 cat >>conftest.
$ac_ext <<_ACEOF
31772 /* end confdefs.h. */
31774 /* Override any gcc2 internal prototype to avoid an error. */
31778 /* We use char because int might match the return type of a gcc2
31779 builtin and then its argument prototype would still apply. */
31789 rm -f conftest.
$ac_objext conftest
$ac_exeext
31790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31791 (eval $ac_link) 2>&5
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); } &&
31795 { ac_try
='test -s conftest$ac_exeext'
31796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31797 (eval $ac_try) 2>&5
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); }; }; then
31801 ac_cv_lib_dl_dlopen
=yes
31803 echo "$as_me: failed program was:" >&5
31804 sed 's/^/| /' conftest.
$ac_ext >&5
31806 ac_cv_lib_dl_dlopen
=no
31808 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31809 LIBS
=$ac_check_lib_save_LIBS
31811 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31812 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31813 if test $ac_cv_lib_dl_dlopen = yes; then
31815 cat >>confdefs.h
<<\_ACEOF
31816 #define HAVE_DLOPEN 1
31820 DL_LINK
=" -ldl$DL_LINK"
31825 for ac_func
in shl_load
31827 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31828 echo "$as_me:$LINENO: checking for $ac_func" >&5
31829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31830 if eval "test \"\${$as_ac_var+set}\" = set"; then
31831 echo $ECHO_N "(cached) $ECHO_C" >&6
31833 cat >conftest.
$ac_ext <<_ACEOF
31834 #line $LINENO "configure"
31837 cat confdefs.h
>>conftest.
$ac_ext
31838 cat >>conftest.
$ac_ext <<_ACEOF
31839 /* end confdefs.h. */
31840 /* System header to define __stub macros and hopefully few prototypes,
31841 which can conflict with char $ac_func (); below.
31842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31843 <limits.h> exists even on freestanding compilers. */
31845 # include <limits.h>
31847 # include <assert.h>
31849 /* Override any gcc2 internal prototype to avoid an error. */
31854 /* We use char because int might match the return type of a gcc2
31855 builtin and then its argument prototype would still apply. */
31857 /* The GNU C library defines this for functions which it implements
31858 to always fail with ENOSYS. Some functions are actually named
31859 something starting with __ and the normal name is an alias. */
31860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31863 char (*f) () = $ac_func;
31872 return f != $ac_func;
31877 rm -f conftest.
$ac_objext conftest
$ac_exeext
31878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31879 (eval $ac_link) 2>&5
31881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882 (exit $ac_status); } &&
31883 { ac_try
='test -s conftest$ac_exeext'
31884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31885 (eval $ac_try) 2>&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); }; }; then
31889 eval "$as_ac_var=yes"
31891 echo "$as_me: failed program was:" >&5
31892 sed 's/^/| /' conftest.
$ac_ext >&5
31894 eval "$as_ac_var=no"
31896 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31900 if test `eval echo '${'$as_ac_var'}'` = yes; then
31901 cat >>confdefs.h
<<_ACEOF
31902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31905 cat >>confdefs.h
<<\_ACEOF
31906 #define HAVE_SHL_LOAD 1
31913 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31914 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31915 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31916 echo $ECHO_N "(cached) $ECHO_C" >&6
31918 ac_check_lib_save_LIBS
=$LIBS
31919 LIBS
="-lshl_load $LIBS"
31920 cat >conftest.
$ac_ext <<_ACEOF
31921 #line $LINENO "configure"
31924 cat confdefs.h
>>conftest.
$ac_ext
31925 cat >>conftest.
$ac_ext <<_ACEOF
31926 /* end confdefs.h. */
31928 /* Override any gcc2 internal prototype to avoid an error. */
31932 /* We use char because int might match the return type of a gcc2
31933 builtin and then its argument prototype would still apply. */
31943 rm -f conftest.
$ac_objext conftest
$ac_exeext
31944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31945 (eval $ac_link) 2>&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); } &&
31949 { ac_try
='test -s conftest$ac_exeext'
31950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31951 (eval $ac_try) 2>&5
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); }; }; then
31955 ac_cv_lib_shl_load_dld
=yes
31957 echo "$as_me: failed program was:" >&5
31958 sed 's/^/| /' conftest.
$ac_ext >&5
31960 ac_cv_lib_shl_load_dld
=no
31962 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31963 LIBS
=$ac_check_lib_save_LIBS
31965 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31966 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31967 if test $ac_cv_lib_shl_load_dld = yes; then
31970 DL_LINK
=" -ldld$DL_LINK"
31986 if test "$HAVE_DL_FUNCS" = 1; then
31988 for ac_func
in dlerror
31990 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31991 echo "$as_me:$LINENO: checking for $ac_func" >&5
31992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31993 if eval "test \"\${$as_ac_var+set}\" = set"; then
31994 echo $ECHO_N "(cached) $ECHO_C" >&6
31996 cat >conftest.
$ac_ext <<_ACEOF
31997 #line $LINENO "configure"
32000 cat confdefs.h
>>conftest.
$ac_ext
32001 cat >>conftest.
$ac_ext <<_ACEOF
32002 /* end confdefs.h. */
32003 /* System header to define __stub macros and hopefully few prototypes,
32004 which can conflict with char $ac_func (); below.
32005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32006 <limits.h> exists even on freestanding compilers. */
32008 # include <limits.h>
32010 # include <assert.h>
32012 /* Override any gcc2 internal prototype to avoid an error. */
32017 /* We use char because int might match the return type of a gcc2
32018 builtin and then its argument prototype would still apply. */
32020 /* The GNU C library defines this for functions which it implements
32021 to always fail with ENOSYS. Some functions are actually named
32022 something starting with __ and the normal name is an alias. */
32023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32026 char (*f) () = $ac_func;
32035 return f != $ac_func;
32040 rm -f conftest.
$ac_objext conftest
$ac_exeext
32041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32042 (eval $ac_link) 2>&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); } &&
32046 { ac_try
='test -s conftest$ac_exeext'
32047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32048 (eval $ac_try) 2>&5
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); }; }; then
32052 eval "$as_ac_var=yes"
32054 echo "$as_me: failed program was:" >&5
32055 sed 's/^/| /' conftest.
$ac_ext >&5
32057 eval "$as_ac_var=no"
32059 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32063 if test `eval echo '${'$as_ac_var'}'` = yes; then
32064 cat >>confdefs.h
<<_ACEOF
32065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32067 cat >>confdefs.h
<<\_ACEOF
32068 #define HAVE_DLERROR 1
32072 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32073 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32074 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32075 echo $ECHO_N "(cached) $ECHO_C" >&6
32077 ac_check_lib_save_LIBS
=$LIBS
32079 cat >conftest.
$ac_ext <<_ACEOF
32080 #line $LINENO "configure"
32083 cat confdefs.h
>>conftest.
$ac_ext
32084 cat >>conftest.
$ac_ext <<_ACEOF
32085 /* end confdefs.h. */
32087 /* Override any gcc2 internal prototype to avoid an error. */
32091 /* We use char because int might match the return type of a gcc2
32092 builtin and then its argument prototype would still apply. */
32102 rm -f conftest.
$ac_objext conftest
$ac_exeext
32103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32104 (eval $ac_link) 2>&5
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); } &&
32108 { ac_try
='test -s conftest$ac_exeext'
32109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32110 (eval $ac_try) 2>&5
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); }; }; then
32114 ac_cv_lib_dl_dlerror
=yes
32116 echo "$as_me: failed program was:" >&5
32117 sed 's/^/| /' conftest.
$ac_ext >&5
32119 ac_cv_lib_dl_dlerror
=no
32121 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32122 LIBS
=$ac_check_lib_save_LIBS
32124 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32125 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32126 if test $ac_cv_lib_dl_dlerror = yes; then
32127 cat >>confdefs.h
<<\_ACEOF
32128 #define HAVE_DLERROR 1
32139 if test "$HAVE_DL_FUNCS" = 0; then
32140 if test "$HAVE_SHL_FUNCS" = 0; then
32141 if test "$USE_UNIX" = 1; then
32142 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32143 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32144 wxUSE_DYNAMIC_LOADER
=no
32145 wxUSE_DYNLIB_CLASS
=no
32147 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32148 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32155 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32156 cat >>confdefs.h
<<\_ACEOF
32157 #define wxUSE_DYNAMIC_LOADER 1
32161 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32162 cat >>confdefs.h
<<\_ACEOF
32163 #define wxUSE_DYNLIB_CLASS 1
32169 if test "$wxUSE_FONTMAP" = "yes" ; then
32170 cat >>confdefs.h
<<\_ACEOF
32171 #define wxUSE_FONTMAP 1
32176 if test "$wxUSE_UNICODE" = "yes" ; then
32177 cat >>confdefs.h
<<\_ACEOF
32178 #define wxUSE_UNICODE 1
32182 if test "$wxUSE_MSW" != 1; then
32183 wxUSE_UNICODE_MSLU
=no
32186 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32187 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32188 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32189 if test "${ac_cv_lib_unicows_main+set}" = set; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 ac_check_lib_save_LIBS
=$LIBS
32193 LIBS
="-lunicows $LIBS"
32194 cat >conftest.
$ac_ext <<_ACEOF
32195 #line $LINENO "configure"
32198 cat confdefs.h
>>conftest.
$ac_ext
32199 cat >>conftest.
$ac_ext <<_ACEOF
32200 /* end confdefs.h. */
32211 rm -f conftest.
$ac_objext conftest
$ac_exeext
32212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32213 (eval $ac_link) 2>&5
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); } &&
32217 { ac_try
='test -s conftest$ac_exeext'
32218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32219 (eval $ac_try) 2>&5
32221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222 (exit $ac_status); }; }; then
32223 ac_cv_lib_unicows_main
=yes
32225 echo "$as_me: failed program was:" >&5
32226 sed 's/^/| /' conftest.
$ac_ext >&5
32228 ac_cv_lib_unicows_main
=no
32230 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32231 LIBS
=$ac_check_lib_save_LIBS
32233 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32234 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32235 if test $ac_cv_lib_unicows_main = yes; then
32237 cat >>confdefs.h
<<\_ACEOF
32238 #define wxUSE_UNICODE_MSLU 1
32244 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32245 Applications will only run on Windows NT/2000/XP!" >&5
32246 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32247 Applications will only run on Windows NT/2000/XP!" >&2;}
32248 wxUSE_UNICODE_MSLU
=no
32255 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32256 cat >>confdefs.h
<<\_ACEOF
32257 #define wxUSE_EXPERIMENTAL_PRINTF 1
32263 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32264 cat >>confdefs.h
<<\_ACEOF
32265 #define wxUSE_POSTSCRIPT 1
32270 cat >>confdefs.h
<<\_ACEOF
32271 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32275 cat >>confdefs.h
<<\_ACEOF
32276 #define wxUSE_NORMALIZED_PS_FONTS 1
32281 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32282 cat >>confdefs.h
<<\_ACEOF
32283 #define wxUSE_CONSTRAINTS 1
32286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32289 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32290 cat >>confdefs.h
<<\_ACEOF
32291 #define wxUSE_MDI_ARCHITECTURE 1
32294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32297 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32298 cat >>confdefs.h
<<\_ACEOF
32299 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32303 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32304 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32308 if test "$wxUSE_HELP" = "yes"; then
32309 cat >>confdefs.h
<<\_ACEOF
32310 #define wxUSE_HELP 1
32313 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32315 if test "$wxUSE_MSW" = 1; then
32316 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32317 cat >>confdefs.h
<<\_ACEOF
32318 #define wxUSE_MS_HTML_HELP 1
32324 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32325 if test "$wxUSE_HTML" = "yes"; then
32326 cat >>confdefs.h
<<\_ACEOF
32327 #define wxUSE_WXHTML_HELP 1
32331 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32332 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32333 wxUSE_WXHTML_HELP
=no
32338 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32339 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32340 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32341 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32343 cat >>confdefs.h
<<\_ACEOF
32344 #define wxUSE_PRINTING_ARCHITECTURE 1
32348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32351 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32352 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32353 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32354 { (exit 1); exit 1; }; }
32358 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32359 -o "$wxUSE_CLIPBOARD" = "yes" \
32360 -o "$wxUSE_OLE" = "yes" \
32361 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32363 for ac_header
in ole2.h
32365 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32367 echo "$as_me:$LINENO: checking for $ac_header" >&5
32368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32370 echo $ECHO_N "(cached) $ECHO_C" >&6
32372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32375 # Is the header compilable?
32376 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32377 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32378 cat >conftest.
$ac_ext <<_ACEOF
32379 #line $LINENO "configure"
32382 cat confdefs.h
>>conftest.
$ac_ext
32383 cat >>conftest.
$ac_ext <<_ACEOF
32384 /* end confdefs.h. */
32385 $ac_includes_default
32386 #include <$ac_header>
32388 rm -f conftest.
$ac_objext
32389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32390 (eval $ac_compile) 2>&5
32392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32393 (exit $ac_status); } &&
32394 { ac_try
='test -s conftest.$ac_objext'
32395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32396 (eval $ac_try) 2>&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); }; }; then
32400 ac_header_compiler
=yes
32402 echo "$as_me: failed program was:" >&5
32403 sed 's/^/| /' conftest.
$ac_ext >&5
32405 ac_header_compiler
=no
32407 rm -f conftest.
$ac_objext conftest.
$ac_ext
32408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32409 echo "${ECHO_T}$ac_header_compiler" >&6
32411 # Is the header present?
32412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32414 cat >conftest.
$ac_ext <<_ACEOF
32415 #line $LINENO "configure"
32418 cat confdefs.h
>>conftest.
$ac_ext
32419 cat >>conftest.
$ac_ext <<_ACEOF
32420 /* end confdefs.h. */
32421 #include <$ac_header>
32423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32424 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32426 grep -v '^ *+' conftest.er1
>conftest.err
32428 cat conftest.err
>&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); } >/dev
/null
; then
32431 if test -s conftest.err
; then
32432 ac_cpp_err
=$ac_c_preproc_warn_flag
32439 if test -z "$ac_cpp_err"; then
32440 ac_header_preproc
=yes
32442 echo "$as_me: failed program was:" >&5
32443 sed 's/^/| /' conftest.
$ac_ext >&5
32445 ac_header_preproc
=no
32447 rm -f conftest.err conftest.
$ac_ext
32448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32449 echo "${ECHO_T}$ac_header_preproc" >&6
32451 # So? What about this header?
32452 case $ac_header_compiler:$ac_header_preproc in
32454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32457 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32460 ## ------------------------------------ ##
32461 ## Report this to bug-autoconf@gnu.org. ##
32462 ## ------------------------------------ ##
32465 sed "s/^/$as_me: WARNING: /" >&2
32468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32476 ## ------------------------------------ ##
32477 ## Report this to bug-autoconf@gnu.org. ##
32478 ## ------------------------------------ ##
32481 sed "s/^/$as_me: WARNING: /" >&2
32484 echo "$as_me:$LINENO: checking for $ac_header" >&5
32485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32487 echo $ECHO_N "(cached) $ECHO_C" >&6
32489 eval "$as_ac_Header=$ac_header_preproc"
32491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32496 cat >>confdefs.h
<<_ACEOF
32497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32505 if test "$ac_cv_header_ole2_h" = "yes" ; then
32506 if test "$GCC" = yes ; then
32510 ac_cpp
='$CXXCPP $CPPFLAGS'
32511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32516 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32517 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32518 cat >conftest.
$ac_ext <<_ACEOF
32519 #line $LINENO "configure"
32522 cat confdefs.h
>>conftest.
$ac_ext
32523 cat >>conftest.
$ac_ext <<_ACEOF
32524 /* end confdefs.h. */
32525 #include <windows.h>
32535 rm -f conftest.
$ac_objext
32536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32537 (eval $ac_compile) 2>&5
32539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 (exit $ac_status); } &&
32541 { ac_try
='test -s conftest.$ac_objext'
32542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32543 (eval $ac_try) 2>&5
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); }; }; then
32547 echo "$as_me:$LINENO: result: no" >&5
32548 echo "${ECHO_T}no" >&6
32550 echo "$as_me: failed program was:" >&5
32551 sed 's/^/| /' conftest.
$ac_ext >&5
32553 echo "$as_me:$LINENO: result: yes" >&5
32554 echo "${ECHO_T}yes" >&6
32555 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32557 rm -f conftest.
$ac_objext conftest.
$ac_ext
32559 ac_cpp
='$CPP $CPPFLAGS'
32560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32564 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32565 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32566 cat >>confdefs.h
<<\_ACEOF
32567 #define wxUSE_OLE 1
32573 cat >>confdefs.h
<<\_ACEOF
32574 #define wxUSE_DATAOBJ 1
32578 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32579 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32582 wxUSE_DRAG_AND_DROP
=no
32587 if test "$wxUSE_METAFILE" = "yes"; then
32588 cat >>confdefs.h
<<\_ACEOF
32589 #define wxUSE_METAFILE 1
32593 cat >>confdefs.h
<<\_ACEOF
32594 #define wxUSE_ENH_METAFILE 1
32600 if test "$wxUSE_IPC" = "yes"; then
32601 if test "$wxUSE_SOCKETS" != "yes"; then
32602 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32603 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32606 cat >>confdefs.h
<<\_ACEOF
32607 #define wxUSE_IPC 1
32612 if test "$wxUSE_CLIPBOARD" = "yes"; then
32613 if test "$wxUSE_MGL" = 1; then
32614 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32615 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32619 if test "$wxUSE_CLIPBOARD" = "yes"; then
32620 cat >>confdefs.h
<<\_ACEOF
32621 #define wxUSE_CLIPBOARD 1
32625 cat >>confdefs.h
<<\_ACEOF
32626 #define wxUSE_DATAOBJ 1
32632 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32633 if test "$wxUSE_GTK" = 1; then
32634 if test "$WXGTK12" != 1; then
32635 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32636 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32637 wxUSE_DRAG_AND_DROP
=no
32641 if test "$wxUSE_MOTIF" = 1; then
32642 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32643 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32644 wxUSE_DRAG_AND_DROP
=no
32647 if test "$wxUSE_X11" = 1; then
32648 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32649 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32650 wxUSE_DRAG_AND_DROP
=no
32653 if test "$wxUSE_MGL" = 1; then
32654 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32655 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32656 wxUSE_DRAG_AND_DROP
=no
32659 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32660 cat >>confdefs.h
<<\_ACEOF
32661 #define wxUSE_DRAG_AND_DROP 1
32664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32669 if test "$wxUSE_SPLINES" = "yes" ; then
32670 cat >>confdefs.h
<<\_ACEOF
32671 #define wxUSE_SPLINES 1
32678 if test "$wxUSE_CONTROLS" = "yes"; then
32682 if test "$wxUSE_ACCEL" = "yes"; then
32683 cat >>confdefs.h
<<\_ACEOF
32684 #define wxUSE_ACCEL 1
32690 if test "$wxUSE_BUTTON" = "yes"; then
32691 cat >>confdefs.h
<<\_ACEOF
32692 #define wxUSE_BUTTON 1
32698 if test "$wxUSE_BMPBUTTON" = "yes"; then
32699 cat >>confdefs.h
<<\_ACEOF
32700 #define wxUSE_BMPBUTTON 1
32706 if test "$wxUSE_CALCTRL" = "yes"; then
32707 cat >>confdefs.h
<<\_ACEOF
32708 #define wxUSE_CALENDARCTRL 1
32712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32715 if test "$wxUSE_CARET" = "yes"; then
32716 cat >>confdefs.h
<<\_ACEOF
32717 #define wxUSE_CARET 1
32721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32724 if test "$wxUSE_COMBOBOX" = "yes"; then
32725 cat >>confdefs.h
<<\_ACEOF
32726 #define wxUSE_COMBOBOX 1
32732 if test "$wxUSE_CHOICE" = "yes"; then
32733 cat >>confdefs.h
<<\_ACEOF
32734 #define wxUSE_CHOICE 1
32740 if test "$wxUSE_CHECKBOX" = "yes"; then
32741 cat >>confdefs.h
<<\_ACEOF
32742 #define wxUSE_CHECKBOX 1
32748 if test "$wxUSE_CHECKLST" = "yes"; then
32749 cat >>confdefs.h
<<\_ACEOF
32750 #define wxUSE_CHECKLISTBOX 1
32754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32757 if test "$wxUSE_DISPLAY" = "yes"; then
32758 cat >>confdefs.h
<<\_ACEOF
32759 #define wxUSE_DISPLAY 1
32762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32765 if test "$wxUSE_GAUGE" = "yes"; then
32766 cat >>confdefs.h
<<\_ACEOF
32767 #define wxUSE_GAUGE 1
32773 if test "$wxUSE_GRID" = "yes"; then
32774 cat >>confdefs.h
<<\_ACEOF
32775 #define wxUSE_GRID 1
32779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32782 if test "$wxUSE_IMAGLIST" = "yes"; then
32783 cat >>confdefs.h
<<\_ACEOF
32784 #define wxUSE_IMAGLIST 1
32789 if test "$wxUSE_LISTBOX" = "yes"; then
32790 cat >>confdefs.h
<<\_ACEOF
32791 #define wxUSE_LISTBOX 1
32797 if test "$wxUSE_LISTCTRL" = "yes"; then
32798 if test "$wxUSE_IMAGLIST" = "yes"; then
32799 cat >>confdefs.h
<<\_ACEOF
32800 #define wxUSE_LISTCTRL 1
32804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32806 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32807 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32811 if test "$wxUSE_NOTEBOOK" = "yes"; then
32812 cat >>confdefs.h
<<\_ACEOF
32813 #define wxUSE_NOTEBOOK 1
32817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32821 if test "$wxUSE_RADIOBOX" = "yes"; then
32822 cat >>confdefs.h
<<\_ACEOF
32823 #define wxUSE_RADIOBOX 1
32829 if test "$wxUSE_RADIOBTN" = "yes"; then
32830 cat >>confdefs.h
<<\_ACEOF
32831 #define wxUSE_RADIOBTN 1
32837 if test "$wxUSE_SASH" = "yes"; then
32838 cat >>confdefs.h
<<\_ACEOF
32839 #define wxUSE_SASH 1
32842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32845 if test "$wxUSE_SCROLLBAR" = "yes"; then
32846 cat >>confdefs.h
<<\_ACEOF
32847 #define wxUSE_SCROLLBAR 1
32851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32854 if test "$wxUSE_SLIDER" = "yes"; then
32855 cat >>confdefs.h
<<\_ACEOF
32856 #define wxUSE_SLIDER 1
32862 if test "$wxUSE_SPINBTN" = "yes"; then
32863 cat >>confdefs.h
<<\_ACEOF
32864 #define wxUSE_SPINBTN 1
32870 if test "$wxUSE_SPINCTRL" = "yes"; then
32871 cat >>confdefs.h
<<\_ACEOF
32872 #define wxUSE_SPINCTRL 1
32878 if test "$wxUSE_SPLITTER" = "yes"; then
32879 cat >>confdefs.h
<<\_ACEOF
32880 #define wxUSE_SPLITTER 1
32883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32886 if test "$wxUSE_STATBMP" = "yes"; then
32887 cat >>confdefs.h
<<\_ACEOF
32888 #define wxUSE_STATBMP 1
32894 if test "$wxUSE_STATBOX" = "yes"; then
32895 cat >>confdefs.h
<<\_ACEOF
32896 #define wxUSE_STATBOX 1
32902 if test "$wxUSE_STATTEXT" = "yes"; then
32903 cat >>confdefs.h
<<\_ACEOF
32904 #define wxUSE_STATTEXT 1
32910 if test "$wxUSE_STATLINE" = "yes"; then
32911 cat >>confdefs.h
<<\_ACEOF
32912 #define wxUSE_STATLINE 1
32918 if test "$wxUSE_STATUSBAR" = "yes"; then
32919 cat >>confdefs.h
<<\_ACEOF
32920 #define wxUSE_STATUSBAR 1
32925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32928 if test "$wxUSE_TABDIALOG" = "yes"; then
32929 cat >>confdefs.h
<<\_ACEOF
32930 #define wxUSE_TAB_DIALOG 1
32933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32936 if test "$wxUSE_TEXTCTRL" = "yes"; then
32937 cat >>confdefs.h
<<\_ACEOF
32938 #define wxUSE_TEXTCTRL 1
32942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32945 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32946 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32947 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32948 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32951 if test "$wxUSE_UNIVERSAL" = "yes"; then
32952 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32953 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32957 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32958 cat >>confdefs.h
<<\_ACEOF
32959 #define wxUSE_TOGGLEBTN 1
32966 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32967 cat >>confdefs.h
<<\_ACEOF
32968 #define wxUSE_TOOLBAR_SIMPLE 1
32971 wxUSE_TOOLBAR
="yes"
32975 if test "$wxUSE_TOOLBAR" = "yes"; then
32976 cat >>confdefs.h
<<\_ACEOF
32977 #define wxUSE_TOOLBAR 1
32982 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32983 wxUSE_TOOLBAR_NATIVE
="yes"
32986 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32987 cat >>confdefs.h
<<\_ACEOF
32988 #define wxUSE_TOOLBAR_NATIVE 1
32994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32997 if test "$wxUSE_TOOLTIPS" = "yes"; then
32998 if test "$wxUSE_MOTIF" = 1; then
32999 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33000 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33002 if test "$wxUSE_UNIVERSAL" = "yes"; then
33003 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33004 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33006 cat >>confdefs.h
<<\_ACEOF
33007 #define wxUSE_TOOLTIPS 1
33014 if test "$wxUSE_TREECTRL" = "yes"; then
33015 if test "$wxUSE_IMAGLIST" = "yes"; then
33016 cat >>confdefs.h
<<\_ACEOF
33017 #define wxUSE_TREECTRL 1
33021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33023 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33024 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33028 if test "$wxUSE_POPUPWIN" = "yes"; then
33029 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33030 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33031 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33033 if test "$wxUSE_MOTIF" = 1; then
33034 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33035 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33037 if test "$wxUSE_PM" = 1; then
33038 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33039 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33041 cat >>confdefs.h
<<\_ACEOF
33042 #define wxUSE_POPUPWIN 1
33052 if test "$wxUSE_TIPWINDOW" = "yes"; then
33053 if test "$wxUSE_PM" = 1; then
33054 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33055 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33057 cat >>confdefs.h
<<\_ACEOF
33058 #define wxUSE_TIPWINDOW 1
33064 if test "$USES_CONTROLS" = 1; then
33065 cat >>confdefs.h
<<\_ACEOF
33066 #define wxUSE_CONTROLS 1
33073 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33074 cat >>confdefs.h
<<\_ACEOF
33075 #define wxUSE_DRAGIMAGE 1
33078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33081 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33082 cat >>confdefs.h
<<\_ACEOF
33083 #define wxUSE_ACCESSIBILITY 1
33086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33089 if test "$wxUSE_MENUS" = "yes"; then
33090 cat >>confdefs.h
<<\_ACEOF
33091 #define wxUSE_MENUS 1
33094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33097 if test "$wxUSE_METAFILE" = "yes"; then
33098 cat >>confdefs.h
<<\_ACEOF
33099 #define wxUSE_METAFILE 1
33104 if test "$wxUSE_MIMETYPE" = "yes"; then
33105 cat >>confdefs.h
<<\_ACEOF
33106 #define wxUSE_MIMETYPE 1
33111 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33112 cat >>confdefs.h
<<\_ACEOF
33113 #define wxUSE_SYSTEM_OPTIONS 1
33116 if test "$TOOLKIT" = "MSW"; then
33117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33122 if test "$wxUSE_MINIFRAME" = "yes"; then
33123 cat >>confdefs.h
<<\_ACEOF
33124 #define wxUSE_MINIFRAME 1
33127 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33131 if test "$wxUSE_HTML" = "yes"; then
33132 cat >>confdefs.h
<<\_ACEOF
33133 #define wxUSE_HTML 1
33137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33140 if test "$wxUSE_VALIDATORS" = "yes"; then
33141 cat >>confdefs.h
<<\_ACEOF
33142 #define wxUSE_VALIDATORS 1
33145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33148 if test "$wxUSE_PALETTE" = "yes" ; then
33149 cat >>confdefs.h
<<\_ACEOF
33150 #define wxUSE_PALETTE 1
33155 if test "$wxUSE_IMAGE" = "yes" ; then
33156 cat >>confdefs.h
<<\_ACEOF
33157 #define wxUSE_IMAGE 1
33162 if test "$wxUSE_GIF" = "yes" ; then
33163 cat >>confdefs.h
<<\_ACEOF
33164 #define wxUSE_GIF 1
33169 if test "$wxUSE_PCX" = "yes" ; then
33170 cat >>confdefs.h
<<\_ACEOF
33171 #define wxUSE_PCX 1
33176 if test "$wxUSE_IFF" = "yes" ; then
33177 cat >>confdefs.h
<<\_ACEOF
33178 #define wxUSE_IFF 1
33183 if test "$wxUSE_PNM" = "yes" ; then
33184 cat >>confdefs.h
<<\_ACEOF
33185 #define wxUSE_PNM 1
33190 if test "$wxUSE_XPM" = "yes" ; then
33191 cat >>confdefs.h
<<\_ACEOF
33192 #define wxUSE_XPM 1
33197 if test "$wxUSE_ICO_CUR" = "yes" ; then
33198 cat >>confdefs.h
<<\_ACEOF
33199 #define wxUSE_ICO_CUR 1
33204 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33205 LIBS
=" -lunicows $LIBS"
33209 if test "$wxUSE_CHOICEDLG" = "yes"; then
33210 cat >>confdefs.h
<<\_ACEOF
33211 #define wxUSE_CHOICEDLG 1
33216 if test "$wxUSE_COLOURDLG" = "yes"; then
33217 cat >>confdefs.h
<<\_ACEOF
33218 #define wxUSE_COLOURDLG 1
33223 if test "$wxUSE_FILEDLG" = "yes"; then
33224 cat >>confdefs.h
<<\_ACEOF
33225 #define wxUSE_FILEDLG 1
33230 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33231 cat >>confdefs.h
<<\_ACEOF
33232 #define wxUSE_FINDREPLDLG 1
33237 if test "$wxUSE_FONTDLG" = "yes"; then
33238 cat >>confdefs.h
<<\_ACEOF
33239 #define wxUSE_FONTDLG 1
33244 if test "$wxUSE_DIRDLG" = "yes"; then
33245 if test "$wxUSE_TREECTRL" != "yes"; then
33246 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33247 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33249 cat >>confdefs.h
<<\_ACEOF
33250 #define wxUSE_DIRDLG 1
33256 if test "$wxUSE_MSGDLG" = "yes"; then
33257 cat >>confdefs.h
<<\_ACEOF
33258 #define wxUSE_MSGDLG 1
33263 if test "$wxUSE_NUMBERDLG" = "yes"; then
33264 cat >>confdefs.h
<<\_ACEOF
33265 #define wxUSE_NUMBERDLG 1
33270 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33271 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33272 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33273 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33275 cat >>confdefs.h
<<\_ACEOF
33276 #define wxUSE_PROGRESSDLG 1
33282 if test "$wxUSE_SPLASH" = "yes"; then
33283 cat >>confdefs.h
<<\_ACEOF
33284 #define wxUSE_SPLASH 1
33289 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33290 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33291 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33292 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33294 cat >>confdefs.h
<<\_ACEOF
33295 #define wxUSE_STARTUP_TIPS 1
33301 if test "$wxUSE_TEXTDLG" = "yes"; then
33302 cat >>confdefs.h
<<\_ACEOF
33303 #define wxUSE_TEXTDLG 1
33308 if test "$wxUSE_WIZARDDLG" = "yes"; then
33309 cat >>confdefs.h
<<\_ACEOF
33310 #define wxUSE_WIZARDDLG 1
33313 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33317 if test "$cross_compiling" = "yes"; then
33320 OSINFO
=`uname -s -r -m`
33321 OSINFO
="\"$OSINFO\""
33324 cat >>confdefs.h
<<_ACEOF
33325 #define WXWIN_OS_DESCRIPTION $OSINFO
33330 if test "x$prefix" != "xNONE"; then
33333 wxPREFIX
=$ac_default_prefix
33336 cat >>confdefs.h
<<_ACEOF
33337 #define wxINSTALL_PREFIX "$wxPREFIX"
33341 top_builddir_wxconfig
=`pwd`
33346 if test "$wxUSE_MAC" = 1 ; then
33347 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33349 if test "$wxUSE_COCOA" = 1 ; then
33350 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33354 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33362 echo "$as_me:$LINENO: checking for $ac_func" >&5
33363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33364 if eval "test \"\${$as_ac_var+set}\" = set"; then
33365 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 cat >conftest.
$ac_ext <<_ACEOF
33368 #line $LINENO "configure"
33371 cat confdefs.h
>>conftest.
$ac_ext
33372 cat >>conftest.
$ac_ext <<_ACEOF
33373 /* end confdefs.h. */
33374 /* System header to define __stub macros and hopefully few prototypes,
33375 which can conflict with char $ac_func (); below.
33376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33377 <limits.h> exists even on freestanding compilers. */
33379 # include <limits.h>
33381 # include <assert.h>
33383 /* Override any gcc2 internal prototype to avoid an error. */
33388 /* We use char because int might match the return type of a gcc2
33389 builtin and then its argument prototype would still apply. */
33391 /* The GNU C library defines this for functions which it implements
33392 to always fail with ENOSYS. Some functions are actually named
33393 something starting with __ and the normal name is an alias. */
33394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33397 char (*f) () = $ac_func;
33406 return f != $ac_func;
33411 rm -f conftest.
$ac_objext conftest
$ac_exeext
33412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33413 (eval $ac_link) 2>&5
33415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33416 (exit $ac_status); } &&
33417 { ac_try
='test -s conftest$ac_exeext'
33418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33419 (eval $ac_try) 2>&5
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); }; }; then
33423 eval "$as_ac_var=yes"
33425 echo "$as_me: failed program was:" >&5
33426 sed 's/^/| /' conftest.
$ac_ext >&5
33428 eval "$as_ac_var=no"
33430 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33434 if test `eval echo '${'$as_ac_var'}'` = yes; then
33435 cat >>confdefs.h
<<_ACEOF
33436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33443 for ac_func
in floor
33445 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33446 echo "$as_me:$LINENO: checking for $ac_func" >&5
33447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33448 if eval "test \"\${$as_ac_var+set}\" = set"; then
33449 echo $ECHO_N "(cached) $ECHO_C" >&6
33451 cat >conftest.
$ac_ext <<_ACEOF
33452 #line $LINENO "configure"
33455 cat confdefs.h
>>conftest.
$ac_ext
33456 cat >>conftest.
$ac_ext <<_ACEOF
33457 /* end confdefs.h. */
33458 /* System header to define __stub macros and hopefully few prototypes,
33459 which can conflict with char $ac_func (); below.
33460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33461 <limits.h> exists even on freestanding compilers. */
33463 # include <limits.h>
33465 # include <assert.h>
33467 /* Override any gcc2 internal prototype to avoid an error. */
33472 /* We use char because int might match the return type of a gcc2
33473 builtin and then its argument prototype would still apply. */
33475 /* The GNU C library defines this for functions which it implements
33476 to always fail with ENOSYS. Some functions are actually named
33477 something starting with __ and the normal name is an alias. */
33478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33481 char (*f) () = $ac_func;
33490 return f != $ac_func;
33495 rm -f conftest.
$ac_objext conftest
$ac_exeext
33496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33497 (eval $ac_link) 2>&5
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); } &&
33501 { ac_try
='test -s conftest$ac_exeext'
33502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33503 (eval $ac_try) 2>&5
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); }; }; then
33507 eval "$as_ac_var=yes"
33509 echo "$as_me: failed program was:" >&5
33510 sed 's/^/| /' conftest.
$ac_ext >&5
33512 eval "$as_ac_var=no"
33514 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33518 if test `eval echo '${'$as_ac_var'}'` = yes; then
33519 cat >>confdefs.h
<<_ACEOF
33520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33526 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33527 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33528 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33529 echo "$as_me:$LINENO: result: yes" >&5
33530 echo "${ECHO_T}yes" >&6
33532 echo "$as_me:$LINENO: result: no" >&5
33533 echo "${ECHO_T}no" >&6
33535 # use different functions to avoid configure caching
33541 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33542 echo "$as_me:$LINENO: checking for $ac_func" >&5
33543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33544 if eval "test \"\${$as_ac_var+set}\" = set"; then
33545 echo $ECHO_N "(cached) $ECHO_C" >&6
33547 cat >conftest.
$ac_ext <<_ACEOF
33548 #line $LINENO "configure"
33551 cat confdefs.h
>>conftest.
$ac_ext
33552 cat >>conftest.
$ac_ext <<_ACEOF
33553 /* end confdefs.h. */
33554 /* System header to define __stub macros and hopefully few prototypes,
33555 which can conflict with char $ac_func (); below.
33556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33557 <limits.h> exists even on freestanding compilers. */
33559 # include <limits.h>
33561 # include <assert.h>
33563 /* Override any gcc2 internal prototype to avoid an error. */
33568 /* We use char because int might match the return type of a gcc2
33569 builtin and then its argument prototype would still apply. */
33571 /* The GNU C library defines this for functions which it implements
33572 to always fail with ENOSYS. Some functions are actually named
33573 something starting with __ and the normal name is an alias. */
33574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33577 char (*f) () = $ac_func;
33586 return f != $ac_func;
33591 rm -f conftest.
$ac_objext conftest
$ac_exeext
33592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33593 (eval $ac_link) 2>&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); } &&
33597 { ac_try
='test -s conftest$ac_exeext'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; }; then
33603 eval "$as_ac_var=yes"
33605 echo "$as_me: failed program was:" >&5
33606 sed 's/^/| /' conftest.
$ac_ext >&5
33608 eval "$as_ac_var=no"
33610 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33614 if test `eval echo '${'$as_ac_var'}'` = yes; then
33615 cat >>confdefs.h
<<_ACEOF
33616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33623 for ac_func
in ceil
33625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33626 echo "$as_me:$LINENO: checking for $ac_func" >&5
33627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33628 if eval "test \"\${$as_ac_var+set}\" = set"; then
33629 echo $ECHO_N "(cached) $ECHO_C" >&6
33631 cat >conftest.
$ac_ext <<_ACEOF
33632 #line $LINENO "configure"
33635 cat confdefs.h
>>conftest.
$ac_ext
33636 cat >>conftest.
$ac_ext <<_ACEOF
33637 /* end confdefs.h. */
33638 /* System header to define __stub macros and hopefully few prototypes,
33639 which can conflict with char $ac_func (); below.
33640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33641 <limits.h> exists even on freestanding compilers. */
33643 # include <limits.h>
33645 # include <assert.h>
33647 /* Override any gcc2 internal prototype to avoid an error. */
33652 /* We use char because int might match the return type of a gcc2
33653 builtin and then its argument prototype would still apply. */
33655 /* The GNU C library defines this for functions which it implements
33656 to always fail with ENOSYS. Some functions are actually named
33657 something starting with __ and the normal name is an alias. */
33658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33661 char (*f) () = $ac_func;
33670 return f != $ac_func;
33675 rm -f conftest.
$ac_objext conftest
$ac_exeext
33676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33677 (eval $ac_link) 2>&5
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); } &&
33681 { ac_try
='test -s conftest$ac_exeext'
33682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33683 (eval $ac_try) 2>&5
33685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33686 (exit $ac_status); }; }; then
33687 eval "$as_ac_var=yes"
33689 echo "$as_me: failed program was:" >&5
33690 sed 's/^/| /' conftest.
$ac_ext >&5
33692 eval "$as_ac_var=no"
33694 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33698 if test `eval echo '${'$as_ac_var'}'` = yes; then
33699 cat >>confdefs.h
<<_ACEOF
33700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33706 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33707 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33708 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33709 echo "$as_me:$LINENO: result: yes" >&5
33710 echo "${ECHO_T}yes" >&6
33712 echo "$as_me:$LINENO: result: no" >&5
33713 echo "${ECHO_T}no" >&6
33714 # not sure we should warn the user, crash, etc.
33718 if test "$wxUSE_GUI" = "yes"; then
33721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33722 drawing dynamic erase event exec font image \
33723 minimal propsize rotate shaped widgets"
33725 if test "$wxUSE_MONOLITHIC" != "yes"; then
33726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33729 SAMPLES_SUBDIRS
="console"
33733 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33734 -I\${top_srcdir}/include \
33735 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33738 if test "$GXX" = yes ; then
33739 CXXWARNINGS
="-Wall"
33742 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33744 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33745 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33746 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33749 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33750 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33751 EXTRALIBS_XML
="$EXPAT_LINK"
33752 if test "$wxUSE_GUI" = "yes"; then
33753 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33755 if test "$wxUSE_OPENGL" = "yes"; then
33756 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33759 LDFLAGS
="$LDFLAGS $PROFILE"
33761 if test "$wxUSE_GTK" = 1; then
33764 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33767 WXCONFIG_EXTRALIBS
="$LIBS"
33769 if test "$wxUSE_REGEX" = "builtin" ; then
33770 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33772 if test "$wxUSE_EXPAT" = "builtin" ; then
33773 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33775 if test "$wxUSE_ODBC" = "builtin" ; then
33776 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33778 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33779 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33781 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33782 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33784 if test "$wxUSE_LIBPNG" = "builtin" ; then
33785 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33787 if test "$wxUSE_ZLIB" = "builtin" ; then
33788 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33791 for i
in $wxconfig_3rdparty ; do
33792 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33796 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33810 if test $wxUSE_MONOLITHIC = "yes" ; then
33816 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33837 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33844 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33846 if test -n "$ac_tool_prefix"; then
33847 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33848 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33849 echo "$as_me:$LINENO: checking for $ac_word" >&5
33850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33851 if test "${ac_cv_prog_RANLIB+set}" = set; then
33852 echo $ECHO_N "(cached) $ECHO_C" >&6
33854 if test -n "$RANLIB"; then
33855 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33858 for as_dir
in $PATH
33861 test -z "$as_dir" && as_dir
=.
33862 for ac_exec_ext
in '' $ac_executable_extensions; do
33863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33864 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33873 RANLIB
=$ac_cv_prog_RANLIB
33874 if test -n "$RANLIB"; then
33875 echo "$as_me:$LINENO: result: $RANLIB" >&5
33876 echo "${ECHO_T}$RANLIB" >&6
33878 echo "$as_me:$LINENO: result: no" >&5
33879 echo "${ECHO_T}no" >&6
33883 if test -z "$ac_cv_prog_RANLIB"; then
33884 ac_ct_RANLIB
=$RANLIB
33885 # Extract the first word of "ranlib", so it can be a program name with args.
33886 set dummy ranlib
; ac_word
=$2
33887 echo "$as_me:$LINENO: checking for $ac_word" >&5
33888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33889 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33890 echo $ECHO_N "(cached) $ECHO_C" >&6
33892 if test -n "$ac_ct_RANLIB"; then
33893 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33896 for as_dir
in $PATH
33899 test -z "$as_dir" && as_dir
=.
33900 for ac_exec_ext
in '' $ac_executable_extensions; do
33901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33902 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33909 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33912 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33913 if test -n "$ac_ct_RANLIB"; then
33914 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33915 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33917 echo "$as_me:$LINENO: result: no" >&5
33918 echo "${ECHO_T}no" >&6
33921 RANLIB
=$ac_ct_RANLIB
33923 RANLIB
="$ac_cv_prog_RANLIB"
33926 # Find a good install program. We prefer a C program (faster),
33927 # so one script is as good as another. But avoid the broken or
33928 # incompatible versions:
33929 # SysV /etc/install, /usr/sbin/install
33930 # SunOS /usr/etc/install
33931 # IRIX /sbin/install
33933 # AmigaOS /C/install, which installs bootblocks on floppy discs
33934 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33935 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33936 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33937 # ./install, which can be erroneously created by make from ./install.sh.
33938 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33939 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33940 if test -z "$INSTALL"; then
33941 if test "${ac_cv_path_install+set}" = set; then
33942 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33945 for as_dir
in $PATH
33948 test -z "$as_dir" && as_dir
=.
33949 # Account for people who put trailing slashes in PATH elements.
33951 .
/ | .
// | /cC
/* | \
33952 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33955 # OSF1 and SCO ODT 3.0 have their own names for install.
33956 # Don't use installbsd from OSF since it installs stuff as root
33958 for ac_prog
in ginstall scoinst
install; do
33959 for ac_exec_ext
in '' $ac_executable_extensions; do
33960 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33961 if test $ac_prog = install &&
33962 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33963 # AIX install. It has an incompatible calling convention.
33965 elif test $ac_prog = install &&
33966 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33967 # program-specific install script used by HP pwplus--don't use.
33970 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33982 if test "${ac_cv_path_install+set}" = set; then
33983 INSTALL
=$ac_cv_path_install
33985 # As a last resort, use the slow shell script. We don't cache a
33986 # path for INSTALL within a source directory, because that will
33987 # break other packages using the cache if that directory is
33988 # removed, or if the path is relative.
33989 INSTALL
=$ac_install_sh
33992 echo "$as_me:$LINENO: result: $INSTALL" >&5
33993 echo "${ECHO_T}$INSTALL" >&6
33995 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33996 # It thinks the first close brace ends the variable substitution.
33997 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33999 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34001 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34003 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34004 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34006 if test "$LN_S" = "ln -s"; then
34007 echo "$as_me:$LINENO: result: yes" >&5
34008 echo "${ECHO_T}yes" >&6
34010 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34011 echo "${ECHO_T}no, using $LN_S" >&6
34015 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34016 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34017 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34018 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34019 echo $ECHO_N "(cached) $ECHO_C" >&6
34021 cat >conftest.
make <<\_ACEOF
34023 @
echo 'ac_maketemp="$(MAKE)"'
34025 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34026 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34027 if test -n "$ac_maketemp"; then
34028 eval ac_cv_prog_make_
${ac_make}_set
=yes
34030 eval ac_cv_prog_make_
${ac_make}_set
=no
34032 rm -f conftest.
make
34034 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34035 echo "$as_me:$LINENO: result: yes" >&5
34036 echo "${ECHO_T}yes" >&6
34039 echo "$as_me:$LINENO: result: no" >&5
34040 echo "${ECHO_T}no" >&6
34041 SET_MAKE
="MAKE=${MAKE-make}"
34046 if test "$build" != "$host" ; then
34048 STRIP
=$host_alias-strip
34050 # Extract the first word of "ar", so it can be a program name with args.
34051 set dummy
ar; ac_word
=$2
34052 echo "$as_me:$LINENO: checking for $ac_word" >&5
34053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34054 if test "${ac_cv_prog_AR+set}" = set; then
34055 echo $ECHO_N "(cached) $ECHO_C" >&6
34057 if test -n "$AR"; then
34058 ac_cv_prog_AR
="$AR" # Let the user override the test.
34060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34061 for as_dir
in $PATH
34064 test -z "$as_dir" && as_dir
=.
34065 for ac_exec_ext
in '' $ac_executable_extensions; do
34066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34074 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
34078 if test -n "$AR"; then
34079 echo "$as_me:$LINENO: result: $AR" >&5
34080 echo "${ECHO_T}$AR" >&6
34082 echo "$as_me:$LINENO: result: no" >&5
34083 echo "${ECHO_T}no" >&6
34086 # Extract the first word of "strip", so it can be a program name with args.
34087 set dummy strip
; ac_word
=$2
34088 echo "$as_me:$LINENO: checking for $ac_word" >&5
34089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34090 if test "${ac_cv_prog_STRIP+set}" = set; then
34091 echo $ECHO_N "(cached) $ECHO_C" >&6
34093 if test -n "$STRIP"; then
34094 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34097 for as_dir
in $PATH
34100 test -z "$as_dir" && as_dir
=.
34101 for ac_exec_ext
in '' $ac_executable_extensions; do
34102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34103 ac_cv_prog_STRIP
="strip"
34104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34110 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
34113 STRIP
=$ac_cv_prog_STRIP
34114 if test -n "$STRIP"; then
34115 echo "$as_me:$LINENO: result: $STRIP" >&5
34116 echo "${ECHO_T}$STRIP" >&6
34118 echo "$as_me:$LINENO: result: no" >&5
34119 echo "${ECHO_T}no" >&6
34126 INSTALL_DIR
="mkdir"
34128 *) INSTALL_DIR
="$INSTALL -d"
34135 *-*-cygwin* | *-*-mingw32* )
34136 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34142 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34143 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34144 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34145 echo $ECHO_N "(cached) $ECHO_C" >&6
34148 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34149 egrep -s GNU
> /dev
/null
); then
34150 bakefile_cv_prog_makeisgnu
="yes"
34152 bakefile_cv_prog_makeisgnu
="no"
34156 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34157 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34159 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34174 *-*-cygwin* | *-*-mingw32* )
34177 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34180 powerpc
-*-darwin* )
34207 *-*-cygwin* | *-*-mingw32* )
34212 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34216 powerpc
-*-darwin* )
34226 SHARED_LD_CC
="\$(CC) -shared -o"
34227 SHARED_LD_CXX
="\$(CXX) -shared -o"
34229 if test "x$GCC" = "xyes"; then
34235 if test "x$GCC" = "xyes"; then
34236 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34237 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34239 LDFLAGS
="$LDFLAGS -L/usr/lib"
34241 SHARED_LD_CC
="${CC} -b -o"
34242 SHARED_LD_CXX
="${CXX} -b -o"
34248 if test "x$GCC" != "xyes"; then
34249 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34250 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34251 if test "${bakefile_cv_prog_icc+set}" = set; then
34252 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 cat >conftest.
$ac_ext <<_ACEOF
34256 #line $LINENO "configure"
34259 cat confdefs.h
>>conftest.
$ac_ext
34260 cat >>conftest.
$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34267 #ifndef __INTEL_COMPILER
34275 rm -f conftest.
$ac_objext
34276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34277 (eval $ac_compile) 2>&5
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); } &&
34281 { ac_try
='test -s conftest.$ac_objext'
34282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34283 (eval $ac_try) 2>&5
34285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34286 (exit $ac_status); }; }; then
34287 bakefile_cv_prog_icc
=yes
34289 echo "$as_me: failed program was:" >&5
34290 sed 's/^/| /' conftest.
$ac_ext >&5
34292 bakefile_cv_prog_icc
=no
34295 rm -f conftest.
$ac_objext conftest.
$ac_ext
34298 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34299 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34300 if test "$bakefile_cv_prog_icc" = "yes"; then
34307 if test "x$GCC" != xyes
; then
34308 SHARED_LD_CC
="${CC} -G -o"
34309 SHARED_LD_CXX
="${CXX} -G -o"
34315 CFLAGS
="$CFLAGS -fno-common"
34316 CXXFLAGS
="$CXXFLAGS -fno-common"
34319 cat <<EOF >shared-ld-sh
34321 #-----------------------------------------------------------------------------
34322 #-- Name: distrib/mac/shared-ld-sh
34323 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34324 #-- Author: Gilles Depeyrot
34325 #-- Copyright: (c) 2002 Gilles Depeyrot
34326 #-- Licence: any use permitted
34327 #-----------------------------------------------------------------------------
34333 while test \${#} -gt 0; do
34340 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34341 # collect these options and values
34342 args="\${args} \${1} \${2}"
34346 -l*|-L*|-flat_namespace)
34347 # collect these options
34348 args="\${args} \${1}"
34352 # skip these options
34356 echo "shared-ld: unhandled option '\${1}'"
34360 *.o | *.a | *.dylib)
34361 # collect object files
34362 objects="\${objects} \${1}"
34366 echo "shared-ld: unhandled argument '\${1}'"
34375 # Link one module containing all the others
34377 if test \${verbose} = 1; then
34378 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34380 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34382 if test \${status} != 0; then
34387 # Link the shared library from the single module created
34389 if test \${verbose} = 1; then
34390 echo "cc -dynamiclib master.\$\$.o \${args}"
34392 c++ -dynamiclib master.\$\$.o \${args}
34394 if test \${status} != 0; then
34399 # Remove intermediate module
34401 rm -f master.\$\$.o
34405 chmod +x shared
-ld-sh
34407 SHARED_LD_CC
="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
34408 SHARED_LD_CXX
="$SHARED_LD_CC"
34409 PIC_FLAG
="-dynamic -fPIC"
34413 if test "x$GCC" != "xyes"; then
34414 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34415 set dummy makeC
++SharedLib
; ac_word
=$2
34416 echo "$as_me:$LINENO: checking for $ac_word" >&5
34417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34418 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34419 echo $ECHO_N "(cached) $ECHO_C" >&6
34421 if test -n "$AIX_CXX_LD"; then
34422 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34425 for as_dir
in $PATH
34428 test -z "$as_dir" && as_dir
=.
34429 for ac_exec_ext
in '' $ac_executable_extensions; do
34430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34431 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34438 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34441 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34442 if test -n "$AIX_CXX_LD"; then
34443 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34444 echo "${ECHO_T}$AIX_CXX_LD" >&6
34446 echo "$as_me:$LINENO: result: no" >&5
34447 echo "${ECHO_T}no" >&6
34450 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34451 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34456 SHARED_LD_CC
="${LD} -shared -o"
34457 SHARED_LD_CXX
="${LD} -shared -o"
34461 if test "x$GCC" != "xyes"; then
34466 *-*-cygwin* | *-*-mingw32* )
34470 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34478 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34479 echo "$as_me: error: unknown system type $host." >&2;}
34480 { (exit 1); exit 1; }; }
34497 SONAME_FLAG
="-Wl,-soname,"
34525 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34526 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34529 if test "x$GCC" = "xyes"; then
34533 powerpc
-*-darwin* )
34534 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34537 DEPSFLAG_GCC
="-MMD"
34540 echo "$as_me:$LINENO: result: gcc" >&5
34541 echo "${ECHO_T}gcc" >&6
34543 echo "$as_me:$LINENO: result: none" >&5
34544 echo "${ECHO_T}none" >&6
34547 if test $DEPS_TRACKING = 1 ; then
34551 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34552 # It is used to track C/C++ files dependencies in portable way.
34554 # Permission is given to use this file in any way.
34558 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34562 if test \$DEPSMODE = gcc ; then
34563 \${*} \${DEPSFLAG_GCC}
34565 if test \${status} != 0 ; then
34568 # move created file to the location we want it in:
34569 while test \${#} -gt 0; do
34583 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34584 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34585 if test -f \$depfile ; then
34586 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34589 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34590 if test -f \$depfile ; then
34591 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34611 *-*-cygwin* | *-*-mingw32* )
34612 if test "$build" != "$host" ; then
34613 RESCOMP
=$host_alias-windres
34615 # Extract the first word of "windres", so it can be a program name with args.
34616 set dummy windres
; ac_word
=$2
34617 echo "$as_me:$LINENO: checking for $ac_word" >&5
34618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34619 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34620 echo $ECHO_N "(cached) $ECHO_C" >&6
34622 if test -n "$RESCOMP"; then
34623 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34626 for as_dir
in $PATH
34629 test -z "$as_dir" && as_dir
=.
34630 for ac_exec_ext
in '' $ac_executable_extensions; do
34631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34632 ac_cv_prog_RESCOMP
="windres"
34633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34639 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34642 RESCOMP
=$ac_cv_prog_RESCOMP
34643 if test -n "$RESCOMP"; then
34644 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34645 echo "${ECHO_T}$RESCOMP" >&6
34647 echo "$as_me:$LINENO: result: no" >&5
34648 echo "${ECHO_T}no" >&6
34655 # Extract the first word of "Rez", so it can be a program name with args.
34656 set dummy Rez
; ac_word
=$2
34657 echo "$as_me:$LINENO: checking for $ac_word" >&5
34658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34659 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34660 echo $ECHO_N "(cached) $ECHO_C" >&6
34662 if test -n "$RESCOMP"; then
34663 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34666 for as_dir
in $PATH
34669 test -z "$as_dir" && as_dir
=.
34670 for ac_exec_ext
in '' $ac_executable_extensions; do
34671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34672 ac_cv_prog_RESCOMP
="Rez"
34673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34679 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34682 RESCOMP
=$ac_cv_prog_RESCOMP
34683 if test -n "$RESCOMP"; then
34684 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34685 echo "${ECHO_T}$RESCOMP" >&6
34687 echo "$as_me:$LINENO: result: no" >&5
34688 echo "${ECHO_T}no" >&6
34691 # Extract the first word of "SetFile", so it can be a program name with args.
34692 set dummy SetFile
; ac_word
=$2
34693 echo "$as_me:$LINENO: checking for $ac_word" >&5
34694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34695 if test "${ac_cv_prog_SETFILE+set}" = set; then
34696 echo $ECHO_N "(cached) $ECHO_C" >&6
34698 if test -n "$SETFILE"; then
34699 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34702 for as_dir
in $PATH
34705 test -z "$as_dir" && as_dir
=.
34706 for ac_exec_ext
in '' $ac_executable_extensions; do
34707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34708 ac_cv_prog_SETFILE
="SetFile"
34709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34715 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34718 SETFILE
=$ac_cv_prog_SETFILE
34719 if test -n "$SETFILE"; then
34720 echo "$as_me:$LINENO: result: $SETFILE" >&5
34721 echo "${ECHO_T}$SETFILE" >&6
34723 echo "$as_me:$LINENO: result: no" >&5
34724 echo "${ECHO_T}no" >&6
34736 COND_BUILD_DEBUG
="#"
34737 if test "x$BUILD" = "xdebug" ; then
34738 COND_BUILD_DEBUG
=""
34741 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
34742 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34743 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
34746 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
34747 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34748 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
34751 COND_BUILD_RELEASE
="#"
34752 if test "x$BUILD" = "xrelease" ; then
34753 COND_BUILD_RELEASE
=""
34756 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
34757 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34758 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
34761 COND_DEBUG_FLAG_1
="#"
34762 if test "x$DEBUG_FLAG" = "x1" ; then
34763 COND_DEBUG_FLAG_1
=""
34766 COND_DEBUG_INFO_0
="#"
34767 if test "x$DEBUG_INFO" = "x0" ; then
34768 COND_DEBUG_INFO_0
=""
34771 COND_DEBUG_INFO_1
="#"
34772 if test "x$DEBUG_INFO" = "x1" ; then
34773 COND_DEBUG_INFO_1
=""
34776 COND_DEPS_TRACKING_0
="#"
34777 if test "x$DEPS_TRACKING" = "x0" ; then
34778 COND_DEPS_TRACKING_0
=""
34781 COND_DEPS_TRACKING_1
="#"
34782 if test "x$DEPS_TRACKING" = "x1" ; then
34783 COND_DEPS_TRACKING_1
=""
34786 COND_MONOLITHIC_0
="#"
34787 if test "x$MONOLITHIC" = "x0" ; then
34788 COND_MONOLITHIC_0
=""
34791 COND_MONOLITHIC_0_SHARED_0
="#"
34792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34793 COND_MONOLITHIC_0_SHARED_0
=""
34796 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34798 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34801 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
34802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34803 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
34806 COND_MONOLITHIC_0_SHARED_1
="#"
34807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34808 COND_MONOLITHIC_0_SHARED_1
=""
34811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34813 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34816 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
34817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34818 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
34821 COND_MONOLITHIC_1
="#"
34822 if test "x$MONOLITHIC" = "x1" ; then
34823 COND_MONOLITHIC_1
=""
34826 COND_MONOLITHIC_1_SHARED_0
="#"
34827 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34828 COND_MONOLITHIC_1_SHARED_0
=""
34831 COND_MONOLITHIC_1_SHARED_1
="#"
34832 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34833 COND_MONOLITHIC_1_SHARED_1
=""
34836 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
34837 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34838 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
34841 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
34842 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34843 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
34846 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
34847 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34848 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
34851 COND_PLATFORM_MACOSX_1
="#"
34852 if test "x$PLATFORM_MACOSX" = "x1" ; then
34853 COND_PLATFORM_MACOSX_1
=""
34856 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
34857 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34858 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
34861 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
34862 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34863 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
34866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
34867 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
34871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
34872 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34873 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
34876 COND_PLATFORM_UNIX_1
="#"
34877 if test "x$PLATFORM_UNIX" = "x1" ; then
34878 COND_PLATFORM_UNIX_1
=""
34881 COND_PLATFORM_WIN32_0
="#"
34882 if test "x$PLATFORM_WIN32" = "x0" ; then
34883 COND_PLATFORM_WIN32_0
=""
34886 COND_PLATFORM_WIN32_1
="#"
34887 if test "x$PLATFORM_WIN32" = "x1" ; then
34888 COND_PLATFORM_WIN32_1
=""
34891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
34892 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
34896 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
34897 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34898 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
34901 COND_TOOLKIT_COCOA
="#"
34902 if test "x$TOOLKIT" = "xCOCOA" ; then
34903 COND_TOOLKIT_COCOA
=""
34906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
34907 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34908 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
34911 COND_TOOLKIT_GTK
="#"
34912 if test "x$TOOLKIT" = "xGTK" ; then
34913 COND_TOOLKIT_GTK
=""
34916 COND_TOOLKIT_GTK_USE_GUI_1
="#"
34917 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34918 COND_TOOLKIT_GTK_USE_GUI_1
=""
34921 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
34922 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34923 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
34926 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1
="#"
34927 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34928 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1
=""
34931 COND_TOOLKIT_MAC
="#"
34932 if test "x$TOOLKIT" = "xMAC" ; then
34933 COND_TOOLKIT_MAC
=""
34936 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
34937 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34938 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
34941 COND_TOOLKIT_MGL
="#"
34942 if test "x$TOOLKIT" = "xMGL" ; then
34943 COND_TOOLKIT_MGL
=""
34946 COND_TOOLKIT_MGL_USE_GUI_1
="#"
34947 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34948 COND_TOOLKIT_MGL_USE_GUI_1
=""
34951 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1
="#"
34952 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34953 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1
=""
34956 COND_TOOLKIT_MOTIF
="#"
34957 if test "x$TOOLKIT" = "xMOTIF" ; then
34958 COND_TOOLKIT_MOTIF
=""
34961 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
34962 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34963 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
34966 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
34967 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34968 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
34971 COND_TOOLKIT_MSW
="#"
34972 if test "x$TOOLKIT" = "xMSW" ; then
34973 COND_TOOLKIT_MSW
=""
34976 COND_TOOLKIT_MSW_USE_GUI_1
="#"
34977 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34978 COND_TOOLKIT_MSW_USE_GUI_1
=""
34981 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
34982 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34983 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
34986 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1
="#"
34987 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34988 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1
=""
34991 COND_TOOLKIT_OS2
="#"
34992 if test "x$TOOLKIT" = "xOS2" ; then
34993 COND_TOOLKIT_OS2
=""
34996 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
34997 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34998 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
35001 COND_TOOLKIT_X11
="#"
35002 if test "x$TOOLKIT" = "xX11" ; then
35003 COND_TOOLKIT_X11
=""
35006 COND_TOOLKIT_X11_USE_GUI_1
="#"
35007 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35008 COND_TOOLKIT_X11_USE_GUI_1
=""
35011 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
="#"
35012 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35013 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
=""
35017 if test "x$UNICODE" = "x1" ; then
35022 if test "x$USE_GUI" = "x0" ; then
35027 if test "x$USE_GUI" = "x1" ; then
35031 COND_USE_GUI_1_WXUNIV_0
="#"
35032 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35033 COND_USE_GUI_1_WXUNIV_0
=""
35036 COND_USE_GUI_1_WXUNIV_1
="#"
35037 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35038 COND_USE_GUI_1_WXUNIV_1
=""
35041 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35042 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35043 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35046 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35047 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35048 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35051 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35052 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35053 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35056 COND_USE_SOSYMLINKS_1
="#"
35057 if test "x$USE_SOSYMLINKS" = "x1" ; then
35058 COND_USE_SOSYMLINKS_1
=""
35061 COND_USE_SOVERLINUX_1
="#"
35062 if test "x$USE_SOVERLINUX" = "x1" ; then
35063 COND_USE_SOVERLINUX_1
=""
35066 COND_USE_SOVERSION_0
="#"
35067 if test "x$USE_SOVERSION" = "x0" ; then
35068 COND_USE_SOVERSION_0
=""
35071 COND_USE_SOVERSOLARIS_1
="#"
35072 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35073 COND_USE_SOVERSOLARIS_1
=""
35077 if test "x$WXUNIV" = "x1" ; then
35081 COND_WXUSE_EXPAT_BUILTIN
="#"
35082 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35083 COND_WXUSE_EXPAT_BUILTIN
=""
35086 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35087 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35088 COND_WXUSE_LIBJPEG_BUILTIN
=""
35091 COND_WXUSE_LIBPNG_BUILTIN
="#"
35092 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35093 COND_WXUSE_LIBPNG_BUILTIN
=""
35096 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35097 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35098 COND_WXUSE_LIBTIFF_BUILTIN
=""
35101 COND_WXUSE_ODBC_BUILTIN
="#"
35102 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35103 COND_WXUSE_ODBC_BUILTIN
=""
35106 COND_WXUSE_REGEX_BUILTIN
="#"
35107 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35108 COND_WXUSE_REGEX_BUILTIN
=""
35111 COND_WXUSE_ZLIB_BUILTIN
="#"
35112 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35113 COND_WXUSE_ZLIB_BUILTIN
=""
35116 COND_PLATFORM_MAC_1
="#"
35117 if test "x$PLATFORM_MAC" = "x1" ; then
35118 COND_PLATFORM_MAC_1
=""
35122 if test "x$SHARED" = "x1" ; then
35127 if test "x$SHARED" = "x0" ; then
35136 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35239 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35240 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35241 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35242 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35243 echo $ECHO_N "(cached) $ECHO_C" >&6
35245 cat >conftest.
make <<\_ACEOF
35247 @
echo 'ac_maketemp="$(MAKE)"'
35249 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35250 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35251 if test -n "$ac_maketemp"; then
35252 eval ac_cv_prog_make_
${ac_make}_set
=yes
35254 eval ac_cv_prog_make_
${ac_make}_set
=no
35256 rm -f conftest.
make
35258 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35259 echo "$as_me:$LINENO: result: yes" >&5
35260 echo "${ECHO_T}yes" >&6
35263 echo "$as_me:$LINENO: result: no" >&5
35264 echo "${ECHO_T}no" >&6
35265 SET_MAKE
="MAKE=${MAKE-make}"
35269 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35270 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35273 ac_config_headers
="$ac_config_headers setup.h"
35276 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35279 ac_config_commands
="$ac_config_commands default"
35283 if test "$wxUSE_GUI" = "yes"; then
35284 SUBDIRS
="samples demos utils contrib"
35285 else SUBDIRS
="samples utils"
35288 for subdir
in `echo $SUBDIRS`; do
35289 if test -d ${srcdir}/${subdir} ; then
35290 if test "$wxUSE_GUI" = "yes"; then
35291 if test ${subdir} = "samples"; then
35292 for sample
in `echo $SAMPLES_SUBDIRS`; do
35293 if test -d $srcdir/samples
/$sample; then
35294 makefiles
="samples/$sample/Makefile.in $makefiles"
35297 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35299 else if test ${subdir} = "samples"; then
35300 makefiles
="samples/console/Makefile.in"
35301 else makefiles
="utils/HelpGen/Makefile.in \
35302 utils/HelpGen/src/Makefile.in \
35303 utils/makegen/Makefile.in"
35307 for mkin
in $makefiles ; do
35308 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35309 ac_config_files
="$ac_config_files $mk"
35316 cat >confcache
<<\_ACEOF
35317 # This file is a shell script that caches the results of configure
35318 # tests run on this system so they can be shared between configure
35319 # scripts and configure runs, see configure's option --config-cache.
35320 # It is not useful on other systems. If it contains results you don't
35321 # want to keep, you may remove or edit it.
35323 # config.status only pays attention to the cache file if you give it
35324 # the --recheck option to rerun configure.
35326 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35327 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35328 # following values.
35332 # The following way of writing the cache mishandles newlines in values,
35333 # but we know of no workaround that is simple, portable, and efficient.
35334 # So, don't put newlines in cache variables' values.
35335 # Ultrix sh set writes to stderr and can't be redirected directly,
35336 # and sets the high bit in the cache file unless we assign to the vars.
35339 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35341 # `set' does not quote correctly, so add quotes (double-quote
35342 # substitution turns \\\\ into \\, and sed turns \\ into \).
35345 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35348 # `set' quotes correctly as required by POSIX, so do not add quotes.
35350 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35357 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35359 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35361 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35362 if test -w $cache_file; then
35363 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35364 cat confcache
>$cache_file
35366 echo "not updating unwritable cache $cache_file"
35371 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35372 # Let make expand exec_prefix.
35373 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35375 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35376 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35377 # trailing colons and then remove the whole line if VPATH becomes empty
35378 # (actually we leave an empty line to preserve line numbers).
35379 if test "x$srcdir" = x.
; then
35380 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35381 s/:*\$(srcdir):*/:/;
35382 s/:*\${srcdir}:*/:/;
35384 s/^\([^=]*=[ ]*\):*/\1/;
35390 DEFS
=-DHAVE_CONFIG_H
35394 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35395 # 1. Remove the extension, and $U if already installed.
35396 ac_i
=`echo "$ac_i" |
35397 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35399 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35400 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35402 LIBOBJS
=$ac_libobjs
35404 LTLIBOBJS
=$ac_ltlibobjs
35408 : ${CONFIG_STATUS=./config.status}
35409 ac_clean_files_save
=$ac_clean_files
35410 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35411 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35412 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35413 cat >$CONFIG_STATUS <<_ACEOF
35415 # Generated by $as_me.
35416 # Run this file to recreate the current configuration.
35417 # Compiler output produced by configure, useful for debugging
35418 # configure, is in config.log if it exists.
35421 ac_cs_recheck=false
35423 SHELL=\${CONFIG_SHELL-$SHELL}
35426 cat >>$CONFIG_STATUS <<\_ACEOF
35427 ## --------------------- ##
35428 ## M4sh Initialization. ##
35429 ## --------------------- ##
35431 # Be Bourne compatible
35432 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35435 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35436 # is contrary to our usage. Disable this feature.
35437 alias -g '${1+"$@"}'='"$@"'
35438 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35442 # Support unset when possible.
35443 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35450 # Work around bugs in pre-3.0 UWIN ksh.
35451 $as_unset ENV MAIL MAILPATH
35458 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35459 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35460 LC_TELEPHONE LC_TIME
35462 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35463 eval $as_var=C
; export $as_var
35469 # Required to use basename.
35470 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35476 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35477 as_basename
=basename
35483 # Name of the executable.
35484 as_me
=`$as_basename "$0" ||
35485 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35486 X"$0" : 'X\(//\)$' \| \
35487 X"$0" : 'X\(/\)$' \| \
35488 . : '\(.\)' 2>/dev/null ||
35490 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35491 /^X\/\(\/\/\)$/{ s//\1/; q; }
35492 /^X\/\(\/\).*/{ s//\1/; q; }
35496 # PATH needs CR, and LINENO needs CR and PATH.
35497 # Avoid depending upon Character Ranges.
35498 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35499 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35500 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35501 as_cr_digits
='0123456789'
35502 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35504 # The user is always right.
35505 if test "${PATH_SEPARATOR+set}" != set; then
35506 echo "#! /bin/sh" >conf$$.sh
35507 echo "exit 0" >>conf$$.sh
35509 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35518 as_lineno_1
=$LINENO
35519 as_lineno_2
=$LINENO
35520 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35521 test "x$as_lineno_1" != "x$as_lineno_2" &&
35522 test "x$as_lineno_3" = "x$as_lineno_2" || {
35523 # Find who we are. Look in the path if we contain no path at all
35526 *[\\/]* ) as_myself
=$0 ;;
35527 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35528 for as_dir
in $PATH
35531 test -z "$as_dir" && as_dir
=.
35532 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35537 # We did not find ourselves, most probably we were run as `sh COMMAND'
35538 # in which case we are not to be found in the path.
35539 if test "x$as_myself" = x
; then
35542 if test ! -f "$as_myself"; then
35543 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35544 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35545 { (exit 1); exit 1; }; }
35547 case $CONFIG_SHELL in
35549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35550 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35553 test -z "$as_dir" && as_dir
=.
35554 for as_base
in sh bash ksh sh5
; do
35557 if ("$as_dir/$as_base" -c '
35558 as_lineno_1=$LINENO
35559 as_lineno_2=$LINENO
35560 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35561 test "x$as_lineno_1" != "x$as_lineno_2" &&
35562 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35563 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35564 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35565 CONFIG_SHELL
=$as_dir/$as_base
35566 export CONFIG_SHELL
35567 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35575 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35576 # uniformly replaced by the line number. The first 'sed' inserts a
35577 # line-number line before each line; the second 'sed' does the real
35578 # work. The second script uses 'N' to pair each line-number line
35579 # with the numbered line, and appends trailing '-' during
35580 # substitution so that $LINENO is not a special case at line end.
35581 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35582 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35583 sed '=' <$as_myself |
35588 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35591 s,^['$as_cr_digits']*\n,,
35592 ' >$as_me.lineno
&&
35593 chmod +x
$as_me.lineno
||
35594 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35595 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35596 { (exit 1); exit 1; }; }
35598 # Don't try to exec as it changes $[0], causing all sort of problems
35599 # (the dirname of $[0] is not the place where we might find the
35600 # original and so on. Autoconf is especially sensible to this).
35602 # Exit status is that of the last command.
35607 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35608 *c
*,-n*) ECHO_N
= ECHO_C
='
35610 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35611 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35614 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35620 rm -f conf$$ conf$$.exe conf$$.
file
35622 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35623 # We could just check for DJGPP; but this test a) works b) is more generic
35624 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35625 if test -f conf$$.exe
; then
35626 # Don't use ln at all; we don't have any links
35631 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35636 rm -f conf$$ conf$$.exe conf$$.
file
35638 if mkdir -p .
2>/dev
/null
; then
35644 as_executable_p
="test -f"
35646 # Sed expression to map a string onto a valid CPP name.
35647 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35649 # Sed expression to map a string onto a valid variable name.
35650 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35654 # We need space, tab and new line, in precisely that order.
35664 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35665 # report actual input values of CONFIG_FILES etc. instead of their
35666 # values after options handling. Logging --version etc. is OK.
35670 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35671 ## Running $as_me. ##
35676 This file was extended by wxWindows $as_me 2.5.0, which was
35677 generated by GNU Autoconf 2.57. Invocation command line was
35679 CONFIG_FILES = $CONFIG_FILES
35680 CONFIG_HEADERS = $CONFIG_HEADERS
35681 CONFIG_LINKS = $CONFIG_LINKS
35682 CONFIG_COMMANDS = $CONFIG_COMMANDS
35686 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35690 # Files that config.status was made for.
35691 if test -n "$ac_config_files"; then
35692 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35695 if test -n "$ac_config_headers"; then
35696 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35699 if test -n "$ac_config_links"; then
35700 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35703 if test -n "$ac_config_commands"; then
35704 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35707 cat >>$CONFIG_STATUS <<\_ACEOF
35710 \`$as_me' instantiates files from templates according to the
35711 current configuration.
35713 Usage: $0 [OPTIONS] [FILE]...
35715 -h, --help print this help, then exit
35716 -V, --version print version number, then exit
35717 -q, --quiet do not print progress messages
35718 -d, --debug don't remove temporary files
35719 --recheck update $as_me by reconfiguring in the same conditions
35720 --file=FILE[:TEMPLATE]
35721 instantiate the configuration file FILE
35722 --header=FILE[:TEMPLATE]
35723 instantiate the configuration header FILE
35725 Configuration files:
35728 Configuration headers:
35731 Configuration commands:
35734 Report bugs to <bug-autoconf@gnu.org>."
35737 cat >>$CONFIG_STATUS <<_ACEOF
35739 wxWindows config.status 2.5.0
35740 configured by $0, generated by GNU Autoconf 2.57,
35741 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35743 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35744 Free Software Foundation, Inc.
35745 This config.status script is free software; the Free Software Foundation
35746 gives unlimited permission to copy, distribute and modify it."
35751 cat >>$CONFIG_STATUS <<\_ACEOF
35752 # If no file are specified by the user, then we need to provide default
35753 # value. By we need to know if files were specified by the user.
35759 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35760 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35768 *) # This is not an option, so the user has probably given explicit
35771 ac_need_defaults
=false
;;
35775 # Handling of the options.
35777 cat >>$CONFIG_STATUS <<\_ACEOF
35778 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35780 --version | --vers* | -V )
35781 echo "$ac_cs_version"; exit 0 ;;
35783 # Conflict between --help and --header
35784 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35785 Try \`$0 --help' for more information." >&5
35786 echo "$as_me: error: ambiguous option: $1
35787 Try \`$0 --help' for more information." >&2;}
35788 { (exit 1); exit 1; }; };;
35789 --help | --hel | -h )
35790 echo "$ac_cs_usage"; exit 0 ;;
35791 --debug | --d* | -d )
35793 --file | --fil | --fi | --f )
35795 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35796 ac_need_defaults
=false
;;
35797 --header | --heade | --head | --hea )
35799 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35800 ac_need_defaults
=false
;;
35801 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35802 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35805 # This is an error.
35806 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35807 Try \`$0 --help' for more information." >&5
35808 echo "$as_me: error: unrecognized option: $1
35809 Try \`$0 --help' for more information." >&2;}
35810 { (exit 1); exit 1; }; } ;;
35812 *) ac_config_targets
="$ac_config_targets $1" ;;
35818 ac_configure_extra_args
=
35820 if $ac_cs_silent; then
35822 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35826 cat >>$CONFIG_STATUS <<_ACEOF
35827 if \$ac_cs_recheck; then
35828 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35829 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35834 cat >>$CONFIG_STATUS <<_ACEOF
35836 # INIT-COMMANDS section.
35840 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35849 cat >>$CONFIG_STATUS <<\_ACEOF
35850 for ac_config_target
in $ac_config_targets
35852 case "$ac_config_target" in
35853 # Handling of arguments.
35854 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
35855 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
35856 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35857 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
35858 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
35859 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
35860 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35861 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35862 { (exit 1); exit 1; }; };;
35866 # If the user did not use the arguments to specify the items to instantiate,
35867 # then the envvar interface is used. Set only those that are not.
35868 # We use the long form for the default assignment because of an extremely
35869 # bizarre bug on SunOS 4.1.3.
35870 if $ac_need_defaults; then
35871 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35872 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35873 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35876 # Have a temporary directory for convenience. Make it in the build tree
35877 # simply because there is no reason to put it here, and in addition,
35878 # creating and moving files from /tmp can sometimes cause problems.
35879 # Create a temporary directory, and hook for its removal unless debugging.
35882 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35883 trap '{ (exit 1); exit 1; }' 1 2 13 15
35886 # Create a (secure) tmp directory for tmp files.
35889 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35890 test -n "$tmp" && test -d "$tmp"
35893 tmp
=.
/confstat$$
-$RANDOM
35894 (umask 077 && mkdir $tmp)
35897 echo "$me: cannot create a temporary directory in ." >&2
35898 { (exit 1); exit 1; }
35903 cat >>$CONFIG_STATUS <<_ACEOF
35906 # CONFIG_FILES section.
35909 # No need to generate the scripts if there are no CONFIG_FILES.
35910 # This happens for instance when ./config.status config.h
35911 if test -n "\$CONFIG_FILES"; then
35912 # Protect against being on the right side of a sed subst in config.status.
35913 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35914 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35915 s,@SHELL@,$SHELL,;t t
35916 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35917 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35918 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35919 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35920 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35921 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35922 s,@exec_prefix@,$exec_prefix,;t t
35923 s,@prefix@,$prefix,;t t
35924 s,@program_transform_name@,$program_transform_name,;t t
35925 s,@bindir@,$bindir,;t t
35926 s,@sbindir@,$sbindir,;t t
35927 s,@libexecdir@,$libexecdir,;t t
35928 s,@datadir@,$datadir,;t t
35929 s,@sysconfdir@,$sysconfdir,;t t
35930 s,@sharedstatedir@,$sharedstatedir,;t t
35931 s,@localstatedir@,$localstatedir,;t t
35932 s,@libdir@,$libdir,;t t
35933 s,@includedir@,$includedir,;t t
35934 s,@oldincludedir@,$oldincludedir,;t t
35935 s,@infodir@,$infodir,;t t
35936 s,@mandir@,$mandir,;t t
35937 s,@build_alias@,$build_alias,;t t
35938 s,@host_alias@,$host_alias,;t t
35939 s,@target_alias@,$target_alias,;t t
35940 s,@DEFS@,$DEFS,;t t
35941 s,@ECHO_C@,$ECHO_C,;t t
35942 s,@ECHO_N@,$ECHO_N,;t t
35943 s,@ECHO_T@,$ECHO_T,;t t
35944 s,@LIBS@,$LIBS,;t t
35945 s,@build@,$build,;t t
35946 s,@build_cpu@,$build_cpu,;t t
35947 s,@build_vendor@,$build_vendor,;t t
35948 s,@build_os@,$build_os,;t t
35949 s,@host@,$host,;t t
35950 s,@host_cpu@,$host_cpu,;t t
35951 s,@host_vendor@,$host_vendor,;t t
35952 s,@host_os@,$host_os,;t t
35953 s,@target@,$target,;t t
35954 s,@target_cpu@,$target_cpu,;t t
35955 s,@target_vendor@,$target_vendor,;t t
35956 s,@target_os@,$target_os,;t t
35958 s,@CFLAGS@,$CFLAGS,;t t
35959 s,@LDFLAGS@,$LDFLAGS,;t t
35960 s,@CPPFLAGS@,$CPPFLAGS,;t t
35961 s,@ac_ct_CC@,$ac_ct_CC,;t t
35962 s,@EXEEXT@,$EXEEXT,;t t
35963 s,@OBJEXT@,$OBJEXT,;t t
35965 s,@EGREP@,$EGREP,;t t
35967 s,@CXXFLAGS@,$CXXFLAGS,;t t
35968 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35969 s,@RANLIB@,$RANLIB,;t t
35970 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35972 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35973 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35974 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35975 s,@STRIP@,$STRIP,;t t
35976 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35977 s,@YACC@,$YACC,;t t
35979 s,@LEXLIB@,$LEXLIB,;t t
35980 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35981 s,@LN_S@,$LN_S,;t t
35982 s,@CXXCPP@,$CXXCPP,;t t
35983 s,@subdirs@,$subdirs,;t t
35984 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35985 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35986 s,@GTK_LIBS@,$GTK_LIBS,;t t
35987 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35988 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35989 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35990 s,@X_CFLAGS@,$X_CFLAGS,;t t
35991 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35992 s,@X_LIBS@,$X_LIBS,;t t
35993 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35994 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35995 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35996 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35997 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35998 s,@RESCOMP@,$RESCOMP,;t t
35999 s,@DEREZ@,$DEREZ,;t t
36000 s,@SETFILE@,$SETFILE,;t t
36001 s,@LIBICONV@,$LIBICONV,;t t
36002 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36003 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36004 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36005 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36006 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36007 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36008 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36009 s,@VENDOR@,$VENDOR,;t t
36010 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36011 s,@WXUNIV@,$WXUNIV,;t t
36012 s,@MONOLITHIC@,$MONOLITHIC,;t t
36013 s,@EXTRALIBS@,$EXTRALIBS,;t t
36014 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36015 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36016 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36017 s,@UNICODE@,$UNICODE,;t t
36018 s,@BUILD@,$BUILD,;t t
36019 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36020 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36021 s,@SHARED@,$SHARED,;t t
36022 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36023 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36024 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36025 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36026 s,@SET_MAKE@,$SET_MAKE,;t t
36027 s,@MAKE_SET@,$MAKE_SET,;t t
36028 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36029 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36030 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36031 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36032 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36033 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36034 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36035 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36036 s,@DLLPREFIX@,$DLLPREFIX,;t t
36037 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36038 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36039 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36040 s,@PIC_FLAG@,$PIC_FLAG,;t t
36041 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36042 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36043 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36044 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36045 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36046 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36047 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36048 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36049 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36050 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36051 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36052 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36053 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36054 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36055 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36056 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36057 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36058 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36059 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36060 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36061 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36062 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36063 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36064 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36065 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36066 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36067 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36068 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36069 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36070 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36071 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36072 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36073 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36074 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36075 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36076 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36077 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36078 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36079 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36080 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36081 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36082 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36083 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36084 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36085 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36086 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
36087 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36088 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36089 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36090 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36091 s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
36092 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36093 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36094 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36095 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36096 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36097 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36098 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
36099 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36100 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36101 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36102 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36103 s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
36104 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36105 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36106 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36107 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36108 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36109 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36110 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36111 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36112 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36113 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36114 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36115 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36116 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36117 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36118 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36119 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36120 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36121 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36122 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36123 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36124 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36125 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36126 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36127 s,@LEX_STEM@,$LEX_STEM,;t t
36128 s,@PATH_IFS@,$PATH_IFS,;t t
36129 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36130 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36131 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36132 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36133 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36134 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36135 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36136 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36137 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36138 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36139 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36140 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36141 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36142 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36143 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36144 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36145 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36146 s,@WX_ALL@,$WX_ALL,;t t
36147 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36148 s,@SHARED_LD@,$SHARED_LD,;t t
36149 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36150 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36151 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36152 s,@USE_GUI@,$USE_GUI,;t t
36153 s,@AFMINSTALL@,$AFMINSTALL,;t t
36154 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36155 s,@TOOLKIT@,$TOOLKIT,;t t
36156 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36157 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36158 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36159 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36160 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36161 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36162 s,@cross_compiling@,$cross_compiling,;t t
36163 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36164 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36165 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36166 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36167 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36168 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36169 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36170 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36171 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36172 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36173 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36174 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36175 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36176 s,@GUIDIST@,$GUIDIST,;t t
36177 s,@PORT_FILES@,$PORT_FILES,;t t
36178 s,@DISTDIR@,$DISTDIR,;t t
36179 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36180 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36181 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36182 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36183 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36184 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36185 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36186 s,@RESFLAGS@,$RESFLAGS,;t t
36187 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36188 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36189 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36190 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36191 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36192 s,@MACRESCOMP@,$MACRESCOMP,;t t
36193 s,@MACSETFILE@,$MACSETFILE,;t t
36194 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36196 s,@DLLTOOL@,$DLLTOOL,;t t
36200 s,@MAKEINFO@,$MAKEINFO,;t t
36201 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36202 s,@ESD_LINK@,$ESD_LINK,;t t
36203 s,@LIBOBJS@,$LIBOBJS,;t t
36204 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36209 cat >>$CONFIG_STATUS <<\_ACEOF
36210 # Split the substitutions into bite-sized pieces for seds with
36211 # small command number limits, like on Digital OSF/1 and HP-UX.
36212 ac_max_sed_lines
=48
36213 ac_sed_frag
=1 # Number of current file.
36214 ac_beg
=1 # First line for current file.
36215 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36218 while $ac_more_lines; do
36219 if test $ac_beg -gt 1; then
36220 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36222 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36224 if test ! -s $tmp/subs.frag
; then
36225 ac_more_lines
=false
36227 # The purpose of the label and of the branching condition is to
36228 # speed up the sed processing (if there are no `@' at all, there
36229 # is no need to browse any of the substitutions).
36230 # These are the two extra sed commands mentioned above.
36232 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36233 if test -z "$ac_sed_cmds"; then
36234 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36236 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36238 ac_sed_frag
=`expr $ac_sed_frag + 1`
36240 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36243 if test -z "$ac_sed_cmds"; then
36246 fi # test -n "$CONFIG_FILES"
36249 cat >>$CONFIG_STATUS <<\_ACEOF
36250 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36251 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36253 - | *:- | *:-:* ) # input from stdin
36255 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36256 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36257 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36258 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36259 * ) ac_file_in
=$ac_file.
in ;;
36262 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36263 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36264 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36265 X"$ac_file" : 'X\(//\)[^/]' \| \
36266 X"$ac_file" : 'X\(//\)$' \| \
36267 X"$ac_file" : 'X\(/\)' \| \
36268 . : '\(.\)' 2>/dev/null ||
36270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36272 /^X\(\/\/\)$/{ s//\1/; q; }
36273 /^X\(\/\).*/{ s//\1/; q; }
36275 { if $as_mkdir_p; then
36280 while test ! -d "$as_dir"; do
36281 as_dirs
="$as_dir $as_dirs"
36282 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36283 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36284 X"$as_dir" : 'X\(//\)[^/]' \| \
36285 X"$as_dir" : 'X\(//\)$' \| \
36286 X"$as_dir" : 'X\(/\)' \| \
36287 . : '\(.\)' 2>/dev/null ||
36289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36291 /^X\(\/\/\)$/{ s//\1/; q; }
36292 /^X\(\/\).*/{ s//\1/; q; }
36295 test ! -n "$as_dirs" || mkdir $as_dirs
36296 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36297 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36298 { (exit 1); exit 1; }; }; }
36302 if test "$ac_dir" != .
; then
36303 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36304 # A "../" for each directory in $ac_dir_suffix.
36305 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36307 ac_dir_suffix
= ac_top_builddir
=
36311 .
) # No --srcdir option. We are building in place.
36313 if test -z "$ac_top_builddir"; then
36316 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36318 [\\/]* | ?
:[\\/]* ) # Absolute path.
36319 ac_srcdir
=$srcdir$ac_dir_suffix;
36320 ac_top_srcdir
=$srcdir ;;
36321 *) # Relative path.
36322 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36323 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36325 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36327 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36328 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36329 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36330 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36334 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36335 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36338 if test x
"$ac_file" != x
-; then
36339 { echo "$as_me:$LINENO: creating $ac_file" >&5
36340 echo "$as_me: creating $ac_file" >&6;}
36343 # Let's still pretend it is `configure' which instantiates (i.e., don't
36344 # use $as_me), people would be surprised to read:
36345 # /* config.h. Generated by config.status. */
36346 if test x
"$ac_file" = x
-; then
36349 configure_input
="$ac_file. "
36351 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36352 sed 's,.*/,,'` by configure."
36354 # First look for the input files in the build tree, otherwise in the
36356 ac_file_inputs
=`IFS=:
36357 for f in $ac_file_in; do
36359 -) echo $tmp/stdin ;;
36361 # Absolute (can't be DOS-style, as IFS=:)
36362 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36363 echo "$as_me: error: cannot find input file: $f" >&2;}
36364 { (exit 1); exit 1; }; }
36367 if test -f "$f"; then
36370 elif test -f "$srcdir/$f"; then
36375 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36376 echo "$as_me: error: cannot find input file: $f" >&2;}
36377 { (exit 1); exit 1; }; }
36380 done` || { (exit 1); exit 1; }
36382 cat >>$CONFIG_STATUS <<_ACEOF
36386 cat >>$CONFIG_STATUS <<\_ACEOF
36388 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36389 s
,@configure_input@
,$configure_input,;t t
36390 s
,@srcdir@
,$ac_srcdir,;t t
36391 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36392 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36393 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36394 s
,@builddir@
,$ac_builddir,;t t
36395 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36396 s
,@top_builddir@
,$ac_top_builddir,;t t
36397 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36398 s
,@INSTALL@
,$ac_INSTALL,;t t
36399 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36401 if test x"$ac_file" != x-; then
36402 mv $tmp/out $ac_file
36410 cat >>$CONFIG_STATUS <<\_ACEOF
36413 # CONFIG_HEADER section.
36416 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36417 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36419 # ac_d sets the value in "#define NAME VALUE" lines.
36420 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36421 ac_dB
='[ ].*$,\1#\2'
36424 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36425 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36426 ac_uB
='$,\1#\2define\3'
36430 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36431 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36433 - | *:- | *:-:* ) # input from stdin
36435 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36436 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36437 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36438 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36439 * ) ac_file_in
=$ac_file.
in ;;
36442 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36443 echo "$as_me: creating $ac_file" >&6;}
36445 # First look for the input files in the build tree, otherwise in the
36447 ac_file_inputs
=`IFS=:
36448 for f in $ac_file_in; do
36450 -) echo $tmp/stdin ;;
36452 # Absolute (can't be DOS-style, as IFS=:)
36453 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36454 echo "$as_me: error: cannot find input file: $f" >&2;}
36455 { (exit 1); exit 1; }; }
36458 if test -f "$f"; then
36461 elif test -f "$srcdir/$f"; then
36466 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36467 echo "$as_me: error: cannot find input file: $f" >&2;}
36468 { (exit 1); exit 1; }; }
36471 done` || { (exit 1); exit 1; }
36472 # Remove the trailing spaces.
36473 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36477 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36478 # `conftest.undefs', that substitutes the proper values into
36479 # config.h.in to produce config.h. The first handles `#define'
36480 # templates, and the second `#undef' templates.
36481 # And first: Protect against being on the right side of a sed subst in
36482 # config.status. Protect against being in an unquoted here document
36483 # in config.status.
36484 rm -f conftest.defines conftest.undefs
36485 # Using a here document instead of a string reduces the quoting nightmare.
36486 # Putting comments in sed scripts is not portable.
36488 # `end' is used to avoid that the second main sed command (meant for
36489 # 0-ary CPP macros) applies to n-ary macro definitions.
36490 # See the Autoconf documentation for `clear'.
36491 cat >confdef2sed.
sed <<\_ACEOF
36496 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36498 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36501 # If some macros were called several times there might be several times
36502 # the same #defines, which is useless. Nevertheless, we may not want to
36503 # sort them, since we want the *last* AC-DEFINE to be honored.
36504 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36505 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36506 rm -f confdef2sed.sed
36508 # This sed command replaces #undef with comments. This is necessary, for
36509 # example, in the case of _POSIX_SOURCE, which is predefined and required
36510 # on some systems where configure will not decide to define it.
36511 cat >>conftest.undefs <<\_ACEOF
36512 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36515 # Break up conftest.defines because some shells have a limit on the size
36516 # of here documents, and old seds have small limits too (100 cmds).
36517 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36518 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36519 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36520 echo ' :' >>$CONFIG_STATUS
36521 rm -f conftest.tail
36522 while grep . conftest.defines >/dev/null
36524 # Write a limited-size here document to $tmp/defines.sed.
36525 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36526 # Speed up: don't consider the non `#define' lines.
36527 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36528 # Work around the forget-to-reset-the-flag bug.
36529 echo 't clr' >>$CONFIG_STATUS
36530 echo ': clr' >>$CONFIG_STATUS
36531 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36533 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36535 mv $tmp/out $tmp/in
36537 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36538 rm -f conftest.defines
36539 mv conftest.
tail conftest.defines
36541 rm -f conftest.defines
36542 echo ' fi # grep' >>$CONFIG_STATUS
36543 echo >>$CONFIG_STATUS
36545 # Break up conftest.undefs because some shells have a limit on the size
36546 # of here documents, and old seds have small limits too (100 cmds).
36547 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36548 rm -f conftest.
tail
36549 while grep . conftest.undefs
>/dev
/null
36551 # Write a limited-size here document to $tmp/undefs.sed.
36552 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36553 # Speed up: don't consider the non
`#undef'
36554 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36555 # Work around the forget-to-reset-the-flag bug.
36556 echo 't clr' >>$CONFIG_STATUS
36557 echo ': clr' >>$CONFIG_STATUS
36558 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36560 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36562 mv $tmp/out $tmp/in
36564 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36565 rm -f conftest.undefs
36566 mv conftest.tail conftest.undefs
36568 rm -f conftest.undefs
36570 cat >>$CONFIG_STATUS <<\_ACEOF
36571 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36572 # use $as_me), people would be surprised to read:
36573 # /* config.h. Generated by config.status. */
36574 if test x
"$ac_file" = x
-; then
36575 echo "/* Generated by configure. */" >$tmp/config.h
36577 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36579 cat $tmp/in >>$tmp/config.h
36581 if test x
"$ac_file" != x
-; then
36582 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36583 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36584 echo "$as_me: $ac_file is unchanged" >&6;}
36586 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36587 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36588 X"$ac_file" : 'X\(//\)[^/]' \| \
36589 X"$ac_file" : 'X\(//\)$' \| \
36590 X"$ac_file" : 'X\(/\)' \| \
36591 . : '\(.\)' 2>/dev/null ||
36593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36594 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36595 /^X\(\/\/\)$/{ s//\1/; q; }
36596 /^X\(\/\).*/{ s//\1/; q; }
36598 { if $as_mkdir_p; then
36603 while test ! -d "$as_dir"; do
36604 as_dirs
="$as_dir $as_dirs"
36605 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36606 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36607 X"$as_dir" : 'X\(//\)[^/]' \| \
36608 X"$as_dir" : 'X\(//\)$' \| \
36609 X"$as_dir" : 'X\(/\)' \| \
36610 . : '\(.\)' 2>/dev/null ||
36612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36613 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36614 /^X\(\/\/\)$/{ s//\1/; q; }
36615 /^X\(\/\).*/{ s//\1/; q; }
36618 test ! -n "$as_dirs" || mkdir $as_dirs
36619 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36620 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36621 { (exit 1); exit 1; }; }; }
36624 mv $tmp/config.h
$ac_file
36628 rm -f $tmp/config.h
36632 cat >>$CONFIG_STATUS <<\_ACEOF
36635 # CONFIG_COMMANDS section.
36637 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36638 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36639 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36640 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36641 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36642 X"$ac_dest" : 'X\(//\)[^/]' \| \
36643 X"$ac_dest" : 'X\(//\)$' \| \
36644 X"$ac_dest" : 'X\(/\)' \| \
36645 . : '\(.\)' 2>/dev/null ||
36647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36649 /^X\(\/\/\)$/{ s//\1/; q; }
36650 /^X\(\/\).*/{ s//\1/; q; }
36654 if test "$ac_dir" != .
; then
36655 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36656 # A "../" for each directory in $ac_dir_suffix.
36657 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36659 ac_dir_suffix
= ac_top_builddir
=
36663 .
) # No --srcdir option. We are building in place.
36665 if test -z "$ac_top_builddir"; then
36668 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36670 [\\/]* | ?
:[\\/]* ) # Absolute path.
36671 ac_srcdir
=$srcdir$ac_dir_suffix;
36672 ac_top_srcdir
=$srcdir ;;
36673 *) # Relative path.
36674 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36675 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36677 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36679 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36680 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36681 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36682 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36685 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36686 echo "$as_me: executing $ac_dest commands" >&6;}
36689 if test ! -h wx
-config; then
36691 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36692 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36695 if test ! -d lib
; then
36698 if test ! -d lib
/wx
; then
36701 if test ! -d lib
/wx
/include
; then
36702 mkdir lib
/wx
/include
36704 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36705 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36707 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36708 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36710 if test -f setup.h
; then
36711 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36718 cat >>$CONFIG_STATUS <<\_ACEOF
36720 { (exit 0); exit 0; }
36722 chmod +x
$CONFIG_STATUS
36723 ac_clean_files
=$ac_clean_files_save
36726 # configure is writing to config.log, and then calls config.status.
36727 # config.status does its own redirection, appending to config.log.
36728 # Unfortunately, on DOS this fails, as config.log is still kept open
36729 # by configure, so config.status won't be able to write to it; its
36730 # output is simply discarded. So we exec the FD to /dev/null,
36731 # effectively closing config.log, so it can be properly (re)opened and
36732 # appended to by config.status. When coming back to configure, we
36733 # need to make the FD available again.
36734 if test "$no_create" != yes; then
36736 ac_config_status_args
=
36737 test "$silent" = yes &&
36738 ac_config_status_args
="$ac_config_status_args --quiet"
36740 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36742 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36743 # would make configure fail if this is the last instruction.
36744 $ac_cs_success || { (exit 1); exit 1; }
36748 # CONFIG_SUBDIRS section.
36750 if test "$no_recursion" != yes; then
36752 # Remove --cache-file and --srcdir arguments so they do not pile up.
36753 ac_sub_configure_args
=
36755 for ac_arg
in $ac_configure_args; do
36756 if test -n "$ac_prev"; then
36761 -cache-file | --cache-file | --cache-fil | --cache-fi \
36762 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36763 ac_prev
=cache_file
;;
36764 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36765 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36768 --config-cache | -C)
36770 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36772 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36774 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36776 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36778 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
36782 # Always prepend --prefix to ensure using the same prefix
36783 # in subdir configurations.
36784 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
36787 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
36789 # Do not complain, so a configure script can configure whichever
36790 # parts of a large source tree are present.
36791 test -d $srcdir/$ac_dir || continue
36793 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36794 echo "$as_me: configuring in $ac_dir" >&6;}
36795 { if $as_mkdir_p; then
36800 while test ! -d "$as_dir"; do
36801 as_dirs
="$as_dir $as_dirs"
36802 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36803 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36804 X"$as_dir" : 'X\(//\)[^/]' \| \
36805 X"$as_dir" : 'X\(//\)$' \| \
36806 X"$as_dir" : 'X\(/\)' \| \
36807 . : '\(.\)' 2>/dev/null ||
36809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36810 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36811 /^X\(\/\/\)$/{ s//\1/; q; }
36812 /^X\(\/\).*/{ s//\1/; q; }
36815 test ! -n "$as_dirs" || mkdir $as_dirs
36816 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36817 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36818 { (exit 1); exit 1; }; }; }
36822 if test "$ac_dir" != .
; then
36823 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36824 # A "../" for each directory in $ac_dir_suffix.
36825 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36827 ac_dir_suffix
= ac_top_builddir
=
36831 .
) # No --srcdir option. We are building in place.
36833 if test -z "$ac_top_builddir"; then
36836 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36838 [\\/]* | ?
:[\\/]* ) # Absolute path.
36839 ac_srcdir
=$srcdir$ac_dir_suffix;
36840 ac_top_srcdir
=$srcdir ;;
36841 *) # Relative path.
36842 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36843 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36845 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36847 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36848 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36849 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36850 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36855 # Check for guested configure; otherwise get Cygnus style configure.
36856 if test -f $ac_srcdir/configure.gnu
; then
36857 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
36858 elif test -f $ac_srcdir/configure
; then
36859 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
36860 elif test -f $ac_srcdir/configure.
in; then
36861 ac_sub_configure
=$ac_configure
36863 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36864 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36868 # The recursion is here.
36869 if test -n "$ac_sub_configure"; then
36870 # Make the cache file name correct relative to the subdirectory.
36871 case $cache_file in
36872 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
36873 *) # Relative path.
36874 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
36877 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36878 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36879 # The eval makes quoting arguments work.
36880 eval $ac_sub_configure $ac_sub_configure_args \
36881 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
36882 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36883 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36884 { (exit 1); exit 1; }; }
36893 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36895 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36896 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36898 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36899 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36900 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36902 echo " What level of wxWindows compatibility should be enabled?"
36903 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36904 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36905 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36907 echo " Which libraries should wxWindows use?"
36908 echo " jpeg ${wxUSE_LIBJPEG-none}"
36909 echo " png ${wxUSE_LIBPNG-none}"
36910 echo " regex ${wxUSE_REGEX}"
36911 echo " tiff ${wxUSE_LIBTIFF-none}"
36912 echo " zlib ${wxUSE_ZLIB}"
36913 echo " odbc ${wxUSE_ODBC}"
36914 echo " expat ${wxUSE_EXPAT}"