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 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_RELEASE 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_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 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 COND_WXUSE_EXPAT_BUILTIN LEX_STEM PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME 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_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 --disable-largefile omit support for large files
1028 --disable-gtktest do not try to compile and run a test GTK+ program
1029 --disable-gtktest Do not try to compile and run a test GTK program
1032 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1033 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1035 --with-motif use Motif/Lesstif
1036 --with-mac use Mac OS X
1037 --with-cocoa use Cocoa
1038 --with-wine use Wine
1039 --with-msw use MS-Windows
1040 --with-pm use OS/2 Presentation Manager
1041 --with-mgl use SciTech MGL
1042 --with-microwin use MicroWindows
1044 --with-libpng use libpng (PNG image format)
1045 --with-libjpeg use libjpeg (JPEG file format)
1046 --with-libtiff use libtiff (TIFF file format)
1047 --with-opengl use OpenGL (or Mesa)
1048 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1049 --with-regex enable support for wxRegEx class
1050 --with-zlib use zlib for LZW compression
1051 --with-odbc use the IODBC and wxODBC classes
1052 --with-expat enable XML support using expat parser
1053 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1054 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1055 --with-x use the X Window System
1056 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1058 Some influential environment variables:
1059 CC C compiler command
1060 CFLAGS C compiler flags
1061 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1062 nonstandard directory <lib dir>
1063 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1064 headers in a nonstandard directory <include dir>
1066 CXX C++ compiler command
1067 CXXFLAGS C++ compiler flags
1068 CXXCPP C++ preprocessor
1070 Use these variables to override the choices made by `configure' or to
help
1071 it to
find libraries and programs with nonstandard names
/locations.
1073 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1077 if test "$ac_init_help" = "recursive"; then
1078 # If there are subdirs, report their specific --help.
1080 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1081 test -d $ac_dir || continue
1084 if test "$ac_dir" != .
; then
1085 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1086 # A "../" for each directory in $ac_dir_suffix.
1087 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1089 ac_dir_suffix
= ac_top_builddir
=
1093 .
) # No --srcdir option. We are building in place.
1095 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1100 [\\/]* | ?
:[\\/]* ) # Absolute path.
1101 ac_srcdir
=$srcdir$ac_dir_suffix;
1102 ac_top_srcdir
=$srcdir ;;
1104 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1105 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1107 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1109 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
1110 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1111 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1112 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115 # Check for guested configure; otherwise get Cygnus style configure.
1116 if test -f $ac_srcdir/configure.gnu
; then
1118 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1119 elif test -f $ac_srcdir/configure
; then
1121 $SHELL $ac_srcdir/configure
--help=recursive
1122 elif test -f $ac_srcdir/configure.ac
||
1123 test -f $ac_srcdir/configure.
in; then
1125 $ac_configure --help
1127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1136 wxWindows configure
2.5.0
1137 generated by GNU Autoconf
2.57
1139 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1140 Free Software Foundation
, Inc.
1141 This configure
script is free software
; the Free Software Foundation
1142 gives unlimited permission to copy
, distribute and modify it.
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1151 It was created by wxWindows $as_me 2.5.0, which was
1152 generated by GNU Autoconf 2.57. Invocation command line was
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1172 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1173 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1176 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1177 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1178 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1186 test -z "$as_dir" && as_dir
=.
1187 echo "PATH: $as_dir"
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1211 ac_must_keep_next
=false
1217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1227 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true
; then
1229 ac_must_keep_next
=false
# Got value, back to normal.
1232 *=* | --config-cache | -C | -disable-* | --disable-* \
1233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235 | -with-* | --with-* | -without-* | --without-* | --x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 -* ) ac_must_keep_next
=true
;;
1243 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1250 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1251 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log. We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259 # Save into config.log some information that might help in debugging.
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1269 # The following way of writing the cache mishandles newlines in values,
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1292 for ac_var in $ac_subst_vars
1294 eval ac_val=$`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -n "$ac_subst_files"; then
1306 for ac_var in $ac_subst_files
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1314 if test -s confdefs.h; then
1321 sed "/^$/d" confdefs.h | sort
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1328 rm -f core core.* *.core &&
1329 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 for ac_signal
in 1 2 13 15; do
1333 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest
* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 # Predefined preprocessor variables.
1344 cat >>confdefs.h
<<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 cat >>confdefs.h
<<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 cat >>confdefs.h
<<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 cat >>confdefs.h
<<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 cat >>confdefs.h
<<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE
; then
1373 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1375 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 for ac_site_file
in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's/^/| /' "$ac_site_file" >&5
1387 if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1394 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1395 *) . .
/$cache_file;;
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1404 # Check that the precious variables saved in the cache have kept the same
1406 ac_cache_corrupted
=false
1407 for ac_var
in `(set) 2>&1 |
1408 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1410 eval ac_new_set
=\
$ac_env_${ac_var}_set
1411 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val
="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417 ac_cache_corrupted
=: ;;
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted
=: ;;
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1426 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1427 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1428 echo "$as_me: former value: $ac_old_val" >&2;}
1429 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1430 echo "$as_me: current value: $ac_new_val" >&2;}
1431 ac_cache_corrupted
=:
1434 # Pass precious variables to config.status.
1435 if test "$ac_new_set" = set; then
1437 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1438 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1439 *) ac_arg
=$ac_var=$ac_new_val ;;
1441 case " $ac_configure_args " in
1442 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1443 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1447 if $ac_cache_corrupted; then
1448 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1449 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1450 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1451 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1452 { (exit 1); exit 1; }; }
1456 ac_cpp
='$CPP $CPPFLAGS'
1457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1491 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1492 if test -f $ac_dir/install-sh; then
1494 ac_install_sh
="$ac_aux_dir/install-sh -c"
1496 elif test -f $ac_dir/install.sh
; then
1498 ac_install_sh
="$ac_aux_dir/install.sh -c"
1500 elif test -f $ac_dir/shtool
; then
1502 ac_install_sh
="$ac_aux_dir/shtool install -c"
1506 if test -z "$ac_aux_dir"; then
1507 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1508 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1509 { (exit 1); exit 1; }; }
1511 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1512 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1513 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1515 # Make sure we can run config.sub.
1516 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1517 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1518 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1519 { (exit 1); exit 1; }; }
1521 echo "$as_me:$LINENO: checking build system type" >&5
1522 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1523 if test "${ac_cv_build+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1526 ac_cv_build_alias
=$build_alias
1527 test -z "$ac_cv_build_alias" &&
1528 ac_cv_build_alias
=`$ac_config_guess`
1529 test -z "$ac_cv_build_alias" &&
1530 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1531 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1532 { (exit 1); exit 1; }; }
1533 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1534 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1535 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1536 { (exit 1); exit 1; }; }
1539 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1540 echo "${ECHO_T}$ac_cv_build" >&6
1542 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1543 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1544 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1547 echo "$as_me:$LINENO: checking host system type" >&5
1548 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1549 if test "${ac_cv_host+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6
1552 ac_cv_host_alias
=$host_alias
1553 test -z "$ac_cv_host_alias" &&
1554 ac_cv_host_alias
=$ac_cv_build_alias
1555 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1556 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1557 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1558 { (exit 1); exit 1; }; }
1561 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1562 echo "${ECHO_T}$ac_cv_host" >&6
1564 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1565 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1566 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1569 echo "$as_me:$LINENO: checking target system type" >&5
1570 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1571 if test "${ac_cv_target+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 ac_cv_target_alias
=$target_alias
1575 test "x$ac_cv_target_alias" = "x" &&
1576 ac_cv_target_alias
=$ac_cv_host_alias
1577 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1578 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1579 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1580 { (exit 1); exit 1; }; }
1583 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1584 echo "${ECHO_T}$ac_cv_target" >&6
1585 target
=$ac_cv_target
1586 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1587 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1588 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1591 # The aliases save the names the user supplied, while $host etc.
1592 # will get canonicalized.
1593 test -n "$target_alias" &&
1594 test "$program_prefix$program_suffix$program_transform_name" = \
1596 program_prefix
=${target_alias}-
1600 WX_MAJOR_VERSION_NUMBER
=2
1601 WX_MINOR_VERSION_NUMBER
=5
1604 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1605 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1607 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1622 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1628 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1634 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1636 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1638 DEFAULT_wxUSE_COCOA
=0
1642 DEFAULT_wxUSE_MICROWIN
=0
1643 DEFAULT_wxUSE_MOTIF
=0
1648 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1649 DEFAULT_DEFAULT_wxUSE_GTK
=0
1650 DEFAULT_DEFAULT_wxUSE_MAC
=0
1651 DEFAULT_DEFAULT_wxUSE_MGL
=0
1652 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1653 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1654 DEFAULT_DEFAULT_wxUSE_MSW
=0
1655 DEFAULT_DEFAULT_wxUSE_PM
=0
1656 DEFAULT_DEFAULT_wxUSE_X11
=0
1665 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1666 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1668 cat >>confdefs.h
<<\_ACEOF
1675 cat >>confdefs.h
<<\_ACEOF
1680 if test "x$TMP" = "xalpha"; then
1682 cat >>confdefs.h
<<\_ACEOF
1687 DEFAULT_DEFAULT_wxUSE_GTK
=1
1691 cat >>confdefs.h
<<\_ACEOF
1696 if test "x$TMP" = "xalpha"; then
1698 cat >>confdefs.h
<<\_ACEOF
1703 DEFAULT_DEFAULT_wxUSE_GTK
=1
1705 *-*-irix5* | *-*-irix6* )
1708 cat >>confdefs.h
<<\_ACEOF
1712 cat >>confdefs.h
<<\_ACEOF
1716 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1722 cat >>confdefs.h
<<\_ACEOF
1726 cat >>confdefs.h
<<\_ACEOF
1727 #define __SOLARIS__ 1
1730 cat >>confdefs.h
<<\_ACEOF
1734 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1741 cat >>confdefs.h
<<\_ACEOF
1745 cat >>confdefs.h
<<\_ACEOF
1749 cat >>confdefs.h
<<\_ACEOF
1753 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1758 cat >>confdefs.h
<<\_ACEOF
1759 #define __FREEBSD__ 1
1762 cat >>confdefs.h
<<\_ACEOF
1766 DEFAULT_DEFAULT_wxUSE_GTK
=1
1771 cat >>confdefs.h
<<\_ACEOF
1772 #define __OPENBSD__ 1
1775 cat >>confdefs.h
<<\_ACEOF
1779 DEFAULT_DEFAULT_wxUSE_GTK
=1
1784 cat >>confdefs.h
<<\_ACEOF
1785 #define __NETBSD__ 1
1788 cat >>confdefs.h
<<\_ACEOF
1792 DEFAULT_DEFAULT_wxUSE_GTK
=1
1797 cat >>confdefs.h
<<\_ACEOF
1801 cat >>confdefs.h
<<\_ACEOF
1805 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1806 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1811 cat >>confdefs.h
<<\_ACEOF
1815 cat >>confdefs.h
<<\_ACEOF
1819 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1824 cat >>confdefs.h
<<\_ACEOF
1828 cat >>confdefs.h
<<\_ACEOF
1832 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1839 cat >>confdefs.h
<<\_ACEOF
1843 cat >>confdefs.h
<<\_ACEOF
1847 cat >>confdefs.h
<<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1858 cat >>confdefs.h
<<\_ACEOF
1859 #define __UNIXWARE__ 1
1864 *-*-cygwin* | *-*-mingw32* )
1868 DEFAULT_DEFAULT_wxUSE_MSW
=1
1874 cat >>confdefs.h
<<\_ACEOF
1879 DEFAULT_DEFAULT_wxUSE_MGL
=1
1880 LIBS
="$LIBS -lstdc++"
1883 *-pc-os2_emx | *-pc-os2-emx )
1884 cat >>confdefs.h
<<\_ACEOF
1889 DEFAULT_DEFAULT_wxUSE_PM
=1
1896 cat >>confdefs.h
<<\_ACEOF
1900 cat >>confdefs.h
<<\_ACEOF
1901 #define __DARWIN__ 1
1904 cat >>confdefs.h
<<\_ACEOF
1905 #define __POWERPC__ 1
1908 cat >>confdefs.h
<<\_ACEOF
1909 #define TARGET_CARBON 1
1912 DEFAULT_DEFAULT_wxUSE_MAC
=1
1917 cat >>confdefs.h
<<\_ACEOF
1924 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1925 echo "$as_me: error: unknown system type ${host}." >&2;}
1926 { (exit 1); exit 1; }; }
1932 wx_arg_cache_file
="configarg.cache"
1933 echo "loading argument cache $wx_arg_cache_file"
1934 rm -f ${wx_arg_cache_file}.tmp
1935 touch ${wx_arg_cache_file}.tmp
1936 touch ${wx_arg_cache_file}
1940 if test $DEBUG_CONFIGURE = 1; then
1941 DEFAULT_wxUSE_UNIVERSAL
=no
1942 DEFAULT_wxUSE_STL
=no
1944 DEFAULT_wxUSE_NANOX
=no
1946 DEFAULT_wxUSE_THREADS
=yes
1948 DEFAULT_wxUSE_SHARED
=yes
1949 DEFAULT_wxUSE_OPTIMISE
=no
1950 DEFAULT_wxUSE_PROFILE
=no
1951 DEFAULT_wxUSE_NO_DEPS
=no
1952 DEFAULT_wxUSE_NO_RTTI
=no
1953 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1954 DEFAULT_wxUSE_PERMISSIVE
=no
1955 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1956 DEFAULT_wxUSE_DEBUG_INFO
=yes
1957 DEFAULT_wxUSE_DEBUG_GDB
=yes
1958 DEFAULT_wxUSE_MEM_TRACING
=no
1959 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1960 DEFAULT_wxUSE_DMALLOC
=no
1961 DEFAULT_wxUSE_APPLE_IEEE
=no
1963 DEFAULT_wxUSE_LOG
=yes
1964 DEFAULT_wxUSE_LOGWINDOW
=no
1965 DEFAULT_wxUSE_LOGGUI
=no
1966 DEFAULT_wxUSE_LOGDIALOG
=no
1968 DEFAULT_wxUSE_GUI
=yes
1969 DEFAULT_wxUSE_CONTROLS
=no
1971 DEFAULT_wxUSE_REGEX
=no
1972 DEFAULT_wxUSE_XML
=no
1973 DEFAULT_wxUSE_EXPAT
=no
1974 DEFAULT_wxUSE_ZLIB
=no
1975 DEFAULT_wxUSE_LIBPNG
=no
1976 DEFAULT_wxUSE_LIBJPEG
=no
1977 DEFAULT_wxUSE_LIBTIFF
=no
1978 DEFAULT_wxUSE_ODBC
=no
1979 DEFAULT_wxUSE_OPENGL
=no
1981 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1982 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1983 DEFAULT_wxUSE_STD_IOSTREAM
=no
1984 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1985 DEFAULT_wxUSE_DATETIME
=no
1986 DEFAULT_wxUSE_TIMER
=no
1987 DEFAULT_wxUSE_STOPWATCH
=no
1988 DEFAULT_wxUSE_FILE
=no
1989 DEFAULT_wxUSE_FFILE
=no
1990 DEFAULT_wxUSE_TEXTBUFFER
=no
1991 DEFAULT_wxUSE_TEXTFILE
=no
1992 DEFAULT_wxUSE_WAVE
=no
1993 DEFAULT_wxUSE_INTL
=no
1994 DEFAULT_wxUSE_CONFIG
=no
1995 DEFAULT_wxUSE_FONTMAP
=no
1996 DEFAULT_wxUSE_STREAMS
=no
1997 DEFAULT_wxUSE_SOCKETS
=no
1998 DEFAULT_wxUSE_OLE
=no
1999 DEFAULT_wxUSE_DATAOBJ
=no
2000 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2001 DEFAULT_wxUSE_JOYSTICK
=no
2002 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2003 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2004 DEFAULT_wxUSE_LONGLONG
=no
2005 DEFAULT_wxUSE_GEOMETRY
=no
2007 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2008 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2009 DEFAULT_wxUSE_POSTSCRIPT
=no
2011 DEFAULT_wxUSE_CLIPBOARD
=no
2012 DEFAULT_wxUSE_TOOLTIPS
=no
2013 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2014 DEFAULT_wxUSE_DRAGIMAGE
=no
2015 DEFAULT_wxUSE_SPLINES
=no
2017 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2018 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2019 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2021 DEFAULT_wxUSE_RESOURCES
=no
2022 DEFAULT_wxUSE_CONSTRAINTS
=no
2023 DEFAULT_wxUSE_IPC
=no
2024 DEFAULT_wxUSE_HELP
=no
2025 DEFAULT_wxUSE_MS_HTML_HELP
=no
2026 DEFAULT_wxUSE_WXHTML_HELP
=no
2027 DEFAULT_wxUSE_TREELAYOUT
=no
2028 DEFAULT_wxUSE_METAFILE
=no
2029 DEFAULT_wxUSE_MIMETYPE
=no
2030 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2031 DEFAULT_wxUSE_PROTOCOL
=no
2032 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2033 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2034 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2035 DEFAULT_wxUSE_URL
=no
2037 DEFAULT_wxUSE_COMMONDLGS
=no
2038 DEFAULT_wxUSE_CHOICEDLG
=no
2039 DEFAULT_wxUSE_COLOURDLG
=no
2040 DEFAULT_wxUSE_DIRDLG
=no
2041 DEFAULT_wxUSE_FILEDLG
=no
2042 DEFAULT_wxUSE_FINDREPLDLG
=no
2043 DEFAULT_wxUSE_FONTDLG
=no
2044 DEFAULT_wxUSE_MSGDLG
=no
2045 DEFAULT_wxUSE_NUMBERDLG
=no
2046 DEFAULT_wxUSE_TEXTDLG
=no
2047 DEFAULT_wxUSE_SPLASH
=no
2048 DEFAULT_wxUSE_STARTUP_TIPS
=no
2049 DEFAULT_wxUSE_PROGRESSDLG
=no
2050 DEFAULT_wxUSE_WIZARDDLG
=no
2052 DEFAULT_wxUSE_MENUS
=no
2053 DEFAULT_wxUSE_MINIFRAME
=no
2054 DEFAULT_wxUSE_HTML
=no
2055 DEFAULT_wxUSE_FILESYSTEM
=no
2056 DEFAULT_wxUSE_FS_INET
=no
2057 DEFAULT_wxUSE_FS_ZIP
=no
2058 DEFAULT_wxUSE_BUSYINFO
=no
2059 DEFAULT_wxUSE_ZIPSTREAM
=no
2060 DEFAULT_wxUSE_VALIDATORS
=no
2062 DEFAULT_wxUSE_ACCEL
=no
2063 DEFAULT_wxUSE_BUTTON
=no
2064 DEFAULT_wxUSE_BMPBUTTON
=no
2065 DEFAULT_wxUSE_CALCTRL
=no
2066 DEFAULT_wxUSE_CARET
=no
2067 DEFAULT_wxUSE_CHECKBOX
=no
2068 DEFAULT_wxUSE_CHECKLST
=no
2069 DEFAULT_wxUSE_CHOICE
=no
2070 DEFAULT_wxUSE_COMBOBOX
=no
2071 DEFAULT_wxUSE_DISPLAY
=no
2072 DEFAULT_wxUSE_GAUGE
=no
2073 DEFAULT_wxUSE_GRID
=no
2074 DEFAULT_wxUSE_IMAGLIST
=no
2075 DEFAULT_wxUSE_LISTBOX
=no
2076 DEFAULT_wxUSE_LISTCTRL
=no
2077 DEFAULT_wxUSE_NOTEBOOK
=no
2078 DEFAULT_wxUSE_RADIOBOX
=no
2079 DEFAULT_wxUSE_RADIOBTN
=no
2080 DEFAULT_wxUSE_SASH
=no
2081 DEFAULT_wxUSE_SCROLLBAR
=no
2082 DEFAULT_wxUSE_SLIDER
=no
2083 DEFAULT_wxUSE_SPINBTN
=no
2084 DEFAULT_wxUSE_SPINCTRL
=no
2085 DEFAULT_wxUSE_SPLITTER
=no
2086 DEFAULT_wxUSE_STATBMP
=no
2087 DEFAULT_wxUSE_STATBOX
=no
2088 DEFAULT_wxUSE_STATLINE
=no
2089 DEFAULT_wxUSE_STATTEXT
=no
2090 DEFAULT_wxUSE_STATUSBAR
=yes
2091 DEFAULT_wxUSE_TABDIALOG
=no
2092 DEFAULT_wxUSE_TEXTCTRL
=no
2093 DEFAULT_wxUSE_TOGGLEBTN
=no
2094 DEFAULT_wxUSE_TOOLBAR
=no
2095 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2096 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2097 DEFAULT_wxUSE_TREECTRL
=no
2098 DEFAULT_wxUSE_POPUPWIN
=no
2099 DEFAULT_wxUSE_TIPWINDOW
=no
2101 DEFAULT_wxUSE_UNICODE
=no
2102 DEFAULT_wxUSE_UNICODE_MSLU
=no
2103 DEFAULT_wxUSE_WCSRTOMBS
=no
2105 DEFAULT_wxUSE_PALETTE
=no
2106 DEFAULT_wxUSE_IMAGE
=no
2107 DEFAULT_wxUSE_GIF
=no
2108 DEFAULT_wxUSE_PCX
=no
2109 DEFAULT_wxUSE_PNM
=no
2110 DEFAULT_wxUSE_IFF
=no
2111 DEFAULT_wxUSE_XPM
=no
2112 DEFAULT_wxUSE_ICO_CUR
=no
2113 DEFAULT_wxUSE_ACCESSIBILITY
=no
2115 DEFAULT_wxUSE_MONOLITHIC
=yes
2117 DEFAULT_wxUSE_UNIVERSAL
=no
2118 DEFAULT_wxUSE_STL
=no
2120 DEFAULT_wxUSE_NANOX
=no
2122 DEFAULT_wxUSE_THREADS
=yes
2124 DEFAULT_wxUSE_SHARED
=yes
2125 DEFAULT_wxUSE_OPTIMISE
=yes
2126 DEFAULT_wxUSE_PROFILE
=no
2127 DEFAULT_wxUSE_NO_DEPS
=no
2128 DEFAULT_wxUSE_NO_RTTI
=no
2129 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2130 DEFAULT_wxUSE_PERMISSIVE
=no
2131 DEFAULT_wxUSE_DEBUG_FLAG
=no
2132 DEFAULT_wxUSE_DEBUG_INFO
=no
2133 DEFAULT_wxUSE_DEBUG_GDB
=no
2134 DEFAULT_wxUSE_MEM_TRACING
=no
2135 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2136 DEFAULT_wxUSE_DMALLOC
=no
2137 DEFAULT_wxUSE_APPLE_IEEE
=yes
2139 DEFAULT_wxUSE_LOG
=yes
2140 DEFAULT_wxUSE_LOGWINDOW
=yes
2141 DEFAULT_wxUSE_LOGGUI
=yes
2142 DEFAULT_wxUSE_LOGDIALOG
=yes
2144 DEFAULT_wxUSE_GUI
=yes
2146 DEFAULT_wxUSE_REGEX
=yes
2147 DEFAULT_wxUSE_XML
=yes
2148 DEFAULT_wxUSE_EXPAT
=yes
2149 DEFAULT_wxUSE_ZLIB
=yes
2150 DEFAULT_wxUSE_LIBPNG
=yes
2151 DEFAULT_wxUSE_LIBJPEG
=yes
2152 DEFAULT_wxUSE_LIBTIFF
=yes
2153 DEFAULT_wxUSE_ODBC
=no
2154 DEFAULT_wxUSE_OPENGL
=no
2156 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2157 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2158 DEFAULT_wxUSE_STD_IOSTREAM
=no
2159 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2160 DEFAULT_wxUSE_DATETIME
=yes
2161 DEFAULT_wxUSE_TIMER
=yes
2162 DEFAULT_wxUSE_STOPWATCH
=yes
2163 DEFAULT_wxUSE_FILE
=yes
2164 DEFAULT_wxUSE_FFILE
=yes
2165 DEFAULT_wxUSE_TEXTBUFFER
=yes
2166 DEFAULT_wxUSE_TEXTFILE
=yes
2167 DEFAULT_wxUSE_WAVE
=no
2168 DEFAULT_wxUSE_INTL
=yes
2169 DEFAULT_wxUSE_CONFIG
=yes
2170 DEFAULT_wxUSE_FONTMAP
=yes
2171 DEFAULT_wxUSE_STREAMS
=yes
2172 DEFAULT_wxUSE_SOCKETS
=yes
2173 DEFAULT_wxUSE_OLE
=yes
2174 DEFAULT_wxUSE_DATAOBJ
=yes
2175 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2176 DEFAULT_wxUSE_JOYSTICK
=yes
2177 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2178 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2179 DEFAULT_wxUSE_LONGLONG
=yes
2180 DEFAULT_wxUSE_GEOMETRY
=yes
2182 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2183 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2184 DEFAULT_wxUSE_POSTSCRIPT
=yes
2186 DEFAULT_wxUSE_CLIPBOARD
=yes
2187 DEFAULT_wxUSE_TOOLTIPS
=yes
2188 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2189 DEFAULT_wxUSE_DRAGIMAGE
=yes
2190 DEFAULT_wxUSE_SPLINES
=yes
2192 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2193 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2194 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2196 DEFAULT_wxUSE_RESOURCES
=no
2197 DEFAULT_wxUSE_CONSTRAINTS
=yes
2198 DEFAULT_wxUSE_IPC
=yes
2199 DEFAULT_wxUSE_HELP
=yes
2200 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2201 DEFAULT_wxUSE_WXHTML_HELP
=yes
2202 DEFAULT_wxUSE_TREELAYOUT
=yes
2203 DEFAULT_wxUSE_METAFILE
=yes
2204 DEFAULT_wxUSE_MIMETYPE
=yes
2205 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2206 DEFAULT_wxUSE_PROTOCOL
=yes
2207 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2208 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2209 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2210 DEFAULT_wxUSE_URL
=yes
2212 DEFAULT_wxUSE_COMMONDLGS
=yes
2213 DEFAULT_wxUSE_CHOICEDLG
=yes
2214 DEFAULT_wxUSE_COLOURDLG
=yes
2215 DEFAULT_wxUSE_DIRDLG
=yes
2216 DEFAULT_wxUSE_FILEDLG
=yes
2217 DEFAULT_wxUSE_FINDREPLDLG
=yes
2218 DEFAULT_wxUSE_FONTDLG
=yes
2219 DEFAULT_wxUSE_MSGDLG
=yes
2220 DEFAULT_wxUSE_NUMBERDLG
=yes
2221 DEFAULT_wxUSE_TEXTDLG
=yes
2222 DEFAULT_wxUSE_SPLASH
=yes
2223 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2224 DEFAULT_wxUSE_PROGRESSDLG
=yes
2225 DEFAULT_wxUSE_WIZARDDLG
=yes
2227 DEFAULT_wxUSE_MENUS
=yes
2228 DEFAULT_wxUSE_MINIFRAME
=yes
2229 DEFAULT_wxUSE_HTML
=yes
2230 DEFAULT_wxUSE_FILESYSTEM
=yes
2231 DEFAULT_wxUSE_FS_INET
=yes
2232 DEFAULT_wxUSE_FS_ZIP
=yes
2233 DEFAULT_wxUSE_BUSYINFO
=yes
2234 DEFAULT_wxUSE_ZIPSTREAM
=yes
2235 DEFAULT_wxUSE_VALIDATORS
=yes
2237 DEFAULT_wxUSE_ACCEL
=yes
2238 DEFAULT_wxUSE_BUTTON
=yes
2239 DEFAULT_wxUSE_BMPBUTTON
=yes
2240 DEFAULT_wxUSE_CALCTRL
=yes
2241 DEFAULT_wxUSE_CARET
=yes
2242 DEFAULT_wxUSE_CHECKBOX
=yes
2243 DEFAULT_wxUSE_CHECKLST
=yes
2244 DEFAULT_wxUSE_CHOICE
=yes
2245 DEFAULT_wxUSE_COMBOBOX
=yes
2246 DEFAULT_wxUSE_DISPLAY
=no
2247 DEFAULT_wxUSE_GAUGE
=yes
2248 DEFAULT_wxUSE_GRID
=yes
2249 DEFAULT_wxUSE_IMAGLIST
=yes
2250 DEFAULT_wxUSE_LISTBOX
=yes
2251 DEFAULT_wxUSE_LISTCTRL
=yes
2252 DEFAULT_wxUSE_NOTEBOOK
=yes
2253 DEFAULT_wxUSE_RADIOBOX
=yes
2254 DEFAULT_wxUSE_RADIOBTN
=yes
2255 DEFAULT_wxUSE_SASH
=yes
2256 DEFAULT_wxUSE_SCROLLBAR
=yes
2257 DEFAULT_wxUSE_SLIDER
=yes
2258 DEFAULT_wxUSE_SPINBTN
=yes
2259 DEFAULT_wxUSE_SPINCTRL
=yes
2260 DEFAULT_wxUSE_SPLITTER
=yes
2261 DEFAULT_wxUSE_STATBMP
=yes
2262 DEFAULT_wxUSE_STATBOX
=yes
2263 DEFAULT_wxUSE_STATLINE
=yes
2264 DEFAULT_wxUSE_STATTEXT
=yes
2265 DEFAULT_wxUSE_STATUSBAR
=yes
2266 DEFAULT_wxUSE_TABDIALOG
=no
2267 DEFAULT_wxUSE_TEXTCTRL
=yes
2268 DEFAULT_wxUSE_TOGGLEBTN
=yes
2269 DEFAULT_wxUSE_TOOLBAR
=yes
2270 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2271 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2272 DEFAULT_wxUSE_TREECTRL
=yes
2273 DEFAULT_wxUSE_POPUPWIN
=yes
2274 DEFAULT_wxUSE_TIPWINDOW
=yes
2276 DEFAULT_wxUSE_UNICODE
=no
2277 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2278 DEFAULT_wxUSE_WCSRTOMBS
=no
2280 DEFAULT_wxUSE_PALETTE
=yes
2281 DEFAULT_wxUSE_IMAGE
=yes
2282 DEFAULT_wxUSE_GIF
=yes
2283 DEFAULT_wxUSE_PCX
=yes
2284 DEFAULT_wxUSE_IFF
=no
2285 DEFAULT_wxUSE_PNM
=yes
2286 DEFAULT_wxUSE_XPM
=yes
2287 DEFAULT_wxUSE_ICO_CUR
=yes
2288 DEFAULT_wxUSE_ACCESSIBILITY
=no
2290 DEFAULT_wxUSE_MONOLITHIC
=yes
2295 for toolkit
in `echo $ALL_TOOLKITS`; do
2296 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2297 if test "x$LINE" != "x" ; then
2298 has_toolkit_in_cache
=1
2299 eval "DEFAULT_$LINE"
2300 eval "CACHE_$toolkit=1"
2307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2308 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2310 # Check whether --enable-gui or --disable-gui was given.
2311 if test "${enable_gui+set}" = set; then
2312 enableval
="$enable_gui"
2314 if test "$enableval" = yes; then
2315 ac_cv_use_gui
='wxUSE_GUI=yes'
2317 ac_cv_use_gui
='wxUSE_GUI=no'
2322 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2323 if test "x$LINE" != x
; then
2324 eval "DEFAULT_$LINE"
2329 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2333 eval "$ac_cv_use_gui"
2334 if test "$no_cache" != 1; then
2335 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2338 if test "$wxUSE_GUI" = yes; then
2339 echo "$as_me:$LINENO: result: yes" >&5
2340 echo "${ECHO_T}yes" >&6
2342 echo "$as_me:$LINENO: result: no" >&5
2343 echo "${ECHO_T}no" >&6
2348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2349 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2351 # Check whether --enable-monolithic or --disable-monolithic was given.
2352 if test "${enable_monolithic+set}" = set; then
2353 enableval
="$enable_monolithic"
2355 if test "$enableval" = yes; then
2356 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2358 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2363 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2364 if test "x$LINE" != x
; then
2365 eval "DEFAULT_$LINE"
2370 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2374 eval "$ac_cv_use_monolithic"
2375 if test "$no_cache" != 1; then
2376 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2379 if test "$wxUSE_MONOLITHIC" = yes; then
2380 echo "$as_me:$LINENO: result: yes" >&5
2381 echo "${ECHO_T}yes" >&6
2383 echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6
2388 if test "$wxUSE_GUI" = "yes"; then
2392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2393 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2395 # Check whether --enable-universal or --disable-universal was given.
2396 if test "${enable_universal+set}" = set; then
2397 enableval
="$enable_universal"
2399 if test "$enableval" = yes; then
2400 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2402 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2407 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2408 if test "x$LINE" != x
; then
2409 eval "DEFAULT_$LINE"
2414 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2418 eval "$ac_cv_use_universal"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2423 if test "$wxUSE_UNIVERSAL" = yes; then
2424 echo "$as_me:$LINENO: result: yes" >&5
2425 echo "${ECHO_T}yes" >&6
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2432 # Check whether --with-gtk or --without-gtk was given.
2433 if test "${with_gtk+set}" = set; then
2435 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2438 # Check whether --with-motif or --without-motif was given.
2439 if test "${with_motif+set}" = set; then
2440 withval
="$with_motif"
2441 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2444 # Check whether --with-mac or --without-mac was given.
2445 if test "${with_mac+set}" = set; then
2447 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2450 # Check whether --with-cocoa or --without-cocoa was given.
2451 if test "${with_cocoa+set}" = set; then
2452 withval
="$with_cocoa"
2453 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2456 # Check whether --with-wine or --without-wine was given.
2457 if test "${with_wine+set}" = set; then
2458 withval
="$with_wine"
2459 wxUSE_WINE
="$withval" CACHE_WINE
=1
2462 # Check whether --with-msw or --without-msw was given.
2463 if test "${with_msw+set}" = set; then
2465 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2468 # Check whether --with-pm or --without-pm was given.
2469 if test "${with_pm+set}" = set; then
2471 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2474 # Check whether --with-mgl or --without-mgl was given.
2475 if test "${with_mgl+set}" = set; then
2477 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2480 # Check whether --with-microwin or --without-microwin was given.
2481 if test "${with_microwin+set}" = set; then
2482 withval
="$with_microwin"
2483 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2486 # Check whether --with-x11 or --without-x11 was given.
2487 if test "${with_x11+set}" = set; then
2489 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2494 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2496 # Check whether --enable-nanox or --disable-nanox was given.
2497 if test "${enable_nanox+set}" = set; then
2498 enableval
="$enable_nanox"
2500 if test "$enableval" = yes; then
2501 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2503 ac_cv_use_nanox
='wxUSE_NANOX=no'
2508 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x
; then
2510 eval "DEFAULT_$LINE"
2515 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2519 eval "$ac_cv_use_nanox"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2524 if test "$wxUSE_NANOX" = yes; then
2525 echo "$as_me:$LINENO: result: yes" >&5
2526 echo "${ECHO_T}yes" >&6
2528 echo "$as_me:$LINENO: result: no" >&5
2529 echo "${ECHO_T}no" >&6
2535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2536 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2538 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2539 if test "${enable_gtk2+set}" = set; then
2540 enableval
="$enable_gtk2"
2542 if test "$enableval" = yes; then
2543 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2545 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2550 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2551 if test "x$LINE" != x
; then
2552 eval "DEFAULT_$LINE"
2557 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2561 eval "$ac_cv_use_gtk2"
2562 if test "$no_cache" != 1; then
2563 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2566 if test "$wxUSE_GTK2" = yes; then
2567 echo "$as_me:$LINENO: result: yes" >&5
2568 echo "${ECHO_T}yes" >&6
2570 echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6
2576 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2577 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2580 # Check whether --with-libpng or --without-libpng was given.
2581 if test "${with_libpng+set}" = set; then
2582 withval
="$with_libpng"
2584 if test "$withval" = yes; then
2585 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2586 elif test "$withval" = no
; then
2587 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2588 elif test "$withval" = sys
; then
2589 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2590 elif test "$withval" = builtin; then
2591 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2593 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2594 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2595 { (exit 1); exit 1; }; }
2600 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2601 if test "x$LINE" != x
; then
2602 eval "DEFAULT_$LINE"
2607 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2611 eval "$ac_cv_use_libpng"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2616 if test "$wxUSE_LIBPNG" = yes; then
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2619 elif test "$wxUSE_LIBPNG" = no
; then
2620 echo "$as_me:$LINENO: result: no" >&5
2621 echo "${ECHO_T}no" >&6
2622 elif test "$wxUSE_LIBPNG" = sys
; then
2623 echo "$as_me:$LINENO: result: system version" >&5
2624 echo "${ECHO_T}system version" >&6
2625 elif test "$wxUSE_LIBPNG" = builtin; then
2626 echo "$as_me:$LINENO: result: builtin version" >&5
2627 echo "${ECHO_T}builtin version" >&6
2629 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2630 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2631 { (exit 1); exit 1; }; }
2635 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2636 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2639 # Check whether --with-libjpeg or --without-libjpeg was given.
2640 if test "${with_libjpeg+set}" = set; then
2641 withval
="$with_libjpeg"
2643 if test "$withval" = yes; then
2644 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2645 elif test "$withval" = no
; then
2646 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2647 elif test "$withval" = sys
; then
2648 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2649 elif test "$withval" = builtin; then
2650 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2652 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2653 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2654 { (exit 1); exit 1; }; }
2659 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x
; then
2661 eval "DEFAULT_$LINE"
2666 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2670 eval "$ac_cv_use_libjpeg"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2675 if test "$wxUSE_LIBJPEG" = yes; then
2676 echo "$as_me:$LINENO: result: yes" >&5
2677 echo "${ECHO_T}yes" >&6
2678 elif test "$wxUSE_LIBJPEG" = no
; then
2679 echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6
2681 elif test "$wxUSE_LIBJPEG" = sys
; then
2682 echo "$as_me:$LINENO: result: system version" >&5
2683 echo "${ECHO_T}system version" >&6
2684 elif test "$wxUSE_LIBJPEG" = builtin; then
2685 echo "$as_me:$LINENO: result: builtin version" >&5
2686 echo "${ECHO_T}builtin version" >&6
2688 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2689 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2690 { (exit 1); exit 1; }; }
2694 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2695 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2698 # Check whether --with-libtiff or --without-libtiff was given.
2699 if test "${with_libtiff+set}" = set; then
2700 withval
="$with_libtiff"
2702 if test "$withval" = yes; then
2703 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2704 elif test "$withval" = no
; then
2705 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2706 elif test "$withval" = sys
; then
2707 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2708 elif test "$withval" = builtin; then
2709 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2711 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2712 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2713 { (exit 1); exit 1; }; }
2718 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x
; then
2720 eval "DEFAULT_$LINE"
2725 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2729 eval "$ac_cv_use_libtiff"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2734 if test "$wxUSE_LIBTIFF" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2737 elif test "$wxUSE_LIBTIFF" = no
; then
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2740 elif test "$wxUSE_LIBTIFF" = sys
; then
2741 echo "$as_me:$LINENO: result: system version" >&5
2742 echo "${ECHO_T}system version" >&6
2743 elif test "$wxUSE_LIBTIFF" = builtin; then
2744 echo "$as_me:$LINENO: result: builtin version" >&5
2745 echo "${ECHO_T}builtin version" >&6
2747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2748 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2749 { (exit 1); exit 1; }; }
2753 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2754 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2757 # Check whether --with-opengl or --without-opengl was given.
2758 if test "${with_opengl+set}" = set; then
2759 withval
="$with_opengl"
2761 if test "$withval" = yes; then
2762 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2764 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2769 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2770 if test "x$LINE" != x
; then
2771 eval "DEFAULT_$LINE"
2776 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2780 eval "$ac_cv_use_opengl"
2781 if test "$no_cache" != 1; then
2782 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2785 if test "$wxUSE_OPENGL" = yes; then
2786 echo "$as_me:$LINENO: result: yes" >&5
2787 echo "${ECHO_T}yes" >&6
2789 echo "$as_me:$LINENO: result: no" >&5
2790 echo "${ECHO_T}no" >&6
2797 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2798 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2801 # Check whether --with-dmalloc or --without-dmalloc was given.
2802 if test "${with_dmalloc+set}" = set; then
2803 withval
="$with_dmalloc"
2805 if test "$withval" = yes; then
2806 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2808 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2813 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2814 if test "x$LINE" != x
; then
2815 eval "DEFAULT_$LINE"
2820 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2824 eval "$ac_cv_use_dmalloc"
2825 if test "$no_cache" != 1; then
2826 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2829 if test "$wxUSE_DMALLOC" = yes; then
2830 echo "$as_me:$LINENO: result: yes" >&5
2831 echo "${ECHO_T}yes" >&6
2833 echo "$as_me:$LINENO: result: no" >&5
2834 echo "${ECHO_T}no" >&6
2838 echo "$as_me:$LINENO: checking for --with-regex" >&5
2839 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2842 # Check whether --with-regex or --without-regex was given.
2843 if test "${with_regex+set}" = set; then
2844 withval
="$with_regex"
2846 if test "$withval" = yes; then
2847 ac_cv_use_regex
='wxUSE_REGEX=yes'
2848 elif test "$withval" = no
; then
2849 ac_cv_use_regex
='wxUSE_REGEX=no'
2850 elif test "$withval" = sys
; then
2851 ac_cv_use_regex
='wxUSE_REGEX=sys'
2852 elif test "$withval" = builtin; then
2853 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2856 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2862 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2863 if test "x$LINE" != x
; then
2864 eval "DEFAULT_$LINE"
2869 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2873 eval "$ac_cv_use_regex"
2874 if test "$no_cache" != 1; then
2875 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2878 if test "$wxUSE_REGEX" = yes; then
2879 echo "$as_me:$LINENO: result: yes" >&5
2880 echo "${ECHO_T}yes" >&6
2881 elif test "$wxUSE_REGEX" = no
; then
2882 echo "$as_me:$LINENO: result: no" >&5
2883 echo "${ECHO_T}no" >&6
2884 elif test "$wxUSE_REGEX" = sys
; then
2885 echo "$as_me:$LINENO: result: system version" >&5
2886 echo "${ECHO_T}system version" >&6
2887 elif test "$wxUSE_REGEX" = builtin; then
2888 echo "$as_me:$LINENO: result: builtin version" >&5
2889 echo "${ECHO_T}builtin version" >&6
2891 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2892 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2893 { (exit 1); exit 1; }; }
2897 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2898 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2901 # Check whether --with-zlib or --without-zlib was given.
2902 if test "${with_zlib+set}" = set; then
2903 withval
="$with_zlib"
2905 if test "$withval" = yes; then
2906 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2907 elif test "$withval" = no
; then
2908 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2909 elif test "$withval" = sys
; then
2910 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2911 elif test "$withval" = builtin; then
2912 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2915 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2921 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2922 if test "x$LINE" != x
; then
2923 eval "DEFAULT_$LINE"
2928 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2932 eval "$ac_cv_use_zlib"
2933 if test "$no_cache" != 1; then
2934 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2937 if test "$wxUSE_ZLIB" = yes; then
2938 echo "$as_me:$LINENO: result: yes" >&5
2939 echo "${ECHO_T}yes" >&6
2940 elif test "$wxUSE_ZLIB" = no
; then
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2943 elif test "$wxUSE_ZLIB" = sys
; then
2944 echo "$as_me:$LINENO: result: system version" >&5
2945 echo "${ECHO_T}system version" >&6
2946 elif test "$wxUSE_ZLIB" = builtin; then
2947 echo "$as_me:$LINENO: result: builtin version" >&5
2948 echo "${ECHO_T}builtin version" >&6
2950 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2951 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2952 { (exit 1); exit 1; }; }
2956 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2957 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2960 # Check whether --with-odbc or --without-odbc was given.
2961 if test "${with_odbc+set}" = set; then
2962 withval
="$with_odbc"
2964 if test "$withval" = yes; then
2965 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2966 elif test "$withval" = no
; then
2967 ac_cv_use_odbc
='wxUSE_ODBC=no'
2968 elif test "$withval" = sys
; then
2969 ac_cv_use_odbc
='wxUSE_ODBC=sys'
2970 elif test "$withval" = builtin; then
2971 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2974 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2980 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2981 if test "x$LINE" != x
; then
2982 eval "DEFAULT_$LINE"
2987 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2991 eval "$ac_cv_use_odbc"
2992 if test "$no_cache" != 1; then
2993 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2996 if test "$wxUSE_ODBC" = yes; then
2997 echo "$as_me:$LINENO: result: yes" >&5
2998 echo "${ECHO_T}yes" >&6
2999 elif test "$wxUSE_ODBC" = no
; then
3000 echo "$as_me:$LINENO: result: no" >&5
3001 echo "${ECHO_T}no" >&6
3002 elif test "$wxUSE_ODBC" = sys
; then
3003 echo "$as_me:$LINENO: result: system version" >&5
3004 echo "${ECHO_T}system version" >&6
3005 elif test "$wxUSE_ODBC" = builtin; then
3006 echo "$as_me:$LINENO: result: builtin version" >&5
3007 echo "${ECHO_T}builtin version" >&6
3009 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3010 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3011 { (exit 1); exit 1; }; }
3015 echo "$as_me:$LINENO: checking for --with-expat" >&5
3016 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3019 # Check whether --with-expat or --without-expat was given.
3020 if test "${with_expat+set}" = set; then
3021 withval
="$with_expat"
3023 if test "$withval" = yes; then
3024 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3025 elif test "$withval" = no
; then
3026 ac_cv_use_expat
='wxUSE_EXPAT=no'
3027 elif test "$withval" = sys
; then
3028 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3029 elif test "$withval" = builtin; then
3030 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3033 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3039 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x
; then
3041 eval "DEFAULT_$LINE"
3046 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3050 eval "$ac_cv_use_expat"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3055 if test "$wxUSE_EXPAT" = yes; then
3056 echo "$as_me:$LINENO: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6
3058 elif test "$wxUSE_EXPAT" = no
; then
3059 echo "$as_me:$LINENO: result: no" >&5
3060 echo "${ECHO_T}no" >&6
3061 elif test "$wxUSE_EXPAT" = sys
; then
3062 echo "$as_me:$LINENO: result: system version" >&5
3063 echo "${ECHO_T}system version" >&6
3064 elif test "$wxUSE_EXPAT" = builtin; then
3065 echo "$as_me:$LINENO: result: builtin version" >&5
3066 echo "${ECHO_T}builtin version" >&6
3068 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3069 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3070 { (exit 1); exit 1; }; }
3077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3078 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3080 # Check whether --enable-shared or --disable-shared was given.
3081 if test "${enable_shared+set}" = set; then
3082 enableval
="$enable_shared"
3084 if test "$enableval" = yes; then
3085 ac_cv_use_shared
='wxUSE_SHARED=yes'
3087 ac_cv_use_shared
='wxUSE_SHARED=no'
3092 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x
; then
3094 eval "DEFAULT_$LINE"
3099 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3103 eval "$ac_cv_use_shared"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_SHARED" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3119 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3121 # Check whether --enable-optimise or --disable-optimise was given.
3122 if test "${enable_optimise+set}" = set; then
3123 enableval
="$enable_optimise"
3125 if test "$enableval" = yes; then
3126 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3128 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3133 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3134 if test "x$LINE" != x
; then
3135 eval "DEFAULT_$LINE"
3140 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3144 eval "$ac_cv_use_optimise"
3145 if test "$no_cache" != 1; then
3146 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3149 if test "$wxUSE_OPTIMISE" = yes; then
3150 echo "$as_me:$LINENO: result: yes" >&5
3151 echo "${ECHO_T}yes" >&6
3153 echo "$as_me:$LINENO: result: no" >&5
3154 echo "${ECHO_T}no" >&6
3159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3160 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3162 # Check whether --enable-debug or --disable-debug was given.
3163 if test "${enable_debug+set}" = set; then
3164 enableval
="$enable_debug"
3166 if test "$enableval" = yes; then
3167 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3169 ac_cv_use_debug
='wxUSE_DEBUG=no'
3174 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3175 if test "x$LINE" != x
; then
3176 eval "DEFAULT_$LINE"
3181 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3185 eval "$ac_cv_use_debug"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3190 if test "$wxUSE_DEBUG" = yes; then
3191 echo "$as_me:$LINENO: result: yes" >&5
3192 echo "${ECHO_T}yes" >&6
3194 echo "$as_me:$LINENO: result: no" >&5
3195 echo "${ECHO_T}no" >&6
3200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3201 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3203 # Check whether --enable-stl or --disable-stl was given.
3204 if test "${enable_stl+set}" = set; then
3205 enableval
="$enable_stl"
3207 if test "$enableval" = yes; then
3208 ac_cv_use_stl
='wxUSE_STL=yes'
3210 ac_cv_use_stl
='wxUSE_STL=no'
3215 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x
; then
3217 eval "DEFAULT_$LINE"
3222 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3226 eval "$ac_cv_use_stl"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3231 if test "$wxUSE_STL" = yes; then
3232 echo "$as_me:$LINENO: result: yes" >&5
3233 echo "${ECHO_T}yes" >&6
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3240 if test "$wxUSE_DEBUG" = "yes"; then
3241 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3242 DEFAULT_wxUSE_DEBUG_INFO
=yes
3243 elif test "$wxUSE_DEBUG" = "no"; then
3244 DEFAULT_wxUSE_DEBUG_FLAG
=no
3245 DEFAULT_wxUSE_DEBUG_INFO
=no
3250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3251 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3253 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3254 if test "${enable_debug_flag+set}" = set; then
3255 enableval
="$enable_debug_flag"
3257 if test "$enableval" = yes; then
3258 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3260 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3265 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x
; then
3267 eval "DEFAULT_$LINE"
3272 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3276 eval "$ac_cv_use_debug_flag"
3277 if test "$no_cache" != 1; then
3278 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3281 if test "$wxUSE_DEBUG_FLAG" = yes; then
3282 echo "$as_me:$LINENO: result: yes" >&5
3283 echo "${ECHO_T}yes" >&6
3285 echo "$as_me:$LINENO: result: no" >&5
3286 echo "${ECHO_T}no" >&6
3291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3292 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3294 # Check whether --enable-debug_info or --disable-debug_info was given.
3295 if test "${enable_debug_info+set}" = set; then
3296 enableval
="$enable_debug_info"
3298 if test "$enableval" = yes; then
3299 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3301 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3306 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x
; then
3308 eval "DEFAULT_$LINE"
3313 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3317 eval "$ac_cv_use_debug_info"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3322 if test "$wxUSE_DEBUG_INFO" = yes; then
3323 echo "$as_me:$LINENO: result: yes" >&5
3324 echo "${ECHO_T}yes" >&6
3326 echo "$as_me:$LINENO: result: no" >&5
3327 echo "${ECHO_T}no" >&6
3332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3333 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3335 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3336 if test "${enable_debug_gdb+set}" = set; then
3337 enableval
="$enable_debug_gdb"
3339 if test "$enableval" = yes; then
3340 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3342 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3347 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x
; then
3349 eval "DEFAULT_$LINE"
3354 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3358 eval "$ac_cv_use_debug_gdb"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_DEBUG_GDB" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3374 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3376 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3377 if test "${enable_debug_cntxt+set}" = set; then
3378 enableval
="$enable_debug_cntxt"
3380 if test "$enableval" = yes; then
3381 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3383 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3388 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3389 if test "x$LINE" != x
; then
3390 eval "DEFAULT_$LINE"
3395 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3399 eval "$ac_cv_use_debug_cntxt"
3400 if test "$no_cache" != 1; then
3401 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3404 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3405 echo "$as_me:$LINENO: result: yes" >&5
3406 echo "${ECHO_T}yes" >&6
3408 echo "$as_me:$LINENO: result: no" >&5
3409 echo "${ECHO_T}no" >&6
3414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3415 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3417 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3418 if test "${enable_mem_tracing+set}" = set; then
3419 enableval
="$enable_mem_tracing"
3421 if test "$enableval" = yes; then
3422 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3424 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3429 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3430 if test "x$LINE" != x
; then
3431 eval "DEFAULT_$LINE"
3436 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3440 eval "$ac_cv_use_mem_tracing"
3441 if test "$no_cache" != 1; then
3442 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3445 if test "$wxUSE_MEM_TRACING" = yes; then
3446 echo "$as_me:$LINENO: result: yes" >&5
3447 echo "${ECHO_T}yes" >&6
3449 echo "$as_me:$LINENO: result: no" >&5
3450 echo "${ECHO_T}no" >&6
3455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3456 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3458 # Check whether --enable-profile or --disable-profile was given.
3459 if test "${enable_profile+set}" = set; then
3460 enableval
="$enable_profile"
3462 if test "$enableval" = yes; then
3463 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3465 ac_cv_use_profile
='wxUSE_PROFILE=no'
3470 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x
; then
3472 eval "DEFAULT_$LINE"
3477 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3481 eval "$ac_cv_use_profile"
3482 if test "$no_cache" != 1; then
3483 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3486 if test "$wxUSE_PROFILE" = yes; then
3487 echo "$as_me:$LINENO: result: yes" >&5
3488 echo "${ECHO_T}yes" >&6
3490 echo "$as_me:$LINENO: result: no" >&5
3491 echo "${ECHO_T}no" >&6
3496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3497 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3499 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3500 if test "${enable_no_rtti+set}" = set; then
3501 enableval
="$enable_no_rtti"
3503 if test "$enableval" = yes; then
3504 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3506 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3511 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3512 if test "x$LINE" != x
; then
3513 eval "DEFAULT_$LINE"
3518 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3522 eval "$ac_cv_use_no_rtti"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3527 if test "$wxUSE_NO_RTTI" = yes; then
3528 echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6
3531 echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6
3537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3538 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3540 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3541 if test "${enable_no_exceptions+set}" = set; then
3542 enableval
="$enable_no_exceptions"
3544 if test "$enableval" = yes; then
3545 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3547 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3552 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3553 if test "x$LINE" != x
; then
3554 eval "DEFAULT_$LINE"
3559 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3563 eval "$ac_cv_use_no_exceptions"
3564 if test "$no_cache" != 1; then
3565 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3568 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3569 echo "$as_me:$LINENO: result: yes" >&5
3570 echo "${ECHO_T}yes" >&6
3572 echo "$as_me:$LINENO: result: no" >&5
3573 echo "${ECHO_T}no" >&6
3578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3579 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3581 # Check whether --enable-permissive or --disable-permissive was given.
3582 if test "${enable_permissive+set}" = set; then
3583 enableval
="$enable_permissive"
3585 if test "$enableval" = yes; then
3586 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3588 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3593 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3594 if test "x$LINE" != x
; then
3595 eval "DEFAULT_$LINE"
3600 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3604 eval "$ac_cv_use_permissive"
3605 if test "$no_cache" != 1; then
3606 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3609 if test "$wxUSE_PERMISSIVE" = yes; then
3610 echo "$as_me:$LINENO: result: yes" >&5
3611 echo "${ECHO_T}yes" >&6
3613 echo "$as_me:$LINENO: result: no" >&5
3614 echo "${ECHO_T}no" >&6
3619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3620 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3622 # Check whether --enable-no_deps or --disable-no_deps was given.
3623 if test "${enable_no_deps+set}" = set; then
3624 enableval
="$enable_no_deps"
3626 if test "$enableval" = yes; then
3627 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3629 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3634 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x
; then
3636 eval "DEFAULT_$LINE"
3641 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3645 eval "$ac_cv_use_no_deps"
3646 if test "$no_cache" != 1; then
3647 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3650 if test "$wxUSE_NO_DEPS" = yes; then
3651 echo "$as_me:$LINENO: result: yes" >&5
3652 echo "${ECHO_T}yes" >&6
3654 echo "$as_me:$LINENO: result: no" >&5
3655 echo "${ECHO_T}no" >&6
3661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3662 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3664 # Check whether --enable-compat20 or --disable-compat20 was given.
3665 if test "${enable_compat20+set}" = set; then
3666 enableval
="$enable_compat20"
3668 if test "$enableval" = yes; then
3669 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
3671 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3676 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3677 if test "x$LINE" != x
; then
3678 eval "DEFAULT_$LINE"
3683 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3687 eval "$ac_cv_use_compat20"
3688 if test "$no_cache" != 1; then
3689 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3692 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3693 echo "$as_me:$LINENO: result: yes" >&5
3694 echo "${ECHO_T}yes" >&6
3696 echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6
3702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3703 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3705 # Check whether --enable-compat22 or --disable-compat22 was given.
3706 if test "${enable_compat22+set}" = set; then
3707 enableval
="$enable_compat22"
3709 if test "$enableval" = yes; then
3710 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3712 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3717 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x
; then
3719 eval "DEFAULT_$LINE"
3724 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3728 eval "$ac_cv_use_compat22"
3729 if test "$no_cache" != 1; then
3730 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3733 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3734 echo "$as_me:$LINENO: result: yes" >&5
3735 echo "${ECHO_T}yes" >&6
3737 echo "$as_me:$LINENO: result: no" >&5
3738 echo "${ECHO_T}no" >&6
3742 enablestring
=disable
3743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3744 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3746 # Check whether --enable-compat24 or --disable-compat24 was given.
3747 if test "${enable_compat24+set}" = set; then
3748 enableval
="$enable_compat24"
3750 if test "$enableval" = yes; then
3751 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3753 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3758 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x
; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3769 eval "$ac_cv_use_compat24"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3774 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3775 echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6
3778 echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6
3783 # Check whether --enable-rpath or --disable-rpath was given.
3784 if test "${enable_rpath+set}" = set; then
3785 enableval
="$enable_rpath"
3786 wxRPATH_DIR
="$enableval"
3789 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3790 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3798 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3800 # Check whether --enable-intl or --disable-intl was given.
3801 if test "${enable_intl+set}" = set; then
3802 enableval
="$enable_intl"
3804 if test "$enableval" = yes; then
3805 ac_cv_use_intl
='wxUSE_INTL=yes'
3807 ac_cv_use_intl
='wxUSE_INTL=no'
3812 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3813 if test "x$LINE" != x
; then
3814 eval "DEFAULT_$LINE"
3819 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3823 eval "$ac_cv_use_intl"
3824 if test "$no_cache" != 1; then
3825 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3828 if test "$wxUSE_INTL" = yes; then
3829 echo "$as_me:$LINENO: result: yes" >&5
3830 echo "${ECHO_T}yes" >&6
3832 echo "$as_me:$LINENO: result: no" >&5
3833 echo "${ECHO_T}no" >&6
3838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3839 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3841 # Check whether --enable-config or --disable-config was given.
3842 if test "${enable_config+set}" = set; then
3843 enableval
="$enable_config"
3845 if test "$enableval" = yes; then
3846 ac_cv_use_config
='wxUSE_CONFIG=yes'
3848 ac_cv_use_config
='wxUSE_CONFIG=no'
3853 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3854 if test "x$LINE" != x
; then
3855 eval "DEFAULT_$LINE"
3860 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3864 eval "$ac_cv_use_config"
3865 if test "$no_cache" != 1; then
3866 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3869 if test "$wxUSE_CONFIG" = yes; then
3870 echo "$as_me:$LINENO: result: yes" >&5
3871 echo "${ECHO_T}yes" >&6
3873 echo "$as_me:$LINENO: result: no" >&5
3874 echo "${ECHO_T}no" >&6
3880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3881 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3883 # Check whether --enable-protocols or --disable-protocols was given.
3884 if test "${enable_protocols+set}" = set; then
3885 enableval
="$enable_protocols"
3887 if test "$enableval" = yes; then
3888 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3890 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3895 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x
; then
3897 eval "DEFAULT_$LINE"
3902 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3906 eval "$ac_cv_use_protocols"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3911 if test "$wxUSE_PROTOCOL" = yes; then
3912 echo "$as_me:$LINENO: result: yes" >&5
3913 echo "${ECHO_T}yes" >&6
3915 echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6
3921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3922 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3924 # Check whether --enable-ftp or --disable-ftp was given.
3925 if test "${enable_ftp+set}" = set; then
3926 enableval
="$enable_ftp"
3928 if test "$enableval" = yes; then
3929 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3931 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3936 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x
; then
3938 eval "DEFAULT_$LINE"
3943 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3947 eval "$ac_cv_use_ftp"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3952 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3953 echo "$as_me:$LINENO: result: yes" >&5
3954 echo "${ECHO_T}yes" >&6
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3963 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3965 # Check whether --enable-http or --disable-http was given.
3966 if test "${enable_http+set}" = set; then
3967 enableval
="$enable_http"
3969 if test "$enableval" = yes; then
3970 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3972 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3977 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x
; then
3979 eval "DEFAULT_$LINE"
3984 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3988 eval "$ac_cv_use_http"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3993 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995 echo "${ECHO_T}yes" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4004 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4006 # Check whether --enable-fileproto or --disable-fileproto was given.
4007 if test "${enable_fileproto+set}" = set; then
4008 enableval
="$enable_fileproto"
4010 if test "$enableval" = yes; then
4011 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4013 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4018 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4019 if test "x$LINE" != x
; then
4020 eval "DEFAULT_$LINE"
4025 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4029 eval "$ac_cv_use_fileproto"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4034 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4035 echo "$as_me:$LINENO: result: yes" >&5
4036 echo "${ECHO_T}yes" >&6
4038 echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6
4044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4045 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4047 # Check whether --enable-sockets or --disable-sockets was given.
4048 if test "${enable_sockets+set}" = set; then
4049 enableval
="$enable_sockets"
4051 if test "$enableval" = yes; then
4052 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4054 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4059 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x
; then
4061 eval "DEFAULT_$LINE"
4066 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4070 eval "$ac_cv_use_sockets"
4071 if test "$no_cache" != 1; then
4072 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4075 if test "$wxUSE_SOCKETS" = yes; then
4076 echo "$as_me:$LINENO: result: yes" >&5
4077 echo "${ECHO_T}yes" >&6
4079 echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6
4085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4086 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4088 # Check whether --enable-ole or --disable-ole was given.
4089 if test "${enable_ole+set}" = set; then
4090 enableval
="$enable_ole"
4092 if test "$enableval" = yes; then
4093 ac_cv_use_ole
='wxUSE_OLE=yes'
4095 ac_cv_use_ole
='wxUSE_OLE=no'
4100 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4101 if test "x$LINE" != x
; then
4102 eval "DEFAULT_$LINE"
4107 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4111 eval "$ac_cv_use_ole"
4112 if test "$no_cache" != 1; then
4113 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4116 if test "$wxUSE_OLE" = yes; then
4117 echo "$as_me:$LINENO: result: yes" >&5
4118 echo "${ECHO_T}yes" >&6
4120 echo "$as_me:$LINENO: result: no" >&5
4121 echo "${ECHO_T}no" >&6
4126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4127 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4129 # Check whether --enable-dataobj or --disable-dataobj was given.
4130 if test "${enable_dataobj+set}" = set; then
4131 enableval
="$enable_dataobj"
4133 if test "$enableval" = yes; then
4134 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4136 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4141 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4142 if test "x$LINE" != x
; then
4143 eval "DEFAULT_$LINE"
4148 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4152 eval "$ac_cv_use_dataobj"
4153 if test "$no_cache" != 1; then
4154 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4157 if test "$wxUSE_DATAOBJ" = yes; then
4158 echo "$as_me:$LINENO: result: yes" >&5
4159 echo "${ECHO_T}yes" >&6
4161 echo "$as_me:$LINENO: result: no" >&5
4162 echo "${ECHO_T}no" >&6
4168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4169 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4171 # Check whether --enable-ipc or --disable-ipc was given.
4172 if test "${enable_ipc+set}" = set; then
4173 enableval
="$enable_ipc"
4175 if test "$enableval" = yes; then
4176 ac_cv_use_ipc
='wxUSE_IPC=yes'
4178 ac_cv_use_ipc
='wxUSE_IPC=no'
4183 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4184 if test "x$LINE" != x
; then
4185 eval "DEFAULT_$LINE"
4190 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4194 eval "$ac_cv_use_ipc"
4195 if test "$no_cache" != 1; then
4196 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4199 if test "$wxUSE_IPC" = yes; then
4200 echo "$as_me:$LINENO: result: yes" >&5
4201 echo "${ECHO_T}yes" >&6
4203 echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6
4210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4211 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4213 # Check whether --enable-cmdline or --disable-cmdline was given.
4214 if test "${enable_cmdline+set}" = set; then
4215 enableval
="$enable_cmdline"
4217 if test "$enableval" = yes; then
4218 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4220 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4225 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4226 if test "x$LINE" != x
; then
4227 eval "DEFAULT_$LINE"
4232 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4236 eval "$ac_cv_use_cmdline"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4241 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4242 echo "$as_me:$LINENO: result: yes" >&5
4243 echo "${ECHO_T}yes" >&6
4245 echo "$as_me:$LINENO: result: no" >&5
4246 echo "${ECHO_T}no" >&6
4251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4252 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4254 # Check whether --enable-datetime or --disable-datetime was given.
4255 if test "${enable_datetime+set}" = set; then
4256 enableval
="$enable_datetime"
4258 if test "$enableval" = yes; then
4259 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4261 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4266 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x
; then
4268 eval "DEFAULT_$LINE"
4273 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4277 eval "$ac_cv_use_datetime"
4278 if test "$no_cache" != 1; then
4279 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4282 if test "$wxUSE_DATETIME" = yes; then
4283 echo "$as_me:$LINENO: result: yes" >&5
4284 echo "${ECHO_T}yes" >&6
4286 echo "$as_me:$LINENO: result: no" >&5
4287 echo "${ECHO_T}no" >&6
4292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4293 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4295 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4296 if test "${enable_stopwatch+set}" = set; then
4297 enableval
="$enable_stopwatch"
4299 if test "$enableval" = yes; then
4300 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
4302 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
4307 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x
; then
4309 eval "DEFAULT_$LINE"
4314 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4318 eval "$ac_cv_use_stopwatch"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4323 if test "$wxUSE_STOPWATCH" = yes; then
4324 echo "$as_me:$LINENO: result: yes" >&5
4325 echo "${ECHO_T}yes" >&6
4327 echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6
4333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4334 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4336 # Check whether --enable-dialupman or --disable-dialupman was given.
4337 if test "${enable_dialupman+set}" = set; then
4338 enableval
="$enable_dialupman"
4340 if test "$enableval" = yes; then
4341 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4343 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4348 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4349 if test "x$LINE" != x
; then
4350 eval "DEFAULT_$LINE"
4355 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4359 eval "$ac_cv_use_dialupman"
4360 if test "$no_cache" != 1; then
4361 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4364 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4365 echo "$as_me:$LINENO: result: yes" >&5
4366 echo "${ECHO_T}yes" >&6
4368 echo "$as_me:$LINENO: result: no" >&5
4369 echo "${ECHO_T}no" >&6
4374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4375 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4377 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4378 if test "${enable_apple_ieee+set}" = set; then
4379 enableval
="$enable_apple_ieee"
4381 if test "$enableval" = yes; then
4382 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4384 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4389 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4390 if test "x$LINE" != x
; then
4391 eval "DEFAULT_$LINE"
4396 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4400 eval "$ac_cv_use_apple_ieee"
4401 if test "$no_cache" != 1; then
4402 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4405 if test "$wxUSE_APPLE_IEEE" = yes; then
4406 echo "$as_me:$LINENO: result: yes" >&5
4407 echo "${ECHO_T}yes" >&6
4409 echo "$as_me:$LINENO: result: no" >&5
4410 echo "${ECHO_T}no" >&6
4415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4416 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4418 # Check whether --enable-timer or --disable-timer was given.
4419 if test "${enable_timer+set}" = set; then
4420 enableval
="$enable_timer"
4422 if test "$enableval" = yes; then
4423 ac_cv_use_timer
='wxUSE_TIMER=yes'
4425 ac_cv_use_timer
='wxUSE_TIMER=no'
4430 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x
; then
4432 eval "DEFAULT_$LINE"
4437 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4441 eval "$ac_cv_use_timer"
4442 if test "$no_cache" != 1; then
4443 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4446 if test "$wxUSE_TIMER" = yes; then
4447 echo "$as_me:$LINENO: result: yes" >&5
4448 echo "${ECHO_T}yes" >&6
4450 echo "$as_me:$LINENO: result: no" >&5
4451 echo "${ECHO_T}no" >&6
4456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4457 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4459 # Check whether --enable-wave or --disable-wave was given.
4460 if test "${enable_wave+set}" = set; then
4461 enableval
="$enable_wave"
4463 if test "$enableval" = yes; then
4464 ac_cv_use_wave
='wxUSE_WAVE=yes'
4466 ac_cv_use_wave
='wxUSE_WAVE=no'
4471 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x
; then
4473 eval "DEFAULT_$LINE"
4478 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4482 eval "$ac_cv_use_wave"
4483 if test "$no_cache" != 1; then
4484 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4487 if test "$wxUSE_WAVE" = yes; then
4488 echo "$as_me:$LINENO: result: yes" >&5
4489 echo "${ECHO_T}yes" >&6
4491 echo "$as_me:$LINENO: result: no" >&5
4492 echo "${ECHO_T}no" >&6
4497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4498 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4500 # Check whether --enable-fraction or --disable-fraction was given.
4501 if test "${enable_fraction+set}" = set; then
4502 enableval
="$enable_fraction"
4504 if test "$enableval" = yes; then
4505 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
4507 ac_cv_use_fraction
='wxUSE_FRACTION=no'
4512 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4513 if test "x$LINE" != x
; then
4514 eval "DEFAULT_$LINE"
4519 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4523 eval "$ac_cv_use_fraction"
4524 if test "$no_cache" != 1; then
4525 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4528 if test "$wxUSE_FRACTION" = yes; then
4529 echo "$as_me:$LINENO: result: yes" >&5
4530 echo "${ECHO_T}yes" >&6
4532 echo "$as_me:$LINENO: result: no" >&5
4533 echo "${ECHO_T}no" >&6
4538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4541 # Check whether --enable-dynlib or --disable-dynlib was given.
4542 if test "${enable_dynlib+set}" = set; then
4543 enableval
="$enable_dynlib"
4545 if test "$enableval" = yes; then
4546 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4548 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4553 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x
; then
4555 eval "DEFAULT_$LINE"
4560 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4564 eval "$ac_cv_use_dynlib"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4569 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4580 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4582 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4583 if test "${enable_dynamicloader+set}" = set; then
4584 enableval
="$enable_dynamicloader"
4586 if test "$enableval" = yes; then
4587 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4589 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4594 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x
; then
4596 eval "DEFAULT_$LINE"
4601 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4605 eval "$ac_cv_use_dynamicloader"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4610 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4611 echo "$as_me:$LINENO: result: yes" >&5
4612 echo "${ECHO_T}yes" >&6
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4623 # Check whether --enable-longlong or --disable-longlong was given.
4624 if test "${enable_longlong+set}" = set; then
4625 enableval
="$enable_longlong"
4627 if test "$enableval" = yes; then
4628 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
4630 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
4635 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x
; then
4637 eval "DEFAULT_$LINE"
4642 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4646 eval "$ac_cv_use_longlong"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_LONGLONG" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4662 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4664 # Check whether --enable-geometry or --disable-geometry was given.
4665 if test "${enable_geometry+set}" = set; then
4666 enableval
="$enable_geometry"
4668 if test "$enableval" = yes; then
4669 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4671 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4676 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x
; then
4678 eval "DEFAULT_$LINE"
4683 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4687 eval "$ac_cv_use_geometry"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4692 if test "$wxUSE_GEOMETRY" = yes; then
4693 echo "$as_me:$LINENO: result: yes" >&5
4694 echo "${ECHO_T}yes" >&6
4696 echo "$as_me:$LINENO: result: no" >&5
4697 echo "${ECHO_T}no" >&6
4702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4703 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4705 # Check whether --enable-log or --disable-log was given.
4706 if test "${enable_log+set}" = set; then
4707 enableval
="$enable_log"
4709 if test "$enableval" = yes; then
4710 ac_cv_use_log
='wxUSE_LOG=yes'
4712 ac_cv_use_log
='wxUSE_LOG=no'
4717 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4718 if test "x$LINE" != x
; then
4719 eval "DEFAULT_$LINE"
4724 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4728 eval "$ac_cv_use_log"
4729 if test "$no_cache" != 1; then
4730 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4733 if test "$wxUSE_LOG" = yes; then
4734 echo "$as_me:$LINENO: result: yes" >&5
4735 echo "${ECHO_T}yes" >&6
4737 echo "$as_me:$LINENO: result: no" >&5
4738 echo "${ECHO_T}no" >&6
4743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4746 # Check whether --enable-streams or --disable-streams was given.
4747 if test "${enable_streams+set}" = set; then
4748 enableval
="$enable_streams"
4750 if test "$enableval" = yes; then
4751 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4753 ac_cv_use_streams
='wxUSE_STREAMS=no'
4758 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4759 if test "x$LINE" != x
; then
4760 eval "DEFAULT_$LINE"
4765 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4769 eval "$ac_cv_use_streams"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4774 if test "$wxUSE_STREAMS" = yes; then
4775 echo "$as_me:$LINENO: result: yes" >&5
4776 echo "${ECHO_T}yes" >&6
4778 echo "$as_me:$LINENO: result: no" >&5
4779 echo "${ECHO_T}no" >&6
4784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4785 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4787 # Check whether --enable-file or --disable-file was given.
4788 if test "${enable_file+set}" = set; then
4789 enableval
="$enable_file"
4791 if test "$enableval" = yes; then
4792 ac_cv_use_file
='wxUSE_FILE=yes'
4794 ac_cv_use_file
='wxUSE_FILE=no'
4799 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4800 if test "x$LINE" != x
; then
4801 eval "DEFAULT_$LINE"
4806 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4810 eval "$ac_cv_use_file"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4815 if test "$wxUSE_FILE" = yes; then
4816 echo "$as_me:$LINENO: result: yes" >&5
4817 echo "${ECHO_T}yes" >&6
4819 echo "$as_me:$LINENO: result: no" >&5
4820 echo "${ECHO_T}no" >&6
4825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4828 # Check whether --enable-ffile or --disable-ffile was given.
4829 if test "${enable_ffile+set}" = set; then
4830 enableval
="$enable_ffile"
4832 if test "$enableval" = yes; then
4833 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4835 ac_cv_use_ffile
='wxUSE_FFILE=no'
4840 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x
; then
4842 eval "DEFAULT_$LINE"
4847 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4851 eval "$ac_cv_use_ffile"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4856 if test "$wxUSE_FFILE" = yes; then
4857 echo "$as_me:$LINENO: result: yes" >&5
4858 echo "${ECHO_T}yes" >&6
4860 echo "$as_me:$LINENO: result: no" >&5
4861 echo "${ECHO_T}no" >&6
4866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4867 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4869 # Check whether --enable-textbuf or --disable-textbuf was given.
4870 if test "${enable_textbuf+set}" = set; then
4871 enableval
="$enable_textbuf"
4873 if test "$enableval" = yes; then
4874 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4876 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4881 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x
; then
4883 eval "DEFAULT_$LINE"
4888 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4892 eval "$ac_cv_use_textbuf"
4893 if test "$no_cache" != 1; then
4894 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4897 if test "$wxUSE_TEXTBUFFER" = yes; then
4898 echo "$as_me:$LINENO: result: yes" >&5
4899 echo "${ECHO_T}yes" >&6
4901 echo "$as_me:$LINENO: result: no" >&5
4902 echo "${ECHO_T}no" >&6
4907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4910 # Check whether --enable-textfile or --disable-textfile was given.
4911 if test "${enable_textfile+set}" = set; then
4912 enableval
="$enable_textfile"
4914 if test "$enableval" = yes; then
4915 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4917 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4922 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x
; then
4924 eval "DEFAULT_$LINE"
4929 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4933 eval "$ac_cv_use_textfile"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4938 if test "$wxUSE_TEXTFILE" = yes; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4951 # Check whether --enable-fontmap or --disable-fontmap was given.
4952 if test "${enable_fontmap+set}" = set; then
4953 enableval
="$enable_fontmap"
4955 if test "$enableval" = yes; then
4956 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4958 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4963 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x
; then
4965 eval "DEFAULT_$LINE"
4970 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4974 eval "$ac_cv_use_fontmap"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4979 if test "$wxUSE_FONTMAP" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981 echo "${ECHO_T}yes" >&6
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4992 # Check whether --enable-unicode or --disable-unicode was given.
4993 if test "${enable_unicode+set}" = set; then
4994 enableval
="$enable_unicode"
4996 if test "$enableval" = yes; then
4997 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4999 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5004 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x
; then
5006 eval "DEFAULT_$LINE"
5011 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5015 eval "$ac_cv_use_unicode"
5016 if test "$no_cache" != 1; then
5017 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5020 if test "$wxUSE_UNICODE" = yes; then
5021 echo "$as_me:$LINENO: result: yes" >&5
5022 echo "${ECHO_T}yes" >&6
5024 echo "$as_me:$LINENO: result: no" >&5
5025 echo "${ECHO_T}no" >&6
5030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5031 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5033 # Check whether --enable-mslu or --disable-mslu was given.
5034 if test "${enable_mslu+set}" = set; then
5035 enableval
="$enable_mslu"
5037 if test "$enableval" = yes; then
5038 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5040 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5045 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5046 if test "x$LINE" != x
; then
5047 eval "DEFAULT_$LINE"
5052 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5056 eval "$ac_cv_use_mslu"
5057 if test "$no_cache" != 1; then
5058 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5061 if test "$wxUSE_UNICODE_MSLU" = yes; then
5062 echo "$as_me:$LINENO: result: yes" >&5
5063 echo "${ECHO_T}yes" >&6
5065 echo "$as_me:$LINENO: result: no" >&5
5066 echo "${ECHO_T}no" >&6
5071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5074 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5075 if test "${enable_wxprintfv+set}" = set; then
5076 enableval
="$enable_wxprintfv"
5078 if test "$enableval" = yes; then
5079 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5081 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5086 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5087 if test "x$LINE" != x
; then
5088 eval "DEFAULT_$LINE"
5093 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5097 eval "$ac_cv_use_wxprintfv"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5102 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5103 echo "$as_me:$LINENO: result: yes" >&5
5104 echo "${ECHO_T}yes" >&6
5106 echo "$as_me:$LINENO: result: no" >&5
5107 echo "${ECHO_T}no" >&6
5112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5115 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5116 if test "${enable_std_iostreams+set}" = set; then
5117 enableval
="$enable_std_iostreams"
5119 if test "$enableval" = yes; then
5120 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5122 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5127 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x
; then
5129 eval "DEFAULT_$LINE"
5134 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5138 eval "$ac_cv_use_std_iostreams"
5139 if test "$no_cache" != 1; then
5140 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5143 if test "$wxUSE_STD_IOSTREAM" = yes; then
5144 echo "$as_me:$LINENO: result: yes" >&5
5145 echo "${ECHO_T}yes" >&6
5147 echo "$as_me:$LINENO: result: no" >&5
5148 echo "${ECHO_T}no" >&6
5153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5156 # Check whether --enable-filesystem or --disable-filesystem was given.
5157 if test "${enable_filesystem+set}" = set; then
5158 enableval
="$enable_filesystem"
5160 if test "$enableval" = yes; then
5161 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5163 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5168 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5169 if test "x$LINE" != x
; then
5170 eval "DEFAULT_$LINE"
5175 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5179 eval "$ac_cv_use_filesystem"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5184 if test "$wxUSE_FILESYSTEM" = yes; then
5185 echo "$as_me:$LINENO: result: yes" >&5
5186 echo "${ECHO_T}yes" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5195 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5197 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5198 if test "${enable_fs_inet+set}" = set; then
5199 enableval
="$enable_fs_inet"
5201 if test "$enableval" = yes; then
5202 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5204 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5209 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x
; then
5211 eval "DEFAULT_$LINE"
5216 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5220 eval "$ac_cv_use_fs_inet"
5221 if test "$no_cache" != 1; then
5222 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5225 if test "$wxUSE_FS_INET" = yes; then
5226 echo "$as_me:$LINENO: result: yes" >&5
5227 echo "${ECHO_T}yes" >&6
5229 echo "$as_me:$LINENO: result: no" >&5
5230 echo "${ECHO_T}no" >&6
5235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5236 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5238 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5239 if test "${enable_fs_zip+set}" = set; then
5240 enableval
="$enable_fs_zip"
5242 if test "$enableval" = yes; then
5243 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5245 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5250 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x
; then
5252 eval "DEFAULT_$LINE"
5257 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5261 eval "$ac_cv_use_fs_zip"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5266 if test "$wxUSE_FS_ZIP" = yes; then
5267 echo "$as_me:$LINENO: result: yes" >&5
5268 echo "${ECHO_T}yes" >&6
5270 echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6
5276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5279 # Check whether --enable-zipstream or --disable-zipstream was given.
5280 if test "${enable_zipstream+set}" = set; then
5281 enableval
="$enable_zipstream"
5283 if test "$enableval" = yes; then
5284 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5286 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5291 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x
; then
5293 eval "DEFAULT_$LINE"
5298 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5302 eval "$ac_cv_use_zipstream"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5307 if test "$wxUSE_ZIPSTREAM" = yes; then
5308 echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6
5311 echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5321 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5322 if test "${enable_catch_segvs+set}" = set; then
5323 enableval
="$enable_catch_segvs"
5325 if test "$enableval" = yes; then
5326 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5328 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5333 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x
; then
5335 eval "DEFAULT_$LINE"
5340 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5344 eval "$ac_cv_use_catch_segvs"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5349 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5362 # Check whether --enable-snglinst or --disable-snglinst was given.
5363 if test "${enable_snglinst+set}" = set; then
5364 enableval
="$enable_snglinst"
5366 if test "$enableval" = yes; then
5367 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5369 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5374 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x
; then
5376 eval "DEFAULT_$LINE"
5381 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5385 eval "$ac_cv_use_snglinst"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5404 # Check whether --enable-mimetype or --disable-mimetype was given.
5405 if test "${enable_mimetype+set}" = set; then
5406 enableval
="$enable_mimetype"
5408 if test "$enableval" = yes; then
5409 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5411 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5416 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5417 if test "x$LINE" != x
; then
5418 eval "DEFAULT_$LINE"
5423 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5427 eval "$ac_cv_use_mimetype"
5428 if test "$no_cache" != 1; then
5429 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5432 if test "$wxUSE_MIMETYPE" = yes; then
5433 echo "$as_me:$LINENO: result: yes" >&5
5434 echo "${ECHO_T}yes" >&6
5436 echo "$as_me:$LINENO: result: no" >&5
5437 echo "${ECHO_T}no" >&6
5442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5443 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5445 # Check whether --enable-system_options or --disable-system_options was given.
5446 if test "${enable_system_options+set}" = set; then
5447 enableval
="$enable_system_options"
5449 if test "$enableval" = yes; then
5450 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5452 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5457 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5458 if test "x$LINE" != x
; then
5459 eval "DEFAULT_$LINE"
5464 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5468 eval "$ac_cv_use_system_options"
5469 if test "$no_cache" != 1; then
5470 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5473 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5474 echo "$as_me:$LINENO: result: yes" >&5
5475 echo "${ECHO_T}yes" >&6
5477 echo "$as_me:$LINENO: result: no" >&5
5478 echo "${ECHO_T}no" >&6
5484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5487 # Check whether --enable-url or --disable-url was given.
5488 if test "${enable_url+set}" = set; then
5489 enableval
="$enable_url"
5491 if test "$enableval" = yes; then
5492 ac_cv_use_url
='wxUSE_URL=yes'
5494 ac_cv_use_url
='wxUSE_URL=no'
5499 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x
; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5510 eval "$ac_cv_use_url"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5515 if test "$wxUSE_URL" = yes; then
5516 echo "$as_me:$LINENO: result: yes" >&5
5517 echo "${ECHO_T}yes" >&6
5519 echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6
5525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5528 # Check whether --enable-protocol or --disable-protocol was given.
5529 if test "${enable_protocol+set}" = set; then
5530 enableval
="$enable_protocol"
5532 if test "$enableval" = yes; then
5533 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5535 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5540 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x
; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5551 eval "$ac_cv_use_protocol"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5556 if test "$wxUSE_PROTOCOL" = yes; then
5557 echo "$as_me:$LINENO: result: yes" >&5
5558 echo "${ECHO_T}yes" >&6
5560 echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6
5566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5569 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5570 if test "${enable_protocol_http+set}" = set; then
5571 enableval
="$enable_protocol_http"
5573 if test "$enableval" = yes; then
5574 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5576 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5581 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5592 eval "$ac_cv_use_protocol_http"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5597 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5598 echo "$as_me:$LINENO: result: yes" >&5
5599 echo "${ECHO_T}yes" >&6
5601 echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6
5607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5610 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5611 if test "${enable_protocol_ftp+set}" = set; then
5612 enableval
="$enable_protocol_ftp"
5614 if test "$enableval" = yes; then
5615 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5617 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5622 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x
; then
5624 eval "DEFAULT_$LINE"
5629 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5633 eval "$ac_cv_use_protocol_ftp"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5638 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5639 echo "$as_me:$LINENO: result: yes" >&5
5640 echo "${ECHO_T}yes" >&6
5642 echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6
5648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5649 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5651 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5652 if test "${enable_protocol_file+set}" = set; then
5653 enableval
="$enable_protocol_file"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5658 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5663 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x
; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5674 eval "$ac_cv_use_protocol_file"
5675 if test "$no_cache" != 1; then
5676 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5679 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5680 echo "$as_me:$LINENO: result: yes" >&5
5681 echo "${ECHO_T}yes" >&6
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5695 # Check whether --enable-threads or --disable-threads was given.
5696 if test "${enable_threads+set}" = set; then
5697 enableval
="$enable_threads"
5699 if test "$enableval" = yes; then
5700 ac_cv_use_threads
='wxUSE_THREADS=yes'
5702 ac_cv_use_threads
='wxUSE_THREADS=no'
5707 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x
; then
5709 eval "DEFAULT_$LINE"
5714 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5718 eval "$ac_cv_use_threads"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5723 if test "$wxUSE_THREADS" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5732 if test "$wxUSE_GUI" = "yes"; then
5737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5738 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5740 # Check whether --enable-docview or --disable-docview was given.
5741 if test "${enable_docview+set}" = set; then
5742 enableval
="$enable_docview"
5744 if test "$enableval" = yes; then
5745 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5747 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5752 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5753 if test "x$LINE" != x
; then
5754 eval "DEFAULT_$LINE"
5759 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5763 eval "$ac_cv_use_docview"
5764 if test "$no_cache" != 1; then
5765 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5768 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5769 echo "$as_me:$LINENO: result: yes" >&5
5770 echo "${ECHO_T}yes" >&6
5772 echo "$as_me:$LINENO: result: no" >&5
5773 echo "${ECHO_T}no" >&6
5778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5779 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5781 # Check whether --enable-help or --disable-help was given.
5782 if test "${enable_help+set}" = set; then
5783 enableval
="$enable_help"
5785 if test "$enableval" = yes; then
5786 ac_cv_use_help
='wxUSE_HELP=yes'
5788 ac_cv_use_help
='wxUSE_HELP=no'
5793 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5794 if test "x$LINE" != x
; then
5795 eval "DEFAULT_$LINE"
5800 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5804 eval "$ac_cv_use_help"
5805 if test "$no_cache" != 1; then
5806 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5809 if test "$wxUSE_HELP" = yes; then
5810 echo "$as_me:$LINENO: result: yes" >&5
5811 echo "${ECHO_T}yes" >&6
5813 echo "$as_me:$LINENO: result: no" >&5
5814 echo "${ECHO_T}no" >&6
5819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5820 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5822 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5823 if test "${enable_mshtmlhelp+set}" = set; then
5824 enableval
="$enable_mshtmlhelp"
5826 if test "$enableval" = yes; then
5827 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5829 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5834 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5835 if test "x$LINE" != x
; then
5836 eval "DEFAULT_$LINE"
5841 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5845 eval "$ac_cv_use_mshtmlhelp"
5846 if test "$no_cache" != 1; then
5847 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5850 if test "$wxUSE_MS_HTML_HELP" = yes; then
5851 echo "$as_me:$LINENO: result: yes" >&5
5852 echo "${ECHO_T}yes" >&6
5854 echo "$as_me:$LINENO: result: no" >&5
5855 echo "${ECHO_T}no" >&6
5860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5861 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5863 # Check whether --enable-html or --disable-html was given.
5864 if test "${enable_html+set}" = set; then
5865 enableval
="$enable_html"
5867 if test "$enableval" = yes; then
5868 ac_cv_use_html
='wxUSE_HTML=yes'
5870 ac_cv_use_html
='wxUSE_HTML=no'
5875 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5876 if test "x$LINE" != x
; then
5877 eval "DEFAULT_$LINE"
5882 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5886 eval "$ac_cv_use_html"
5887 if test "$no_cache" != 1; then
5888 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5891 if test "$wxUSE_HTML" = yes; then
5892 echo "$as_me:$LINENO: result: yes" >&5
5893 echo "${ECHO_T}yes" >&6
5895 echo "$as_me:$LINENO: result: no" >&5
5896 echo "${ECHO_T}no" >&6
5901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5904 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5905 if test "${enable_htmlhelp+set}" = set; then
5906 enableval
="$enable_htmlhelp"
5908 if test "$enableval" = yes; then
5909 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5911 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5916 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x
; then
5918 eval "DEFAULT_$LINE"
5923 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5927 eval "$ac_cv_use_htmlhelp"
5928 if test "$no_cache" != 1; then
5929 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5932 if test "$wxUSE_WXHTML_HELP" = yes; then
5933 echo "$as_me:$LINENO: result: yes" >&5
5934 echo "${ECHO_T}yes" >&6
5936 echo "$as_me:$LINENO: result: no" >&5
5937 echo "${ECHO_T}no" >&6
5942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5943 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5945 # Check whether --enable-constraints or --disable-constraints was given.
5946 if test "${enable_constraints+set}" = set; then
5947 enableval
="$enable_constraints"
5949 if test "$enableval" = yes; then
5950 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5952 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5957 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5958 if test "x$LINE" != x
; then
5959 eval "DEFAULT_$LINE"
5964 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5968 eval "$ac_cv_use_constraints"
5969 if test "$no_cache" != 1; then
5970 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5973 if test "$wxUSE_CONSTRAINTS" = yes; then
5974 echo "$as_me:$LINENO: result: yes" >&5
5975 echo "${ECHO_T}yes" >&6
5977 echo "$as_me:$LINENO: result: no" >&5
5978 echo "${ECHO_T}no" >&6
5983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5984 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5986 # Check whether --enable-printarch or --disable-printarch was given.
5987 if test "${enable_printarch+set}" = set; then
5988 enableval
="$enable_printarch"
5990 if test "$enableval" = yes; then
5991 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5993 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5998 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x
; then
6000 eval "DEFAULT_$LINE"
6005 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6009 eval "$ac_cv_use_printarch"
6010 if test "$no_cache" != 1; then
6011 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6014 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6015 echo "$as_me:$LINENO: result: yes" >&5
6016 echo "${ECHO_T}yes" >&6
6018 echo "$as_me:$LINENO: result: no" >&5
6019 echo "${ECHO_T}no" >&6
6024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6025 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6027 # Check whether --enable-mdi or --disable-mdi was given.
6028 if test "${enable_mdi+set}" = set; then
6029 enableval
="$enable_mdi"
6031 if test "$enableval" = yes; then
6032 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6034 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6039 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6040 if test "x$LINE" != x
; then
6041 eval "DEFAULT_$LINE"
6046 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6050 eval "$ac_cv_use_mdi"
6051 if test "$no_cache" != 1; then
6052 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6055 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6056 echo "$as_me:$LINENO: result: yes" >&5
6057 echo "${ECHO_T}yes" >&6
6059 echo "$as_me:$LINENO: result: no" >&5
6060 echo "${ECHO_T}no" >&6
6065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6068 # Check whether --enable-loggui or --disable-loggui was given.
6069 if test "${enable_loggui+set}" = set; then
6070 enableval
="$enable_loggui"
6072 if test "$enableval" = yes; then
6073 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6075 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6080 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x
; then
6082 eval "DEFAULT_$LINE"
6087 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6091 eval "$ac_cv_use_loggui"
6092 if test "$no_cache" != 1; then
6093 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6096 if test "$wxUSE_LOGGUI" = yes; then
6097 echo "$as_me:$LINENO: result: yes" >&5
6098 echo "${ECHO_T}yes" >&6
6100 echo "$as_me:$LINENO: result: no" >&5
6101 echo "${ECHO_T}no" >&6
6106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6107 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6109 # Check whether --enable-logwin or --disable-logwin was given.
6110 if test "${enable_logwin+set}" = set; then
6111 enableval
="$enable_logwin"
6113 if test "$enableval" = yes; then
6114 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6116 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6121 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6122 if test "x$LINE" != x
; then
6123 eval "DEFAULT_$LINE"
6128 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6132 eval "$ac_cv_use_logwin"
6133 if test "$no_cache" != 1; then
6134 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6137 if test "$wxUSE_LOGWINDOW" = yes; then
6138 echo "$as_me:$LINENO: result: yes" >&5
6139 echo "${ECHO_T}yes" >&6
6141 echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6
6147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6150 # Check whether --enable-logdialog or --disable-logdialog was given.
6151 if test "${enable_logdialog+set}" = set; then
6152 enableval
="$enable_logdialog"
6154 if test "$enableval" = yes; then
6155 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6157 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6162 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x
; then
6164 eval "DEFAULT_$LINE"
6169 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6173 eval "$ac_cv_use_logdialog"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6178 if test "$wxUSE_LOGDIALOG" = yes; then
6179 echo "$as_me:$LINENO: result: yes" >&5
6180 echo "${ECHO_T}yes" >&6
6182 echo "$as_me:$LINENO: result: no" >&5
6183 echo "${ECHO_T}no" >&6
6189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6190 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6192 # Check whether --enable-postscript or --disable-postscript was given.
6193 if test "${enable_postscript+set}" = set; then
6194 enableval
="$enable_postscript"
6196 if test "$enableval" = yes; then
6197 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6199 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6204 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6205 if test "x$LINE" != x
; then
6206 eval "DEFAULT_$LINE"
6211 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6215 eval "$ac_cv_use_postscript"
6216 if test "$no_cache" != 1; then
6217 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6220 if test "$wxUSE_POSTSCRIPT" = yes; then
6221 echo "$as_me:$LINENO: result: yes" >&5
6222 echo "${ECHO_T}yes" >&6
6224 echo "$as_me:$LINENO: result: no" >&5
6225 echo "${ECHO_T}no" >&6
6233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6234 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6236 # Check whether --enable-prologio or --disable-prologio was given.
6237 if test "${enable_prologio+set}" = set; then
6238 enableval
="$enable_prologio"
6240 if test "$enableval" = yes; then
6241 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6243 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6248 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6249 if test "x$LINE" != x
; then
6250 eval "DEFAULT_$LINE"
6255 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6259 eval "$ac_cv_use_prologio"
6260 if test "$no_cache" != 1; then
6261 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6264 if test "$wxUSE_PROLOGIO" = yes; then
6265 echo "$as_me:$LINENO: result: yes" >&5
6266 echo "${ECHO_T}yes" >&6
6268 echo "$as_me:$LINENO: result: no" >&5
6269 echo "${ECHO_T}no" >&6
6274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6277 # Check whether --enable-resources or --disable-resources was given.
6278 if test "${enable_resources+set}" = set; then
6279 enableval
="$enable_resources"
6281 if test "$enableval" = yes; then
6282 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6284 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6289 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6290 if test "x$LINE" != x
; then
6291 eval "DEFAULT_$LINE"
6296 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6300 eval "$ac_cv_use_resources"
6301 if test "$no_cache" != 1; then
6302 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6305 if test "$wxUSE_RESOURCES" = yes; then
6306 echo "$as_me:$LINENO: result: yes" >&5
6307 echo "${ECHO_T}yes" >&6
6309 echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6
6317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6318 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6320 # Check whether --enable-clipboard or --disable-clipboard was given.
6321 if test "${enable_clipboard+set}" = set; then
6322 enableval
="$enable_clipboard"
6324 if test "$enableval" = yes; then
6325 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6327 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6332 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6333 if test "x$LINE" != x
; then
6334 eval "DEFAULT_$LINE"
6339 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6343 eval "$ac_cv_use_clipboard"
6344 if test "$no_cache" != 1; then
6345 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6348 if test "$wxUSE_CLIPBOARD" = yes; then
6349 echo "$as_me:$LINENO: result: yes" >&5
6350 echo "${ECHO_T}yes" >&6
6352 echo "$as_me:$LINENO: result: no" >&5
6353 echo "${ECHO_T}no" >&6
6358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6359 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6361 # Check whether --enable-dnd or --disable-dnd was given.
6362 if test "${enable_dnd+set}" = set; then
6363 enableval
="$enable_dnd"
6365 if test "$enableval" = yes; then
6366 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6368 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6373 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6374 if test "x$LINE" != x
; then
6375 eval "DEFAULT_$LINE"
6380 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6384 eval "$ac_cv_use_dnd"
6385 if test "$no_cache" != 1; then
6386 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6389 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6390 echo "$as_me:$LINENO: result: yes" >&5
6391 echo "${ECHO_T}yes" >&6
6393 echo "$as_me:$LINENO: result: no" >&5
6394 echo "${ECHO_T}no" >&6
6399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6400 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6402 # Check whether --enable-metafile or --disable-metafile was given.
6403 if test "${enable_metafile+set}" = set; then
6404 enableval
="$enable_metafile"
6406 if test "$enableval" = yes; then
6407 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6409 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6414 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x
; then
6416 eval "DEFAULT_$LINE"
6421 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6425 eval "$ac_cv_use_metafile"
6426 if test "$no_cache" != 1; then
6427 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6430 if test "$wxUSE_METAFILE" = yes; then
6431 echo "$as_me:$LINENO: result: yes" >&5
6432 echo "${ECHO_T}yes" >&6
6434 echo "$as_me:$LINENO: result: no" >&5
6435 echo "${ECHO_T}no" >&6
6443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6446 # Check whether --enable-controls or --disable-controls was given.
6447 if test "${enable_controls+set}" = set; then
6448 enableval
="$enable_controls"
6450 if test "$enableval" = yes; then
6451 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6453 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6458 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x
; then
6460 eval "DEFAULT_$LINE"
6465 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6469 eval "$ac_cv_use_controls"
6470 if test "$no_cache" != 1; then
6471 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6474 if test "$wxUSE_CONTROLS" = yes; then
6475 echo "$as_me:$LINENO: result: yes" >&5
6476 echo "${ECHO_T}yes" >&6
6478 echo "$as_me:$LINENO: result: no" >&5
6479 echo "${ECHO_T}no" >&6
6483 if test "$wxUSE_CONTROLS" = "yes"; then
6484 DEFAULT_wxUSE_ACCEL
=yes
6485 DEFAULT_wxUSE_BMPBUTTON
=yes
6486 DEFAULT_wxUSE_BUTTON
=yes
6487 DEFAULT_wxUSE_CALCTRL
=no
6488 DEFAULT_wxUSE_CARET
=yes
6489 DEFAULT_wxUSE_COMBOBOX
=yes
6490 DEFAULT_wxUSE_CHECKBOX
=yes
6491 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6492 DEFAULT_wxUSE_CHOICE
=yes
6493 DEFAULT_wxUSE_GAUGE
=yes
6494 DEFAULT_wxUSE_GRID
=yes
6495 DEFAULT_wxUSE_IMAGLIST
=yes
6496 DEFAULT_wxUSE_LISTBOX
=yes
6497 DEFAULT_wxUSE_LISTCTRL
=yes
6498 DEFAULT_wxUSE_NOTEBOOK
=yes
6499 DEFAULT_wxUSE_RADIOBOX
=yes
6500 DEFAULT_wxUSE_RADIOBTN
=yes
6501 DEFAULT_wxUSE_SASH
=yes
6502 DEFAULT_wxUSE_SCROLLBAR
=yes
6503 DEFAULT_wxUSE_SLIDER
=yes
6504 DEFAULT_wxUSE_SPINBTN
=yes
6505 DEFAULT_wxUSE_SPINCTRL
=yes
6506 DEFAULT_wxUSE_SPLITTER
=yes
6507 DEFAULT_wxUSE_STATBMP
=yes
6508 DEFAULT_wxUSE_STATBOX
=yes
6509 DEFAULT_wxUSE_STATLINE
=yes
6510 DEFAULT_wxUSE_STATUSBAR
=yes
6511 DEFAULT_wxUSE_TAB_DIALOG
=yes
6512 DEFAULT_wxUSE_TOGGLEBTN
=yes
6513 DEFAULT_wxUSE_TOOLBAR
=yes
6514 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6515 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6516 DEFAULT_wxUSE_TOOLTIPS
=yes
6517 DEFAULT_wxUSE_TREECTRL
=yes
6518 DEFAULT_wxUSE_POPUPWIN
=yes
6519 DEFAULT_wxUSE_TIPWINDOW
=yes
6520 elif test "$wxUSE_CONTROLS" = "no"; then
6521 DEFAULT_wxUSE_ACCEL
=no
6522 DEFAULT_wxUSE_BMPBUTTON
=no
6523 DEFAULT_wxUSE_BUTTON
=no
6524 DEFAULT_wxUSE_CALCTRL
=no
6525 DEFAULT_wxUSE_CARET
=no
6526 DEFAULT_wxUSE_COMBOBOX
=no
6527 DEFAULT_wxUSE_CHECKBOX
=no
6528 DEFAULT_wxUSE_CHECKLISTBOX
=no
6529 DEFAULT_wxUSE_CHOICE
=no
6530 DEFAULT_wxUSE_GAUGE
=no
6531 DEFAULT_wxUSE_GRID
=no
6532 DEFAULT_wxUSE_IMAGLIST
=no
6533 DEFAULT_wxUSE_LISTBOX
=no
6534 DEFAULT_wxUSE_LISTCTRL
=no
6535 DEFAULT_wxUSE_NOTEBOOK
=no
6536 DEFAULT_wxUSE_RADIOBOX
=no
6537 DEFAULT_wxUSE_RADIOBTN
=no
6538 DEFAULT_wxUSE_SASH
=no
6539 DEFAULT_wxUSE_SCROLLBAR
=no
6540 DEFAULT_wxUSE_SLIDER
=no
6541 DEFAULT_wxUSE_SPINBTN
=no
6542 DEFAULT_wxUSE_SPINCTRL
=no
6543 DEFAULT_wxUSE_SPLITTER
=no
6544 DEFAULT_wxUSE_STATBMP
=no
6545 DEFAULT_wxUSE_STATBOX
=no
6546 DEFAULT_wxUSE_STATLINE
=no
6547 DEFAULT_wxUSE_STATUSBAR
=no
6548 DEFAULT_wxUSE_TAB_DIALOG
=no
6549 DEFAULT_wxUSE_TOGGLEBTN
=no
6550 DEFAULT_wxUSE_TOOLBAR
=no
6551 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6552 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6553 DEFAULT_wxUSE_TOOLTIPS
=no
6554 DEFAULT_wxUSE_TREECTRL
=no
6555 DEFAULT_wxUSE_POPUPWIN
=no
6556 DEFAULT_wxUSE_TIPWINDOW
=no
6559 ## FIXME: This is a blatant hack
6560 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6561 wxUSE_PRINTING_ARCHITECTURE
=no
6563 wxUSE_DRAG_AND_DROP
=no
6565 # Generic notebook requires tab dialog
6566 DEFAULT_wxUSE_TABDIALOG
=yes
6567 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6568 DEFAULT_wxUSE_SCROLLBAR
=no
6569 DEFAULT_wxUSE_TOOLTIPS
=no
6570 DEFAULT_wxUSE_DRAGIMAGE
=no
6575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6576 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6578 # Check whether --enable-accel or --disable-accel was given.
6579 if test "${enable_accel+set}" = set; then
6580 enableval
="$enable_accel"
6582 if test "$enableval" = yes; then
6583 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6585 ac_cv_use_accel
='wxUSE_ACCEL=no'
6590 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6591 if test "x$LINE" != x
; then
6592 eval "DEFAULT_$LINE"
6597 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6601 eval "$ac_cv_use_accel"
6602 if test "$no_cache" != 1; then
6603 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6606 if test "$wxUSE_ACCEL" = yes; then
6607 echo "$as_me:$LINENO: result: yes" >&5
6608 echo "${ECHO_T}yes" >&6
6610 echo "$as_me:$LINENO: result: no" >&5
6611 echo "${ECHO_T}no" >&6
6616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6617 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6619 # Check whether --enable-button or --disable-button was given.
6620 if test "${enable_button+set}" = set; then
6621 enableval
="$enable_button"
6623 if test "$enableval" = yes; then
6624 ac_cv_use_button
='wxUSE_BUTTON=yes'
6626 ac_cv_use_button
='wxUSE_BUTTON=no'
6631 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6632 if test "x$LINE" != x
; then
6633 eval "DEFAULT_$LINE"
6638 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6642 eval "$ac_cv_use_button"
6643 if test "$no_cache" != 1; then
6644 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6647 if test "$wxUSE_BUTTON" = yes; then
6648 echo "$as_me:$LINENO: result: yes" >&5
6649 echo "${ECHO_T}yes" >&6
6651 echo "$as_me:$LINENO: result: no" >&5
6652 echo "${ECHO_T}no" >&6
6657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6658 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6660 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6661 if test "${enable_bmpbutton+set}" = set; then
6662 enableval
="$enable_bmpbutton"
6664 if test "$enableval" = yes; then
6665 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6667 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6672 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6673 if test "x$LINE" != x
; then
6674 eval "DEFAULT_$LINE"
6679 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6683 eval "$ac_cv_use_bmpbutton"
6684 if test "$no_cache" != 1; then
6685 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6688 if test "$wxUSE_BMPBUTTON" = yes; then
6689 echo "$as_me:$LINENO: result: yes" >&5
6690 echo "${ECHO_T}yes" >&6
6692 echo "$as_me:$LINENO: result: no" >&5
6693 echo "${ECHO_T}no" >&6
6698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6699 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6701 # Check whether --enable-calendar or --disable-calendar was given.
6702 if test "${enable_calendar+set}" = set; then
6703 enableval
="$enable_calendar"
6705 if test "$enableval" = yes; then
6706 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6708 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6713 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6714 if test "x$LINE" != x
; then
6715 eval "DEFAULT_$LINE"
6720 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6724 eval "$ac_cv_use_calendar"
6725 if test "$no_cache" != 1; then
6726 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6729 if test "$wxUSE_CALCTRL" = yes; then
6730 echo "$as_me:$LINENO: result: yes" >&5
6731 echo "${ECHO_T}yes" >&6
6733 echo "$as_me:$LINENO: result: no" >&5
6734 echo "${ECHO_T}no" >&6
6739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6740 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6742 # Check whether --enable-caret or --disable-caret was given.
6743 if test "${enable_caret+set}" = set; then
6744 enableval
="$enable_caret"
6746 if test "$enableval" = yes; then
6747 ac_cv_use_caret
='wxUSE_CARET=yes'
6749 ac_cv_use_caret
='wxUSE_CARET=no'
6754 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6755 if test "x$LINE" != x
; then
6756 eval "DEFAULT_$LINE"
6761 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6765 eval "$ac_cv_use_caret"
6766 if test "$no_cache" != 1; then
6767 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6770 if test "$wxUSE_CARET" = yes; then
6771 echo "$as_me:$LINENO: result: yes" >&5
6772 echo "${ECHO_T}yes" >&6
6774 echo "$as_me:$LINENO: result: no" >&5
6775 echo "${ECHO_T}no" >&6
6780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6783 # Check whether --enable-checkbox or --disable-checkbox was given.
6784 if test "${enable_checkbox+set}" = set; then
6785 enableval
="$enable_checkbox"
6787 if test "$enableval" = yes; then
6788 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6790 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6795 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6796 if test "x$LINE" != x
; then
6797 eval "DEFAULT_$LINE"
6802 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6806 eval "$ac_cv_use_checkbox"
6807 if test "$no_cache" != 1; then
6808 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6811 if test "$wxUSE_CHECKBOX" = yes; then
6812 echo "$as_me:$LINENO: result: yes" >&5
6813 echo "${ECHO_T}yes" >&6
6815 echo "$as_me:$LINENO: result: no" >&5
6816 echo "${ECHO_T}no" >&6
6821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6824 # Check whether --enable-checklst or --disable-checklst was given.
6825 if test "${enable_checklst+set}" = set; then
6826 enableval
="$enable_checklst"
6828 if test "$enableval" = yes; then
6829 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6831 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6836 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6837 if test "x$LINE" != x
; then
6838 eval "DEFAULT_$LINE"
6843 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6847 eval "$ac_cv_use_checklst"
6848 if test "$no_cache" != 1; then
6849 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6852 if test "$wxUSE_CHECKLST" = yes; then
6853 echo "$as_me:$LINENO: result: yes" >&5
6854 echo "${ECHO_T}yes" >&6
6856 echo "$as_me:$LINENO: result: no" >&5
6857 echo "${ECHO_T}no" >&6
6862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6865 # Check whether --enable-choice or --disable-choice was given.
6866 if test "${enable_choice+set}" = set; then
6867 enableval
="$enable_choice"
6869 if test "$enableval" = yes; then
6870 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6872 ac_cv_use_choice
='wxUSE_CHOICE=no'
6877 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6878 if test "x$LINE" != x
; then
6879 eval "DEFAULT_$LINE"
6884 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6888 eval "$ac_cv_use_choice"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6893 if test "$wxUSE_CHOICE" = yes; then
6894 echo "$as_me:$LINENO: result: yes" >&5
6895 echo "${ECHO_T}yes" >&6
6897 echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6
6903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6906 # Check whether --enable-combobox or --disable-combobox was given.
6907 if test "${enable_combobox+set}" = set; then
6908 enableval
="$enable_combobox"
6910 if test "$enableval" = yes; then
6911 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6913 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6918 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x
; then
6920 eval "DEFAULT_$LINE"
6925 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6929 eval "$ac_cv_use_combobox"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6934 if test "$wxUSE_COMBOBOX" = yes; then
6935 echo "$as_me:$LINENO: result: yes" >&5
6936 echo "${ECHO_T}yes" >&6
6938 echo "$as_me:$LINENO: result: no" >&5
6939 echo "${ECHO_T}no" >&6
6944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6947 # Check whether --enable-display or --disable-display was given.
6948 if test "${enable_display+set}" = set; then
6949 enableval
="$enable_display"
6951 if test "$enableval" = yes; then
6952 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6954 ac_cv_use_display
='wxUSE_DISPLAY=no'
6959 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x
; then
6961 eval "DEFAULT_$LINE"
6966 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6970 eval "$ac_cv_use_display"
6971 if test "$no_cache" != 1; then
6972 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6975 if test "$wxUSE_DISPLAY" = yes; then
6976 echo "$as_me:$LINENO: result: yes" >&5
6977 echo "${ECHO_T}yes" >&6
6979 echo "$as_me:$LINENO: result: no" >&5
6980 echo "${ECHO_T}no" >&6
6985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6988 # Check whether --enable-gauge or --disable-gauge was given.
6989 if test "${enable_gauge+set}" = set; then
6990 enableval
="$enable_gauge"
6992 if test "$enableval" = yes; then
6993 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6995 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7000 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x
; then
7002 eval "DEFAULT_$LINE"
7007 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7011 eval "$ac_cv_use_gauge"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7016 if test "$wxUSE_GAUGE" = yes; then
7017 echo "$as_me:$LINENO: result: yes" >&5
7018 echo "${ECHO_T}yes" >&6
7020 echo "$as_me:$LINENO: result: no" >&5
7021 echo "${ECHO_T}no" >&6
7026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7029 # Check whether --enable-grid or --disable-grid was given.
7030 if test "${enable_grid+set}" = set; then
7031 enableval
="$enable_grid"
7033 if test "$enableval" = yes; then
7034 ac_cv_use_grid
='wxUSE_GRID=yes'
7036 ac_cv_use_grid
='wxUSE_GRID=no'
7041 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x
; then
7043 eval "DEFAULT_$LINE"
7048 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7052 eval "$ac_cv_use_grid"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7057 if test "$wxUSE_GRID" = yes; then
7058 echo "$as_me:$LINENO: result: yes" >&5
7059 echo "${ECHO_T}yes" >&6
7061 echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6
7067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7070 # Check whether --enable-imaglist or --disable-imaglist was given.
7071 if test "${enable_imaglist+set}" = set; then
7072 enableval
="$enable_imaglist"
7074 if test "$enableval" = yes; then
7075 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7077 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7082 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x
; then
7084 eval "DEFAULT_$LINE"
7089 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7093 eval "$ac_cv_use_imaglist"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7098 if test "$wxUSE_IMAGLIST" = yes; then
7099 echo "$as_me:$LINENO: result: yes" >&5
7100 echo "${ECHO_T}yes" >&6
7102 echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6
7108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7111 # Check whether --enable-listbox or --disable-listbox was given.
7112 if test "${enable_listbox+set}" = set; then
7113 enableval
="$enable_listbox"
7115 if test "$enableval" = yes; then
7116 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7118 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7123 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x
; then
7125 eval "DEFAULT_$LINE"
7130 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7134 eval "$ac_cv_use_listbox"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7139 if test "$wxUSE_LISTBOX" = yes; then
7140 echo "$as_me:$LINENO: result: yes" >&5
7141 echo "${ECHO_T}yes" >&6
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7152 # Check whether --enable-listctrl or --disable-listctrl was given.
7153 if test "${enable_listctrl+set}" = set; then
7154 enableval
="$enable_listctrl"
7156 if test "$enableval" = yes; then
7157 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7159 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7164 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x
; then
7166 eval "DEFAULT_$LINE"
7171 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7175 eval "$ac_cv_use_listctrl"
7176 if test "$no_cache" != 1; then
7177 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7180 if test "$wxUSE_LISTCTRL" = yes; then
7181 echo "$as_me:$LINENO: result: yes" >&5
7182 echo "${ECHO_T}yes" >&6
7184 echo "$as_me:$LINENO: result: no" >&5
7185 echo "${ECHO_T}no" >&6
7190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7191 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7193 # Check whether --enable-notebook or --disable-notebook was given.
7194 if test "${enable_notebook+set}" = set; then
7195 enableval
="$enable_notebook"
7197 if test "$enableval" = yes; then
7198 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7200 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7205 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7206 if test "x$LINE" != x
; then
7207 eval "DEFAULT_$LINE"
7212 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7216 eval "$ac_cv_use_notebook"
7217 if test "$no_cache" != 1; then
7218 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7221 if test "$wxUSE_NOTEBOOK" = yes; then
7222 echo "$as_me:$LINENO: result: yes" >&5
7223 echo "${ECHO_T}yes" >&6
7225 echo "$as_me:$LINENO: result: no" >&5
7226 echo "${ECHO_T}no" >&6
7231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7232 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7234 # Check whether --enable-radiobox or --disable-radiobox was given.
7235 if test "${enable_radiobox+set}" = set; then
7236 enableval
="$enable_radiobox"
7238 if test "$enableval" = yes; then
7239 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7241 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7246 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7247 if test "x$LINE" != x
; then
7248 eval "DEFAULT_$LINE"
7253 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7257 eval "$ac_cv_use_radiobox"
7258 if test "$no_cache" != 1; then
7259 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7262 if test "$wxUSE_RADIOBOX" = yes; then
7263 echo "$as_me:$LINENO: result: yes" >&5
7264 echo "${ECHO_T}yes" >&6
7266 echo "$as_me:$LINENO: result: no" >&5
7267 echo "${ECHO_T}no" >&6
7272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7273 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7275 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7276 if test "${enable_radiobtn+set}" = set; then
7277 enableval
="$enable_radiobtn"
7279 if test "$enableval" = yes; then
7280 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7282 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7287 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x
; then
7289 eval "DEFAULT_$LINE"
7294 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7298 eval "$ac_cv_use_radiobtn"
7299 if test "$no_cache" != 1; then
7300 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7303 if test "$wxUSE_RADIOBTN" = yes; then
7304 echo "$as_me:$LINENO: result: yes" >&5
7305 echo "${ECHO_T}yes" >&6
7307 echo "$as_me:$LINENO: result: no" >&5
7308 echo "${ECHO_T}no" >&6
7313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7316 # Check whether --enable-sash or --disable-sash was given.
7317 if test "${enable_sash+set}" = set; then
7318 enableval
="$enable_sash"
7320 if test "$enableval" = yes; then
7321 ac_cv_use_sash
='wxUSE_SASH=yes'
7323 ac_cv_use_sash
='wxUSE_SASH=no'
7328 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7329 if test "x$LINE" != x
; then
7330 eval "DEFAULT_$LINE"
7335 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7339 eval "$ac_cv_use_sash"
7340 if test "$no_cache" != 1; then
7341 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7344 if test "$wxUSE_SASH" = yes; then
7345 echo "$as_me:$LINENO: result: yes" >&5
7346 echo "${ECHO_T}yes" >&6
7348 echo "$as_me:$LINENO: result: no" >&5
7349 echo "${ECHO_T}no" >&6
7354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7355 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7357 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7358 if test "${enable_scrollbar+set}" = set; then
7359 enableval
="$enable_scrollbar"
7361 if test "$enableval" = yes; then
7362 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7364 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7369 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x
; then
7371 eval "DEFAULT_$LINE"
7376 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7380 eval "$ac_cv_use_scrollbar"
7381 if test "$no_cache" != 1; then
7382 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7385 if test "$wxUSE_SCROLLBAR" = yes; then
7386 echo "$as_me:$LINENO: result: yes" >&5
7387 echo "${ECHO_T}yes" >&6
7389 echo "$as_me:$LINENO: result: no" >&5
7390 echo "${ECHO_T}no" >&6
7395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7396 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7398 # Check whether --enable-slider or --disable-slider was given.
7399 if test "${enable_slider+set}" = set; then
7400 enableval
="$enable_slider"
7402 if test "$enableval" = yes; then
7403 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7405 ac_cv_use_slider
='wxUSE_SLIDER=no'
7410 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7411 if test "x$LINE" != x
; then
7412 eval "DEFAULT_$LINE"
7417 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7421 eval "$ac_cv_use_slider"
7422 if test "$no_cache" != 1; then
7423 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7426 if test "$wxUSE_SLIDER" = yes; then
7427 echo "$as_me:$LINENO: result: yes" >&5
7428 echo "${ECHO_T}yes" >&6
7430 echo "$as_me:$LINENO: result: no" >&5
7431 echo "${ECHO_T}no" >&6
7436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7437 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7439 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7440 if test "${enable_spinbtn+set}" = set; then
7441 enableval
="$enable_spinbtn"
7443 if test "$enableval" = yes; then
7444 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7446 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7451 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7452 if test "x$LINE" != x
; then
7453 eval "DEFAULT_$LINE"
7458 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7462 eval "$ac_cv_use_spinbtn"
7463 if test "$no_cache" != 1; then
7464 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7467 if test "$wxUSE_SPINBTN" = yes; then
7468 echo "$as_me:$LINENO: result: yes" >&5
7469 echo "${ECHO_T}yes" >&6
7471 echo "$as_me:$LINENO: result: no" >&5
7472 echo "${ECHO_T}no" >&6
7477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7480 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7481 if test "${enable_spinctrl+set}" = set; then
7482 enableval
="$enable_spinctrl"
7484 if test "$enableval" = yes; then
7485 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7487 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7492 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x
; then
7494 eval "DEFAULT_$LINE"
7499 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7503 eval "$ac_cv_use_spinctrl"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7508 if test "$wxUSE_SPINCTRL" = yes; then
7509 echo "$as_me:$LINENO: result: yes" >&5
7510 echo "${ECHO_T}yes" >&6
7512 echo "$as_me:$LINENO: result: no" >&5
7513 echo "${ECHO_T}no" >&6
7518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7519 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7521 # Check whether --enable-splitter or --disable-splitter was given.
7522 if test "${enable_splitter+set}" = set; then
7523 enableval
="$enable_splitter"
7525 if test "$enableval" = yes; then
7526 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7528 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7533 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7534 if test "x$LINE" != x
; then
7535 eval "DEFAULT_$LINE"
7540 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7544 eval "$ac_cv_use_splitter"
7545 if test "$no_cache" != 1; then
7546 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7549 if test "$wxUSE_SPLITTER" = yes; then
7550 echo "$as_me:$LINENO: result: yes" >&5
7551 echo "${ECHO_T}yes" >&6
7553 echo "$as_me:$LINENO: result: no" >&5
7554 echo "${ECHO_T}no" >&6
7559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7560 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7562 # Check whether --enable-statbmp or --disable-statbmp was given.
7563 if test "${enable_statbmp+set}" = set; then
7564 enableval
="$enable_statbmp"
7566 if test "$enableval" = yes; then
7567 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7569 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7574 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7575 if test "x$LINE" != x
; then
7576 eval "DEFAULT_$LINE"
7581 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7585 eval "$ac_cv_use_statbmp"
7586 if test "$no_cache" != 1; then
7587 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7590 if test "$wxUSE_STATBMP" = yes; then
7591 echo "$as_me:$LINENO: result: yes" >&5
7592 echo "${ECHO_T}yes" >&6
7594 echo "$as_me:$LINENO: result: no" >&5
7595 echo "${ECHO_T}no" >&6
7600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7601 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7603 # Check whether --enable-statbox or --disable-statbox was given.
7604 if test "${enable_statbox+set}" = set; then
7605 enableval
="$enable_statbox"
7607 if test "$enableval" = yes; then
7608 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7610 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7615 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x
; then
7617 eval "DEFAULT_$LINE"
7622 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7626 eval "$ac_cv_use_statbox"
7627 if test "$no_cache" != 1; then
7628 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7631 if test "$wxUSE_STATBOX" = yes; then
7632 echo "$as_me:$LINENO: result: yes" >&5
7633 echo "${ECHO_T}yes" >&6
7635 echo "$as_me:$LINENO: result: no" >&5
7636 echo "${ECHO_T}no" >&6
7641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7642 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7644 # Check whether --enable-statline or --disable-statline was given.
7645 if test "${enable_statline+set}" = set; then
7646 enableval
="$enable_statline"
7648 if test "$enableval" = yes; then
7649 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7651 ac_cv_use_statline
='wxUSE_STATLINE=no'
7656 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7657 if test "x$LINE" != x
; then
7658 eval "DEFAULT_$LINE"
7663 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7667 eval "$ac_cv_use_statline"
7668 if test "$no_cache" != 1; then
7669 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7672 if test "$wxUSE_STATLINE" = yes; then
7673 echo "$as_me:$LINENO: result: yes" >&5
7674 echo "${ECHO_T}yes" >&6
7676 echo "$as_me:$LINENO: result: no" >&5
7677 echo "${ECHO_T}no" >&6
7682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7683 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7685 # Check whether --enable-stattext or --disable-stattext was given.
7686 if test "${enable_stattext+set}" = set; then
7687 enableval
="$enable_stattext"
7689 if test "$enableval" = yes; then
7690 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7692 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7697 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7698 if test "x$LINE" != x
; then
7699 eval "DEFAULT_$LINE"
7704 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7708 eval "$ac_cv_use_stattext"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7713 if test "$wxUSE_STATTEXT" = yes; then
7714 echo "$as_me:$LINENO: result: yes" >&5
7715 echo "${ECHO_T}yes" >&6
7717 echo "$as_me:$LINENO: result: no" >&5
7718 echo "${ECHO_T}no" >&6
7723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7724 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7726 # Check whether --enable-statusbar or --disable-statusbar was given.
7727 if test "${enable_statusbar+set}" = set; then
7728 enableval
="$enable_statusbar"
7730 if test "$enableval" = yes; then
7731 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7733 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7738 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7739 if test "x$LINE" != x
; then
7740 eval "DEFAULT_$LINE"
7745 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7749 eval "$ac_cv_use_statusbar"
7750 if test "$no_cache" != 1; then
7751 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7754 if test "$wxUSE_STATUSBAR" = yes; then
7755 echo "$as_me:$LINENO: result: yes" >&5
7756 echo "${ECHO_T}yes" >&6
7758 echo "$as_me:$LINENO: result: no" >&5
7759 echo "${ECHO_T}no" >&6
7764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7765 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7767 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7768 if test "${enable_tabdialog+set}" = set; then
7769 enableval
="$enable_tabdialog"
7771 if test "$enableval" = yes; then
7772 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7774 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7779 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7780 if test "x$LINE" != x
; then
7781 eval "DEFAULT_$LINE"
7786 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7790 eval "$ac_cv_use_tabdialog"
7791 if test "$no_cache" != 1; then
7792 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7795 if test "$wxUSE_TABDIALOG" = yes; then
7796 echo "$as_me:$LINENO: result: yes" >&5
7797 echo "${ECHO_T}yes" >&6
7799 echo "$as_me:$LINENO: result: no" >&5
7800 echo "${ECHO_T}no" >&6
7805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7806 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7808 # Check whether --enable-textctrl or --disable-textctrl was given.
7809 if test "${enable_textctrl+set}" = set; then
7810 enableval
="$enable_textctrl"
7812 if test "$enableval" = yes; then
7813 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7815 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7820 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7821 if test "x$LINE" != x
; then
7822 eval "DEFAULT_$LINE"
7827 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7831 eval "$ac_cv_use_textctrl"
7832 if test "$no_cache" != 1; then
7833 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7836 if test "$wxUSE_TEXTCTRL" = yes; then
7837 echo "$as_me:$LINENO: result: yes" >&5
7838 echo "${ECHO_T}yes" >&6
7840 echo "$as_me:$LINENO: result: no" >&5
7841 echo "${ECHO_T}no" >&6
7846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7847 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7849 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7850 if test "${enable_togglebtn+set}" = set; then
7851 enableval
="$enable_togglebtn"
7853 if test "$enableval" = yes; then
7854 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7856 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7861 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7862 if test "x$LINE" != x
; then
7863 eval "DEFAULT_$LINE"
7868 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7872 eval "$ac_cv_use_togglebtn"
7873 if test "$no_cache" != 1; then
7874 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7877 if test "$wxUSE_TOGGLEBTN" = yes; then
7878 echo "$as_me:$LINENO: result: yes" >&5
7879 echo "${ECHO_T}yes" >&6
7881 echo "$as_me:$LINENO: result: no" >&5
7882 echo "${ECHO_T}no" >&6
7887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7888 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7890 # Check whether --enable-toolbar or --disable-toolbar was given.
7891 if test "${enable_toolbar+set}" = set; then
7892 enableval
="$enable_toolbar"
7894 if test "$enableval" = yes; then
7895 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7897 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7902 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7903 if test "x$LINE" != x
; then
7904 eval "DEFAULT_$LINE"
7909 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7913 eval "$ac_cv_use_toolbar"
7914 if test "$no_cache" != 1; then
7915 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7918 if test "$wxUSE_TOOLBAR" = yes; then
7919 echo "$as_me:$LINENO: result: yes" >&5
7920 echo "${ECHO_T}yes" >&6
7922 echo "$as_me:$LINENO: result: no" >&5
7923 echo "${ECHO_T}no" >&6
7928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7929 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7931 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7932 if test "${enable_tbarnative+set}" = set; then
7933 enableval
="$enable_tbarnative"
7935 if test "$enableval" = yes; then
7936 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7938 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7943 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7944 if test "x$LINE" != x
; then
7945 eval "DEFAULT_$LINE"
7950 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7954 eval "$ac_cv_use_tbarnative"
7955 if test "$no_cache" != 1; then
7956 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7959 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7960 echo "$as_me:$LINENO: result: yes" >&5
7961 echo "${ECHO_T}yes" >&6
7963 echo "$as_me:$LINENO: result: no" >&5
7964 echo "${ECHO_T}no" >&6
7969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7972 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7973 if test "${enable_tbarsmpl+set}" = set; then
7974 enableval
="$enable_tbarsmpl"
7976 if test "$enableval" = yes; then
7977 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7979 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7984 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7985 if test "x$LINE" != x
; then
7986 eval "DEFAULT_$LINE"
7991 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7995 eval "$ac_cv_use_tbarsmpl"
7996 if test "$no_cache" != 1; then
7997 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8000 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8001 echo "$as_me:$LINENO: result: yes" >&5
8002 echo "${ECHO_T}yes" >&6
8004 echo "$as_me:$LINENO: result: no" >&5
8005 echo "${ECHO_T}no" >&6
8010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8011 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8013 # Check whether --enable-treectrl or --disable-treectrl was given.
8014 if test "${enable_treectrl+set}" = set; then
8015 enableval
="$enable_treectrl"
8017 if test "$enableval" = yes; then
8018 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8020 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8025 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8026 if test "x$LINE" != x
; then
8027 eval "DEFAULT_$LINE"
8032 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8036 eval "$ac_cv_use_treectrl"
8037 if test "$no_cache" != 1; then
8038 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8041 if test "$wxUSE_TREECTRL" = yes; then
8042 echo "$as_me:$LINENO: result: yes" >&5
8043 echo "${ECHO_T}yes" >&6
8045 echo "$as_me:$LINENO: result: no" >&5
8046 echo "${ECHO_T}no" >&6
8051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8054 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8055 if test "${enable_tipwindow+set}" = set; then
8056 enableval
="$enable_tipwindow"
8058 if test "$enableval" = yes; then
8059 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8061 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8066 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8067 if test "x$LINE" != x
; then
8068 eval "DEFAULT_$LINE"
8073 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8077 eval "$ac_cv_use_tipwindow"
8078 if test "$no_cache" != 1; then
8079 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8082 if test "$wxUSE_TIPWINDOW" = yes; then
8083 echo "$as_me:$LINENO: result: yes" >&5
8084 echo "${ECHO_T}yes" >&6
8086 echo "$as_me:$LINENO: result: no" >&5
8087 echo "${ECHO_T}no" >&6
8092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8095 # Check whether --enable-popupwin or --disable-popupwin was given.
8096 if test "${enable_popupwin+set}" = set; then
8097 enableval
="$enable_popupwin"
8099 if test "$enableval" = yes; then
8100 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8102 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8107 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8108 if test "x$LINE" != x
; then
8109 eval "DEFAULT_$LINE"
8114 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8118 eval "$ac_cv_use_popupwin"
8119 if test "$no_cache" != 1; then
8120 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8123 if test "$wxUSE_POPUPWIN" = yes; then
8124 echo "$as_me:$LINENO: result: yes" >&5
8125 echo "${ECHO_T}yes" >&6
8127 echo "$as_me:$LINENO: result: no" >&5
8128 echo "${ECHO_T}no" >&6
8135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8136 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8138 # Check whether --enable-commondlg or --disable-commondlg was given.
8139 if test "${enable_commondlg+set}" = set; then
8140 enableval
="$enable_commondlg"
8142 if test "$enableval" = yes; then
8143 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8145 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8150 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8151 if test "x$LINE" != x
; then
8152 eval "DEFAULT_$LINE"
8157 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8161 eval "$ac_cv_use_commondlg"
8162 if test "$no_cache" != 1; then
8163 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8166 if test "$wxUSE_COMMONDLGS" = yes; then
8167 echo "$as_me:$LINENO: result: yes" >&5
8168 echo "${ECHO_T}yes" >&6
8170 echo "$as_me:$LINENO: result: no" >&5
8171 echo "${ECHO_T}no" >&6
8176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8177 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8179 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8180 if test "${enable_choicedlg+set}" = set; then
8181 enableval
="$enable_choicedlg"
8183 if test "$enableval" = yes; then
8184 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8186 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8191 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8192 if test "x$LINE" != x
; then
8193 eval "DEFAULT_$LINE"
8198 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8202 eval "$ac_cv_use_choicedlg"
8203 if test "$no_cache" != 1; then
8204 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8207 if test "$wxUSE_CHOICEDLG" = yes; then
8208 echo "$as_me:$LINENO: result: yes" >&5
8209 echo "${ECHO_T}yes" >&6
8211 echo "$as_me:$LINENO: result: no" >&5
8212 echo "${ECHO_T}no" >&6
8217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8218 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8220 # Check whether --enable-coldlg or --disable-coldlg was given.
8221 if test "${enable_coldlg+set}" = set; then
8222 enableval
="$enable_coldlg"
8224 if test "$enableval" = yes; then
8225 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8227 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8232 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8233 if test "x$LINE" != x
; then
8234 eval "DEFAULT_$LINE"
8239 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8243 eval "$ac_cv_use_coldlg"
8244 if test "$no_cache" != 1; then
8245 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8248 if test "$wxUSE_COLOURDLG" = yes; then
8249 echo "$as_me:$LINENO: result: yes" >&5
8250 echo "${ECHO_T}yes" >&6
8252 echo "$as_me:$LINENO: result: no" >&5
8253 echo "${ECHO_T}no" >&6
8258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8261 # Check whether --enable-filedlg or --disable-filedlg was given.
8262 if test "${enable_filedlg+set}" = set; then
8263 enableval
="$enable_filedlg"
8265 if test "$enableval" = yes; then
8266 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8268 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8273 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8274 if test "x$LINE" != x
; then
8275 eval "DEFAULT_$LINE"
8280 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8284 eval "$ac_cv_use_filedlg"
8285 if test "$no_cache" != 1; then
8286 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8289 if test "$wxUSE_FILEDLG" = yes; then
8290 echo "$as_me:$LINENO: result: yes" >&5
8291 echo "${ECHO_T}yes" >&6
8293 echo "$as_me:$LINENO: result: no" >&5
8294 echo "${ECHO_T}no" >&6
8299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8300 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8302 # Check whether --enable-finddlg or --disable-finddlg was given.
8303 if test "${enable_finddlg+set}" = set; then
8304 enableval
="$enable_finddlg"
8306 if test "$enableval" = yes; then
8307 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8309 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8314 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8315 if test "x$LINE" != x
; then
8316 eval "DEFAULT_$LINE"
8321 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8325 eval "$ac_cv_use_finddlg"
8326 if test "$no_cache" != 1; then
8327 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8330 if test "$wxUSE_FINDREPLDLG" = yes; then
8331 echo "$as_me:$LINENO: result: yes" >&5
8332 echo "${ECHO_T}yes" >&6
8334 echo "$as_me:$LINENO: result: no" >&5
8335 echo "${ECHO_T}no" >&6
8340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8341 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8343 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8344 if test "${enable_fontdlg+set}" = set; then
8345 enableval
="$enable_fontdlg"
8347 if test "$enableval" = yes; then
8348 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8350 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8355 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8356 if test "x$LINE" != x
; then
8357 eval "DEFAULT_$LINE"
8362 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8366 eval "$ac_cv_use_fontdlg"
8367 if test "$no_cache" != 1; then
8368 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8371 if test "$wxUSE_FONTDLG" = yes; then
8372 echo "$as_me:$LINENO: result: yes" >&5
8373 echo "${ECHO_T}yes" >&6
8375 echo "$as_me:$LINENO: result: no" >&5
8376 echo "${ECHO_T}no" >&6
8381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8382 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8384 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8385 if test "${enable_dirdlg+set}" = set; then
8386 enableval
="$enable_dirdlg"
8388 if test "$enableval" = yes; then
8389 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8391 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8396 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8397 if test "x$LINE" != x
; then
8398 eval "DEFAULT_$LINE"
8403 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8407 eval "$ac_cv_use_dirdlg"
8408 if test "$no_cache" != 1; then
8409 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8412 if test "$wxUSE_DIRDLG" = yes; then
8413 echo "$as_me:$LINENO: result: yes" >&5
8414 echo "${ECHO_T}yes" >&6
8416 echo "$as_me:$LINENO: result: no" >&5
8417 echo "${ECHO_T}no" >&6
8422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8423 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8425 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8426 if test "${enable_msgdlg+set}" = set; then
8427 enableval
="$enable_msgdlg"
8429 if test "$enableval" = yes; then
8430 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8432 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8437 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8438 if test "x$LINE" != x
; then
8439 eval "DEFAULT_$LINE"
8444 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8448 eval "$ac_cv_use_msgdlg"
8449 if test "$no_cache" != 1; then
8450 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8453 if test "$wxUSE_MSGDLG" = yes; then
8454 echo "$as_me:$LINENO: result: yes" >&5
8455 echo "${ECHO_T}yes" >&6
8457 echo "$as_me:$LINENO: result: no" >&5
8458 echo "${ECHO_T}no" >&6
8463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8464 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8466 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8467 if test "${enable_numberdlg+set}" = set; then
8468 enableval
="$enable_numberdlg"
8470 if test "$enableval" = yes; then
8471 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8473 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8478 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8479 if test "x$LINE" != x
; then
8480 eval "DEFAULT_$LINE"
8485 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8489 eval "$ac_cv_use_numberdlg"
8490 if test "$no_cache" != 1; then
8491 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8494 if test "$wxUSE_NUMBERDLG" = yes; then
8495 echo "$as_me:$LINENO: result: yes" >&5
8496 echo "${ECHO_T}yes" >&6
8498 echo "$as_me:$LINENO: result: no" >&5
8499 echo "${ECHO_T}no" >&6
8504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8505 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8507 # Check whether --enable-splash or --disable-splash was given.
8508 if test "${enable_splash+set}" = set; then
8509 enableval
="$enable_splash"
8511 if test "$enableval" = yes; then
8512 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8514 ac_cv_use_splash
='wxUSE_SPLASH=no'
8519 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8520 if test "x$LINE" != x
; then
8521 eval "DEFAULT_$LINE"
8526 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8530 eval "$ac_cv_use_splash"
8531 if test "$no_cache" != 1; then
8532 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8535 if test "$wxUSE_SPLASH" = yes; then
8536 echo "$as_me:$LINENO: result: yes" >&5
8537 echo "${ECHO_T}yes" >&6
8539 echo "$as_me:$LINENO: result: no" >&5
8540 echo "${ECHO_T}no" >&6
8545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8546 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8548 # Check whether --enable-textdlg or --disable-textdlg was given.
8549 if test "${enable_textdlg+set}" = set; then
8550 enableval
="$enable_textdlg"
8552 if test "$enableval" = yes; then
8553 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8555 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8560 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8561 if test "x$LINE" != x
; then
8562 eval "DEFAULT_$LINE"
8567 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8571 eval "$ac_cv_use_textdlg"
8572 if test "$no_cache" != 1; then
8573 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8576 if test "$wxUSE_TEXTDLG" = yes; then
8577 echo "$as_me:$LINENO: result: yes" >&5
8578 echo "${ECHO_T}yes" >&6
8580 echo "$as_me:$LINENO: result: no" >&5
8581 echo "${ECHO_T}no" >&6
8586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8587 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8589 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8590 if test "${enable_tipdlg+set}" = set; then
8591 enableval
="$enable_tipdlg"
8593 if test "$enableval" = yes; then
8594 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8596 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8601 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x
; then
8603 eval "DEFAULT_$LINE"
8608 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8612 eval "$ac_cv_use_tipdlg"
8613 if test "$no_cache" != 1; then
8614 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8617 if test "$wxUSE_STARTUP_TIPS" = yes; then
8618 echo "$as_me:$LINENO: result: yes" >&5
8619 echo "${ECHO_T}yes" >&6
8621 echo "$as_me:$LINENO: result: no" >&5
8622 echo "${ECHO_T}no" >&6
8627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8630 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8631 if test "${enable_progressdlg+set}" = set; then
8632 enableval
="$enable_progressdlg"
8634 if test "$enableval" = yes; then
8635 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8637 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8642 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8643 if test "x$LINE" != x
; then
8644 eval "DEFAULT_$LINE"
8649 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8653 eval "$ac_cv_use_progressdlg"
8654 if test "$no_cache" != 1; then
8655 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8658 if test "$wxUSE_PROGRESSDLG" = yes; then
8659 echo "$as_me:$LINENO: result: yes" >&5
8660 echo "${ECHO_T}yes" >&6
8662 echo "$as_me:$LINENO: result: no" >&5
8663 echo "${ECHO_T}no" >&6
8668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8669 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8671 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8672 if test "${enable_wizarddlg+set}" = set; then
8673 enableval
="$enable_wizarddlg"
8675 if test "$enableval" = yes; then
8676 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8678 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8683 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8684 if test "x$LINE" != x
; then
8685 eval "DEFAULT_$LINE"
8690 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8694 eval "$ac_cv_use_wizarddlg"
8695 if test "$no_cache" != 1; then
8696 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8699 if test "$wxUSE_WIZARDDLG" = yes; then
8700 echo "$as_me:$LINENO: result: yes" >&5
8701 echo "${ECHO_T}yes" >&6
8703 echo "$as_me:$LINENO: result: no" >&5
8704 echo "${ECHO_T}no" >&6
8711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8712 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8714 # Check whether --enable-menus or --disable-menus was given.
8715 if test "${enable_menus+set}" = set; then
8716 enableval
="$enable_menus"
8718 if test "$enableval" = yes; then
8719 ac_cv_use_menus
='wxUSE_MENUS=yes'
8721 ac_cv_use_menus
='wxUSE_MENUS=no'
8726 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8727 if test "x$LINE" != x
; then
8728 eval "DEFAULT_$LINE"
8733 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8737 eval "$ac_cv_use_menus"
8738 if test "$no_cache" != 1; then
8739 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8742 if test "$wxUSE_MENUS" = yes; then
8743 echo "$as_me:$LINENO: result: yes" >&5
8744 echo "${ECHO_T}yes" >&6
8746 echo "$as_me:$LINENO: result: no" >&5
8747 echo "${ECHO_T}no" >&6
8752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8753 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8755 # Check whether --enable-miniframe or --disable-miniframe was given.
8756 if test "${enable_miniframe+set}" = set; then
8757 enableval
="$enable_miniframe"
8759 if test "$enableval" = yes; then
8760 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8762 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8767 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8768 if test "x$LINE" != x
; then
8769 eval "DEFAULT_$LINE"
8774 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8778 eval "$ac_cv_use_miniframe"
8779 if test "$no_cache" != 1; then
8780 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8783 if test "$wxUSE_MINIFRAME" = yes; then
8784 echo "$as_me:$LINENO: result: yes" >&5
8785 echo "${ECHO_T}yes" >&6
8787 echo "$as_me:$LINENO: result: no" >&5
8788 echo "${ECHO_T}no" >&6
8793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8794 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8796 # Check whether --enable-tooltips or --disable-tooltips was given.
8797 if test "${enable_tooltips+set}" = set; then
8798 enableval
="$enable_tooltips"
8800 if test "$enableval" = yes; then
8801 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8803 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8808 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8809 if test "x$LINE" != x
; then
8810 eval "DEFAULT_$LINE"
8815 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8819 eval "$ac_cv_use_tooltips"
8820 if test "$no_cache" != 1; then
8821 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8824 if test "$wxUSE_TOOLTIPS" = yes; then
8825 echo "$as_me:$LINENO: result: yes" >&5
8826 echo "${ECHO_T}yes" >&6
8828 echo "$as_me:$LINENO: result: no" >&5
8829 echo "${ECHO_T}no" >&6
8834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8835 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8837 # Check whether --enable-splines or --disable-splines was given.
8838 if test "${enable_splines+set}" = set; then
8839 enableval
="$enable_splines"
8841 if test "$enableval" = yes; then
8842 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8844 ac_cv_use_splines
='wxUSE_SPLINES=no'
8849 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8850 if test "x$LINE" != x
; then
8851 eval "DEFAULT_$LINE"
8856 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8860 eval "$ac_cv_use_splines"
8861 if test "$no_cache" != 1; then
8862 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8865 if test "$wxUSE_SPLINES" = yes; then
8866 echo "$as_me:$LINENO: result: yes" >&5
8867 echo "${ECHO_T}yes" >&6
8869 echo "$as_me:$LINENO: result: no" >&5
8870 echo "${ECHO_T}no" >&6
8875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8876 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8878 # Check whether --enable-validators or --disable-validators was given.
8879 if test "${enable_validators+set}" = set; then
8880 enableval
="$enable_validators"
8882 if test "$enableval" = yes; then
8883 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8885 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8890 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8891 if test "x$LINE" != x
; then
8892 eval "DEFAULT_$LINE"
8897 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8901 eval "$ac_cv_use_validators"
8902 if test "$no_cache" != 1; then
8903 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8906 if test "$wxUSE_VALIDATORS" = yes; then
8907 echo "$as_me:$LINENO: result: yes" >&5
8908 echo "${ECHO_T}yes" >&6
8910 echo "$as_me:$LINENO: result: no" >&5
8911 echo "${ECHO_T}no" >&6
8916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8919 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8920 if test "${enable_busyinfo+set}" = set; then
8921 enableval
="$enable_busyinfo"
8923 if test "$enableval" = yes; then
8924 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8926 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8931 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x
; then
8933 eval "DEFAULT_$LINE"
8938 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8942 eval "$ac_cv_use_busyinfo"
8943 if test "$no_cache" != 1; then
8944 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8947 if test "$wxUSE_BUSYINFO" = yes; then
8948 echo "$as_me:$LINENO: result: yes" >&5
8949 echo "${ECHO_T}yes" >&6
8951 echo "$as_me:$LINENO: result: no" >&5
8952 echo "${ECHO_T}no" >&6
8957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8958 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8960 # Check whether --enable-joystick or --disable-joystick was given.
8961 if test "${enable_joystick+set}" = set; then
8962 enableval
="$enable_joystick"
8964 if test "$enableval" = yes; then
8965 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8967 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8972 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8973 if test "x$LINE" != x
; then
8974 eval "DEFAULT_$LINE"
8979 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8983 eval "$ac_cv_use_joystick"
8984 if test "$no_cache" != 1; then
8985 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8988 if test "$wxUSE_JOYSTICK" = yes; then
8989 echo "$as_me:$LINENO: result: yes" >&5
8990 echo "${ECHO_T}yes" >&6
8992 echo "$as_me:$LINENO: result: no" >&5
8993 echo "${ECHO_T}no" >&6
8998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8999 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9001 # Check whether --enable-metafile or --disable-metafile was given.
9002 if test "${enable_metafile+set}" = set; then
9003 enableval
="$enable_metafile"
9005 if test "$enableval" = yes; then
9006 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9008 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9013 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9014 if test "x$LINE" != x
; then
9015 eval "DEFAULT_$LINE"
9020 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9024 eval "$ac_cv_use_metafile"
9025 if test "$no_cache" != 1; then
9026 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9029 if test "$wxUSE_METAFILE" = yes; then
9030 echo "$as_me:$LINENO: result: yes" >&5
9031 echo "${ECHO_T}yes" >&6
9033 echo "$as_me:$LINENO: result: no" >&5
9034 echo "${ECHO_T}no" >&6
9039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9042 # Check whether --enable-dragimage or --disable-dragimage was given.
9043 if test "${enable_dragimage+set}" = set; then
9044 enableval
="$enable_dragimage"
9046 if test "$enableval" = yes; then
9047 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9049 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9054 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x
; then
9056 eval "DEFAULT_$LINE"
9061 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9065 eval "$ac_cv_use_dragimage"
9066 if test "$no_cache" != 1; then
9067 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9070 if test "$wxUSE_DRAGIMAGE" = yes; then
9071 echo "$as_me:$LINENO: result: yes" >&5
9072 echo "${ECHO_T}yes" >&6
9074 echo "$as_me:$LINENO: result: no" >&5
9075 echo "${ECHO_T}no" >&6
9080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9083 # Check whether --enable-accessibility or --disable-accessibility was given.
9084 if test "${enable_accessibility+set}" = set; then
9085 enableval
="$enable_accessibility"
9087 if test "$enableval" = yes; then
9088 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9090 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9095 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9096 if test "x$LINE" != x
; then
9097 eval "DEFAULT_$LINE"
9102 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9106 eval "$ac_cv_use_accessibility"
9107 if test "$no_cache" != 1; then
9108 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9111 if test "$wxUSE_ACCESSIBILITY" = yes; then
9112 echo "$as_me:$LINENO: result: yes" >&5
9113 echo "${ECHO_T}yes" >&6
9115 echo "$as_me:$LINENO: result: no" >&5
9116 echo "${ECHO_T}no" >&6
9123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9124 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9126 # Check whether --enable-palette or --disable-palette was given.
9127 if test "${enable_palette+set}" = set; then
9128 enableval
="$enable_palette"
9130 if test "$enableval" = yes; then
9131 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9133 ac_cv_use_palette
='wxUSE_PALETTE=no'
9138 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9139 if test "x$LINE" != x
; then
9140 eval "DEFAULT_$LINE"
9145 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9149 eval "$ac_cv_use_palette"
9150 if test "$no_cache" != 1; then
9151 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9154 if test "$wxUSE_PALETTE" = yes; then
9155 echo "$as_me:$LINENO: result: yes" >&5
9156 echo "${ECHO_T}yes" >&6
9158 echo "$as_me:$LINENO: result: no" >&5
9159 echo "${ECHO_T}no" >&6
9164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9165 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9167 # Check whether --enable-image or --disable-image was given.
9168 if test "${enable_image+set}" = set; then
9169 enableval
="$enable_image"
9171 if test "$enableval" = yes; then
9172 ac_cv_use_image
='wxUSE_IMAGE=yes'
9174 ac_cv_use_image
='wxUSE_IMAGE=no'
9179 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9180 if test "x$LINE" != x
; then
9181 eval "DEFAULT_$LINE"
9186 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9190 eval "$ac_cv_use_image"
9191 if test "$no_cache" != 1; then
9192 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9195 if test "$wxUSE_IMAGE" = yes; then
9196 echo "$as_me:$LINENO: result: yes" >&5
9197 echo "${ECHO_T}yes" >&6
9199 echo "$as_me:$LINENO: result: no" >&5
9200 echo "${ECHO_T}no" >&6
9205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9206 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9208 # Check whether --enable-gif or --disable-gif was given.
9209 if test "${enable_gif+set}" = set; then
9210 enableval
="$enable_gif"
9212 if test "$enableval" = yes; then
9213 ac_cv_use_gif
='wxUSE_GIF=yes'
9215 ac_cv_use_gif
='wxUSE_GIF=no'
9220 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9221 if test "x$LINE" != x
; then
9222 eval "DEFAULT_$LINE"
9227 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9231 eval "$ac_cv_use_gif"
9232 if test "$no_cache" != 1; then
9233 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9236 if test "$wxUSE_GIF" = yes; then
9237 echo "$as_me:$LINENO: result: yes" >&5
9238 echo "${ECHO_T}yes" >&6
9240 echo "$as_me:$LINENO: result: no" >&5
9241 echo "${ECHO_T}no" >&6
9246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9247 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9249 # Check whether --enable-pcx or --disable-pcx was given.
9250 if test "${enable_pcx+set}" = set; then
9251 enableval
="$enable_pcx"
9253 if test "$enableval" = yes; then
9254 ac_cv_use_pcx
='wxUSE_PCX=yes'
9256 ac_cv_use_pcx
='wxUSE_PCX=no'
9261 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9262 if test "x$LINE" != x
; then
9263 eval "DEFAULT_$LINE"
9268 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9272 eval "$ac_cv_use_pcx"
9273 if test "$no_cache" != 1; then
9274 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9277 if test "$wxUSE_PCX" = yes; then
9278 echo "$as_me:$LINENO: result: yes" >&5
9279 echo "${ECHO_T}yes" >&6
9281 echo "$as_me:$LINENO: result: no" >&5
9282 echo "${ECHO_T}no" >&6
9287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9290 # Check whether --enable-iff or --disable-iff was given.
9291 if test "${enable_iff+set}" = set; then
9292 enableval
="$enable_iff"
9294 if test "$enableval" = yes; then
9295 ac_cv_use_iff
='wxUSE_IFF=yes'
9297 ac_cv_use_iff
='wxUSE_IFF=no'
9302 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9303 if test "x$LINE" != x
; then
9304 eval "DEFAULT_$LINE"
9309 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9313 eval "$ac_cv_use_iff"
9314 if test "$no_cache" != 1; then
9315 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9318 if test "$wxUSE_IFF" = yes; then
9319 echo "$as_me:$LINENO: result: yes" >&5
9320 echo "${ECHO_T}yes" >&6
9322 echo "$as_me:$LINENO: result: no" >&5
9323 echo "${ECHO_T}no" >&6
9328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9329 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9331 # Check whether --enable-pnm or --disable-pnm was given.
9332 if test "${enable_pnm+set}" = set; then
9333 enableval
="$enable_pnm"
9335 if test "$enableval" = yes; then
9336 ac_cv_use_pnm
='wxUSE_PNM=yes'
9338 ac_cv_use_pnm
='wxUSE_PNM=no'
9343 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9344 if test "x$LINE" != x
; then
9345 eval "DEFAULT_$LINE"
9350 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9354 eval "$ac_cv_use_pnm"
9355 if test "$no_cache" != 1; then
9356 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9359 if test "$wxUSE_PNM" = yes; then
9360 echo "$as_me:$LINENO: result: yes" >&5
9361 echo "${ECHO_T}yes" >&6
9363 echo "$as_me:$LINENO: result: no" >&5
9364 echo "${ECHO_T}no" >&6
9369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9370 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9372 # Check whether --enable-xpm or --disable-xpm was given.
9373 if test "${enable_xpm+set}" = set; then
9374 enableval
="$enable_xpm"
9376 if test "$enableval" = yes; then
9377 ac_cv_use_xpm
='wxUSE_XPM=yes'
9379 ac_cv_use_xpm
='wxUSE_XPM=no'
9384 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9385 if test "x$LINE" != x
; then
9386 eval "DEFAULT_$LINE"
9391 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9395 eval "$ac_cv_use_xpm"
9396 if test "$no_cache" != 1; then
9397 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9400 if test "$wxUSE_XPM" = yes; then
9401 echo "$as_me:$LINENO: result: yes" >&5
9402 echo "${ECHO_T}yes" >&6
9404 echo "$as_me:$LINENO: result: no" >&5
9405 echo "${ECHO_T}no" >&6
9410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9411 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9413 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9414 if test "${enable_ico_cur+set}" = set; then
9415 enableval
="$enable_ico_cur"
9417 if test "$enableval" = yes; then
9418 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9420 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9425 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9426 if test "x$LINE" != x
; then
9427 eval "DEFAULT_$LINE"
9432 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9436 eval "$ac_cv_use_ico_cur"
9437 if test "$no_cache" != 1; then
9438 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9441 if test "$wxUSE_ICO_CUR" = yes; then
9442 echo "$as_me:$LINENO: result: yes" >&5
9443 echo "${ECHO_T}yes" >&6
9445 echo "$as_me:$LINENO: result: no" >&5
9446 echo "${ECHO_T}no" >&6
9453 *-pc-os2_emx | *-pc-os2-emx )
9465 echo "saving argument cache $wx_arg_cache_file"
9466 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9470 echo "$as_me:$LINENO: checking for toolkit" >&5
9471 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9473 # In Wine, we need to default to MSW, not GTK or MOTIF
9474 if test "$wxUSE_WINE" = "yes"; then
9475 DEFAULT_DEFAULT_wxUSE_GTK
=0
9476 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9477 DEFAULT_DEFAULT_wxUSE_MSW
=1
9480 if test "$wxUSE_GUI" = "yes"; then
9482 if test "$USE_BEOS" = 1; then
9483 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9484 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9485 { (exit 1); exit 1; }; }
9488 if test "$TOOLKIT_GIVEN" = 1; then
9489 for toolkit
in `echo $ALL_TOOLKITS`; do
9491 eval "value=\$${var}"
9492 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9495 for toolkit
in `echo $ALL_TOOLKITS`; do
9496 if test "$has_toolkit_in_cache" != 1; then
9497 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9499 var
=DEFAULT_wxUSE_
$toolkit
9501 eval "wxUSE_$toolkit=\$${var}"
9505 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9506 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9507 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9510 *-pc-os2_emx | *-pc-os2-emx )
9511 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9514 case "$NUM_TOOLKITS" in
9518 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9519 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9520 { (exit 1); exit 1; }; }
9523 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9524 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9525 { (exit 1); exit 1; }; }
9528 for toolkit
in `echo $ALL_TOOLKITS`; do
9530 eval "value=\$${var}"
9531 if test "x$value" != x
; then
9532 cache_var
=CACHE_
$toolkit
9533 eval "cache=\$${cache_var}"
9534 if test "$cache" = 1; then
9535 echo "$var=$value" >> ${wx_arg_cache_file}
9537 if test "$value" = 1; then
9538 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
9539 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9540 echo "${ECHO_T}$toolkit_echo" >&6
9545 if test "x$host_alias" != "x"; then
9546 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9547 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9549 echo "$as_me:$LINENO: result: base only" >&5
9550 echo "${ECHO_T}base only" >&6
9558 if test "$wxUSE_MSW" = 1 ; then
9569 if test "$wxUSE_WINE" = "yes"; then
9576 if test "$wants_win32" = 1 ; then
9579 cat >>confdefs.h
<<\_ACEOF
9583 cat >>confdefs.h
<<\_ACEOF
9587 cat >>confdefs.h
<<\_ACEOF
9588 #define __WINDOWS__ 1
9591 cat >>confdefs.h
<<\_ACEOF
9592 #define __GNUWIN32__ 1
9595 cat >>confdefs.h
<<\_ACEOF
9599 cat >>confdefs.h
<<\_ACEOF
9600 #define WINVER 0x0400
9604 if test "$doesnt_want_win32" = 1 ; then
9609 if test "$USE_UNIX" = 1 ; then
9611 cat >>confdefs.h
<<\_ACEOF
9618 cat >confcache
<<\_ACEOF
9619 # This file is a shell script that caches the results of configure
9620 # tests run on this system so they can be shared between configure
9621 # scripts and configure runs, see configure's option --config-cache.
9622 # It is not useful on other systems. If it contains results you don't
9623 # want to keep, you may remove or edit it.
9625 # config.status only pays attention to the cache file if you give it
9626 # the --recheck option to rerun configure.
9628 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9629 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9634 # The following way of writing the cache mishandles newlines in values,
9635 # but we know of no workaround that is simple, portable, and efficient.
9636 # So, don't put newlines in cache variables' values.
9637 # Ultrix sh set writes to stderr and can't be redirected directly,
9638 # and sets the high bit in the cache file unless we assign to the vars.
9641 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9643 # `set' does not quote correctly, so add quotes (double-quote
9644 # substitution turns \\\\ into \\, and sed turns \\ into \).
9647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9650 # `set' quotes correctly as required by POSIX, so do not add quotes.
9652 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9659 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9661 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9663 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9664 if test -w $cache_file; then
9665 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9666 cat confcache
>$cache_file
9668 echo "not updating unwritable cache $cache_file"
9673 if test "$build" != "$host" ; then
9674 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9678 RANLIB
=$host_alias-ranlib
9679 DLLTOOL
=$host_alias-dlltool
9680 RESCOMP
=$host_alias-windres
9683 STRIP
=$host_alias-strip
9685 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9686 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9687 { (exit 1); exit 1; }; }
9693 ac_cpp
='$CPP $CPPFLAGS'
9694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9697 if test -n "$ac_tool_prefix"; then
9698 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9699 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9700 echo "$as_me:$LINENO: checking for $ac_word" >&5
9701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9702 if test "${ac_cv_prog_CC+set}" = set; then
9703 echo $ECHO_N "(cached) $ECHO_C" >&6
9705 if test -n "$CC"; then
9706 ac_cv_prog_CC
="$CC" # Let the user override the test.
9708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9712 test -z "$as_dir" && as_dir
=.
9713 for ac_exec_ext
in '' $ac_executable_extensions; do
9714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9715 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9725 if test -n "$CC"; then
9726 echo "$as_me:$LINENO: result: $CC" >&5
9727 echo "${ECHO_T}$CC" >&6
9729 echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6
9734 if test -z "$ac_cv_prog_CC"; then
9736 # Extract the first word of "gcc", so it can be a program name with args.
9737 set dummy gcc
; ac_word
=$2
9738 echo "$as_me:$LINENO: checking for $ac_word" >&5
9739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9740 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 if test -n "$ac_ct_CC"; then
9744 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9750 test -z "$as_dir" && as_dir
=.
9751 for ac_exec_ext
in '' $ac_executable_extensions; do
9752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9753 ac_cv_prog_ac_ct_CC
="gcc"
9754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9762 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9763 if test -n "$ac_ct_CC"; then
9764 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9765 echo "${ECHO_T}$ac_ct_CC" >&6
9767 echo "$as_me:$LINENO: result: no" >&5
9768 echo "${ECHO_T}no" >&6
9776 if test -z "$CC"; then
9777 if test -n "$ac_tool_prefix"; then
9778 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9779 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9780 echo "$as_me:$LINENO: checking for $ac_word" >&5
9781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9782 if test "${ac_cv_prog_CC+set}" = set; then
9783 echo $ECHO_N "(cached) $ECHO_C" >&6
9785 if test -n "$CC"; then
9786 ac_cv_prog_CC
="$CC" # Let the user override the test.
9788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9792 test -z "$as_dir" && as_dir
=.
9793 for ac_exec_ext
in '' $ac_executable_extensions; do
9794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9795 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9805 if test -n "$CC"; then
9806 echo "$as_me:$LINENO: result: $CC" >&5
9807 echo "${ECHO_T}$CC" >&6
9809 echo "$as_me:$LINENO: result: no" >&5
9810 echo "${ECHO_T}no" >&6
9814 if test -z "$ac_cv_prog_CC"; then
9816 # Extract the first word of "cc", so it can be a program name with args.
9817 set dummy cc
; ac_word
=$2
9818 echo "$as_me:$LINENO: checking for $ac_word" >&5
9819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9820 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9821 echo $ECHO_N "(cached) $ECHO_C" >&6
9823 if test -n "$ac_ct_CC"; then
9824 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9830 test -z "$as_dir" && as_dir
=.
9831 for ac_exec_ext
in '' $ac_executable_extensions; do
9832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9833 ac_cv_prog_ac_ct_CC
="cc"
9834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9842 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9843 if test -n "$ac_ct_CC"; then
9844 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9845 echo "${ECHO_T}$ac_ct_CC" >&6
9847 echo "$as_me:$LINENO: result: no" >&5
9848 echo "${ECHO_T}no" >&6
9857 if test -z "$CC"; then
9858 # Extract the first word of "cc", so it can be a program name with args.
9859 set dummy cc
; ac_word
=$2
9860 echo "$as_me:$LINENO: checking for $ac_word" >&5
9861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9862 if test "${ac_cv_prog_CC+set}" = set; then
9863 echo $ECHO_N "(cached) $ECHO_C" >&6
9865 if test -n "$CC"; then
9866 ac_cv_prog_CC
="$CC" # Let the user override the test.
9869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9873 test -z "$as_dir" && as_dir
=.
9874 for ac_exec_ext
in '' $ac_executable_extensions; do
9875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9876 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9877 ac_prog_rejected
=yes
9881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9887 if test $ac_prog_rejected = yes; then
9888 # We found a bogon in the path, so make sure we never use it.
9889 set dummy
$ac_cv_prog_CC
9891 if test $# != 0; then
9892 # We chose a different compiler from the bogus one.
9893 # However, it has the same basename, so the bogon will be chosen
9894 # first if we set CC to just the basename; use the full file name.
9896 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9902 if test -n "$CC"; then
9903 echo "$as_me:$LINENO: result: $CC" >&5
9904 echo "${ECHO_T}$CC" >&6
9906 echo "$as_me:$LINENO: result: no" >&5
9907 echo "${ECHO_T}no" >&6
9911 if test -z "$CC"; then
9912 if test -n "$ac_tool_prefix"; then
9915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9916 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9917 echo "$as_me:$LINENO: checking for $ac_word" >&5
9918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9919 if test "${ac_cv_prog_CC+set}" = set; then
9920 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 if test -n "$CC"; then
9923 ac_cv_prog_CC
="$CC" # Let the user override the test.
9925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9929 test -z "$as_dir" && as_dir
=.
9930 for ac_exec_ext
in '' $ac_executable_extensions; do
9931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9932 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9942 if test -n "$CC"; then
9943 echo "$as_me:$LINENO: result: $CC" >&5
9944 echo "${ECHO_T}$CC" >&6
9946 echo "$as_me:$LINENO: result: no" >&5
9947 echo "${ECHO_T}no" >&6
9950 test -n "$CC" && break
9953 if test -z "$CC"; then
9957 # Extract the first word of "$ac_prog", so it can be a program name with args.
9958 set dummy
$ac_prog; ac_word
=$2
9959 echo "$as_me:$LINENO: checking for $ac_word" >&5
9960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9961 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9962 echo $ECHO_N "(cached) $ECHO_C" >&6
9964 if test -n "$ac_ct_CC"; then
9965 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9971 test -z "$as_dir" && as_dir
=.
9972 for ac_exec_ext
in '' $ac_executable_extensions; do
9973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9974 ac_cv_prog_ac_ct_CC
="$ac_prog"
9975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9983 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9984 if test -n "$ac_ct_CC"; then
9985 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9986 echo "${ECHO_T}$ac_ct_CC" >&6
9988 echo "$as_me:$LINENO: result: no" >&5
9989 echo "${ECHO_T}no" >&6
9992 test -n "$ac_ct_CC" && break
10001 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10002 See \`config.log' for more details." >&5
10003 echo "$as_me: error: no acceptable C compiler found in \$PATH
10004 See \`config.log' for more details." >&2;}
10005 { (exit 1); exit 1; }; }
10007 # Provide some information about the compiler.
10008 echo "$as_me:$LINENO:" \
10009 "checking for C compiler version" >&5
10010 ac_compiler
=`set X $ac_compile; echo $2`
10011 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10012 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); }
10016 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10017 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }
10021 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10022 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); }
10027 cat >conftest.
$ac_ext <<_ACEOF
10028 #line $LINENO "configure"
10031 cat confdefs.h
>>conftest.
$ac_ext
10032 cat >>conftest.
$ac_ext <<_ACEOF
10033 /* end confdefs.h. */
10043 ac_clean_files_save
=$ac_clean_files
10044 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10045 # Try to create an executable without -o first, disregard a.out.
10046 # It will help us diagnose broken compilers, and finding out an intuition
10048 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10049 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10050 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10051 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10052 (eval $ac_link_default) 2>&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }; then
10056 # Find the output, starting from the most likely. This scheme is
10057 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10060 # Be careful to initialize this variable, since it used to be cached.
10061 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10063 # b.out is created by i960 compilers.
10064 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10066 test -f "$ac_file" || continue
10068 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10071 # This is the source file.
10074 # We found the default executable, but exeext='' is most
10078 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10079 # FIXME: I believe we export ac_cv_exeext for Libtool,
10080 # but it would be cool to find out if it's true. Does anybody
10081 # maintain Libtool? --akim.
10082 export ac_cv_exeext
10089 echo "$as_me: failed program was:" >&5
10090 sed 's/^/| /' conftest.
$ac_ext >&5
10092 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10093 See \`config.log' for more details." >&5
10094 echo "$as_me: error: C compiler cannot create executables
10095 See \`config.log' for more details." >&2;}
10096 { (exit 77); exit 77; }; }
10099 ac_exeext
=$ac_cv_exeext
10100 echo "$as_me:$LINENO: result: $ac_file" >&5
10101 echo "${ECHO_T}$ac_file" >&6
10103 # Check the compiler produces executables we can run. If not, either
10104 # the compiler is broken, or we cross compile.
10105 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10106 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10107 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10108 # If not cross compiling, check that we can run a simple program.
10109 if test "$cross_compiling" != yes; then
10110 if { ac_try
='./$ac_file'
10111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10112 (eval $ac_try) 2>&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); }; }; then
10118 if test "$cross_compiling" = maybe
; then
10119 cross_compiling
=yes
10121 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10122 If you meant to cross compile, use \`--host'.
10123 See \`config.log' for more details." >&5
10124 echo "$as_me: error: cannot run C compiled programs.
10125 If you meant to cross compile, use \`--host'.
10126 See \`config.log' for more details." >&2;}
10127 { (exit 1); exit 1; }; }
10131 echo "$as_me:$LINENO: result: yes" >&5
10132 echo "${ECHO_T}yes" >&6
10134 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10135 ac_clean_files
=$ac_clean_files_save
10136 # Check the compiler produces executables we can run. If not, either
10137 # the compiler is broken, or we cross compile.
10138 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10139 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10140 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10141 echo "${ECHO_T}$cross_compiling" >&6
10143 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10144 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10146 (eval $ac_link) 2>&5
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); }; then
10150 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10151 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10152 # work properly (i.e., refer to `conftest.exe'), while it won't with
10154 for ac_file
in conftest.exe conftest conftest.
*; do
10155 test -f "$ac_file" || continue
10157 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10158 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10159 export ac_cv_exeext
10165 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10166 See \`config.log' for more details." >&5
10167 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10168 See \`config.log' for more details." >&2;}
10169 { (exit 1); exit 1; }; }
10172 rm -f conftest
$ac_cv_exeext
10173 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10174 echo "${ECHO_T}$ac_cv_exeext" >&6
10176 rm -f conftest.
$ac_ext
10177 EXEEXT
=$ac_cv_exeext
10179 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10180 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10181 if test "${ac_cv_objext+set}" = set; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10184 cat >conftest.
$ac_ext <<_ACEOF
10185 #line $LINENO "configure"
10188 cat confdefs.h
>>conftest.
$ac_ext
10189 cat >>conftest.
$ac_ext <<_ACEOF
10190 /* end confdefs.h. */
10200 rm -f conftest.o conftest.obj
10201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10202 (eval $ac_compile) 2>&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); }; then
10206 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10208 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10209 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10214 echo "$as_me: failed program was:" >&5
10215 sed 's/^/| /' conftest.
$ac_ext >&5
10217 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10218 See \`config.log' for more details." >&5
10219 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10220 See \`config.log' for more details." >&2;}
10221 { (exit 1); exit 1; }; }
10224 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10226 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10227 echo "${ECHO_T}$ac_cv_objext" >&6
10228 OBJEXT
=$ac_cv_objext
10230 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10231 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10232 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10233 echo $ECHO_N "(cached) $ECHO_C" >&6
10235 cat >conftest.
$ac_ext <<_ACEOF
10236 #line $LINENO "configure"
10239 cat confdefs.h
>>conftest.
$ac_ext
10240 cat >>conftest.
$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10254 rm -f conftest.
$ac_objext
10255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10256 (eval $ac_compile) 2>&5
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); } &&
10260 { ac_try
='test -s conftest.$ac_objext'
10261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10262 (eval $ac_try) 2>&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }; }; then
10266 ac_compiler_gnu
=yes
10268 echo "$as_me: failed program was:" >&5
10269 sed 's/^/| /' conftest.
$ac_ext >&5
10273 rm -f conftest.
$ac_objext conftest.
$ac_ext
10274 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10277 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10278 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10279 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10280 ac_test_CFLAGS
=${CFLAGS+set}
10281 ac_save_CFLAGS
=$CFLAGS
10283 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10284 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10285 if test "${ac_cv_prog_cc_g+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10288 cat >conftest.
$ac_ext <<_ACEOF
10289 #line $LINENO "configure"
10292 cat confdefs.h
>>conftest.
$ac_ext
10293 cat >>conftest.
$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10304 rm -f conftest.
$ac_objext
10305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10306 (eval $ac_compile) 2>&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); } &&
10310 { ac_try
='test -s conftest.$ac_objext'
10311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10312 (eval $ac_try) 2>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; }; then
10316 ac_cv_prog_cc_g
=yes
10318 echo "$as_me: failed program was:" >&5
10319 sed 's/^/| /' conftest.
$ac_ext >&5
10323 rm -f conftest.
$ac_objext conftest.
$ac_ext
10325 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10326 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10327 if test "$ac_test_CFLAGS" = set; then
10328 CFLAGS
=$ac_save_CFLAGS
10329 elif test $ac_cv_prog_cc_g = yes; then
10330 if test "$GCC" = yes; then
10336 if test "$GCC" = yes; then
10342 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10343 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10344 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10345 echo $ECHO_N "(cached) $ECHO_C" >&6
10347 ac_cv_prog_cc_stdc
=no
10349 cat >conftest.
$ac_ext <<_ACEOF
10350 #line $LINENO "configure"
10353 cat confdefs.h
>>conftest.
$ac_ext
10354 cat >>conftest.
$ac_ext <<_ACEOF
10355 /* end confdefs.h. */
10356 #include <stdarg.h>
10358 #include <sys/types.h>
10359 #include <sys/stat.h>
10360 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10361 struct buf { int x; };
10362 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10363 static char *e (p, i)
10369 static char *f (char * (*g) (char **, int), char **p, ...)
10374 s = g (p, va_arg (v,int));
10378 int test (int i, double x);
10379 struct s1 {int (*f) (int a);};
10380 struct s2 {int (*f) (double a);};
10381 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10387 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10392 # Don't try gcc -ansi; that turns off useful extensions and
10393 # breaks some systems' header files.
10394 # AIX -qlanglvl=ansi
10395 # Ultrix and OSF/1 -std1
10396 # HP-UX 10.20 and later -Ae
10397 # HP-UX older versions -Aa -D_HPUX_SOURCE
10398 # SVR4 -Xc -D__EXTENSIONS__
10399 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10401 CC
="$ac_save_CC $ac_arg"
10402 rm -f conftest.
$ac_objext
10403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10404 (eval $ac_compile) 2>&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); } &&
10408 { ac_try
='test -s conftest.$ac_objext'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; }; then
10414 ac_cv_prog_cc_stdc
=$ac_arg
10417 echo "$as_me: failed program was:" >&5
10418 sed 's/^/| /' conftest.
$ac_ext >&5
10421 rm -f conftest.
$ac_objext
10423 rm -f conftest.
$ac_ext conftest.
$ac_objext
10428 case "x$ac_cv_prog_cc_stdc" in
10430 echo "$as_me:$LINENO: result: none needed" >&5
10431 echo "${ECHO_T}none needed" >&6 ;;
10433 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10434 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10435 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10438 # Some people use a C++ compiler to compile C. Since we use `exit',
10439 # in C++ we need to declare it. In case someone uses the same compiler
10440 # for both compiling C and C++ we need to have the C++ compiler decide
10441 # the declaration of exit, since it's the most demanding environment.
10442 cat >conftest.
$ac_ext <<_ACEOF
10443 #ifndef __cplusplus
10447 rm -f conftest.
$ac_objext
10448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10449 (eval $ac_compile) 2>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } &&
10453 { ac_try
='test -s conftest.$ac_objext'
10454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10455 (eval $ac_try) 2>&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); }; }; then
10459 for ac_declaration
in \
10461 '#include <stdlib.h>' \
10462 'extern "C" void std::exit (int) throw (); using std::exit;' \
10463 'extern "C" void std::exit (int); using std::exit;' \
10464 'extern "C" void exit (int) throw ();' \
10465 'extern "C" void exit (int);' \
10468 cat >conftest.
$ac_ext <<_ACEOF
10469 #line $LINENO "configure"
10472 cat confdefs.h
>>conftest.
$ac_ext
10473 cat >>conftest.
$ac_ext <<_ACEOF
10474 /* end confdefs.h. */
10475 #include <stdlib.h>
10485 rm -f conftest.
$ac_objext
10486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10487 (eval $ac_compile) 2>&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try
='test -s conftest.$ac_objext'
10492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; }; then
10499 echo "$as_me: failed program was:" >&5
10500 sed 's/^/| /' conftest.
$ac_ext >&5
10504 rm -f conftest.
$ac_objext conftest.
$ac_ext
10505 cat >conftest.
$ac_ext <<_ACEOF
10506 #line $LINENO "configure"
10509 cat confdefs.h
>>conftest.
$ac_ext
10510 cat >>conftest.
$ac_ext <<_ACEOF
10511 /* end confdefs.h. */
10521 rm -f conftest.
$ac_objext
10522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10523 (eval $ac_compile) 2>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); } &&
10527 { ac_try
='test -s conftest.$ac_objext'
10528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10529 (eval $ac_try) 2>&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); }; }; then
10535 echo "$as_me: failed program was:" >&5
10536 sed 's/^/| /' conftest.
$ac_ext >&5
10539 rm -f conftest.
$ac_objext conftest.
$ac_ext
10542 if test -n "$ac_declaration"; then
10543 echo '#ifdef __cplusplus' >>confdefs.h
10544 echo $ac_declaration >>confdefs.h
10545 echo '#endif' >>confdefs.h
10549 echo "$as_me: failed program was:" >&5
10550 sed 's/^/| /' conftest.
$ac_ext >&5
10553 rm -f conftest.
$ac_objext conftest.
$ac_ext
10555 ac_cpp
='$CPP $CPPFLAGS'
10556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10563 ac_cpp
='$CPP $CPPFLAGS'
10564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10567 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10568 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10569 # On Suns, sometimes $CPP names a directory.
10570 if test -n "$CPP" && test -d "$CPP"; then
10573 if test -z "$CPP"; then
10574 if test "${ac_cv_prog_CPP+set}" = set; then
10575 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 # Double quotes because CPP needs to be expanded
10578 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10580 ac_preproc_ok
=false
10581 for ac_c_preproc_warn_flag
in '' yes
10583 # Use a header file that comes with gcc, so configuring glibc
10584 # with a fresh cross-compiler works.
10585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10586 # <limits.h> exists even on freestanding compilers.
10587 # On the NeXT, cc -E runs the code through the compiler's parser,
10588 # not just through cpp. "Syntax error" is here to catch this case.
10589 cat >conftest.
$ac_ext <<_ACEOF
10590 #line $LINENO "configure"
10593 cat confdefs.h
>>conftest.
$ac_ext
10594 cat >>conftest.
$ac_ext <<_ACEOF
10595 /* end confdefs.h. */
10597 # include <limits.h>
10599 # include <assert.h>
10603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10604 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10606 grep -v '^ *+' conftest.er1
>conftest.err
10608 cat conftest.err
>&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); } >/dev
/null
; then
10611 if test -s conftest.err
; then
10612 ac_cpp_err
=$ac_c_preproc_warn_flag
10619 if test -z "$ac_cpp_err"; then
10622 echo "$as_me: failed program was:" >&5
10623 sed 's/^/| /' conftest.
$ac_ext >&5
10625 # Broken: fails on valid input.
10628 rm -f conftest.err conftest.
$ac_ext
10630 # OK, works on sane cases. Now check whether non-existent headers
10631 # can be detected and how.
10632 cat >conftest.
$ac_ext <<_ACEOF
10633 #line $LINENO "configure"
10636 cat confdefs.h
>>conftest.
$ac_ext
10637 cat >>conftest.
$ac_ext <<_ACEOF
10638 /* end confdefs.h. */
10639 #include <ac_nonexistent.h>
10641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10642 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10644 grep -v '^ *+' conftest.er1
>conftest.err
10646 cat conftest.err
>&5
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); } >/dev
/null
; then
10649 if test -s conftest.err
; then
10650 ac_cpp_err
=$ac_c_preproc_warn_flag
10657 if test -z "$ac_cpp_err"; then
10658 # Broken: success on invalid input.
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.
$ac_ext >&5
10664 # Passes both tests.
10668 rm -f conftest.err conftest.
$ac_ext
10671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10672 rm -f conftest.err conftest.
$ac_ext
10673 if $ac_preproc_ok; then
10678 ac_cv_prog_CPP
=$CPP
10681 CPP
=$ac_cv_prog_CPP
10683 ac_cv_prog_CPP
=$CPP
10685 echo "$as_me:$LINENO: result: $CPP" >&5
10686 echo "${ECHO_T}$CPP" >&6
10687 ac_preproc_ok
=false
10688 for ac_c_preproc_warn_flag
in '' yes
10690 # Use a header file that comes with gcc, so configuring glibc
10691 # with a fresh cross-compiler works.
10692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10693 # <limits.h> exists even on freestanding compilers.
10694 # On the NeXT, cc -E runs the code through the compiler's parser,
10695 # not just through cpp. "Syntax error" is here to catch this case.
10696 cat >conftest.
$ac_ext <<_ACEOF
10697 #line $LINENO "configure"
10700 cat confdefs.h
>>conftest.
$ac_ext
10701 cat >>conftest.
$ac_ext <<_ACEOF
10702 /* end confdefs.h. */
10704 # include <limits.h>
10706 # include <assert.h>
10710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10713 grep -v '^ *+' conftest.er1
>conftest.err
10715 cat conftest.err
>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } >/dev
/null
; then
10718 if test -s conftest.err
; then
10719 ac_cpp_err
=$ac_c_preproc_warn_flag
10726 if test -z "$ac_cpp_err"; then
10729 echo "$as_me: failed program was:" >&5
10730 sed 's/^/| /' conftest.
$ac_ext >&5
10732 # Broken: fails on valid input.
10735 rm -f conftest.err conftest.
$ac_ext
10737 # OK, works on sane cases. Now check whether non-existent headers
10738 # can be detected and how.
10739 cat >conftest.
$ac_ext <<_ACEOF
10740 #line $LINENO "configure"
10743 cat confdefs.h
>>conftest.
$ac_ext
10744 cat >>conftest.
$ac_ext <<_ACEOF
10745 /* end confdefs.h. */
10746 #include <ac_nonexistent.h>
10748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10749 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10751 grep -v '^ *+' conftest.er1
>conftest.err
10753 cat conftest.err
>&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); } >/dev
/null
; then
10756 if test -s conftest.err
; then
10757 ac_cpp_err
=$ac_c_preproc_warn_flag
10764 if test -z "$ac_cpp_err"; then
10765 # Broken: success on invalid input.
10768 echo "$as_me: failed program was:" >&5
10769 sed 's/^/| /' conftest.
$ac_ext >&5
10771 # Passes both tests.
10775 rm -f conftest.err conftest.
$ac_ext
10778 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10779 rm -f conftest.err conftest.
$ac_ext
10780 if $ac_preproc_ok; then
10783 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10784 See \`config.log' for more details." >&5
10785 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10786 See \`config.log' for more details." >&2;}
10787 { (exit 1); exit 1; }; }
10791 ac_cpp
='$CPP $CPPFLAGS'
10792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10797 echo "$as_me:$LINENO: checking for egrep" >&5
10798 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10799 if test "${ac_cv_prog_egrep+set}" = set; then
10800 echo $ECHO_N "(cached) $ECHO_C" >&6
10802 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10803 then ac_cv_prog_egrep
='grep -E'
10804 else ac_cv_prog_egrep
='egrep'
10807 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10808 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10809 EGREP
=$ac_cv_prog_egrep
10812 if test $ac_cv_c_compiler_gnu = yes; then
10813 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10814 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10815 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10816 echo $ECHO_N "(cached) $ECHO_C" >&6
10818 ac_pattern
="Autoconf.*'x'"
10819 cat >conftest.
$ac_ext <<_ACEOF
10820 #line $LINENO "configure"
10823 cat confdefs.h
>>conftest.
$ac_ext
10824 cat >>conftest.
$ac_ext <<_ACEOF
10825 /* end confdefs.h. */
10829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10830 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10831 ac_cv_prog_gcc_traditional
=yes
10833 ac_cv_prog_gcc_traditional
=no
10838 if test $ac_cv_prog_gcc_traditional = no
; then
10839 cat >conftest.
$ac_ext <<_ACEOF
10840 #line $LINENO "configure"
10843 cat confdefs.h
>>conftest.
$ac_ext
10844 cat >>conftest.
$ac_ext <<_ACEOF
10845 /* end confdefs.h. */
10846 #include <termio.h>
10849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10850 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10851 ac_cv_prog_gcc_traditional
=yes
10857 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10858 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10859 if test $ac_cv_prog_gcc_traditional = yes; then
10860 CC
="$CC -traditional"
10868 ac_cpp
='$CXXCPP $CPPFLAGS'
10869 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10870 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10871 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10874 CXXFLAGS
=${CXXFLAGS:=}
10876 ac_cpp
='$CXXCPP $CPPFLAGS'
10877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10880 if test -n "$ac_tool_prefix"; then
10881 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10884 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10885 echo "$as_me:$LINENO: checking for $ac_word" >&5
10886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10887 if test "${ac_cv_prog_CXX+set}" = set; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10890 if test -n "$CXX"; then
10891 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10894 for as_dir
in $PATH
10897 test -z "$as_dir" && as_dir
=.
10898 for ac_exec_ext
in '' $ac_executable_extensions; do
10899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10900 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10909 CXX
=$ac_cv_prog_CXX
10910 if test -n "$CXX"; then
10911 echo "$as_me:$LINENO: result: $CXX" >&5
10912 echo "${ECHO_T}$CXX" >&6
10914 echo "$as_me:$LINENO: result: no" >&5
10915 echo "${ECHO_T}no" >&6
10918 test -n "$CXX" && break
10921 if test -z "$CXX"; then
10923 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10925 # Extract the first word of "$ac_prog", so it can be a program name with args.
10926 set dummy
$ac_prog; ac_word
=$2
10927 echo "$as_me:$LINENO: checking for $ac_word" >&5
10928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10929 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6
10932 if test -n "$ac_ct_CXX"; then
10933 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10936 for as_dir
in $PATH
10939 test -z "$as_dir" && as_dir
=.
10940 for ac_exec_ext
in '' $ac_executable_extensions; do
10941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10942 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10951 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10952 if test -n "$ac_ct_CXX"; then
10953 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10954 echo "${ECHO_T}$ac_ct_CXX" >&6
10956 echo "$as_me:$LINENO: result: no" >&5
10957 echo "${ECHO_T}no" >&6
10960 test -n "$ac_ct_CXX" && break
10962 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
10968 # Provide some information about the compiler.
10969 echo "$as_me:$LINENO:" \
10970 "checking for C++ compiler version" >&5
10971 ac_compiler
=`set X $ac_compile; echo $2`
10972 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10973 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }
10977 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10978 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); }
10982 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10983 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }
10988 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10989 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10990 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10991 echo $ECHO_N "(cached) $ECHO_C" >&6
10993 cat >conftest.
$ac_ext <<_ACEOF
10994 #line $LINENO "configure"
10997 cat confdefs.h
>>conftest.
$ac_ext
10998 cat >>conftest.
$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11012 rm -f conftest.
$ac_objext
11013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11014 (eval $ac_compile) 2>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); } &&
11018 { ac_try
='test -s conftest.$ac_objext'
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; }; then
11024 ac_compiler_gnu
=yes
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.
$ac_ext >&5
11031 rm -f conftest.
$ac_objext conftest.
$ac_ext
11032 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11035 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11036 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11037 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11038 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11039 ac_save_CXXFLAGS
=$CXXFLAGS
11041 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11042 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11043 if test "${ac_cv_prog_cxx_g+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11046 cat >conftest.
$ac_ext <<_ACEOF
11047 #line $LINENO "configure"
11050 cat confdefs.h
>>conftest.
$ac_ext
11051 cat >>conftest.
$ac_ext <<_ACEOF
11052 /* end confdefs.h. */
11062 rm -f conftest.
$ac_objext
11063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11064 (eval $ac_compile) 2>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } &&
11068 { ac_try
='test -s conftest.$ac_objext'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; }; then
11074 ac_cv_prog_cxx_g
=yes
11076 echo "$as_me: failed program was:" >&5
11077 sed 's/^/| /' conftest.
$ac_ext >&5
11079 ac_cv_prog_cxx_g
=no
11081 rm -f conftest.
$ac_objext conftest.
$ac_ext
11083 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11084 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11085 if test "$ac_test_CXXFLAGS" = set; then
11086 CXXFLAGS
=$ac_save_CXXFLAGS
11087 elif test $ac_cv_prog_cxx_g = yes; then
11088 if test "$GXX" = yes; then
11094 if test "$GXX" = yes; then
11100 for ac_declaration
in \
11102 '#include <stdlib.h>' \
11103 'extern "C" void std::exit (int) throw (); using std::exit;' \
11104 'extern "C" void std::exit (int); using std::exit;' \
11105 'extern "C" void exit (int) throw ();' \
11106 'extern "C" void exit (int);' \
11109 cat >conftest.
$ac_ext <<_ACEOF
11110 #line $LINENO "configure"
11113 cat confdefs.h
>>conftest.
$ac_ext
11114 cat >>conftest.
$ac_ext <<_ACEOF
11115 /* end confdefs.h. */
11116 #include <stdlib.h>
11126 rm -f conftest.
$ac_objext
11127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11128 (eval $ac_compile) 2>&5
11130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); } &&
11132 { ac_try
='test -s conftest.$ac_objext'
11133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11134 (eval $ac_try) 2>&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); }; }; then
11140 echo "$as_me: failed program was:" >&5
11141 sed 's/^/| /' conftest.
$ac_ext >&5
11145 rm -f conftest.
$ac_objext conftest.
$ac_ext
11146 cat >conftest.
$ac_ext <<_ACEOF
11147 #line $LINENO "configure"
11150 cat confdefs.h
>>conftest.
$ac_ext
11151 cat >>conftest.
$ac_ext <<_ACEOF
11152 /* end confdefs.h. */
11162 rm -f conftest.
$ac_objext
11163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11164 (eval $ac_compile) 2>&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); } &&
11168 { ac_try
='test -s conftest.$ac_objext'
11169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11170 (eval $ac_try) 2>&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); }; }; then
11176 echo "$as_me: failed program was:" >&5
11177 sed 's/^/| /' conftest.
$ac_ext >&5
11180 rm -f conftest.
$ac_objext conftest.
$ac_ext
11183 if test -n "$ac_declaration"; then
11184 echo '#ifdef __cplusplus' >>confdefs.h
11185 echo $ac_declaration >>confdefs.h
11186 echo '#endif' >>confdefs.h
11190 ac_cpp
='$CXXCPP $CPPFLAGS'
11191 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11192 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11193 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11197 ac_cpp
='$CPP $CPPFLAGS'
11198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11203 if test -n "$ac_tool_prefix"; then
11204 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11205 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11206 echo "$as_me:$LINENO: checking for $ac_word" >&5
11207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11208 if test "${ac_cv_prog_RANLIB+set}" = set; then
11209 echo $ECHO_N "(cached) $ECHO_C" >&6
11211 if test -n "$RANLIB"; then
11212 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11215 for as_dir
in $PATH
11218 test -z "$as_dir" && as_dir
=.
11219 for ac_exec_ext
in '' $ac_executable_extensions; do
11220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11221 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11230 RANLIB
=$ac_cv_prog_RANLIB
11231 if test -n "$RANLIB"; then
11232 echo "$as_me:$LINENO: result: $RANLIB" >&5
11233 echo "${ECHO_T}$RANLIB" >&6
11235 echo "$as_me:$LINENO: result: no" >&5
11236 echo "${ECHO_T}no" >&6
11240 if test -z "$ac_cv_prog_RANLIB"; then
11241 ac_ct_RANLIB
=$RANLIB
11242 # Extract the first word of "ranlib", so it can be a program name with args.
11243 set dummy ranlib
; ac_word
=$2
11244 echo "$as_me:$LINENO: checking for $ac_word" >&5
11245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11246 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11249 if test -n "$ac_ct_RANLIB"; then
11250 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11253 for as_dir
in $PATH
11256 test -z "$as_dir" && as_dir
=.
11257 for ac_exec_ext
in '' $ac_executable_extensions; do
11258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11259 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11266 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11269 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11270 if test -n "$ac_ct_RANLIB"; then
11271 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11272 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11274 echo "$as_me:$LINENO: result: no" >&5
11275 echo "${ECHO_T}no" >&6
11278 RANLIB
=$ac_ct_RANLIB
11280 RANLIB
="$ac_cv_prog_RANLIB"
11284 # Extract the first word of "ar", so it can be a program name with args.
11285 set dummy
ar; ac_word
=$2
11286 echo "$as_me:$LINENO: checking for $ac_word" >&5
11287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11288 if test "${ac_cv_prog_AR+set}" = set; then
11289 echo $ECHO_N "(cached) $ECHO_C" >&6
11291 if test -n "$AR"; then
11292 ac_cv_prog_AR
="$AR" # Let the user override the test.
11294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11295 for as_dir
in $PATH
11298 test -z "$as_dir" && as_dir
=.
11299 for ac_exec_ext
in '' $ac_executable_extensions; do
11300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11308 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
11312 if test -n "$AR"; then
11313 echo "$as_me:$LINENO: result: $AR" >&5
11314 echo "${ECHO_T}$AR" >&6
11316 echo "$as_me:$LINENO: result: no" >&5
11317 echo "${ECHO_T}no" >&6
11321 # Find a good install program. We prefer a C program (faster),
11322 # so one script is as good as another. But avoid the broken or
11323 # incompatible versions:
11324 # SysV /etc/install, /usr/sbin/install
11325 # SunOS /usr/etc/install
11326 # IRIX /sbin/install
11328 # AmigaOS /C/install, which installs bootblocks on floppy discs
11329 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11330 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11331 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11332 # ./install, which can be erroneously created by make from ./install.sh.
11333 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11334 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11335 if test -z "$INSTALL"; then
11336 if test "${ac_cv_path_install+set}" = set; then
11337 echo $ECHO_N "(cached) $ECHO_C" >&6
11339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11340 for as_dir
in $PATH
11343 test -z "$as_dir" && as_dir
=.
11344 # Account for people who put trailing slashes in PATH elements.
11346 .
/ | .
// | /cC
/* | \
11347 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11350 # OSF1 and SCO ODT 3.0 have their own names for install.
11351 # Don't use installbsd from OSF since it installs stuff as root
11353 for ac_prog
in ginstall scoinst
install; do
11354 for ac_exec_ext
in '' $ac_executable_extensions; do
11355 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11356 if test $ac_prog = install &&
11357 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11358 # AIX install. It has an incompatible calling convention.
11360 elif test $ac_prog = install &&
11361 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11362 # program-specific install script used by HP pwplus--don't use.
11365 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11377 if test "${ac_cv_path_install+set}" = set; then
11378 INSTALL
=$ac_cv_path_install
11380 # As a last resort, use the slow shell script. We don't cache a
11381 # path for INSTALL within a source directory, because that will
11382 # break other packages using the cache if that directory is
11383 # removed, or if the path is relative.
11384 INSTALL
=$ac_install_sh
11387 echo "$as_me:$LINENO: result: $INSTALL" >&5
11388 echo "${ECHO_T}$INSTALL" >&6
11390 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11391 # It thinks the first close brace ends the variable substitution.
11392 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11394 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11396 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11402 ?
:* ) # Drive letter, considered as absolute.
11405 INSTALL
=`pwd`/${INSTALL} ;;
11410 INSTALL_DIR
="mkdir"
11413 *) INSTALL_DIR
="$INSTALL -d"
11420 powerpc
-*-darwin* )
11421 INSTALL_PROGRAM
="cp -fp"
11422 INSTALL_DATA
="cp -fp"
11428 # Extract the first word of "strip", so it can be a program name with args.
11429 set dummy strip
; ac_word
=$2
11430 echo "$as_me:$LINENO: checking for $ac_word" >&5
11431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11432 if test "${ac_cv_prog_STRIP+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11435 if test -n "$STRIP"; then
11436 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11439 for as_dir
in $PATH
11442 test -z "$as_dir" && as_dir
=.
11443 for ac_exec_ext
in '' $ac_executable_extensions; do
11444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11445 ac_cv_prog_STRIP
="strip"
11446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11452 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11455 STRIP
=$ac_cv_prog_STRIP
11456 if test -n "$STRIP"; then
11457 echo "$as_me:$LINENO: result: $STRIP" >&5
11458 echo "${ECHO_T}$STRIP" >&6
11460 echo "$as_me:$LINENO: result: no" >&5
11461 echo "${ECHO_T}no" >&6
11465 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11466 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11467 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11468 echo $ECHO_N "(cached) $ECHO_C" >&6
11471 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11472 egrep -s GNU
> /dev
/null
); then
11473 wx_cv_prog_makeisgnu
="yes"
11475 wx_cv_prog_makeisgnu
="no"
11479 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11480 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11482 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11490 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11491 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11492 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11493 if test "${wx_cv_prog_makevpath+set}" = set; then
11494 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 cat - << EOF > confMake
11503 if test ! -d sub
; then
11506 echo dummy
> sub
/file
11507 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11509 rm -f sub
/file check final_file confMake
11511 if test "$RESULT" = 0; then
11512 wx_cv_prog_makevpath
="yes"
11514 wx_cv_prog_makevpath
="no"
11518 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11519 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11521 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11522 { { echo "$as_me:$LINENO: error:
11523 You need a make-utility that is able to use the variable
11525 If your version of make does not support VPATH correctly,
11526 please install GNU-make (possibly as gmake), and start
11527 configure with the following command:
11528 export MAKE=gmake; ./configure for sh-type shells
11529 setenv MAKE gmake; ./configure for csh-type shells
11530 Also please do remember to use gmake in this case every time
11531 you are trying to compile.
11533 echo "$as_me: error:
11534 You need a make-utility that is able to use the variable
11536 If your version of make does not support VPATH correctly,
11537 please install GNU-make (possibly as gmake), and start
11538 configure with the following command:
11539 export MAKE=gmake; ./configure for sh-type shells
11540 setenv MAKE gmake; ./configure for csh-type shells
11541 Also please do remember to use gmake in this case every time
11542 you are trying to compile.
11544 { (exit 1); exit 1; }; }
11546 for ac_prog
in 'bison -y' byacc
11548 # Extract the first word of "$ac_prog", so it can be a program name with args.
11549 set dummy
$ac_prog; ac_word
=$2
11550 echo "$as_me:$LINENO: checking for $ac_word" >&5
11551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11552 if test "${ac_cv_prog_YACC+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 if test -n "$YACC"; then
11556 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11559 for as_dir
in $PATH
11562 test -z "$as_dir" && as_dir
=.
11563 for ac_exec_ext
in '' $ac_executable_extensions; do
11564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_prog_YACC
="$ac_prog"
11566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11574 YACC
=$ac_cv_prog_YACC
11575 if test -n "$YACC"; then
11576 echo "$as_me:$LINENO: result: $YACC" >&5
11577 echo "${ECHO_T}$YACC" >&6
11579 echo "$as_me:$LINENO: result: no" >&5
11580 echo "${ECHO_T}no" >&6
11583 test -n "$YACC" && break
11585 test -n "$YACC" || YACC
="yacc"
11588 for ac_prog
in flex
lex
11590 # Extract the first word of "$ac_prog", so it can be a program name with args.
11591 set dummy
$ac_prog; ac_word
=$2
11592 echo "$as_me:$LINENO: checking for $ac_word" >&5
11593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11594 if test "${ac_cv_prog_LEX+set}" = set; then
11595 echo $ECHO_N "(cached) $ECHO_C" >&6
11597 if test -n "$LEX"; then
11598 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11601 for as_dir
in $PATH
11604 test -z "$as_dir" && as_dir
=.
11605 for ac_exec_ext
in '' $ac_executable_extensions; do
11606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11607 ac_cv_prog_LEX
="$ac_prog"
11608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11616 LEX
=$ac_cv_prog_LEX
11617 if test -n "$LEX"; then
11618 echo "$as_me:$LINENO: result: $LEX" >&5
11619 echo "${ECHO_T}$LEX" >&6
11621 echo "$as_me:$LINENO: result: no" >&5
11622 echo "${ECHO_T}no" >&6
11625 test -n "$LEX" && break
11627 test -n "$LEX" || LEX
=":"
11629 if test -z "$LEXLIB"
11631 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11632 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11633 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 ac_check_lib_save_LIBS
=$LIBS
11638 cat >conftest.
$ac_ext <<_ACEOF
11639 #line $LINENO "configure"
11642 cat confdefs.h
>>conftest.
$ac_ext
11643 cat >>conftest.
$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11646 /* Override any gcc2 internal prototype to avoid an error. */
11650 /* We use char because int might match the return type of a gcc2
11651 builtin and then its argument prototype would still apply. */
11661 rm -f conftest.
$ac_objext conftest
$ac_exeext
11662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11663 (eval $ac_link) 2>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); } &&
11667 { ac_try
='test -s conftest$ac_exeext'
11668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11669 (eval $ac_try) 2>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11673 ac_cv_lib_fl_yywrap
=yes
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.
$ac_ext >&5
11678 ac_cv_lib_fl_yywrap
=no
11680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11681 LIBS
=$ac_check_lib_save_LIBS
11683 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11684 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11685 if test $ac_cv_lib_fl_yywrap = yes; then
11688 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11689 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11690 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11693 ac_check_lib_save_LIBS
=$LIBS
11695 cat >conftest.
$ac_ext <<_ACEOF
11696 #line $LINENO "configure"
11699 cat confdefs.h
>>conftest.
$ac_ext
11700 cat >>conftest.
$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11703 /* Override any gcc2 internal prototype to avoid an error. */
11707 /* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
11718 rm -f conftest.
$ac_objext conftest
$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } &&
11724 { ac_try
='test -s conftest$ac_exeext'
11725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11726 (eval $ac_try) 2>&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); }; }; then
11730 ac_cv_lib_l_yywrap
=yes
11732 echo "$as_me: failed program was:" >&5
11733 sed 's/^/| /' conftest.
$ac_ext >&5
11735 ac_cv_lib_l_yywrap
=no
11737 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11738 LIBS
=$ac_check_lib_save_LIBS
11740 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11741 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11742 if test $ac_cv_lib_l_yywrap = yes; then
11750 if test "x$LEX" != "x:"; then
11751 echo "$as_me:$LINENO: checking lex output file root" >&5
11752 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11753 if test "${ac_cv_prog_lex_root+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 # The minimal lex program is just a single line: %%. But some broken lexes
11757 # (Solaris, I think it was) want two %% lines, so accommodate them.
11758 cat >conftest.l
<<_ACEOF
11762 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11763 (eval $LEX conftest.l
) 2>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }
11767 if test -f lex.yy.c
; then
11768 ac_cv_prog_lex_root
=lex.yy
11769 elif test -f lexyy.c
; then
11770 ac_cv_prog_lex_root
=lexyy
11772 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11773 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11774 { (exit 1); exit 1; }; }
11777 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11778 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11780 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11782 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11783 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11784 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11785 echo $ECHO_N "(cached) $ECHO_C" >&6
11787 # POSIX says lex can declare yytext either as a pointer or an array; the
11788 # default is implementation-dependent. Figure out which it is, since
11789 # not all implementations provide the %pointer and %array declarations.
11790 ac_cv_prog_lex_yytext_pointer
=no
11791 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11793 LIBS
="$LIBS $LEXLIB"
11794 cat >conftest.
$ac_ext <<_ACEOF
11795 `cat $LEX_OUTPUT_ROOT.c`
11797 rm -f conftest.
$ac_objext conftest
$ac_exeext
11798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11799 (eval $ac_link) 2>&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); } &&
11803 { ac_try
='test -s conftest$ac_exeext'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11805 (eval $ac_try) 2>&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); }; }; then
11809 ac_cv_prog_lex_yytext_pointer
=yes
11811 echo "$as_me: failed program was:" >&5
11812 sed 's/^/| /' conftest.
$ac_ext >&5
11815 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11817 rm -f "${LEX_OUTPUT_ROOT}.c"
11820 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11821 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11822 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11824 cat >>confdefs.h
<<\_ACEOF
11825 #define YYTEXT_POINTER 1
11832 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11833 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11835 if test "$LN_S" = "ln -s"; then
11836 echo "$as_me:$LINENO: result: yes" >&5
11837 echo "${ECHO_T}yes" >&6
11839 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11840 echo "${ECHO_T}no, using $LN_S" >&6
11845 *-pc-os2_emx | *-pc-os2-emx )
11846 LIBS
="$LIBS -lstdcpp"
11847 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11848 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11849 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11850 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 ac_check_lib_save_LIBS
=$LIBS
11854 LIBS
="-lcExt $LIBS"
11855 cat >conftest.
$ac_ext <<_ACEOF
11856 #line $LINENO "configure"
11859 cat confdefs.h
>>conftest.
$ac_ext
11860 cat >>conftest.
$ac_ext <<_ACEOF
11861 /* end confdefs.h. */
11863 /* Override any gcc2 internal prototype to avoid an error. */
11867 /* We use char because int might match the return type of a gcc2
11868 builtin and then its argument prototype would still apply. */
11878 rm -f conftest.
$ac_objext conftest
$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } &&
11884 { ac_try
='test -s conftest$ac_exeext'
11885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886 (eval $ac_try) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; }; then
11890 ac_cv_lib_cExt_drand48
=yes
11892 echo "$as_me: failed program was:" >&5
11893 sed 's/^/| /' conftest.
$ac_ext >&5
11895 ac_cv_lib_cExt_drand48
=no
11897 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11898 LIBS
=$ac_check_lib_save_LIBS
11900 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11901 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11902 if test $ac_cv_lib_cExt_drand48 = yes; then
11903 LIBS
="$LIBS -lcExt"
11907 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11913 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11914 echo "$as_me:$LINENO: checking for strings.h" >&5
11915 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11916 if test "${ac_cv_header_strings_h+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 ac_cv_header_strings_h
=no
11921 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11922 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11923 if test "$ac_cv_header_strings_h" = "no"; then
11924 echo "$as_me:$LINENO: result: forced no into cache" >&5
11925 echo "${ECHO_T}forced no into cache" >&6
11927 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11928 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11931 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11932 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11933 if test "${ac_cv_header_stdc+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11936 cat >conftest.
$ac_ext <<_ACEOF
11937 #line $LINENO "configure"
11940 cat confdefs.h
>>conftest.
$ac_ext
11941 cat >>conftest.
$ac_ext <<_ACEOF
11942 /* end confdefs.h. */
11943 #include <stdlib.h>
11944 #include <stdarg.h>
11945 #include <string.h>
11956 rm -f conftest.
$ac_objext
11957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11958 (eval $ac_compile) 2>&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); } &&
11962 { ac_try
='test -s conftest.$ac_objext'
11963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11964 (eval $ac_try) 2>&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); }; }; then
11968 ac_cv_header_stdc
=yes
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.
$ac_ext >&5
11973 ac_cv_header_stdc
=no
11975 rm -f conftest.
$ac_objext conftest.
$ac_ext
11977 if test $ac_cv_header_stdc = yes; then
11978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11979 cat >conftest.
$ac_ext <<_ACEOF
11980 #line $LINENO "configure"
11983 cat confdefs.h
>>conftest.
$ac_ext
11984 cat >>conftest.
$ac_ext <<_ACEOF
11985 /* end confdefs.h. */
11986 #include <string.h>
11989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11990 $EGREP "memchr" >/dev
/null
2>&1; then
11993 ac_cv_header_stdc
=no
11999 if test $ac_cv_header_stdc = yes; then
12000 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12001 cat >conftest.
$ac_ext <<_ACEOF
12002 #line $LINENO "configure"
12005 cat confdefs.h
>>conftest.
$ac_ext
12006 cat >>conftest.
$ac_ext <<_ACEOF
12007 /* end confdefs.h. */
12008 #include <stdlib.h>
12011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12012 $EGREP "free" >/dev
/null
2>&1; then
12015 ac_cv_header_stdc
=no
12021 if test $ac_cv_header_stdc = yes; then
12022 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12023 if test "$cross_compiling" = yes; then
12026 cat >conftest.
$ac_ext <<_ACEOF
12027 #line $LINENO "configure"
12030 cat confdefs.h
>>conftest.
$ac_ext
12031 cat >>conftest.
$ac_ext <<_ACEOF
12032 /* end confdefs.h. */
12034 #if ((' ' & 0x0FF) == 0x020)
12035 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12036 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12038 # define ISLOWER(c) \
12039 (('a' <= (c) && (c) <= 'i') \
12040 || ('j' <= (c) && (c) <= 'r') \
12041 || ('s' <= (c) && (c) <= 'z'))
12042 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12045 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12050 for (i = 0; i < 256; i++)
12051 if (XOR (islower (i), ISLOWER (i))
12052 || toupper (i) != TOUPPER (i))
12057 rm -f conftest
$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059 (eval $ac_link) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12064 (eval $ac_try) 2>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); }; }; then
12070 echo "$as_me: program exited with status $ac_status" >&5
12071 echo "$as_me: failed program was:" >&5
12072 sed 's/^/| /' conftest.
$ac_ext >&5
12074 ( exit $ac_status )
12075 ac_cv_header_stdc
=no
12077 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12081 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12082 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12083 if test $ac_cv_header_stdc = yes; then
12085 cat >>confdefs.h
<<\_ACEOF
12086 #define STDC_HEADERS 1
12091 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12101 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12102 inttypes.h stdint.h unistd.h
12104 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12105 echo "$as_me:$LINENO: checking for $ac_header" >&5
12106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12110 cat >conftest.
$ac_ext <<_ACEOF
12111 #line $LINENO "configure"
12114 cat confdefs.h
>>conftest.
$ac_ext
12115 cat >>conftest.
$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12117 $ac_includes_default
12119 #include <$ac_header>
12121 rm -f conftest.
$ac_objext
12122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12123 (eval $ac_compile) 2>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } &&
12127 { ac_try
='test -s conftest.$ac_objext'
12128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12129 (eval $ac_try) 2>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); }; }; then
12133 eval "$as_ac_Header=yes"
12135 echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.
$ac_ext >&5
12138 eval "$as_ac_Header=no"
12140 rm -f conftest.
$ac_objext conftest.
$ac_ext
12142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12145 cat >>confdefs.h
<<_ACEOF
12146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12155 for ac_header
in strings.h
12157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12159 echo "$as_me:$LINENO: checking for $ac_header" >&5
12160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12167 # Is the header compilable?
12168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12170 cat >conftest.
$ac_ext <<_ACEOF
12171 #line $LINENO "configure"
12174 cat confdefs.h
>>conftest.
$ac_ext
12175 cat >>conftest.
$ac_ext <<_ACEOF
12176 /* end confdefs.h. */
12177 $ac_includes_default
12178 #include <$ac_header>
12180 rm -f conftest.
$ac_objext
12181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12182 (eval $ac_compile) 2>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } &&
12186 { ac_try
='test -s conftest.$ac_objext'
12187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12188 (eval $ac_try) 2>&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); }; }; then
12192 ac_header_compiler
=yes
12194 echo "$as_me: failed program was:" >&5
12195 sed 's/^/| /' conftest.
$ac_ext >&5
12197 ac_header_compiler
=no
12199 rm -f conftest.
$ac_objext conftest.
$ac_ext
12200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12201 echo "${ECHO_T}$ac_header_compiler" >&6
12203 # Is the header present?
12204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12206 cat >conftest.
$ac_ext <<_ACEOF
12207 #line $LINENO "configure"
12210 cat confdefs.h
>>conftest.
$ac_ext
12211 cat >>conftest.
$ac_ext <<_ACEOF
12212 /* end confdefs.h. */
12213 #include <$ac_header>
12215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12218 grep -v '^ *+' conftest.er1
>conftest.err
12220 cat conftest.err
>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); } >/dev
/null
; then
12223 if test -s conftest.err
; then
12224 ac_cpp_err
=$ac_c_preproc_warn_flag
12231 if test -z "$ac_cpp_err"; then
12232 ac_header_preproc
=yes
12234 echo "$as_me: failed program was:" >&5
12235 sed 's/^/| /' conftest.
$ac_ext >&5
12237 ac_header_preproc
=no
12239 rm -f conftest.err conftest.
$ac_ext
12240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12241 echo "${ECHO_T}$ac_header_preproc" >&6
12243 # So? What about this header?
12244 case $ac_header_compiler:$ac_header_preproc in
12246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12252 ## ------------------------------------ ##
12253 ## Report this to bug-autoconf@gnu.org. ##
12254 ## ------------------------------------ ##
12257 sed "s/^/$as_me: WARNING: /" >&2
12260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12268 ## ------------------------------------ ##
12269 ## Report this to bug-autoconf@gnu.org. ##
12270 ## ------------------------------------ ##
12273 sed "s/^/$as_me: WARNING: /" >&2
12276 echo "$as_me:$LINENO: checking for $ac_header" >&5
12277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12279 echo $ECHO_N "(cached) $ECHO_C" >&6
12281 eval "$as_ac_Header=$ac_header_preproc"
12283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12288 cat >>confdefs.h
<<_ACEOF
12289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12298 for ac_header
in stdlib.h
12300 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12302 echo "$as_me:$LINENO: checking for $ac_header" >&5
12303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12310 # Is the header compilable?
12311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12313 cat >conftest.
$ac_ext <<_ACEOF
12314 #line $LINENO "configure"
12317 cat confdefs.h
>>conftest.
$ac_ext
12318 cat >>conftest.
$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320 $ac_includes_default
12321 #include <$ac_header>
12323 rm -f conftest.
$ac_objext
12324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12325 (eval $ac_compile) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } &&
12329 { ac_try
='test -s conftest.$ac_objext'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; }; then
12335 ac_header_compiler
=yes
12337 echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.
$ac_ext >&5
12340 ac_header_compiler
=no
12342 rm -f conftest.
$ac_objext conftest.
$ac_ext
12343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12344 echo "${ECHO_T}$ac_header_compiler" >&6
12346 # Is the header present?
12347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12349 cat >conftest.
$ac_ext <<_ACEOF
12350 #line $LINENO "configure"
12353 cat confdefs.h
>>conftest.
$ac_ext
12354 cat >>conftest.
$ac_ext <<_ACEOF
12355 /* end confdefs.h. */
12356 #include <$ac_header>
12358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12361 grep -v '^ *+' conftest.er1
>conftest.err
12363 cat conftest.err
>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } >/dev
/null
; then
12366 if test -s conftest.err
; then
12367 ac_cpp_err
=$ac_c_preproc_warn_flag
12374 if test -z "$ac_cpp_err"; then
12375 ac_header_preproc
=yes
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.
$ac_ext >&5
12380 ac_header_preproc
=no
12382 rm -f conftest.err conftest.
$ac_ext
12383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12384 echo "${ECHO_T}$ac_header_preproc" >&6
12386 # So? What about this header?
12387 case $ac_header_compiler:$ac_header_preproc in
12389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12395 ## ------------------------------------ ##
12396 ## Report this to bug-autoconf@gnu.org. ##
12397 ## ------------------------------------ ##
12400 sed "s/^/$as_me: WARNING: /" >&2
12403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12411 ## ------------------------------------ ##
12412 ## Report this to bug-autoconf@gnu.org. ##
12413 ## ------------------------------------ ##
12416 sed "s/^/$as_me: WARNING: /" >&2
12419 echo "$as_me:$LINENO: checking for $ac_header" >&5
12420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12422 echo $ECHO_N "(cached) $ECHO_C" >&6
12424 eval "$as_ac_Header=$ac_header_preproc"
12426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12431 cat >>confdefs.h
<<_ACEOF
12432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12440 for ac_header
in malloc.h
12442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12444 echo "$as_me:$LINENO: checking for $ac_header" >&5
12445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12452 # Is the header compilable?
12453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12455 cat >conftest.
$ac_ext <<_ACEOF
12456 #line $LINENO "configure"
12459 cat confdefs.h
>>conftest.
$ac_ext
12460 cat >>conftest.
$ac_ext <<_ACEOF
12461 /* end confdefs.h. */
12462 $ac_includes_default
12463 #include <$ac_header>
12465 rm -f conftest.
$ac_objext
12466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12467 (eval $ac_compile) 2>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); } &&
12471 { ac_try
='test -s conftest.$ac_objext'
12472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473 (eval $ac_try) 2>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); }; }; then
12477 ac_header_compiler
=yes
12479 echo "$as_me: failed program was:" >&5
12480 sed 's/^/| /' conftest.
$ac_ext >&5
12482 ac_header_compiler
=no
12484 rm -f conftest.
$ac_objext conftest.
$ac_ext
12485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12486 echo "${ECHO_T}$ac_header_compiler" >&6
12488 # Is the header present?
12489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12491 cat >conftest.
$ac_ext <<_ACEOF
12492 #line $LINENO "configure"
12495 cat confdefs.h
>>conftest.
$ac_ext
12496 cat >>conftest.
$ac_ext <<_ACEOF
12497 /* end confdefs.h. */
12498 #include <$ac_header>
12500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12503 grep -v '^ *+' conftest.er1
>conftest.err
12505 cat conftest.err
>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } >/dev
/null
; then
12508 if test -s conftest.err
; then
12509 ac_cpp_err
=$ac_c_preproc_warn_flag
12516 if test -z "$ac_cpp_err"; then
12517 ac_header_preproc
=yes
12519 echo "$as_me: failed program was:" >&5
12520 sed 's/^/| /' conftest.
$ac_ext >&5
12522 ac_header_preproc
=no
12524 rm -f conftest.err conftest.
$ac_ext
12525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12526 echo "${ECHO_T}$ac_header_preproc" >&6
12528 # So? What about this header?
12529 case $ac_header_compiler:$ac_header_preproc in
12531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12537 ## ------------------------------------ ##
12538 ## Report this to bug-autoconf@gnu.org. ##
12539 ## ------------------------------------ ##
12542 sed "s/^/$as_me: WARNING: /" >&2
12545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12553 ## ------------------------------------ ##
12554 ## Report this to bug-autoconf@gnu.org. ##
12555 ## ------------------------------------ ##
12558 sed "s/^/$as_me: WARNING: /" >&2
12561 echo "$as_me:$LINENO: checking for $ac_header" >&5
12562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6
12566 eval "$as_ac_Header=$ac_header_preproc"
12568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12573 cat >>confdefs.h
<<_ACEOF
12574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12582 for ac_header
in unistd.h
12584 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12586 echo "$as_me:$LINENO: checking for $ac_header" >&5
12587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12589 echo $ECHO_N "(cached) $ECHO_C" >&6
12591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12594 # Is the header compilable?
12595 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12596 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12597 cat >conftest.
$ac_ext <<_ACEOF
12598 #line $LINENO "configure"
12601 cat confdefs.h
>>conftest.
$ac_ext
12602 cat >>conftest.
$ac_ext <<_ACEOF
12603 /* end confdefs.h. */
12604 $ac_includes_default
12605 #include <$ac_header>
12607 rm -f conftest.
$ac_objext
12608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12609 (eval $ac_compile) 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try
='test -s conftest.$ac_objext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_header_compiler
=yes
12621 echo "$as_me: failed program was:" >&5
12622 sed 's/^/| /' conftest.
$ac_ext >&5
12624 ac_header_compiler
=no
12626 rm -f conftest.
$ac_objext conftest.
$ac_ext
12627 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12628 echo "${ECHO_T}$ac_header_compiler" >&6
12630 # Is the header present?
12631 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12632 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12633 cat >conftest.
$ac_ext <<_ACEOF
12634 #line $LINENO "configure"
12637 cat confdefs.h
>>conftest.
$ac_ext
12638 cat >>conftest.
$ac_ext <<_ACEOF
12639 /* end confdefs.h. */
12640 #include <$ac_header>
12642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12645 grep -v '^ *+' conftest.er1
>conftest.err
12647 cat conftest.err
>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } >/dev
/null
; then
12650 if test -s conftest.err
; then
12651 ac_cpp_err
=$ac_c_preproc_warn_flag
12658 if test -z "$ac_cpp_err"; then
12659 ac_header_preproc
=yes
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.
$ac_ext >&5
12664 ac_header_preproc
=no
12666 rm -f conftest.err conftest.
$ac_ext
12667 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12668 echo "${ECHO_T}$ac_header_preproc" >&6
12670 # So? What about this header?
12671 case $ac_header_compiler:$ac_header_preproc in
12673 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12674 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12676 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12679 ## ------------------------------------ ##
12680 ## Report this to bug-autoconf@gnu.org. ##
12681 ## ------------------------------------ ##
12684 sed "s/^/$as_me: WARNING: /" >&2
12687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12695 ## ------------------------------------ ##
12696 ## Report this to bug-autoconf@gnu.org. ##
12697 ## ------------------------------------ ##
12700 sed "s/^/$as_me: WARNING: /" >&2
12703 echo "$as_me:$LINENO: checking for $ac_header" >&5
12704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12706 echo $ECHO_N "(cached) $ECHO_C" >&6
12708 eval "$as_ac_Header=$ac_header_preproc"
12710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12715 cat >>confdefs.h
<<_ACEOF
12716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12724 for ac_header
in wchar.h
12726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12728 echo "$as_me:$LINENO: checking for $ac_header" >&5
12729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12736 # Is the header compilable?
12737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12739 cat >conftest.
$ac_ext <<_ACEOF
12740 #line $LINENO "configure"
12743 cat confdefs.h
>>conftest.
$ac_ext
12744 cat >>conftest.
$ac_ext <<_ACEOF
12745 /* end confdefs.h. */
12746 $ac_includes_default
12747 #include <$ac_header>
12749 rm -f conftest.
$ac_objext
12750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12751 (eval $ac_compile) 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try
='test -s conftest.$ac_objext'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; }; then
12761 ac_header_compiler
=yes
12763 echo "$as_me: failed program was:" >&5
12764 sed 's/^/| /' conftest.
$ac_ext >&5
12766 ac_header_compiler
=no
12768 rm -f conftest.
$ac_objext conftest.
$ac_ext
12769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12770 echo "${ECHO_T}$ac_header_compiler" >&6
12772 # Is the header present?
12773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12775 cat >conftest.
$ac_ext <<_ACEOF
12776 #line $LINENO "configure"
12779 cat confdefs.h
>>conftest.
$ac_ext
12780 cat >>conftest.
$ac_ext <<_ACEOF
12781 /* end confdefs.h. */
12782 #include <$ac_header>
12784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12785 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12787 grep -v '^ *+' conftest.er1
>conftest.err
12789 cat conftest.err
>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); } >/dev
/null
; then
12792 if test -s conftest.err
; then
12793 ac_cpp_err
=$ac_c_preproc_warn_flag
12800 if test -z "$ac_cpp_err"; then
12801 ac_header_preproc
=yes
12803 echo "$as_me: failed program was:" >&5
12804 sed 's/^/| /' conftest.
$ac_ext >&5
12806 ac_header_preproc
=no
12808 rm -f conftest.err conftest.
$ac_ext
12809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12810 echo "${ECHO_T}$ac_header_preproc" >&6
12812 # So? What about this header?
12813 case $ac_header_compiler:$ac_header_preproc in
12815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12821 ## ------------------------------------ ##
12822 ## Report this to bug-autoconf@gnu.org. ##
12823 ## ------------------------------------ ##
12826 sed "s/^/$as_me: WARNING: /" >&2
12829 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12830 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12831 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12832 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12834 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12837 ## ------------------------------------ ##
12838 ## Report this to bug-autoconf@gnu.org. ##
12839 ## ------------------------------------ ##
12842 sed "s/^/$as_me: WARNING: /" >&2
12845 echo "$as_me:$LINENO: checking for $ac_header" >&5
12846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12850 eval "$as_ac_Header=$ac_header_preproc"
12852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12857 cat >>confdefs.h
<<_ACEOF
12858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12866 if test "$ac_cv_header_wchar_h" != "yes"; then
12868 for ac_header
in wcstr.h
12870 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12872 echo "$as_me:$LINENO: checking for $ac_header" >&5
12873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12880 # Is the header compilable?
12881 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12883 cat >conftest.
$ac_ext <<_ACEOF
12884 #line $LINENO "configure"
12887 cat confdefs.h
>>conftest.
$ac_ext
12888 cat >>conftest.
$ac_ext <<_ACEOF
12889 /* end confdefs.h. */
12890 $ac_includes_default
12891 #include <$ac_header>
12893 rm -f conftest.
$ac_objext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); } &&
12899 { ac_try
='test -s conftest.$ac_objext'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; }; then
12905 ac_header_compiler
=yes
12907 echo "$as_me: failed program was:" >&5
12908 sed 's/^/| /' conftest.
$ac_ext >&5
12910 ac_header_compiler
=no
12912 rm -f conftest.
$ac_objext conftest.
$ac_ext
12913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12914 echo "${ECHO_T}$ac_header_compiler" >&6
12916 # Is the header present?
12917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12919 cat >conftest.
$ac_ext <<_ACEOF
12920 #line $LINENO "configure"
12923 cat confdefs.h
>>conftest.
$ac_ext
12924 cat >>conftest.
$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12926 #include <$ac_header>
12928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12931 grep -v '^ *+' conftest.er1
>conftest.err
12933 cat conftest.err
>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } >/dev
/null
; then
12936 if test -s conftest.err
; then
12937 ac_cpp_err
=$ac_c_preproc_warn_flag
12944 if test -z "$ac_cpp_err"; then
12945 ac_header_preproc
=yes
12947 echo "$as_me: failed program was:" >&5
12948 sed 's/^/| /' conftest.
$ac_ext >&5
12950 ac_header_preproc
=no
12952 rm -f conftest.err conftest.
$ac_ext
12953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12954 echo "${ECHO_T}$ac_header_preproc" >&6
12956 # So? What about this header?
12957 case $ac_header_compiler:$ac_header_preproc in
12959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12965 ## ------------------------------------ ##
12966 ## Report this to bug-autoconf@gnu.org. ##
12967 ## ------------------------------------ ##
12970 sed "s/^/$as_me: WARNING: /" >&2
12973 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12974 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12975 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12976 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12981 ## ------------------------------------ ##
12982 ## Report this to bug-autoconf@gnu.org. ##
12983 ## ------------------------------------ ##
12986 sed "s/^/$as_me: WARNING: /" >&2
12989 echo "$as_me:$LINENO: checking for $ac_header" >&5
12990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 eval "$as_ac_Header=$ac_header_preproc"
12996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13001 cat >>confdefs.h
<<_ACEOF
13002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13012 for ac_header
in fnmatch.h
13014 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13016 echo "$as_me:$LINENO: checking for $ac_header" >&5
13017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13019 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13024 # Is the header compilable?
13025 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13027 cat >conftest.
$ac_ext <<_ACEOF
13028 #line $LINENO "configure"
13031 cat confdefs.h
>>conftest.
$ac_ext
13032 cat >>conftest.
$ac_ext <<_ACEOF
13033 /* end confdefs.h. */
13034 $ac_includes_default
13035 #include <$ac_header>
13037 rm -f conftest.
$ac_objext
13038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13039 (eval $ac_compile) 2>&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); } &&
13043 { ac_try
='test -s conftest.$ac_objext'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; }; then
13049 ac_header_compiler
=yes
13051 echo "$as_me: failed program was:" >&5
13052 sed 's/^/| /' conftest.
$ac_ext >&5
13054 ac_header_compiler
=no
13056 rm -f conftest.
$ac_objext conftest.
$ac_ext
13057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13058 echo "${ECHO_T}$ac_header_compiler" >&6
13060 # Is the header present?
13061 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13062 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13063 cat >conftest.
$ac_ext <<_ACEOF
13064 #line $LINENO "configure"
13067 cat confdefs.h
>>conftest.
$ac_ext
13068 cat >>conftest.
$ac_ext <<_ACEOF
13069 /* end confdefs.h. */
13070 #include <$ac_header>
13072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13075 grep -v '^ *+' conftest.er1
>conftest.err
13077 cat conftest.err
>&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); } >/dev
/null
; then
13080 if test -s conftest.err
; then
13081 ac_cpp_err
=$ac_c_preproc_warn_flag
13088 if test -z "$ac_cpp_err"; then
13089 ac_header_preproc
=yes
13091 echo "$as_me: failed program was:" >&5
13092 sed 's/^/| /' conftest.
$ac_ext >&5
13094 ac_header_preproc
=no
13096 rm -f conftest.err conftest.
$ac_ext
13097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13098 echo "${ECHO_T}$ac_header_preproc" >&6
13100 # So? What about this header?
13101 case $ac_header_compiler:$ac_header_preproc in
13103 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13109 ## ------------------------------------ ##
13110 ## Report this to bug-autoconf@gnu.org. ##
13111 ## ------------------------------------ ##
13114 sed "s/^/$as_me: WARNING: /" >&2
13117 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13118 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13119 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13120 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13125 ## ------------------------------------ ##
13126 ## Report this to bug-autoconf@gnu.org. ##
13127 ## ------------------------------------ ##
13130 sed "s/^/$as_me: WARNING: /" >&2
13133 echo "$as_me:$LINENO: checking for $ac_header" >&5
13134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13138 eval "$as_ac_Header=$ac_header_preproc"
13140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13145 cat >>confdefs.h
<<_ACEOF
13146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13154 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13156 for ac_func
in fnmatch
13158 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13159 echo "$as_me:$LINENO: checking for $ac_func" >&5
13160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13161 if eval "test \"\${$as_ac_var+set}\" = set"; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6
13164 cat >conftest.
$ac_ext <<_ACEOF
13165 #line $LINENO "configure"
13168 cat confdefs.h
>>conftest.
$ac_ext
13169 cat >>conftest.
$ac_ext <<_ACEOF
13170 /* end confdefs.h. */
13171 /* System header to define __stub macros and hopefully few prototypes,
13172 which can conflict with char $ac_func (); below.
13173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13174 <limits.h> exists even on freestanding compilers. */
13176 # include <limits.h>
13178 # include <assert.h>
13180 /* Override any gcc2 internal prototype to avoid an error. */
13185 /* We use char because int might match the return type of a gcc2
13186 builtin and then its argument prototype would still apply. */
13188 /* The GNU C library defines this for functions which it implements
13189 to always fail with ENOSYS. Some functions are actually named
13190 something starting with __ and the normal name is an alias. */
13191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13194 char (*f) () = $ac_func;
13203 return f != $ac_func;
13208 rm -f conftest.
$ac_objext conftest
$ac_exeext
13209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13210 (eval $ac_link) 2>&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); } &&
13214 { ac_try
='test -s conftest$ac_exeext'
13215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13216 (eval $ac_try) 2>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); }; }; then
13220 eval "$as_ac_var=yes"
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.
$ac_ext >&5
13225 eval "$as_ac_var=no"
13227 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13231 if test `eval echo '${'$as_ac_var'}'` = yes; then
13232 cat >>confdefs.h
<<_ACEOF
13233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13242 for ac_header
in langinfo.h
13244 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13246 echo "$as_me:$LINENO: checking for $ac_header" >&5
13247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13254 # Is the header compilable?
13255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13257 cat >conftest.
$ac_ext <<_ACEOF
13258 #line $LINENO "configure"
13261 cat confdefs.h
>>conftest.
$ac_ext
13262 cat >>conftest.
$ac_ext <<_ACEOF
13263 /* end confdefs.h. */
13264 $ac_includes_default
13265 #include <$ac_header>
13267 rm -f conftest.
$ac_objext
13268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13269 (eval $ac_compile) 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } &&
13273 { ac_try
='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 ac_header_compiler
=yes
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.
$ac_ext >&5
13284 ac_header_compiler
=no
13286 rm -f conftest.
$ac_objext conftest.
$ac_ext
13287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13288 echo "${ECHO_T}$ac_header_compiler" >&6
13290 # Is the header present?
13291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13293 cat >conftest.
$ac_ext <<_ACEOF
13294 #line $LINENO "configure"
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 #include <$ac_header>
13302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13305 grep -v '^ *+' conftest.er1
>conftest.err
13307 cat conftest.err
>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } >/dev
/null
; then
13310 if test -s conftest.err
; then
13311 ac_cpp_err
=$ac_c_preproc_warn_flag
13318 if test -z "$ac_cpp_err"; then
13319 ac_header_preproc
=yes
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.
$ac_ext >&5
13324 ac_header_preproc
=no
13326 rm -f conftest.err conftest.
$ac_ext
13327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13328 echo "${ECHO_T}$ac_header_preproc" >&6
13330 # So? What about this header?
13331 case $ac_header_compiler:$ac_header_preproc in
13333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13339 ## ------------------------------------ ##
13340 ## Report this to bug-autoconf@gnu.org. ##
13341 ## ------------------------------------ ##
13344 sed "s/^/$as_me: WARNING: /" >&2
13347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13355 ## ------------------------------------ ##
13356 ## Report this to bug-autoconf@gnu.org. ##
13357 ## ------------------------------------ ##
13360 sed "s/^/$as_me: WARNING: /" >&2
13363 echo "$as_me:$LINENO: checking for $ac_header" >&5
13364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13366 echo $ECHO_N "(cached) $ECHO_C" >&6
13368 eval "$as_ac_Header=$ac_header_preproc"
13370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13375 cat >>confdefs.h
<<_ACEOF
13376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13385 *-pc-os2_emx | *-pc-os2-emx )
13386 if test $ac_cv_header_langinfo_h = "yes"; then
13387 LIBS
="$LIBS -lintl"
13392 if test "$wxUSE_GUI" = "yes"; then
13393 if test "$wxUSE_UNIX" = "yes"; then
13395 for ac_header
in X
11/XKBlib.h
13397 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13399 echo "$as_me:$LINENO: checking for $ac_header" >&5
13400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13402 echo $ECHO_N "(cached) $ECHO_C" >&6
13404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13407 # Is the header compilable?
13408 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13409 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13410 cat >conftest.
$ac_ext <<_ACEOF
13411 #line $LINENO "configure"
13414 cat confdefs.h
>>conftest.
$ac_ext
13415 cat >>conftest.
$ac_ext <<_ACEOF
13416 /* end confdefs.h. */
13417 $ac_includes_default
13418 #include <$ac_header>
13420 rm -f conftest.
$ac_objext
13421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13422 (eval $ac_compile) 2>&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); } &&
13426 { ac_try
='test -s conftest.$ac_objext'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; }; then
13432 ac_header_compiler
=yes
13434 echo "$as_me: failed program was:" >&5
13435 sed 's/^/| /' conftest.
$ac_ext >&5
13437 ac_header_compiler
=no
13439 rm -f conftest.
$ac_objext conftest.
$ac_ext
13440 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13441 echo "${ECHO_T}$ac_header_compiler" >&6
13443 # Is the header present?
13444 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13445 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13446 cat >conftest.
$ac_ext <<_ACEOF
13447 #line $LINENO "configure"
13450 cat confdefs.h
>>conftest.
$ac_ext
13451 cat >>conftest.
$ac_ext <<_ACEOF
13452 /* end confdefs.h. */
13453 #include <$ac_header>
13455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13458 grep -v '^ *+' conftest.er1
>conftest.err
13460 cat conftest.err
>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } >/dev
/null
; then
13463 if test -s conftest.err
; then
13464 ac_cpp_err
=$ac_c_preproc_warn_flag
13471 if test -z "$ac_cpp_err"; then
13472 ac_header_preproc
=yes
13474 echo "$as_me: failed program was:" >&5
13475 sed 's/^/| /' conftest.
$ac_ext >&5
13477 ac_header_preproc
=no
13479 rm -f conftest.err conftest.
$ac_ext
13480 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13481 echo "${ECHO_T}$ac_header_preproc" >&6
13483 # So? What about this header?
13484 case $ac_header_compiler:$ac_header_preproc in
13486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13489 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13492 ## ------------------------------------ ##
13493 ## Report this to bug-autoconf@gnu.org. ##
13494 ## ------------------------------------ ##
13497 sed "s/^/$as_me: WARNING: /" >&2
13500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13508 ## ------------------------------------ ##
13509 ## Report this to bug-autoconf@gnu.org. ##
13510 ## ------------------------------------ ##
13513 sed "s/^/$as_me: WARNING: /" >&2
13516 echo "$as_me:$LINENO: checking for $ac_header" >&5
13517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13519 echo $ECHO_N "(cached) $ECHO_C" >&6
13521 eval "$as_ac_Header=$ac_header_preproc"
13523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13528 cat >>confdefs.h
<<_ACEOF
13529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13540 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13541 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13542 if test "${ac_cv_c_const+set}" = set; then
13543 echo $ECHO_N "(cached) $ECHO_C" >&6
13545 cat >conftest.
$ac_ext <<_ACEOF
13546 #line $LINENO "configure"
13549 cat confdefs.h
>>conftest.
$ac_ext
13550 cat >>conftest.
$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13556 /* FIXME: Include the comments suggested by Paul. */
13557 #ifndef __cplusplus
13558 /* Ultrix mips cc rejects this. */
13559 typedef int charset[2];
13561 /* SunOS 4.1.1 cc rejects this. */
13562 char const *const *ccp;
13564 /* NEC SVR4.0.2 mips cc rejects this. */
13565 struct point {int x, y;};
13566 static struct point const zero = {0,0};
13567 /* AIX XL C 1.02.0.0 rejects this.
13568 It does not let you subtract one const X* pointer from another in
13569 an arm of an if-expression whose if-part is not a constant
13571 const char *g = "string";
13572 ccp = &g + (g ? g-g : 0);
13573 /* HPUX 7.0 cc rejects these. */
13576 ccp = (char const *const *) p;
13577 { /* SCO 3.2v4 cc rejects this. */
13579 char const *s = 0 ? (char *) 0 : (char const *) 0;
13583 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13584 int x[] = {25, 17};
13585 const int *foo = &x[0];
13588 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13589 typedef const int *iptr;
13593 { /* AIX XL C 1.02.0.0 rejects this saying
13594 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13595 struct s { int j; const int *ap[3]; };
13596 struct s *b; b->j = 5;
13598 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13599 const int foo = 10;
13607 rm -f conftest.
$ac_objext
13608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13609 (eval $ac_compile) 2>&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); } &&
13613 { ac_try
='test -s conftest.$ac_objext'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; }; then
13621 echo "$as_me: failed program was:" >&5
13622 sed 's/^/| /' conftest.
$ac_ext >&5
13626 rm -f conftest.
$ac_objext conftest.
$ac_ext
13628 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13629 echo "${ECHO_T}$ac_cv_c_const" >&6
13630 if test $ac_cv_c_const = no
; then
13632 cat >>confdefs.h
<<\_ACEOF
13638 echo "$as_me:$LINENO: checking for inline" >&5
13639 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13640 if test "${ac_cv_c_inline+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 for ac_kw
in inline __inline__ __inline
; do
13645 cat >conftest.
$ac_ext <<_ACEOF
13646 #line $LINENO "configure"
13649 cat confdefs.h
>>conftest.
$ac_ext
13650 cat >>conftest.
$ac_ext <<_ACEOF
13651 /* end confdefs.h. */
13652 #ifndef __cplusplus
13654 static $ac_kw foo_t static_foo () {return 0; }
13655 $ac_kw foo_t foo () {return 0; }
13659 rm -f conftest.
$ac_objext
13660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13661 (eval $ac_compile) 2>&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); } &&
13665 { ac_try
='test -s conftest.$ac_objext'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; }; then
13671 ac_cv_c_inline
=$ac_kw; break
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.
$ac_ext >&5
13677 rm -f conftest.
$ac_objext conftest.
$ac_ext
13681 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13682 echo "${ECHO_T}$ac_cv_c_inline" >&6
13683 case $ac_cv_c_inline in
13686 cat >>confdefs.h
<<\_ACEOF
13690 *) cat >>confdefs.h
<<_ACEOF
13691 #define inline $ac_cv_c_inline
13697 echo "$as_me:$LINENO: checking for char" >&5
13698 echo $ECHO_N "checking for char... $ECHO_C" >&6
13699 if test "${ac_cv_type_char+set}" = set; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13702 cat >conftest.
$ac_ext <<_ACEOF
13703 #line $LINENO "configure"
13706 cat confdefs.h
>>conftest.
$ac_ext
13707 cat >>conftest.
$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709 $ac_includes_default
13721 rm -f conftest.
$ac_objext
13722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13723 (eval $ac_compile) 2>&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } &&
13727 { ac_try
='test -s conftest.$ac_objext'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 ac_cv_type_char
=yes
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.
$ac_ext >&5
13740 rm -f conftest.
$ac_objext conftest.
$ac_ext
13742 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13743 echo "${ECHO_T}$ac_cv_type_char" >&6
13745 echo "$as_me:$LINENO: checking size of char" >&5
13746 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13747 if test "${ac_cv_sizeof_char+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 if test "$ac_cv_type_char" = yes; then
13751 # The cast to unsigned long works around a bug in the HP C Compiler
13752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13754 # This bug is HP SR number 8606223364.
13755 if test "$cross_compiling" = yes; then
13756 # Depending upon the size, compute the lo and hi bounds.
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
13768 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13775 rm -f conftest.
$ac_objext
13776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13777 (eval $ac_compile) 2>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } &&
13781 { ac_try
='test -s conftest.$ac_objext'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; }; then
13789 cat >conftest.
$ac_ext <<_ACEOF
13790 #line $LINENO "configure"
13793 cat confdefs.h
>>conftest.
$ac_ext
13794 cat >>conftest.
$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 $ac_includes_default
13800 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13807 rm -f conftest.
$ac_objext
13808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13809 (eval $ac_compile) 2>&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); } &&
13813 { ac_try
='test -s conftest.$ac_objext'
13814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13815 (eval $ac_try) 2>&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); }; }; then
13819 ac_hi
=$ac_mid; break
13821 echo "$as_me: failed program was:" >&5
13822 sed 's/^/| /' conftest.
$ac_ext >&5
13824 ac_lo
=`expr $ac_mid + 1`
13825 if test $ac_lo -le $ac_mid; then
13829 ac_mid
=`expr 2 '*' $ac_mid + 1`
13831 rm -f conftest.
$ac_objext conftest.
$ac_ext
13834 echo "$as_me: failed program was:" >&5
13835 sed 's/^/| /' conftest.
$ac_ext >&5
13837 cat >conftest.
$ac_ext <<_ACEOF
13838 #line $LINENO "configure"
13841 cat confdefs.h
>>conftest.
$ac_ext
13842 cat >>conftest.
$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13844 $ac_includes_default
13848 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13855 rm -f conftest.
$ac_objext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13857 (eval $ac_compile) 2>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } &&
13861 { ac_try
='test -s conftest.$ac_objext'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then
13869 cat >conftest.
$ac_ext <<_ACEOF
13870 #line $LINENO "configure"
13873 cat confdefs.h
>>conftest.
$ac_ext
13874 cat >>conftest.
$ac_ext <<_ACEOF
13875 /* end confdefs.h. */
13876 $ac_includes_default
13880 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13887 rm -f conftest.
$ac_objext
13888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13889 (eval $ac_compile) 2>&5
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); } &&
13893 { ac_try
='test -s conftest.$ac_objext'
13894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13895 (eval $ac_try) 2>&5
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); }; }; then
13899 ac_lo
=$ac_mid; break
13901 echo "$as_me: failed program was:" >&5
13902 sed 's/^/| /' conftest.
$ac_ext >&5
13904 ac_hi
=`expr '(' $ac_mid ')' - 1`
13905 if test $ac_mid -le $ac_hi; then
13909 ac_mid
=`expr 2 '*' $ac_mid`
13911 rm -f conftest.
$ac_objext conftest.
$ac_ext
13914 echo "$as_me: failed program was:" >&5
13915 sed 's/^/| /' conftest.
$ac_ext >&5
13919 rm -f conftest.
$ac_objext conftest.
$ac_ext
13921 rm -f conftest.
$ac_objext conftest.
$ac_ext
13922 # Binary search between lo and hi bounds.
13923 while test "x$ac_lo" != "x$ac_hi"; do
13924 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13925 cat >conftest.
$ac_ext <<_ACEOF
13926 #line $LINENO "configure"
13929 cat confdefs.h
>>conftest.
$ac_ext
13930 cat >>conftest.
$ac_ext <<_ACEOF
13931 /* end confdefs.h. */
13932 $ac_includes_default
13936 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13943 rm -f conftest.
$ac_objext
13944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13945 (eval $ac_compile) 2>&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } &&
13949 { ac_try
='test -s conftest.$ac_objext'
13950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13951 (eval $ac_try) 2>&5
13953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954 (exit $ac_status); }; }; then
13957 echo "$as_me: failed program was:" >&5
13958 sed 's/^/| /' conftest.
$ac_ext >&5
13960 ac_lo
=`expr '(' $ac_mid ')' + 1`
13962 rm -f conftest.
$ac_objext conftest.
$ac_ext
13965 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13966 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13967 See \`config.log' for more details." >&5
13968 echo "$as_me: error: cannot compute sizeof (char), 77
13969 See \`config.log' for more details." >&2;}
13970 { (exit 1); exit 1; }; } ;;
13973 if test "$cross_compiling" = yes; then
13974 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13975 See \`config.log' for more details." >&5
13976 echo "$as_me: error: cannot run test program while cross compiling
13977 See \`config.log' for more details." >&2;}
13978 { (exit 1); exit 1; }; }
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
13988 long longval () { return (long) (sizeof (char)); }
13989 unsigned long ulongval () { return (long) (sizeof (char)); }
13991 #include <stdlib.h>
13996 FILE *f = fopen ("conftest.val", "w");
13999 if (((long) (sizeof (char))) < 0)
14001 long i = longval ();
14002 if (i != ((long) (sizeof (char))))
14004 fprintf (f, "%ld\n", i);
14008 unsigned long i = ulongval ();
14009 if (i != ((long) (sizeof (char))))
14011 fprintf (f, "%lu\n", i);
14013 exit (ferror (f) || fclose (f) != 0);
14019 rm -f conftest
$ac_exeext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14021 (eval $ac_link) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; }; then
14030 ac_cv_sizeof_char
=`cat conftest.val`
14032 echo "$as_me: program exited with status $ac_status" >&5
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.
$ac_ext >&5
14036 ( exit $ac_status )
14037 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14038 See \`config.log' for more details." >&5
14039 echo "$as_me: error: cannot compute sizeof (char), 77
14040 See \`config.log' for more details." >&2;}
14041 { (exit 1); exit 1; }; }
14043 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14048 ac_cv_sizeof_char
=0
14051 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14052 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14053 cat >>confdefs.h
<<_ACEOF
14054 #define SIZEOF_CHAR $ac_cv_sizeof_char
14058 echo "$as_me:$LINENO: checking for short" >&5
14059 echo $ECHO_N "checking for short... $ECHO_C" >&6
14060 if test "${ac_cv_type_short+set}" = set; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 cat >conftest.
$ac_ext <<_ACEOF
14064 #line $LINENO "configure"
14067 cat confdefs.h
>>conftest.
$ac_ext
14068 cat >>conftest.
$ac_ext <<_ACEOF
14069 /* end confdefs.h. */
14070 $ac_includes_default
14076 if (sizeof (short))
14082 rm -f conftest.
$ac_objext
14083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14084 (eval $ac_compile) 2>&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); } &&
14088 { ac_try
='test -s conftest.$ac_objext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14094 ac_cv_type_short
=yes
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.
$ac_ext >&5
14099 ac_cv_type_short
=no
14101 rm -f conftest.
$ac_objext conftest.
$ac_ext
14103 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14104 echo "${ECHO_T}$ac_cv_type_short" >&6
14106 echo "$as_me:$LINENO: checking size of short" >&5
14107 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14108 if test "${ac_cv_sizeof_short+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 if test "$ac_cv_type_short" = yes; then
14112 # The cast to unsigned long works around a bug in the HP C Compiler
14113 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14114 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14115 # This bug is HP SR number 8606223364.
14116 if test "$cross_compiling" = yes; then
14117 # Depending upon the size, compute the lo and hi bounds.
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
14129 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14136 rm -f conftest.
$ac_objext
14137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14138 (eval $ac_compile) 2>&5
14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); } &&
14142 { ac_try
='test -s conftest.$ac_objext'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; }; then
14150 cat >conftest.
$ac_ext <<_ACEOF
14151 #line $LINENO "configure"
14154 cat confdefs.h
>>conftest.
$ac_ext
14155 cat >>conftest.
$ac_ext <<_ACEOF
14156 /* end confdefs.h. */
14157 $ac_includes_default
14161 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14168 rm -f conftest.
$ac_objext
14169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14170 (eval $ac_compile) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } &&
14174 { ac_try
='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_hi
=$ac_mid; break
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14185 ac_lo
=`expr $ac_mid + 1`
14186 if test $ac_lo -le $ac_mid; then
14190 ac_mid
=`expr 2 '*' $ac_mid + 1`
14192 rm -f conftest.
$ac_objext conftest.
$ac_ext
14195 echo "$as_me: failed program was:" >&5
14196 sed 's/^/| /' conftest.
$ac_ext >&5
14198 cat >conftest.
$ac_ext <<_ACEOF
14199 #line $LINENO "configure"
14202 cat confdefs.h
>>conftest.
$ac_ext
14203 cat >>conftest.
$ac_ext <<_ACEOF
14204 /* end confdefs.h. */
14205 $ac_includes_default
14209 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14216 rm -f conftest.
$ac_objext
14217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14218 (eval $ac_compile) 2>&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); } &&
14222 { ac_try
='test -s conftest.$ac_objext'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then
14230 cat >conftest.
$ac_ext <<_ACEOF
14231 #line $LINENO "configure"
14234 cat confdefs.h
>>conftest.
$ac_ext
14235 cat >>conftest.
$ac_ext <<_ACEOF
14236 /* end confdefs.h. */
14237 $ac_includes_default
14241 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14248 rm -f conftest.
$ac_objext
14249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14250 (eval $ac_compile) 2>&5
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); } &&
14254 { ac_try
='test -s conftest.$ac_objext'
14255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14256 (eval $ac_try) 2>&5
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); }; }; then
14260 ac_lo
=$ac_mid; break
14262 echo "$as_me: failed program was:" >&5
14263 sed 's/^/| /' conftest.
$ac_ext >&5
14265 ac_hi
=`expr '(' $ac_mid ')' - 1`
14266 if test $ac_mid -le $ac_hi; then
14270 ac_mid
=`expr 2 '*' $ac_mid`
14272 rm -f conftest.
$ac_objext conftest.
$ac_ext
14275 echo "$as_me: failed program was:" >&5
14276 sed 's/^/| /' conftest.
$ac_ext >&5
14280 rm -f conftest.
$ac_objext conftest.
$ac_ext
14282 rm -f conftest.
$ac_objext conftest.
$ac_ext
14283 # Binary search between lo and hi bounds.
14284 while test "x$ac_lo" != "x$ac_hi"; do
14285 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14286 cat >conftest.
$ac_ext <<_ACEOF
14287 #line $LINENO "configure"
14290 cat confdefs.h
>>conftest.
$ac_ext
14291 cat >>conftest.
$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 $ac_includes_default
14297 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14304 rm -f conftest.
$ac_objext
14305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14306 (eval $ac_compile) 2>&5
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); } &&
14310 { ac_try
='test -s conftest.$ac_objext'
14311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312 (eval $ac_try) 2>&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; }; then
14318 echo "$as_me: failed program was:" >&5
14319 sed 's/^/| /' conftest.
$ac_ext >&5
14321 ac_lo
=`expr '(' $ac_mid ')' + 1`
14323 rm -f conftest.
$ac_objext conftest.
$ac_ext
14326 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14327 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14328 See \`config.log' for more details." >&5
14329 echo "$as_me: error: cannot compute sizeof (short), 77
14330 See \`config.log' for more details." >&2;}
14331 { (exit 1); exit 1; }; } ;;
14334 if test "$cross_compiling" = yes; then
14335 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14336 See \`config.log' for more details." >&5
14337 echo "$as_me: error: cannot run test program while cross compiling
14338 See \`config.log' for more details." >&2;}
14339 { (exit 1); exit 1; }; }
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
14349 long longval () { return (long) (sizeof (short)); }
14350 unsigned long ulongval () { return (long) (sizeof (short)); }
14352 #include <stdlib.h>
14357 FILE *f = fopen ("conftest.val", "w");
14360 if (((long) (sizeof (short))) < 0)
14362 long i = longval ();
14363 if (i != ((long) (sizeof (short))))
14365 fprintf (f, "%ld\n", i);
14369 unsigned long i = ulongval ();
14370 if (i != ((long) (sizeof (short))))
14372 fprintf (f, "%lu\n", i);
14374 exit (ferror (f) || fclose (f) != 0);
14380 rm -f conftest
$ac_exeext
14381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14382 (eval $ac_link) 2>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; }; then
14391 ac_cv_sizeof_short
=`cat conftest.val`
14393 echo "$as_me: program exited with status $ac_status" >&5
14394 echo "$as_me: failed program was:" >&5
14395 sed 's/^/| /' conftest.
$ac_ext >&5
14397 ( exit $ac_status )
14398 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14399 See \`config.log' for more details." >&5
14400 echo "$as_me: error: cannot compute sizeof (short), 77
14401 See \`config.log' for more details." >&2;}
14402 { (exit 1); exit 1; }; }
14404 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14409 ac_cv_sizeof_short
=0
14412 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14413 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14414 cat >>confdefs.h
<<_ACEOF
14415 #define SIZEOF_SHORT $ac_cv_sizeof_short
14419 echo "$as_me:$LINENO: checking for void *" >&5
14420 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14421 if test "${ac_cv_type_void_p+set}" = set; then
14422 echo $ECHO_N "(cached) $ECHO_C" >&6
14424 cat >conftest.
$ac_ext <<_ACEOF
14425 #line $LINENO "configure"
14428 cat confdefs.h
>>conftest.
$ac_ext
14429 cat >>conftest.
$ac_ext <<_ACEOF
14430 /* end confdefs.h. */
14431 $ac_includes_default
14437 if (sizeof (void *))
14443 rm -f conftest.
$ac_objext
14444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14445 (eval $ac_compile) 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); } &&
14449 { ac_try
='test -s conftest.$ac_objext'
14450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14451 (eval $ac_try) 2>&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; }; then
14455 ac_cv_type_void_p
=yes
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.
$ac_ext >&5
14460 ac_cv_type_void_p
=no
14462 rm -f conftest.
$ac_objext conftest.
$ac_ext
14464 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14465 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14467 echo "$as_me:$LINENO: checking size of void *" >&5
14468 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14469 if test "${ac_cv_sizeof_void_p+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14472 if test "$ac_cv_type_void_p" = yes; then
14473 # The cast to unsigned long works around a bug in the HP C Compiler
14474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14476 # This bug is HP SR number 8606223364.
14477 if test "$cross_compiling" = yes; then
14478 # Depending upon the size, compute the lo and hi bounds.
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
14490 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14497 rm -f conftest.
$ac_objext
14498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14499 (eval $ac_compile) 2>&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); } &&
14503 { ac_try
='test -s conftest.$ac_objext'
14504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14505 (eval $ac_try) 2>&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); }; }; then
14511 cat >conftest.
$ac_ext <<_ACEOF
14512 #line $LINENO "configure"
14515 cat confdefs.h
>>conftest.
$ac_ext
14516 cat >>conftest.
$ac_ext <<_ACEOF
14517 /* end confdefs.h. */
14518 $ac_includes_default
14522 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14529 rm -f conftest.
$ac_objext
14530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14531 (eval $ac_compile) 2>&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } &&
14535 { ac_try
='test -s conftest.$ac_objext'
14536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14537 (eval $ac_try) 2>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; }; then
14541 ac_hi
=$ac_mid; break
14543 echo "$as_me: failed program was:" >&5
14544 sed 's/^/| /' conftest.
$ac_ext >&5
14546 ac_lo
=`expr $ac_mid + 1`
14547 if test $ac_lo -le $ac_mid; then
14551 ac_mid
=`expr 2 '*' $ac_mid + 1`
14553 rm -f conftest.
$ac_objext conftest.
$ac_ext
14556 echo "$as_me: failed program was:" >&5
14557 sed 's/^/| /' conftest.
$ac_ext >&5
14559 cat >conftest.
$ac_ext <<_ACEOF
14560 #line $LINENO "configure"
14563 cat confdefs.h
>>conftest.
$ac_ext
14564 cat >>conftest.
$ac_ext <<_ACEOF
14565 /* end confdefs.h. */
14566 $ac_includes_default
14570 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14577 rm -f conftest.
$ac_objext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14579 (eval $ac_compile) 2>&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); } &&
14583 { ac_try
='test -s conftest.$ac_objext'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; }; then
14591 cat >conftest.
$ac_ext <<_ACEOF
14592 #line $LINENO "configure"
14595 cat confdefs.h
>>conftest.
$ac_ext
14596 cat >>conftest.
$ac_ext <<_ACEOF
14597 /* end confdefs.h. */
14598 $ac_includes_default
14602 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14609 rm -f conftest.
$ac_objext
14610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14611 (eval $ac_compile) 2>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } &&
14615 { ac_try
='test -s conftest.$ac_objext'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; }; then
14621 ac_lo
=$ac_mid; break
14623 echo "$as_me: failed program was:" >&5
14624 sed 's/^/| /' conftest.
$ac_ext >&5
14626 ac_hi
=`expr '(' $ac_mid ')' - 1`
14627 if test $ac_mid -le $ac_hi; then
14631 ac_mid
=`expr 2 '*' $ac_mid`
14633 rm -f conftest.
$ac_objext conftest.
$ac_ext
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.
$ac_ext >&5
14641 rm -f conftest.
$ac_objext conftest.
$ac_ext
14643 rm -f conftest.
$ac_objext conftest.
$ac_ext
14644 # Binary search between lo and hi bounds.
14645 while test "x$ac_lo" != "x$ac_hi"; do
14646 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14647 cat >conftest.
$ac_ext <<_ACEOF
14648 #line $LINENO "configure"
14651 cat confdefs.h
>>conftest.
$ac_ext
14652 cat >>conftest.
$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14654 $ac_includes_default
14658 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14665 rm -f conftest.
$ac_objext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); } &&
14671 { ac_try
='test -s conftest.$ac_objext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.
$ac_ext >&5
14682 ac_lo
=`expr '(' $ac_mid ')' + 1`
14684 rm -f conftest.
$ac_objext conftest.
$ac_ext
14687 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14688 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14689 See \`config.log' for more details." >&5
14690 echo "$as_me: error: cannot compute sizeof (void *), 77
14691 See \`config.log' for more details." >&2;}
14692 { (exit 1); exit 1; }; } ;;
14695 if test "$cross_compiling" = yes; then
14696 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14697 See \`config.log' for more details." >&5
14698 echo "$as_me: error: cannot run test program while cross compiling
14699 See \`config.log' for more details." >&2;}
14700 { (exit 1); exit 1; }; }
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
14710 long longval () { return (long) (sizeof (void *)); }
14711 unsigned long ulongval () { return (long) (sizeof (void *)); }
14713 #include <stdlib.h>
14718 FILE *f = fopen ("conftest.val", "w");
14721 if (((long) (sizeof (void *))) < 0)
14723 long i = longval ();
14724 if (i != ((long) (sizeof (void *))))
14726 fprintf (f, "%ld\n", i);
14730 unsigned long i = ulongval ();
14731 if (i != ((long) (sizeof (void *))))
14733 fprintf (f, "%lu\n", i);
14735 exit (ferror (f) || fclose (f) != 0);
14741 rm -f conftest
$ac_exeext
14742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14743 (eval $ac_link) 2>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748 (eval $ac_try) 2>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; }; then
14752 ac_cv_sizeof_void_p
=`cat conftest.val`
14754 echo "$as_me: program exited with status $ac_status" >&5
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.
$ac_ext >&5
14758 ( exit $ac_status )
14759 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14760 See \`config.log' for more details." >&5
14761 echo "$as_me: error: cannot compute sizeof (void *), 77
14762 See \`config.log' for more details." >&2;}
14763 { (exit 1); exit 1; }; }
14765 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14770 ac_cv_sizeof_void_p
=0
14773 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14774 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14775 cat >>confdefs.h
<<_ACEOF
14776 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14780 echo "$as_me:$LINENO: checking for int" >&5
14781 echo $ECHO_N "checking for int... $ECHO_C" >&6
14782 if test "${ac_cv_type_int+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 cat >conftest.
$ac_ext <<_ACEOF
14786 #line $LINENO "configure"
14789 cat confdefs.h
>>conftest.
$ac_ext
14790 cat >>conftest.
$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 $ac_includes_default
14804 rm -f conftest.
$ac_objext
14805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14806 (eval $ac_compile) 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } &&
14810 { ac_try
='test -s conftest.$ac_objext'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.
$ac_ext >&5
14823 rm -f conftest.
$ac_objext conftest.
$ac_ext
14825 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14826 echo "${ECHO_T}$ac_cv_type_int" >&6
14828 echo "$as_me:$LINENO: checking size of int" >&5
14829 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14830 if test "${ac_cv_sizeof_int+set}" = set; then
14831 echo $ECHO_N "(cached) $ECHO_C" >&6
14833 if test "$ac_cv_type_int" = yes; then
14834 # The cast to unsigned long works around a bug in the HP C Compiler
14835 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14836 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14837 # This bug is HP SR number 8606223364.
14838 if test "$cross_compiling" = yes; then
14839 # Depending upon the size, compute the lo and hi bounds.
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
14851 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14858 rm -f conftest.
$ac_objext
14859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14860 (eval $ac_compile) 2>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); } &&
14864 { ac_try
='test -s conftest.$ac_objext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14872 cat >conftest.
$ac_ext <<_ACEOF
14873 #line $LINENO "configure"
14876 cat confdefs.h
>>conftest.
$ac_ext
14877 cat >>conftest.
$ac_ext <<_ACEOF
14878 /* end confdefs.h. */
14879 $ac_includes_default
14883 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14890 rm -f conftest.
$ac_objext
14891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14892 (eval $ac_compile) 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try
='test -s conftest.$ac_objext'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; }; then
14902 ac_hi
=$ac_mid; break
14904 echo "$as_me: failed program was:" >&5
14905 sed 's/^/| /' conftest.
$ac_ext >&5
14907 ac_lo
=`expr $ac_mid + 1`
14908 if test $ac_lo -le $ac_mid; then
14912 ac_mid
=`expr 2 '*' $ac_mid + 1`
14914 rm -f conftest.
$ac_objext conftest.
$ac_ext
14917 echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.
$ac_ext >&5
14920 cat >conftest.
$ac_ext <<_ACEOF
14921 #line $LINENO "configure"
14924 cat confdefs.h
>>conftest.
$ac_ext
14925 cat >>conftest.
$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14927 $ac_includes_default
14931 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14938 rm -f conftest.
$ac_objext
14939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14940 (eval $ac_compile) 2>&5
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); } &&
14944 { ac_try
='test -s conftest.$ac_objext'
14945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14946 (eval $ac_try) 2>&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); }; }; then
14952 cat >conftest.
$ac_ext <<_ACEOF
14953 #line $LINENO "configure"
14956 cat confdefs.h
>>conftest.
$ac_ext
14957 cat >>conftest.
$ac_ext <<_ACEOF
14958 /* end confdefs.h. */
14959 $ac_includes_default
14963 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14970 rm -f conftest.
$ac_objext
14971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14972 (eval $ac_compile) 2>&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); } &&
14976 { ac_try
='test -s conftest.$ac_objext'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; }; then
14982 ac_lo
=$ac_mid; break
14984 echo "$as_me: failed program was:" >&5
14985 sed 's/^/| /' conftest.
$ac_ext >&5
14987 ac_hi
=`expr '(' $ac_mid ')' - 1`
14988 if test $ac_mid -le $ac_hi; then
14992 ac_mid
=`expr 2 '*' $ac_mid`
14994 rm -f conftest.
$ac_objext conftest.
$ac_ext
14997 echo "$as_me: failed program was:" >&5
14998 sed 's/^/| /' conftest.
$ac_ext >&5
15002 rm -f conftest.
$ac_objext conftest.
$ac_ext
15004 rm -f conftest.
$ac_objext conftest.
$ac_ext
15005 # Binary search between lo and hi bounds.
15006 while test "x$ac_lo" != "x$ac_hi"; do
15007 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15008 cat >conftest.
$ac_ext <<_ACEOF
15009 #line $LINENO "configure"
15012 cat confdefs.h
>>conftest.
$ac_ext
15013 cat >>conftest.
$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 $ac_includes_default
15019 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15026 rm -f conftest.
$ac_objext
15027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } &&
15032 { ac_try
='test -s conftest.$ac_objext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.
$ac_ext >&5
15043 ac_lo
=`expr '(' $ac_mid ')' + 1`
15045 rm -f conftest.
$ac_objext conftest.
$ac_ext
15048 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15049 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15050 See \`config.log' for more details." >&5
15051 echo "$as_me: error: cannot compute sizeof (int), 77
15052 See \`config.log' for more details." >&2;}
15053 { (exit 1); exit 1; }; } ;;
15056 if test "$cross_compiling" = yes; then
15057 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15058 See \`config.log' for more details." >&5
15059 echo "$as_me: error: cannot run test program while cross compiling
15060 See \`config.log' for more details." >&2;}
15061 { (exit 1); exit 1; }; }
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
15071 long longval () { return (long) (sizeof (int)); }
15072 unsigned long ulongval () { return (long) (sizeof (int)); }
15074 #include <stdlib.h>
15079 FILE *f = fopen ("conftest.val", "w");
15082 if (((long) (sizeof (int))) < 0)
15084 long i = longval ();
15085 if (i != ((long) (sizeof (int))))
15087 fprintf (f, "%ld\n", i);
15091 unsigned long i = ulongval ();
15092 if (i != ((long) (sizeof (int))))
15094 fprintf (f, "%lu\n", i);
15096 exit (ferror (f) || fclose (f) != 0);
15102 rm -f conftest
$ac_exeext
15103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15104 (eval $ac_link) 2>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; }; then
15113 ac_cv_sizeof_int
=`cat conftest.val`
15115 echo "$as_me: program exited with status $ac_status" >&5
15116 echo "$as_me: failed program was:" >&5
15117 sed 's/^/| /' conftest.
$ac_ext >&5
15119 ( exit $ac_status )
15120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15121 See \`config.log' for more details." >&5
15122 echo "$as_me: error: cannot compute sizeof (int), 77
15123 See \`config.log' for more details." >&2;}
15124 { (exit 1); exit 1; }; }
15126 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15134 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15135 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15136 cat >>confdefs.h
<<_ACEOF
15137 #define SIZEOF_INT $ac_cv_sizeof_int
15141 echo "$as_me:$LINENO: checking for long" >&5
15142 echo $ECHO_N "checking for long... $ECHO_C" >&6
15143 if test "${ac_cv_type_long+set}" = set; then
15144 echo $ECHO_N "(cached) $ECHO_C" >&6
15146 cat >conftest.
$ac_ext <<_ACEOF
15147 #line $LINENO "configure"
15150 cat confdefs.h
>>conftest.
$ac_ext
15151 cat >>conftest.
$ac_ext <<_ACEOF
15152 /* end confdefs.h. */
15153 $ac_includes_default
15165 rm -f conftest.
$ac_objext
15166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15167 (eval $ac_compile) 2>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } &&
15171 { ac_try
='test -s conftest.$ac_objext'
15172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15173 (eval $ac_try) 2>&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; }; then
15177 ac_cv_type_long
=yes
15179 echo "$as_me: failed program was:" >&5
15180 sed 's/^/| /' conftest.
$ac_ext >&5
15184 rm -f conftest.
$ac_objext conftest.
$ac_ext
15186 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15187 echo "${ECHO_T}$ac_cv_type_long" >&6
15189 echo "$as_me:$LINENO: checking size of long" >&5
15190 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15191 if test "${ac_cv_sizeof_long+set}" = set; then
15192 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 if test "$ac_cv_type_long" = yes; then
15195 # The cast to unsigned long works around a bug in the HP C Compiler
15196 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15197 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15198 # This bug is HP SR number 8606223364.
15199 if test "$cross_compiling" = yes; then
15200 # Depending upon the size, compute the lo and hi bounds.
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
15212 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15219 rm -f conftest.
$ac_objext
15220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15221 (eval $ac_compile) 2>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); } &&
15225 { ac_try
='test -s conftest.$ac_objext'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; }; then
15233 cat >conftest.
$ac_ext <<_ACEOF
15234 #line $LINENO "configure"
15237 cat confdefs.h
>>conftest.
$ac_ext
15238 cat >>conftest.
$ac_ext <<_ACEOF
15239 /* end confdefs.h. */
15240 $ac_includes_default
15244 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15251 rm -f conftest.
$ac_objext
15252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15253 (eval $ac_compile) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } &&
15257 { ac_try
='test -s conftest.$ac_objext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_hi
=$ac_mid; break
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.
$ac_ext >&5
15268 ac_lo
=`expr $ac_mid + 1`
15269 if test $ac_lo -le $ac_mid; then
15273 ac_mid
=`expr 2 '*' $ac_mid + 1`
15275 rm -f conftest.
$ac_objext conftest.
$ac_ext
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.
$ac_ext >&5
15281 cat >conftest.
$ac_ext <<_ACEOF
15282 #line $LINENO "configure"
15285 cat confdefs.h
>>conftest.
$ac_ext
15286 cat >>conftest.
$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15288 $ac_includes_default
15292 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15299 rm -f conftest.
$ac_objext
15300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15301 (eval $ac_compile) 2>&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } &&
15305 { ac_try
='test -s conftest.$ac_objext'
15306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15307 (eval $ac_try) 2>&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); }; }; then
15313 cat >conftest.
$ac_ext <<_ACEOF
15314 #line $LINENO "configure"
15317 cat confdefs.h
>>conftest.
$ac_ext
15318 cat >>conftest.
$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15320 $ac_includes_default
15324 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15331 rm -f conftest.
$ac_objext
15332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15333 (eval $ac_compile) 2>&5
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); } &&
15337 { ac_try
='test -s conftest.$ac_objext'
15338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15339 (eval $ac_try) 2>&5
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); }; }; then
15343 ac_lo
=$ac_mid; break
15345 echo "$as_me: failed program was:" >&5
15346 sed 's/^/| /' conftest.
$ac_ext >&5
15348 ac_hi
=`expr '(' $ac_mid ')' - 1`
15349 if test $ac_mid -le $ac_hi; then
15353 ac_mid
=`expr 2 '*' $ac_mid`
15355 rm -f conftest.
$ac_objext conftest.
$ac_ext
15358 echo "$as_me: failed program was:" >&5
15359 sed 's/^/| /' conftest.
$ac_ext >&5
15363 rm -f conftest.
$ac_objext conftest.
$ac_ext
15365 rm -f conftest.
$ac_objext conftest.
$ac_ext
15366 # Binary search between lo and hi bounds.
15367 while test "x$ac_lo" != "x$ac_hi"; do
15368 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15369 cat >conftest.
$ac_ext <<_ACEOF
15370 #line $LINENO "configure"
15373 cat confdefs.h
>>conftest.
$ac_ext
15374 cat >>conftest.
$ac_ext <<_ACEOF
15375 /* end confdefs.h. */
15376 $ac_includes_default
15380 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15387 rm -f conftest.
$ac_objext
15388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15389 (eval $ac_compile) 2>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try
='test -s conftest.$ac_objext'
15394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15395 (eval $ac_try) 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }; }; then
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.
$ac_ext >&5
15404 ac_lo
=`expr '(' $ac_mid ')' + 1`
15406 rm -f conftest.
$ac_objext conftest.
$ac_ext
15409 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15410 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15411 See \`config.log' for more details." >&5
15412 echo "$as_me: error: cannot compute sizeof (long), 77
15413 See \`config.log' for more details." >&2;}
15414 { (exit 1); exit 1; }; } ;;
15417 if test "$cross_compiling" = yes; then
15418 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15419 See \`config.log' for more details." >&5
15420 echo "$as_me: error: cannot run test program while cross compiling
15421 See \`config.log' for more details." >&2;}
15422 { (exit 1); exit 1; }; }
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
15432 long longval () { return (long) (sizeof (long)); }
15433 unsigned long ulongval () { return (long) (sizeof (long)); }
15435 #include <stdlib.h>
15440 FILE *f = fopen ("conftest.val", "w");
15443 if (((long) (sizeof (long))) < 0)
15445 long i = longval ();
15446 if (i != ((long) (sizeof (long))))
15448 fprintf (f, "%ld\n", i);
15452 unsigned long i = ulongval ();
15453 if (i != ((long) (sizeof (long))))
15455 fprintf (f, "%lu\n", i);
15457 exit (ferror (f) || fclose (f) != 0);
15463 rm -f conftest
$ac_exeext
15464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15465 (eval $ac_link) 2>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; }; then
15474 ac_cv_sizeof_long
=`cat conftest.val`
15476 echo "$as_me: program exited with status $ac_status" >&5
15477 echo "$as_me: failed program was:" >&5
15478 sed 's/^/| /' conftest.
$ac_ext >&5
15480 ( exit $ac_status )
15481 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15482 See \`config.log' for more details." >&5
15483 echo "$as_me: error: cannot compute sizeof (long), 77
15484 See \`config.log' for more details." >&2;}
15485 { (exit 1); exit 1; }; }
15487 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15492 ac_cv_sizeof_long
=0
15495 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15496 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15497 cat >>confdefs.h
<<_ACEOF
15498 #define SIZEOF_LONG $ac_cv_sizeof_long
15505 echo "$as_me:$LINENO: checking for long long" >&5
15506 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15507 if test "${ac_cv_type_long_long+set}" = set; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15510 cat >conftest.
$ac_ext <<_ACEOF
15511 #line $LINENO "configure"
15514 cat confdefs.h
>>conftest.
$ac_ext
15515 cat >>conftest.
$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15517 $ac_includes_default
15521 if ((long long *) 0)
15523 if (sizeof (long long))
15529 rm -f conftest.
$ac_objext
15530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15531 (eval $ac_compile) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } &&
15535 { ac_try
='test -s conftest.$ac_objext'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; }; then
15541 ac_cv_type_long_long
=yes
15543 echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.
$ac_ext >&5
15546 ac_cv_type_long_long
=no
15548 rm -f conftest.
$ac_objext conftest.
$ac_ext
15550 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15551 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15553 echo "$as_me:$LINENO: checking size of long long" >&5
15554 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15555 if test "${ac_cv_sizeof_long_long+set}" = set; then
15556 echo $ECHO_N "(cached) $ECHO_C" >&6
15558 if test "$ac_cv_type_long_long" = yes; then
15559 # The cast to unsigned long works around a bug in the HP C Compiler
15560 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15561 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15562 # This bug is HP SR number 8606223364.
15563 if test "$cross_compiling" = yes; then
15564 # Depending upon the size, compute the lo and hi bounds.
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 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15583 rm -f conftest.
$ac_objext
15584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15585 (eval $ac_compile) 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } &&
15589 { ac_try
='test -s conftest.$ac_objext'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; }; then
15597 cat >conftest.
$ac_ext <<_ACEOF
15598 #line $LINENO "configure"
15601 cat confdefs.h
>>conftest.
$ac_ext
15602 cat >>conftest.
$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15604 $ac_includes_default
15608 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15615 rm -f conftest.
$ac_objext
15616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15617 (eval $ac_compile) 2>&5
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); } &&
15621 { ac_try
='test -s conftest.$ac_objext'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; }; then
15627 ac_hi
=$ac_mid; break
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.
$ac_ext >&5
15632 ac_lo
=`expr $ac_mid + 1`
15633 if test $ac_lo -le $ac_mid; then
15637 ac_mid
=`expr 2 '*' $ac_mid + 1`
15639 rm -f conftest.
$ac_objext conftest.
$ac_ext
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.
$ac_ext >&5
15645 cat >conftest.
$ac_ext <<_ACEOF
15646 #line $LINENO "configure"
15649 cat confdefs.h
>>conftest.
$ac_ext
15650 cat >>conftest.
$ac_ext <<_ACEOF
15651 /* end confdefs.h. */
15652 $ac_includes_default
15656 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15663 rm -f conftest.
$ac_objext
15664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15665 (eval $ac_compile) 2>&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } &&
15669 { ac_try
='test -s conftest.$ac_objext'
15670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15671 (eval $ac_try) 2>&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); }; }; then
15677 cat >conftest.
$ac_ext <<_ACEOF
15678 #line $LINENO "configure"
15681 cat confdefs.h
>>conftest.
$ac_ext
15682 cat >>conftest.
$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15684 $ac_includes_default
15688 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15695 rm -f conftest.
$ac_objext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15697 (eval $ac_compile) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } &&
15701 { ac_try
='test -s conftest.$ac_objext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 ac_lo
=$ac_mid; break
15709 echo "$as_me: failed program was:" >&5
15710 sed 's/^/| /' conftest.
$ac_ext >&5
15712 ac_hi
=`expr '(' $ac_mid ')' - 1`
15713 if test $ac_mid -le $ac_hi; then
15717 ac_mid
=`expr 2 '*' $ac_mid`
15719 rm -f conftest.
$ac_objext conftest.
$ac_ext
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.
$ac_ext >&5
15727 rm -f conftest.
$ac_objext conftest.
$ac_ext
15729 rm -f conftest.
$ac_objext conftest.
$ac_ext
15730 # Binary search between lo and hi bounds.
15731 while test "x$ac_lo" != "x$ac_hi"; do
15732 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15733 cat >conftest.
$ac_ext <<_ACEOF
15734 #line $LINENO "configure"
15737 cat confdefs.h
>>conftest.
$ac_ext
15738 cat >>conftest.
$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15740 $ac_includes_default
15744 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15751 rm -f conftest.
$ac_objext
15752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15753 (eval $ac_compile) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try
='test -s conftest.$ac_objext'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; }; then
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.
$ac_ext >&5
15768 ac_lo
=`expr '(' $ac_mid ')' + 1`
15770 rm -f conftest.
$ac_objext conftest.
$ac_ext
15773 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15774 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15775 See \`config.log' for more details." >&5
15776 echo "$as_me: error: cannot compute sizeof (long long), 77
15777 See \`config.log' for more details." >&2;}
15778 { (exit 1); exit 1; }; } ;;
15781 if test "$cross_compiling" = yes; then
15782 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15783 See \`config.log' for more details." >&5
15784 echo "$as_me: error: cannot run test program while cross compiling
15785 See \`config.log' for more details." >&2;}
15786 { (exit 1); exit 1; }; }
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
15796 long longval () { return (long) (sizeof (long long)); }
15797 unsigned long ulongval () { return (long) (sizeof (long long)); }
15799 #include <stdlib.h>
15804 FILE *f = fopen ("conftest.val", "w");
15807 if (((long) (sizeof (long long))) < 0)
15809 long i = longval ();
15810 if (i != ((long) (sizeof (long long))))
15812 fprintf (f, "%ld\n", i);
15816 unsigned long i = ulongval ();
15817 if (i != ((long) (sizeof (long long))))
15819 fprintf (f, "%lu\n", i);
15821 exit (ferror (f) || fclose (f) != 0);
15827 rm -f conftest
$ac_exeext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15829 (eval $ac_link) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; }; then
15838 ac_cv_sizeof_long_long
=`cat conftest.val`
15840 echo "$as_me: program exited with status $ac_status" >&5
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.
$ac_ext >&5
15844 ( exit $ac_status )
15845 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15846 See \`config.log' for more details." >&5
15847 echo "$as_me: error: cannot compute sizeof (long long), 77
15848 See \`config.log' for more details." >&2;}
15849 { (exit 1); exit 1; }; }
15851 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15856 ac_cv_sizeof_long_long
=0
15859 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15860 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15861 cat >>confdefs.h
<<_ACEOF
15862 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15868 echo "$as_me:$LINENO: checking for long long" >&5
15869 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15870 if test "${ac_cv_type_long_long+set}" = set; then
15871 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 cat >conftest.
$ac_ext <<_ACEOF
15874 #line $LINENO "configure"
15877 cat confdefs.h
>>conftest.
$ac_ext
15878 cat >>conftest.
$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880 $ac_includes_default
15884 if ((long long *) 0)
15886 if (sizeof (long long))
15892 rm -f conftest.
$ac_objext
15893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15894 (eval $ac_compile) 2>&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try
='test -s conftest.$ac_objext'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; }; then
15904 ac_cv_type_long_long
=yes
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.
$ac_ext >&5
15909 ac_cv_type_long_long
=no
15911 rm -f conftest.
$ac_objext conftest.
$ac_ext
15913 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15914 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15916 echo "$as_me:$LINENO: checking size of long long" >&5
15917 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15918 if test "${ac_cv_sizeof_long_long+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15921 if test "$ac_cv_type_long_long" = yes; then
15922 # The cast to unsigned long works around a bug in the HP C Compiler
15923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15925 # This bug is HP SR number 8606223364.
15926 if test "$cross_compiling" = yes; then
15927 # Depending upon the size, compute the lo and hi bounds.
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 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15946 rm -f conftest.
$ac_objext
15947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15948 (eval $ac_compile) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); } &&
15952 { ac_try
='test -s conftest.$ac_objext'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15960 cat >conftest.
$ac_ext <<_ACEOF
15961 #line $LINENO "configure"
15964 cat confdefs.h
>>conftest.
$ac_ext
15965 cat >>conftest.
$ac_ext <<_ACEOF
15966 /* end confdefs.h. */
15967 $ac_includes_default
15971 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15978 rm -f conftest.
$ac_objext
15979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15980 (eval $ac_compile) 2>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try
='test -s conftest.$ac_objext'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; }; then
15990 ac_hi
=$ac_mid; break
15992 echo "$as_me: failed program was:" >&5
15993 sed 's/^/| /' conftest.
$ac_ext >&5
15995 ac_lo
=`expr $ac_mid + 1`
15996 if test $ac_lo -le $ac_mid; then
16000 ac_mid
=`expr 2 '*' $ac_mid + 1`
16002 rm -f conftest.
$ac_objext conftest.
$ac_ext
16005 echo "$as_me: failed program was:" >&5
16006 sed 's/^/| /' conftest.
$ac_ext >&5
16008 cat >conftest.
$ac_ext <<_ACEOF
16009 #line $LINENO "configure"
16012 cat confdefs.h
>>conftest.
$ac_ext
16013 cat >>conftest.
$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16015 $ac_includes_default
16019 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16026 rm -f conftest.
$ac_objext
16027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16028 (eval $ac_compile) 2>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); } &&
16032 { ac_try
='test -s conftest.$ac_objext'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; }; then
16040 cat >conftest.
$ac_ext <<_ACEOF
16041 #line $LINENO "configure"
16044 cat confdefs.h
>>conftest.
$ac_ext
16045 cat >>conftest.
$ac_ext <<_ACEOF
16046 /* end confdefs.h. */
16047 $ac_includes_default
16051 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16058 rm -f conftest.
$ac_objext
16059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16060 (eval $ac_compile) 2>&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); } &&
16064 { ac_try
='test -s conftest.$ac_objext'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16070 ac_lo
=$ac_mid; break
16072 echo "$as_me: failed program was:" >&5
16073 sed 's/^/| /' conftest.
$ac_ext >&5
16075 ac_hi
=`expr '(' $ac_mid ')' - 1`
16076 if test $ac_mid -le $ac_hi; then
16080 ac_mid
=`expr 2 '*' $ac_mid`
16082 rm -f conftest.
$ac_objext conftest.
$ac_ext
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.
$ac_ext >&5
16090 rm -f conftest.
$ac_objext conftest.
$ac_ext
16092 rm -f conftest.
$ac_objext conftest.
$ac_ext
16093 # Binary search between lo and hi bounds.
16094 while test "x$ac_lo" != "x$ac_hi"; do
16095 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16096 cat >conftest.
$ac_ext <<_ACEOF
16097 #line $LINENO "configure"
16100 cat confdefs.h
>>conftest.
$ac_ext
16101 cat >>conftest.
$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103 $ac_includes_default
16107 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16114 rm -f conftest.
$ac_objext
16115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16116 (eval $ac_compile) 2>&5
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); } &&
16120 { ac_try
='test -s conftest.$ac_objext'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; }; then
16128 echo "$as_me: failed program was:" >&5
16129 sed 's/^/| /' conftest.
$ac_ext >&5
16131 ac_lo
=`expr '(' $ac_mid ')' + 1`
16133 rm -f conftest.
$ac_objext conftest.
$ac_ext
16136 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16137 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16138 See \`config.log' for more details." >&5
16139 echo "$as_me: error: cannot compute sizeof (long long), 77
16140 See \`config.log' for more details." >&2;}
16141 { (exit 1); exit 1; }; } ;;
16144 if test "$cross_compiling" = yes; then
16145 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16146 See \`config.log' for more details." >&5
16147 echo "$as_me: error: cannot run test program while cross compiling
16148 See \`config.log' for more details." >&2;}
16149 { (exit 1); exit 1; }; }
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
16159 long longval () { return (long) (sizeof (long long)); }
16160 unsigned long ulongval () { return (long) (sizeof (long long)); }
16162 #include <stdlib.h>
16167 FILE *f = fopen ("conftest.val", "w");
16170 if (((long) (sizeof (long long))) < 0)
16172 long i = longval ();
16173 if (i != ((long) (sizeof (long long))))
16175 fprintf (f, "%ld\n", i);
16179 unsigned long i = ulongval ();
16180 if (i != ((long) (sizeof (long long))))
16182 fprintf (f, "%lu\n", i);
16184 exit (ferror (f) || fclose (f) != 0);
16190 rm -f conftest
$ac_exeext
16191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16192 (eval $ac_link) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16201 ac_cv_sizeof_long_long
=`cat conftest.val`
16203 echo "$as_me: program exited with status $ac_status" >&5
16204 echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.
$ac_ext >&5
16207 ( exit $ac_status )
16208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16209 See \`config.log' for more details." >&5
16210 echo "$as_me: error: cannot compute sizeof (long long), 77
16211 See \`config.log' for more details." >&2;}
16212 { (exit 1); exit 1; }; }
16214 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16219 ac_cv_sizeof_long_long
=0
16222 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16223 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16224 cat >>confdefs.h
<<_ACEOF
16225 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16229 if test "$ac_cv_sizeof_long_long" != "0"; then
16230 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16234 echo "$as_me:$LINENO: checking for long long" >&5
16235 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16236 if test "${ac_cv_type_long_long+set}" = set; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6
16239 cat >conftest.
$ac_ext <<_ACEOF
16240 #line $LINENO "configure"
16243 cat confdefs.h
>>conftest.
$ac_ext
16244 cat >>conftest.
$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246 $ac_includes_default
16250 if ((long long *) 0)
16252 if (sizeof (long long))
16258 rm -f conftest.
$ac_objext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16260 (eval $ac_compile) 2>&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } &&
16264 { ac_try
='test -s conftest.$ac_objext'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; }; then
16270 ac_cv_type_long_long
=yes
16272 echo "$as_me: failed program was:" >&5
16273 sed 's/^/| /' conftest.
$ac_ext >&5
16275 ac_cv_type_long_long
=no
16277 rm -f conftest.
$ac_objext conftest.
$ac_ext
16279 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16280 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16282 echo "$as_me:$LINENO: checking size of long long" >&5
16283 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16284 if test "${ac_cv_sizeof_long_long+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 if test "$ac_cv_type_long_long" = yes; then
16288 # The cast to unsigned long works around a bug in the HP C Compiler
16289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16291 # This bug is HP SR number 8606223364.
16292 if test "$cross_compiling" = yes; then
16293 # Depending upon the size, compute the lo and hi bounds.
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 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16312 rm -f conftest.
$ac_objext
16313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16314 (eval $ac_compile) 2>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } &&
16318 { ac_try
='test -s conftest.$ac_objext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16326 cat >conftest.
$ac_ext <<_ACEOF
16327 #line $LINENO "configure"
16330 cat confdefs.h
>>conftest.
$ac_ext
16331 cat >>conftest.
$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333 $ac_includes_default
16337 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16344 rm -f conftest.
$ac_objext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16346 (eval $ac_compile) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } &&
16350 { ac_try
='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 ac_hi
=$ac_mid; break
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.
$ac_ext >&5
16361 ac_lo
=`expr $ac_mid + 1`
16362 if test $ac_lo -le $ac_mid; then
16366 ac_mid
=`expr 2 '*' $ac_mid + 1`
16368 rm -f conftest.
$ac_objext conftest.
$ac_ext
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.
$ac_ext >&5
16374 cat >conftest.
$ac_ext <<_ACEOF
16375 #line $LINENO "configure"
16378 cat confdefs.h
>>conftest.
$ac_ext
16379 cat >>conftest.
$ac_ext <<_ACEOF
16380 /* end confdefs.h. */
16381 $ac_includes_default
16385 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16392 rm -f conftest.
$ac_objext
16393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16394 (eval $ac_compile) 2>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } &&
16398 { ac_try
='test -s conftest.$ac_objext'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
16406 cat >conftest.
$ac_ext <<_ACEOF
16407 #line $LINENO "configure"
16410 cat confdefs.h
>>conftest.
$ac_ext
16411 cat >>conftest.
$ac_ext <<_ACEOF
16412 /* end confdefs.h. */
16413 $ac_includes_default
16417 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16424 rm -f conftest.
$ac_objext
16425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16426 (eval $ac_compile) 2>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } &&
16430 { ac_try
='test -s conftest.$ac_objext'
16431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16432 (eval $ac_try) 2>&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; }; then
16436 ac_lo
=$ac_mid; break
16438 echo "$as_me: failed program was:" >&5
16439 sed 's/^/| /' conftest.
$ac_ext >&5
16441 ac_hi
=`expr '(' $ac_mid ')' - 1`
16442 if test $ac_mid -le $ac_hi; then
16446 ac_mid
=`expr 2 '*' $ac_mid`
16448 rm -f conftest.
$ac_objext conftest.
$ac_ext
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.
$ac_ext >&5
16456 rm -f conftest.
$ac_objext conftest.
$ac_ext
16458 rm -f conftest.
$ac_objext conftest.
$ac_ext
16459 # Binary search between lo and hi bounds.
16460 while test "x$ac_lo" != "x$ac_hi"; do
16461 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16462 cat >conftest.
$ac_ext <<_ACEOF
16463 #line $LINENO "configure"
16466 cat confdefs.h
>>conftest.
$ac_ext
16467 cat >>conftest.
$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 $ac_includes_default
16473 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16480 rm -f conftest.
$ac_objext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482 (eval $ac_compile) 2>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try
='test -s conftest.$ac_objext'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; }; then
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.
$ac_ext >&5
16497 ac_lo
=`expr '(' $ac_mid ')' + 1`
16499 rm -f conftest.
$ac_objext conftest.
$ac_ext
16502 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16503 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16504 See \`config.log' for more details." >&5
16505 echo "$as_me: error: cannot compute sizeof (long long), 77
16506 See \`config.log' for more details." >&2;}
16507 { (exit 1); exit 1; }; } ;;
16510 if test "$cross_compiling" = yes; then
16511 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16512 See \`config.log' for more details." >&5
16513 echo "$as_me: error: cannot run test program while cross compiling
16514 See \`config.log' for more details." >&2;}
16515 { (exit 1); exit 1; }; }
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
16525 long longval () { return (long) (sizeof (long long)); }
16526 unsigned long ulongval () { return (long) (sizeof (long long)); }
16528 #include <stdlib.h>
16533 FILE *f = fopen ("conftest.val", "w");
16536 if (((long) (sizeof (long long))) < 0)
16538 long i = longval ();
16539 if (i != ((long) (sizeof (long long))))
16541 fprintf (f, "%ld\n", i);
16545 unsigned long i = ulongval ();
16546 if (i != ((long) (sizeof (long long))))
16548 fprintf (f, "%lu\n", i);
16550 exit (ferror (f) || fclose (f) != 0);
16556 rm -f conftest
$ac_exeext
16557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16558 (eval $ac_link) 2>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16567 ac_cv_sizeof_long_long
=`cat conftest.val`
16569 echo "$as_me: program exited with status $ac_status" >&5
16570 echo "$as_me: failed program was:" >&5
16571 sed 's/^/| /' conftest.
$ac_ext >&5
16573 ( exit $ac_status )
16574 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16575 See \`config.log' for more details." >&5
16576 echo "$as_me: error: cannot compute sizeof (long long), 77
16577 See \`config.log' for more details." >&2;}
16578 { (exit 1); exit 1; }; }
16580 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16585 ac_cv_sizeof_long_long
=0
16588 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16589 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16590 cat >>confdefs.h
<<_ACEOF
16591 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16597 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16598 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16599 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16600 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 if test "$cross_compiling" = yes; then
16607 wx_cv_sizeof_wchar_t
=0
16610 wx_cv_sizeof_wchar_t
=4
16616 cat >conftest.
$ac_ext <<_ACEOF
16617 #line $LINENO "configure"
16620 cat confdefs.h
>>conftest.
$ac_ext
16621 cat >>conftest.
$ac_ext <<_ACEOF
16622 /* end confdefs.h. */
16624 /* DJGPP only has fake wchar_t: */
16626 # error "fake wchar_t"
16628 #ifdef HAVE_WCHAR_H
16630 # include <stddef.h>
16632 # include <wchar.h>
16634 #ifdef HAVE_STDLIB_H
16635 # include <stdlib.h>
16640 FILE *f=fopen("conftestval", "w");
16642 fprintf(f, "%i", sizeof(wchar_t));
16647 rm -f conftest
$ac_exeext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16649 (eval $ac_link) 2>&5
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; }; then
16658 wx_cv_sizeof_wchar_t
=`cat conftestval`
16660 echo "$as_me: program exited with status $ac_status" >&5
16661 echo "$as_me: failed program was:" >&5
16662 sed 's/^/| /' conftest.
$ac_ext >&5
16664 ( exit $ac_status )
16665 wx_cv_sizeof_wchar_t
=0
16667 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16671 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16672 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16674 cat >>confdefs.h
<<_ACEOF
16675 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16679 # Check whether --enable-largefile or --disable-largefile was given.
16680 if test "${enable_largefile+set}" = set; then
16681 enableval
="$enable_largefile"
16684 if test "$enable_largefile" != no
; then
16687 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16688 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16689 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 cat >conftest.
$ac_ext <<_ACEOF
16694 #line $LINENO "configure"
16697 cat confdefs.h
>>conftest.
$ac_ext
16698 cat >>conftest.
$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 #define _FILE_OFFSET_BITS 64
16701 #include <sys/types.h>
16706 unsigned int field: sizeof(off_t) == 8;
16713 rm -f conftest.
$ac_objext
16714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16715 (eval $ac_compile) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } &&
16719 { ac_try
='test -s conftest.$ac_objext'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; }; then
16725 ac_cv_sys_file_offset_bits
=64
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.
$ac_ext >&5
16730 ac_cv_sys_file_offset_bits
=no
16732 rm -f conftest.
$ac_objext conftest.
$ac_ext
16736 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16737 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16739 if test "$ac_cv_sys_file_offset_bits" != no
; then
16741 cat >>confdefs.h
<<_ACEOF
16742 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16747 if test "x$wx_largefile" != "xyes"; then
16749 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16750 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16751 if test "${ac_cv_sys_large_files+set}" = set; then
16752 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 cat >conftest.
$ac_ext <<_ACEOF
16756 #line $LINENO "configure"
16759 cat confdefs.h
>>conftest.
$ac_ext
16760 cat >>conftest.
$ac_ext <<_ACEOF
16761 /* end confdefs.h. */
16762 #define _LARGE_FILES 1
16763 #include <sys/types.h>
16768 unsigned int field: sizeof(off_t) == 8;
16775 rm -f conftest.
$ac_objext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16777 (eval $ac_compile) 2>&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } &&
16781 { ac_try
='test -s conftest.$ac_objext'
16782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16783 (eval $ac_try) 2>&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); }; }; then
16787 ac_cv_sys_large_files
=1
16789 echo "$as_me: failed program was:" >&5
16790 sed 's/^/| /' conftest.
$ac_ext >&5
16792 ac_cv_sys_large_files
=no
16794 rm -f conftest.
$ac_objext conftest.
$ac_ext
16798 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16799 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16801 if test "$ac_cv_sys_large_files" != no
; then
16803 cat >>confdefs.h
<<_ACEOF
16804 #define _LARGE_FILES $ac_cv_sys_large_files
16811 echo "$as_me:$LINENO: checking if large file support is available" >&5
16812 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16813 if test "x$wx_largefile" = "xyes"; then
16814 cat >>confdefs.h
<<\_ACEOF
16815 #define HAVE_LARGEFILE_SUPPORT 1
16819 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16820 echo "${ECHO_T}$wx_largefile" >&6
16824 if test "x$wx_largefile" = "xyes"; then
16825 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16826 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16828 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16830 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16833 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16834 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16835 if test "${ac_cv_c_bigendian+set}" = set; then
16836 echo $ECHO_N "(cached) $ECHO_C" >&6
16838 ac_cv_c_bigendian
=unknown
16839 # See if sys/param.h defines the BYTE_ORDER macro.
16840 cat >conftest.
$ac_ext <<_ACEOF
16841 #line $LINENO "configure"
16844 cat confdefs.h
>>conftest.
$ac_ext
16845 cat >>conftest.
$ac_ext <<_ACEOF
16846 /* end confdefs.h. */
16847 #include <sys/types.h>
16848 #include <sys/param.h>
16853 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16854 bogus endian macros
16860 rm -f conftest.
$ac_objext
16861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16862 (eval $ac_compile) 2>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } &&
16866 { ac_try
='test -s conftest.$ac_objext'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; }; then
16872 # It does; now see whether it defined to BIG_ENDIAN or not.
16873 cat >conftest.
$ac_ext <<_ACEOF
16874 #line $LINENO "configure"
16877 cat confdefs.h
>>conftest.
$ac_ext
16878 cat >>conftest.
$ac_ext <<_ACEOF
16879 /* end confdefs.h. */
16880 #include <sys/types.h>
16881 #include <sys/param.h>
16886 #if BYTE_ORDER != BIG_ENDIAN
16893 rm -f conftest.
$ac_objext
16894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16895 (eval $ac_compile) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } &&
16899 { ac_try
='test -s conftest.$ac_objext'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; }; then
16905 ac_cv_c_bigendian
=yes
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.
$ac_ext >&5
16910 ac_cv_c_bigendian
=no
16912 rm -f conftest.
$ac_objext conftest.
$ac_ext
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.
$ac_ext >&5
16918 rm -f conftest.
$ac_objext conftest.
$ac_ext
16919 if test $ac_cv_c_bigendian = unknown
; then
16920 if test "$cross_compiling" = yes; then
16921 ac_cv_c_bigendian
=unknown
16923 cat >conftest.
$ac_ext <<_ACEOF
16924 #line $LINENO "configure"
16927 cat confdefs.h
>>conftest.
$ac_ext
16928 cat >>conftest.
$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16931 /* Are we little or big endian? From Harbison&Steele. */
16935 char c[sizeof (long)];
16938 exit (u.c[sizeof (long) - 1] == 1);
16941 rm -f conftest
$ac_exeext
16942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16943 (eval $ac_link) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; }; then
16952 ac_cv_c_bigendian
=no
16954 echo "$as_me: program exited with status $ac_status" >&5
16955 echo "$as_me: failed program was:" >&5
16956 sed 's/^/| /' conftest.
$ac_ext >&5
16958 ( exit $ac_status )
16959 ac_cv_c_bigendian
=yes
16961 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16965 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16966 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16967 if test $ac_cv_c_bigendian = unknown
; then
16968 { 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
16969 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;}
16971 if test $ac_cv_c_bigendian = yes; then
16972 cat >>confdefs.h
<<\_ACEOF
16973 #define WORDS_BIGENDIAN 1
16981 ac_cpp
='$CXXCPP $CPPFLAGS'
16982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16985 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16986 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16987 if test -z "$CXXCPP"; then
16988 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 # Double quotes because CXXCPP needs to be expanded
16992 for CXXCPP
in "$CXX -E" "/lib/cpp"
16994 ac_preproc_ok
=false
16995 for ac_cxx_preproc_warn_flag
in '' yes
16997 # Use a header file that comes with gcc, so configuring glibc
16998 # with a fresh cross-compiler works.
16999 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17000 # <limits.h> exists even on freestanding compilers.
17001 # On the NeXT, cc -E runs the code through the compiler's parser,
17002 # not just through cpp. "Syntax error" is here to catch this case.
17003 cat >conftest.
$ac_ext <<_ACEOF
17004 #line $LINENO "configure"
17007 cat confdefs.h
>>conftest.
$ac_ext
17008 cat >>conftest.
$ac_ext <<_ACEOF
17009 /* end confdefs.h. */
17011 # include <limits.h>
17013 # include <assert.h>
17017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17018 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17020 grep -v '^ *+' conftest.er1
>conftest.err
17022 cat conftest.err
>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } >/dev
/null
; then
17025 if test -s conftest.err
; then
17026 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17033 if test -z "$ac_cpp_err"; then
17036 echo "$as_me: failed program was:" >&5
17037 sed 's/^/| /' conftest.
$ac_ext >&5
17039 # Broken: fails on valid input.
17042 rm -f conftest.err conftest.
$ac_ext
17044 # OK, works on sane cases. Now check whether non-existent headers
17045 # can be detected and how.
17046 cat >conftest.
$ac_ext <<_ACEOF
17047 #line $LINENO "configure"
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 #include <ac_nonexistent.h>
17055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17058 grep -v '^ *+' conftest.er1
>conftest.err
17060 cat conftest.err
>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } >/dev
/null
; then
17063 if test -s conftest.err
; then
17064 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17071 if test -z "$ac_cpp_err"; then
17072 # Broken: success on invalid input.
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.
$ac_ext >&5
17078 # Passes both tests.
17082 rm -f conftest.err conftest.
$ac_ext
17085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17086 rm -f conftest.err conftest.
$ac_ext
17087 if $ac_preproc_ok; then
17092 ac_cv_prog_CXXCPP
=$CXXCPP
17095 CXXCPP
=$ac_cv_prog_CXXCPP
17097 ac_cv_prog_CXXCPP
=$CXXCPP
17099 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17100 echo "${ECHO_T}$CXXCPP" >&6
17101 ac_preproc_ok
=false
17102 for ac_cxx_preproc_warn_flag
in '' yes
17104 # Use a header file that comes with gcc, so configuring glibc
17105 # with a fresh cross-compiler works.
17106 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17107 # <limits.h> exists even on freestanding compilers.
17108 # On the NeXT, cc -E runs the code through the compiler's parser,
17109 # not just through cpp. "Syntax error" is here to catch this case.
17110 cat >conftest.
$ac_ext <<_ACEOF
17111 #line $LINENO "configure"
17114 cat confdefs.h
>>conftest.
$ac_ext
17115 cat >>conftest.
$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17118 # include <limits.h>
17120 # include <assert.h>
17124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17125 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17127 grep -v '^ *+' conftest.er1
>conftest.err
17129 cat conftest.err
>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } >/dev
/null
; then
17132 if test -s conftest.err
; then
17133 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17140 if test -z "$ac_cpp_err"; then
17143 echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.
$ac_ext >&5
17146 # Broken: fails on valid input.
17149 rm -f conftest.err conftest.
$ac_ext
17151 # OK, works on sane cases. Now check whether non-existent headers
17152 # can be detected and how.
17153 cat >conftest.
$ac_ext <<_ACEOF
17154 #line $LINENO "configure"
17157 cat confdefs.h
>>conftest.
$ac_ext
17158 cat >>conftest.
$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17160 #include <ac_nonexistent.h>
17162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17165 grep -v '^ *+' conftest.er1
>conftest.err
17167 cat conftest.err
>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } >/dev
/null
; then
17170 if test -s conftest.err
; then
17171 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17178 if test -z "$ac_cpp_err"; then
17179 # Broken: success on invalid input.
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.
$ac_ext >&5
17185 # Passes both tests.
17189 rm -f conftest.err conftest.
$ac_ext
17192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17193 rm -f conftest.err conftest.
$ac_ext
17194 if $ac_preproc_ok; then
17197 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17198 See \`config.log' for more details." >&5
17199 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17200 See \`config.log' for more details." >&2;}
17201 { (exit 1); exit 1; }; }
17205 ac_cpp
='$CXXCPP $CPPFLAGS'
17206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17212 if test "$cross_compiling" = "yes"; then
17213 cat >>confdefs.h
<<\_ACEOF
17214 #define wxUSE_IOSTREAMH 1
17221 ac_cpp
='$CXXCPP $CPPFLAGS'
17222 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17223 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17224 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17228 for ac_header
in iostream
17230 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17232 echo "$as_me:$LINENO: checking for $ac_header" >&5
17233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17240 # Is the header compilable?
17241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17243 cat >conftest.
$ac_ext <<_ACEOF
17244 #line $LINENO "configure"
17247 cat confdefs.h
>>conftest.
$ac_ext
17248 cat >>conftest.
$ac_ext <<_ACEOF
17249 /* end confdefs.h. */
17250 $ac_includes_default
17251 #include <$ac_header>
17253 rm -f conftest.
$ac_objext
17254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17255 (eval $ac_compile) 2>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); } &&
17259 { ac_try
='test -s conftest.$ac_objext'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; }; then
17265 ac_header_compiler
=yes
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.
$ac_ext >&5
17270 ac_header_compiler
=no
17272 rm -f conftest.
$ac_objext conftest.
$ac_ext
17273 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17274 echo "${ECHO_T}$ac_header_compiler" >&6
17276 # Is the header present?
17277 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17278 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17279 cat >conftest.
$ac_ext <<_ACEOF
17280 #line $LINENO "configure"
17283 cat confdefs.h
>>conftest.
$ac_ext
17284 cat >>conftest.
$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17286 #include <$ac_header>
17288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17289 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17291 grep -v '^ *+' conftest.er1
>conftest.err
17293 cat conftest.err
>&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } >/dev
/null
; then
17296 if test -s conftest.err
; then
17297 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17304 if test -z "$ac_cpp_err"; then
17305 ac_header_preproc
=yes
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.
$ac_ext >&5
17310 ac_header_preproc
=no
17312 rm -f conftest.err conftest.
$ac_ext
17313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17314 echo "${ECHO_T}$ac_header_preproc" >&6
17316 # So? What about this header?
17317 case $ac_header_compiler:$ac_header_preproc in
17319 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17320 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17325 ## ------------------------------------ ##
17326 ## Report this to bug-autoconf@gnu.org. ##
17327 ## ------------------------------------ ##
17330 sed "s/^/$as_me: WARNING: /" >&2
17333 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17334 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17335 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17336 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17341 ## ------------------------------------ ##
17342 ## Report this to bug-autoconf@gnu.org. ##
17343 ## ------------------------------------ ##
17346 sed "s/^/$as_me: WARNING: /" >&2
17349 echo "$as_me:$LINENO: checking for $ac_header" >&5
17350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17352 echo $ECHO_N "(cached) $ECHO_C" >&6
17354 eval "$as_ac_Header=$ac_header_preproc"
17356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17361 cat >>confdefs.h
<<_ACEOF
17362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17370 if test "$ac_cv_header_iostream" = "yes" ; then
17373 cat >>confdefs.h
<<\_ACEOF
17374 #define wxUSE_IOSTREAMH 1
17380 ac_cpp
='$CPP $CPPFLAGS'
17381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17389 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17390 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17391 if test "${wx_cv_cpp_bool+set}" = set; then
17392 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 ac_cpp
='$CXXCPP $CPPFLAGS'
17399 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17400 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17401 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17404 cat >conftest.
$ac_ext <<_ACEOF
17405 #line $LINENO "configure"
17408 cat confdefs.h
>>conftest.
$ac_ext
17409 cat >>conftest.
$ac_ext <<_ACEOF
17410 /* end confdefs.h. */
17425 rm -f conftest.
$ac_objext
17426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17427 (eval $ac_compile) 2>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); } &&
17431 { ac_try
='test -s conftest.$ac_objext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.
$ac_ext >&5
17449 rm -f conftest.
$ac_objext conftest.
$ac_ext
17452 ac_cpp
='$CPP $CPPFLAGS'
17453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17459 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17460 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17462 if test "$wx_cv_cpp_bool" = "yes"; then
17463 cat >>confdefs.h
<<\_ACEOF
17464 #define HAVE_BOOL 1
17471 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17472 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17473 if test "${wx_cv_explicit+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17480 ac_cpp
='$CXXCPP $CPPFLAGS'
17481 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17482 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17483 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17486 cat >conftest.
$ac_ext <<_ACEOF
17487 #line $LINENO "configure"
17490 cat confdefs.h
>>conftest.
$ac_ext
17491 cat >>conftest.
$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17494 class Foo { public: explicit Foo(int) {} };
17506 rm -f conftest.
$ac_objext
17507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17508 (eval $ac_compile) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } &&
17512 { ac_try
='test -s conftest.$ac_objext'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; }; then
17519 cat >conftest.
$ac_ext <<_ACEOF
17520 #line $LINENO "configure"
17523 cat confdefs.h
>>conftest.
$ac_ext
17524 cat >>conftest.
$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17527 class Foo { public: explicit Foo(int) {} };
17528 static void TakeFoo(const Foo& foo) { }
17541 rm -f conftest.
$ac_objext
17542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17543 (eval $ac_compile) 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); } &&
17547 { ac_try
='test -s conftest.$ac_objext'
17548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17549 (eval $ac_try) 2>&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); }; }; then
17555 echo "$as_me: failed program was:" >&5
17556 sed 's/^/| /' conftest.
$ac_ext >&5
17561 rm -f conftest.
$ac_objext conftest.
$ac_ext
17564 echo "$as_me: failed program was:" >&5
17565 sed 's/^/| /' conftest.
$ac_ext >&5
17570 rm -f conftest.
$ac_objext conftest.
$ac_ext
17573 ac_cpp
='$CPP $CPPFLAGS'
17574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17580 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17581 echo "${ECHO_T}$wx_cv_explicit" >&6
17583 if test "$wx_cv_explicit" = "yes"; then
17584 cat >>confdefs.h
<<\_ACEOF
17585 #define HAVE_EXPLICIT 1
17591 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17592 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17593 if test "${ac_cv_cxx_const_cast+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17599 ac_cpp
='$CXXCPP $CPPFLAGS'
17600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17604 cat >conftest.
$ac_ext <<_ACEOF
17605 #line $LINENO "configure"
17608 cat confdefs.h
>>conftest.
$ac_ext
17609 cat >>conftest.
$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17615 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17620 rm -f conftest.
$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622 (eval $ac_compile) 2>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); } &&
17626 { ac_try
='test -s conftest.$ac_objext'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; }; then
17632 ac_cv_cxx_const_cast
=yes
17634 echo "$as_me: failed program was:" >&5
17635 sed 's/^/| /' conftest.
$ac_ext >&5
17637 ac_cv_cxx_const_cast
=no
17639 rm -f conftest.
$ac_objext conftest.
$ac_ext
17641 ac_cpp
='$CPP $CPPFLAGS'
17642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17648 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17649 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17650 if test "$ac_cv_cxx_const_cast" = yes; then
17652 cat >>confdefs.h
<<\_ACEOF
17653 #define HAVE_CONST_CAST
17661 /usr/local/include \
17663 /usr/Motif-1.2/include \
17664 /usr/Motif-2.1/include \
17666 /usr/include/Motif1.2 \
17667 /opt/xpm/include/X11 \
17668 /opt/GBxpm/include/ \
17669 /opt/GBxpm/X11/include/ \
17671 /usr/Motif1.2/include \
17673 /usr/openwin/include \
17677 /usr/X11R6/include \
17678 /usr/X11R6.4/include \
17679 /usr/X11R5/include \
17680 /usr/X11R4/include \
17682 /usr/include/X11R6 \
17683 /usr/include/X11R5 \
17684 /usr/include/X11R4 \
17686 /usr/local/X11R6/include \
17687 /usr/local/X11R5/include \
17688 /usr/local/X11R4/include \
17690 /usr/local/include/X11R6 \
17691 /usr/local/include/X11R5 \
17692 /usr/local/include/X11R4 \
17696 /usr/local/X11/include \
17697 /usr/local/include/X11 \
17699 /usr/X386/include \
17700 /usr/x386/include \
17701 /usr/XFree86/include/X11 \
17703 X:/XFree86/include \
17704 X:/XFree86/include/X11 \
17707 /usr/local/include/gtk \
17708 /usr/include/glib \
17709 /usr/local/include/glib \
17712 /usr/local/include/qt \
17714 /usr/include/windows \
17715 /usr/include/wine \
17716 /usr/local/include/wine \
17718 /usr/unsupported/include \
17719 /usr/athena/include \
17720 /usr/local/x11r5/include \
17721 /usr/lpp/Xamples/include \
17723 /usr/openwin/share/include"
17725 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17728 cat >confcache
<<\_ACEOF
17729 # This file is a shell script that caches the results of configure
17730 # tests run on this system so they can be shared between configure
17731 # scripts and configure runs, see configure's option --config-cache.
17732 # It is not useful on other systems. If it contains results you don't
17733 # want to keep, you may remove or edit it.
17735 # config.status only pays attention to the cache file if you give it
17736 # the --recheck option to rerun configure.
17738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17740 # following values.
17744 # The following way of writing the cache mishandles newlines in values,
17745 # but we know of no workaround that is simple, portable, and efficient.
17746 # So, don't put newlines in cache variables' values.
17747 # Ultrix sh set writes to stderr and can't be redirected directly,
17748 # and sets the high bit in the cache file unless we assign to the vars.
17751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17753 # `set' does not quote correctly, so add quotes (double-quote
17754 # substitution turns \\\\ into \\, and sed turns \\ into \).
17757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17760 # `set' quotes correctly as required by POSIX, so do not add quotes.
17762 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17769 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17771 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17773 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17774 if test -w $cache_file; then
17775 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17776 cat confcache
>$cache_file
17778 echo "not updating unwritable cache $cache_file"
17783 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17784 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17785 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17786 if test "${wx_cv_lib_glibc21+set}" = set; then
17787 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 cat >conftest.
$ac_ext <<_ACEOF
17791 #line $LINENO "configure"
17794 cat confdefs.h
>>conftest.
$ac_ext
17795 cat >>conftest.
$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797 #include <features.h>
17802 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17803 #error not glibc2.1
17810 rm -f conftest.
$ac_objext
17811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17812 (eval $ac_compile) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try
='test -s conftest.$ac_objext'
17817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 (eval $ac_try) 2>&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); }; }; then
17823 wx_cv_lib_glibc21
=yes
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.
$ac_ext >&5
17830 wx_cv_lib_glibc21
=no
17834 rm -f conftest.
$ac_objext conftest.
$ac_ext
17837 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17838 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17839 if test "$wx_cv_lib_glibc21" = "yes"; then
17840 cat >>confdefs.h
<<\_ACEOF
17841 #define wxHAVE_GLIBC2 1
17847 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17848 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17849 cat >>confdefs.h
<<\_ACEOF
17850 #define _GNU_SOURCE 1
17859 if test "$wxUSE_REGEX" != "no"; then
17860 cat >>confdefs.h
<<\_ACEOF
17861 #define wxUSE_REGEX 1
17865 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17866 if test "${ac_cv_header_regex_h+set}" = set; then
17867 echo "$as_me:$LINENO: checking for regex.h" >&5
17868 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17869 if test "${ac_cv_header_regex_h+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17873 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17875 # Is the header compilable?
17876 echo "$as_me:$LINENO: checking regex.h usability" >&5
17877 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17878 cat >conftest.
$ac_ext <<_ACEOF
17879 #line $LINENO "configure"
17882 cat confdefs.h
>>conftest.
$ac_ext
17883 cat >>conftest.
$ac_ext <<_ACEOF
17884 /* end confdefs.h. */
17885 $ac_includes_default
17888 rm -f conftest.
$ac_objext
17889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17890 (eval $ac_compile) 2>&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } &&
17894 { ac_try
='test -s conftest.$ac_objext'
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; }; then
17900 ac_header_compiler
=yes
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.
$ac_ext >&5
17905 ac_header_compiler
=no
17907 rm -f conftest.
$ac_objext conftest.
$ac_ext
17908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17909 echo "${ECHO_T}$ac_header_compiler" >&6
17911 # Is the header present?
17912 echo "$as_me:$LINENO: checking regex.h presence" >&5
17913 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17914 cat >conftest.
$ac_ext <<_ACEOF
17915 #line $LINENO "configure"
17918 cat confdefs.h
>>conftest.
$ac_ext
17919 cat >>conftest.
$ac_ext <<_ACEOF
17920 /* end confdefs.h. */
17923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17926 grep -v '^ *+' conftest.er1
>conftest.err
17928 cat conftest.err
>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } >/dev
/null
; then
17931 if test -s conftest.err
; then
17932 ac_cpp_err
=$ac_c_preproc_warn_flag
17939 if test -z "$ac_cpp_err"; then
17940 ac_header_preproc
=yes
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.
$ac_ext >&5
17945 ac_header_preproc
=no
17947 rm -f conftest.err conftest.
$ac_ext
17948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17949 echo "${ECHO_T}$ac_header_preproc" >&6
17951 # So? What about this header?
17952 case $ac_header_compiler:$ac_header_preproc in
17954 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17955 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17956 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17957 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17960 ## ------------------------------------ ##
17961 ## Report this to bug-autoconf@gnu.org. ##
17962 ## ------------------------------------ ##
17965 sed "s/^/$as_me: WARNING: /" >&2
17968 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17969 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17970 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17971 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17972 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17973 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17976 ## ------------------------------------ ##
17977 ## Report this to bug-autoconf@gnu.org. ##
17978 ## ------------------------------------ ##
17981 sed "s/^/$as_me: WARNING: /" >&2
17984 echo "$as_me:$LINENO: checking for regex.h" >&5
17985 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17986 if test "${ac_cv_header_regex_h+set}" = set; then
17987 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 ac_cv_header_regex_h
=$ac_header_preproc
17991 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17992 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17995 if test $ac_cv_header_regex_h = yes; then
17997 for ac_func
in regcomp
17999 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18000 echo "$as_me:$LINENO: checking for $ac_func" >&5
18001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18002 if eval "test \"\${$as_ac_var+set}\" = set"; then
18003 echo $ECHO_N "(cached) $ECHO_C" >&6
18005 cat >conftest.
$ac_ext <<_ACEOF
18006 #line $LINENO "configure"
18009 cat confdefs.h
>>conftest.
$ac_ext
18010 cat >>conftest.
$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18012 /* System header to define __stub macros and hopefully few prototypes,
18013 which can conflict with char $ac_func (); below.
18014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18015 <limits.h> exists even on freestanding compilers. */
18017 # include <limits.h>
18019 # include <assert.h>
18021 /* Override any gcc2 internal prototype to avoid an error. */
18026 /* We use char because int might match the return type of a gcc2
18027 builtin and then its argument prototype would still apply. */
18029 /* The GNU C library defines this for functions which it implements
18030 to always fail with ENOSYS. Some functions are actually named
18031 something starting with __ and the normal name is an alias. */
18032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18035 char (*f) () = $ac_func;
18044 return f != $ac_func;
18049 rm -f conftest.
$ac_objext conftest
$ac_exeext
18050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18051 (eval $ac_link) 2>&5
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); } &&
18055 { ac_try
='test -s conftest$ac_exeext'
18056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18057 (eval $ac_try) 2>&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); }; }; then
18061 eval "$as_ac_var=yes"
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.
$ac_ext >&5
18066 eval "$as_ac_var=no"
18068 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18072 if test `eval echo '${'$as_ac_var'}'` = yes; then
18073 cat >>confdefs.h
<<_ACEOF
18074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18084 if test "x$ac_cv_func_regcomp" != "xyes"; then
18085 if test "$wxUSE_REGEX" = "sys" ; then
18086 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18087 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18088 { (exit 1); exit 1; }; }
18090 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18091 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18092 wxUSE_REGEX
=builtin
18099 if test "$wxUSE_REGEX" = "builtin" ; then
18100 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18107 if test "$wxUSE_ZLIB" != "no" ; then
18108 cat >>confdefs.h
<<\_ACEOF
18109 #define wxUSE_ZLIB 1
18113 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18114 if test "$USE_DARWIN" = 1; then
18115 system_zlib_h_ok
="yes"
18117 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18118 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18119 if test "${ac_cv_header_zlib_h+set}" = set; then
18120 echo $ECHO_N "(cached) $ECHO_C" >&6
18122 if test "$cross_compiling" = yes; then
18123 unset ac_cv_header_zlib_h
18126 cat >conftest.
$ac_ext <<_ACEOF
18127 #line $LINENO "configure"
18130 cat confdefs.h
>>conftest.
$ac_ext
18131 cat >>conftest.
$ac_ext <<_ACEOF
18132 /* end confdefs.h. */
18139 FILE *f=fopen("conftestval", "w");
18142 ZLIB_VERSION[0] == '1' &&
18143 (ZLIB_VERSION[2] > '1' ||
18144 (ZLIB_VERSION[2] == '1' &&
18145 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18150 rm -f conftest
$ac_exeext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18152 (eval $ac_link) 2>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 ac_cv_header_zlib_h
=`cat conftestval`
18163 echo "$as_me: program exited with status $ac_status" >&5
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.
$ac_ext >&5
18167 ( exit $ac_status )
18168 ac_cv_header_zlib_h
=no
18170 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18174 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18175 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18176 if test "${ac_cv_header_zlib_h+set}" = set; then
18177 echo "$as_me:$LINENO: checking for zlib.h" >&5
18178 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18179 if test "${ac_cv_header_zlib_h+set}" = set; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18182 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18183 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18185 # Is the header compilable?
18186 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18187 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18188 cat >conftest.
$ac_ext <<_ACEOF
18189 #line $LINENO "configure"
18192 cat confdefs.h
>>conftest.
$ac_ext
18193 cat >>conftest.
$ac_ext <<_ACEOF
18194 /* end confdefs.h. */
18195 $ac_includes_default
18198 rm -f conftest.
$ac_objext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18200 (eval $ac_compile) 2>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try
='test -s conftest.$ac_objext'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; }; then
18210 ac_header_compiler
=yes
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.
$ac_ext >&5
18215 ac_header_compiler
=no
18217 rm -f conftest.
$ac_objext conftest.
$ac_ext
18218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18219 echo "${ECHO_T}$ac_header_compiler" >&6
18221 # Is the header present?
18222 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18223 echo $ECHO_N "checking zlib.h presence... $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. */
18233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18236 grep -v '^ *+' conftest.er1
>conftest.err
18238 cat conftest.err
>&5
18239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240 (exit $ac_status); } >/dev
/null
; then
18241 if test -s conftest.err
; then
18242 ac_cpp_err
=$ac_c_preproc_warn_flag
18249 if test -z "$ac_cpp_err"; then
18250 ac_header_preproc
=yes
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.
$ac_ext >&5
18255 ac_header_preproc
=no
18257 rm -f conftest.err conftest.
$ac_ext
18258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18259 echo "${ECHO_T}$ac_header_preproc" >&6
18261 # So? What about this header?
18262 case $ac_header_compiler:$ac_header_preproc in
18264 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18265 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18266 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18267 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18270 ## ------------------------------------ ##
18271 ## Report this to bug-autoconf@gnu.org. ##
18272 ## ------------------------------------ ##
18275 sed "s/^/$as_me: WARNING: /" >&2
18278 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18279 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18280 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18281 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18282 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18283 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18286 ## ------------------------------------ ##
18287 ## Report this to bug-autoconf@gnu.org. ##
18288 ## ------------------------------------ ##
18291 sed "s/^/$as_me: WARNING: /" >&2
18294 echo "$as_me:$LINENO: checking for zlib.h" >&5
18295 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18296 if test "${ac_cv_header_zlib_h+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 ac_cv_header_zlib_h
=$ac_header_preproc
18301 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18302 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18308 system_zlib_h_ok
=$ac_cv_header_zlib_h
18311 if test "$system_zlib_h_ok" = "yes"; then
18312 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18313 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18314 if test "${ac_cv_lib_z_deflate+set}" = set; then
18315 echo $ECHO_N "(cached) $ECHO_C" >&6
18317 ac_check_lib_save_LIBS
=$LIBS
18319 cat >conftest.
$ac_ext <<_ACEOF
18320 #line $LINENO "configure"
18323 cat confdefs.h
>>conftest.
$ac_ext
18324 cat >>conftest.
$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18327 /* Override any gcc2 internal prototype to avoid an error. */
18331 /* We use char because int might match the return type of a gcc2
18332 builtin and then its argument prototype would still apply. */
18342 rm -f conftest.
$ac_objext conftest
$ac_exeext
18343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18344 (eval $ac_link) 2>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } &&
18348 { ac_try
='test -s conftest$ac_exeext'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; }; then
18354 ac_cv_lib_z_deflate
=yes
18356 echo "$as_me: failed program was:" >&5
18357 sed 's/^/| /' conftest.
$ac_ext >&5
18359 ac_cv_lib_z_deflate
=no
18361 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18362 LIBS
=$ac_check_lib_save_LIBS
18364 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18365 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18366 if test $ac_cv_lib_z_deflate = yes; then
18372 if test "x$ZLIB_LINK" = "x" ; then
18373 if test "$wxUSE_ZLIB" = "sys" ; then
18374 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18375 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18376 { (exit 1); exit 1; }; }
18378 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18379 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18387 if test "$wxUSE_ZLIB" = "builtin" ; then
18388 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18395 if test "$wxUSE_LIBPNG" != "no" ; then
18396 cat >>confdefs.h
<<\_ACEOF
18397 #define wxUSE_LIBPNG 1
18401 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18402 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18403 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18407 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18408 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18409 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18410 wxUSE_LIBPNG
=builtin
18413 if test "$wxUSE_MGL" != 1 ; then
18414 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18415 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18416 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18417 if test "${ac_cv_header_png_h+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 if test "$cross_compiling" = yes; then
18421 unset ac_cv_header_png_h
18424 cat >conftest.
$ac_ext <<_ACEOF
18425 #line $LINENO "configure"
18428 cat confdefs.h
>>conftest.
$ac_ext
18429 cat >>conftest.
$ac_ext <<_ACEOF
18430 /* end confdefs.h. */
18437 FILE *f=fopen("conftestval", "w");
18440 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18445 rm -f conftest
$ac_exeext
18446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18447 (eval $ac_link) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18452 (eval $ac_try) 2>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; }; then
18456 ac_cv_header_png_h
=`cat conftestval`
18458 echo "$as_me: program exited with status $ac_status" >&5
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.
$ac_ext >&5
18462 ( exit $ac_status )
18463 ac_cv_header_png_h
=no
18465 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18469 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18470 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18471 if test "${ac_cv_header_png_h+set}" = set; then
18472 echo "$as_me:$LINENO: checking for png.h" >&5
18473 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18474 if test "${ac_cv_header_png_h+set}" = set; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18478 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18480 # Is the header compilable?
18481 echo "$as_me:$LINENO: checking png.h usability" >&5
18482 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18483 cat >conftest.
$ac_ext <<_ACEOF
18484 #line $LINENO "configure"
18487 cat confdefs.h
>>conftest.
$ac_ext
18488 cat >>conftest.
$ac_ext <<_ACEOF
18489 /* end confdefs.h. */
18490 $ac_includes_default
18493 rm -f conftest.
$ac_objext
18494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18495 (eval $ac_compile) 2>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } &&
18499 { ac_try
='test -s conftest.$ac_objext'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18505 ac_header_compiler
=yes
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.
$ac_ext >&5
18510 ac_header_compiler
=no
18512 rm -f conftest.
$ac_objext conftest.
$ac_ext
18513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18514 echo "${ECHO_T}$ac_header_compiler" >&6
18516 # Is the header present?
18517 echo "$as_me:$LINENO: checking png.h presence" >&5
18518 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18519 cat >conftest.
$ac_ext <<_ACEOF
18520 #line $LINENO "configure"
18523 cat confdefs.h
>>conftest.
$ac_ext
18524 cat >>conftest.
$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18529 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18531 grep -v '^ *+' conftest.er1
>conftest.err
18533 cat conftest.err
>&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); } >/dev
/null
; then
18536 if test -s conftest.err
; then
18537 ac_cpp_err
=$ac_c_preproc_warn_flag
18544 if test -z "$ac_cpp_err"; then
18545 ac_header_preproc
=yes
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.
$ac_ext >&5
18550 ac_header_preproc
=no
18552 rm -f conftest.err conftest.
$ac_ext
18553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18554 echo "${ECHO_T}$ac_header_preproc" >&6
18556 # So? What about this header?
18557 case $ac_header_compiler:$ac_header_preproc in
18559 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18560 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18561 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18562 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18565 ## ------------------------------------ ##
18566 ## Report this to bug-autoconf@gnu.org. ##
18567 ## ------------------------------------ ##
18570 sed "s/^/$as_me: WARNING: /" >&2
18573 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18574 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18575 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18576 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18577 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18578 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18581 ## ------------------------------------ ##
18582 ## Report this to bug-autoconf@gnu.org. ##
18583 ## ------------------------------------ ##
18586 sed "s/^/$as_me: WARNING: /" >&2
18589 echo "$as_me:$LINENO: checking for png.h" >&5
18590 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18591 if test "${ac_cv_header_png_h+set}" = set; then
18592 echo $ECHO_N "(cached) $ECHO_C" >&6
18594 ac_cv_header_png_h
=$ac_header_preproc
18596 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18597 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18603 if test "$ac_cv_header_png_h" = "yes"; then
18604 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18605 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18606 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18607 echo $ECHO_N "(cached) $ECHO_C" >&6
18609 ac_check_lib_save_LIBS
=$LIBS
18610 LIBS
="-lpng -lz -lm $LIBS"
18611 cat >conftest.
$ac_ext <<_ACEOF
18612 #line $LINENO "configure"
18615 cat confdefs.h
>>conftest.
$ac_ext
18616 cat >>conftest.
$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18619 /* Override any gcc2 internal prototype to avoid an error. */
18623 /* We use char because int might match the return type of a gcc2
18624 builtin and then its argument prototype would still apply. */
18625 char png_check_sig ();
18634 rm -f conftest.
$ac_objext conftest
$ac_exeext
18635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18636 (eval $ac_link) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); } &&
18640 { ac_try
='test -s conftest$ac_exeext'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; }; then
18646 ac_cv_lib_png_png_check_sig
=yes
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.
$ac_ext >&5
18651 ac_cv_lib_png_png_check_sig
=no
18653 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18654 LIBS
=$ac_check_lib_save_LIBS
18656 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18657 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18658 if test $ac_cv_lib_png_png_check_sig = yes; then
18664 if test "x$PNG_LINK" = "x" ; then
18665 if test "$wxUSE_LIBPNG" = "sys" ; then
18666 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18667 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18668 { (exit 1); exit 1; }; }
18670 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18671 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18672 wxUSE_LIBPNG
=builtin
18680 if test "$wxUSE_LIBPNG" = "builtin" ; then
18681 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18690 if test "$wxUSE_LIBJPEG" != "no" ; then
18691 cat >>confdefs.h
<<\_ACEOF
18692 #define wxUSE_LIBJPEG 1
18696 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18697 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18698 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18702 if test "$wxUSE_MGL" != 1 ; then
18703 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18704 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18705 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18706 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 cat >conftest.
$ac_ext <<_ACEOF
18710 #line $LINENO "configure"
18713 cat confdefs.h
>>conftest.
$ac_ext
18714 cat >>conftest.
$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18717 #undef HAVE_STDLIB_H
18719 #include <jpeglib.h>
18730 rm -f conftest.
$ac_objext
18731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18732 (eval $ac_compile) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } &&
18736 { ac_try
='test -s conftest.$ac_objext'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; }; then
18742 ac_cv_header_jpeglib_h
=yes
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.
$ac_ext >&5
18747 ac_cv_header_jpeglib_h
=no
18750 rm -f conftest.
$ac_objext conftest.
$ac_ext
18754 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18755 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18757 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18758 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18759 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18760 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 ac_check_lib_save_LIBS
=$LIBS
18764 LIBS
="-ljpeg $LIBS"
18765 cat >conftest.
$ac_ext <<_ACEOF
18766 #line $LINENO "configure"
18769 cat confdefs.h
>>conftest.
$ac_ext
18770 cat >>conftest.
$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18773 /* Override any gcc2 internal prototype to avoid an error. */
18777 /* We use char because int might match the return type of a gcc2
18778 builtin and then its argument prototype would still apply. */
18779 char jpeg_read_header ();
18783 jpeg_read_header ();
18788 rm -f conftest.
$ac_objext conftest
$ac_exeext
18789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18790 (eval $ac_link) 2>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } &&
18794 { ac_try
='test -s conftest$ac_exeext'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; }; then
18800 ac_cv_lib_jpeg_jpeg_read_header
=yes
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.
$ac_ext >&5
18805 ac_cv_lib_jpeg_jpeg_read_header
=no
18807 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18808 LIBS
=$ac_check_lib_save_LIBS
18810 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18811 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18812 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18813 JPEG_LINK
=" -ljpeg"
18818 if test "x$JPEG_LINK" = "x" ; then
18819 if test "$wxUSE_LIBJPEG" = "sys" ; then
18820 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18821 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18822 { (exit 1); exit 1; }; }
18824 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18825 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18826 wxUSE_LIBJPEG
=builtin
18834 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18835 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18842 TIFF_PREREQ_LINKS
=-lm
18843 if test "$wxUSE_LIBTIFF" != "no" ; then
18844 cat >>confdefs.h
<<\_ACEOF
18845 #define wxUSE_LIBTIFF 1
18849 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18850 if test "$wxUSE_LIBJPEG" = "sys"; then
18851 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18853 if test "$wxUSE_ZLIB" = "sys"; then
18854 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18856 if test "${ac_cv_header_tiffio_h+set}" = set; then
18857 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18858 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18859 if test "${ac_cv_header_tiffio_h+set}" = set; then
18860 echo $ECHO_N "(cached) $ECHO_C" >&6
18862 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18863 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18865 # Is the header compilable?
18866 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18867 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18868 cat >conftest.
$ac_ext <<_ACEOF
18869 #line $LINENO "configure"
18872 cat confdefs.h
>>conftest.
$ac_ext
18873 cat >>conftest.
$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 $ac_includes_default
18876 #include <tiffio.h>
18878 rm -f conftest.
$ac_objext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18880 (eval $ac_compile) 2>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); } &&
18884 { ac_try
='test -s conftest.$ac_objext'
18885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18886 (eval $ac_try) 2>&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); }; }; then
18890 ac_header_compiler
=yes
18892 echo "$as_me: failed program was:" >&5
18893 sed 's/^/| /' conftest.
$ac_ext >&5
18895 ac_header_compiler
=no
18897 rm -f conftest.
$ac_objext conftest.
$ac_ext
18898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18899 echo "${ECHO_T}$ac_header_compiler" >&6
18901 # Is the header present?
18902 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18903 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18904 cat >conftest.
$ac_ext <<_ACEOF
18905 #line $LINENO "configure"
18908 cat confdefs.h
>>conftest.
$ac_ext
18909 cat >>conftest.
$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 #include <tiffio.h>
18913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18914 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18916 grep -v '^ *+' conftest.er1
>conftest.err
18918 cat conftest.err
>&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); } >/dev
/null
; then
18921 if test -s conftest.err
; then
18922 ac_cpp_err
=$ac_c_preproc_warn_flag
18929 if test -z "$ac_cpp_err"; then
18930 ac_header_preproc
=yes
18932 echo "$as_me: failed program was:" >&5
18933 sed 's/^/| /' conftest.
$ac_ext >&5
18935 ac_header_preproc
=no
18937 rm -f conftest.err conftest.
$ac_ext
18938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18939 echo "${ECHO_T}$ac_header_preproc" >&6
18941 # So? What about this header?
18942 case $ac_header_compiler:$ac_header_preproc in
18944 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18945 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18946 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18947 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18950 ## ------------------------------------ ##
18951 ## Report this to bug-autoconf@gnu.org. ##
18952 ## ------------------------------------ ##
18955 sed "s/^/$as_me: WARNING: /" >&2
18958 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18959 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18960 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18961 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18962 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18963 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18966 ## ------------------------------------ ##
18967 ## Report this to bug-autoconf@gnu.org. ##
18968 ## ------------------------------------ ##
18971 sed "s/^/$as_me: WARNING: /" >&2
18974 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18975 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18976 if test "${ac_cv_header_tiffio_h+set}" = set; then
18977 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 ac_cv_header_tiffio_h
=$ac_header_preproc
18981 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18982 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18985 if test $ac_cv_header_tiffio_h = yes; then
18986 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18987 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18988 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 ac_check_lib_save_LIBS
=$LIBS
18992 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18993 cat >conftest.
$ac_ext <<_ACEOF
18994 #line $LINENO "configure"
18997 cat confdefs.h
>>conftest.
$ac_ext
18998 cat >>conftest.
$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19001 /* Override any gcc2 internal prototype to avoid an error. */
19005 /* We use char because int might match the return type of a gcc2
19006 builtin and then its argument prototype would still apply. */
19016 rm -f conftest.
$ac_objext conftest
$ac_exeext
19017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19018 (eval $ac_link) 2>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } &&
19022 { ac_try
='test -s conftest$ac_exeext'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; }; then
19028 ac_cv_lib_tiff_TIFFError
=yes
19030 echo "$as_me: failed program was:" >&5
19031 sed 's/^/| /' conftest.
$ac_ext >&5
19033 ac_cv_lib_tiff_TIFFError
=no
19035 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19036 LIBS
=$ac_check_lib_save_LIBS
19038 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19039 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19040 if test $ac_cv_lib_tiff_TIFFError = yes; then
19041 TIFF_LINK
=" -ltiff"
19049 if test "x$TIFF_LINK" = "x" ; then
19050 if test "$wxUSE_LIBTIFF" = "sys" ; then
19051 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19052 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19053 { (exit 1); exit 1; }; }
19055 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19056 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19057 wxUSE_LIBTIFF
=builtin
19064 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19065 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19070 if test "$wxUSE_EXPAT" != "no"; then
19072 cat >>confdefs.h
<<\_ACEOF
19073 #define wxUSE_EXPAT 1
19076 cat >>confdefs.h
<<\_ACEOF
19077 #define wxUSE_XML 1
19081 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19082 if test "${ac_cv_header_expat_h+set}" = set; then
19083 echo "$as_me:$LINENO: checking for expat.h" >&5
19084 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19085 if test "${ac_cv_header_expat_h+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19089 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19091 # Is the header compilable?
19092 echo "$as_me:$LINENO: checking expat.h usability" >&5
19093 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19094 cat >conftest.
$ac_ext <<_ACEOF
19095 #line $LINENO "configure"
19098 cat confdefs.h
>>conftest.
$ac_ext
19099 cat >>conftest.
$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 $ac_includes_default
19104 rm -f conftest.
$ac_objext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try
='test -s conftest.$ac_objext'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; }; then
19116 ac_header_compiler
=yes
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.
$ac_ext >&5
19121 ac_header_compiler
=no
19123 rm -f conftest.
$ac_objext conftest.
$ac_ext
19124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19125 echo "${ECHO_T}$ac_header_compiler" >&6
19127 # Is the header present?
19128 echo "$as_me:$LINENO: checking expat.h presence" >&5
19129 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19130 cat >conftest.
$ac_ext <<_ACEOF
19131 #line $LINENO "configure"
19134 cat confdefs.h
>>conftest.
$ac_ext
19135 cat >>conftest.
$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19140 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19142 grep -v '^ *+' conftest.er1
>conftest.err
19144 cat conftest.err
>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } >/dev
/null
; then
19147 if test -s conftest.err
; then
19148 ac_cpp_err
=$ac_c_preproc_warn_flag
19155 if test -z "$ac_cpp_err"; then
19156 ac_header_preproc
=yes
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.
$ac_ext >&5
19161 ac_header_preproc
=no
19163 rm -f conftest.err conftest.
$ac_ext
19164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19165 echo "${ECHO_T}$ac_header_preproc" >&6
19167 # So? What about this header?
19168 case $ac_header_compiler:$ac_header_preproc in
19170 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19171 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19172 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19173 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19176 ## ------------------------------------ ##
19177 ## Report this to bug-autoconf@gnu.org. ##
19178 ## ------------------------------------ ##
19181 sed "s/^/$as_me: WARNING: /" >&2
19184 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19185 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19186 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19187 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19188 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19189 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19192 ## ------------------------------------ ##
19193 ## Report this to bug-autoconf@gnu.org. ##
19194 ## ------------------------------------ ##
19197 sed "s/^/$as_me: WARNING: /" >&2
19200 echo "$as_me:$LINENO: checking for expat.h" >&5
19201 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19202 if test "${ac_cv_header_expat_h+set}" = set; then
19203 echo $ECHO_N "(cached) $ECHO_C" >&6
19205 ac_cv_header_expat_h
=$ac_header_preproc
19207 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19208 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19211 if test $ac_cv_header_expat_h = yes; then
19216 if test "x$found_expat_h" = "x1"; then
19217 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19218 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19219 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19220 echo $ECHO_N "(cached) $ECHO_C" >&6
19226 ac_cpp
='$CXXCPP $CPPFLAGS'
19227 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19228 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19229 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19231 cat >conftest.
$ac_ext <<_ACEOF
19232 #line $LINENO "configure"
19235 cat confdefs.h
>>conftest.
$ac_ext
19236 cat >>conftest.
$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19247 rm -f conftest.
$ac_objext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249 (eval $ac_compile) 2>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } &&
19253 { ac_try
='test -s conftest.$ac_objext'
19254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19255 (eval $ac_try) 2>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; }; then
19259 wx_cv_expat_is_not_broken
=yes
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.
$ac_ext >&5
19264 wx_cv_expat_is_not_broken
=no
19267 rm -f conftest.
$ac_objext conftest.
$ac_ext
19269 ac_cpp
='$CPP $CPPFLAGS'
19270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19277 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19278 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19279 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19280 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19281 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19282 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19283 echo $ECHO_N "(cached) $ECHO_C" >&6
19285 ac_check_lib_save_LIBS
=$LIBS
19286 LIBS
="-lexpat $LIBS"
19287 cat >conftest.
$ac_ext <<_ACEOF
19288 #line $LINENO "configure"
19291 cat confdefs.h
>>conftest.
$ac_ext
19292 cat >>conftest.
$ac_ext <<_ACEOF
19293 /* end confdefs.h. */
19295 /* Override any gcc2 internal prototype to avoid an error. */
19299 /* We use char because int might match the return type of a gcc2
19300 builtin and then its argument prototype would still apply. */
19301 char XML_ParserCreate ();
19305 XML_ParserCreate ();
19310 rm -f conftest.
$ac_objext conftest
$ac_exeext
19311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19312 (eval $ac_link) 2>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); } &&
19316 { ac_try
='test -s conftest$ac_exeext'
19317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318 (eval $ac_try) 2>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); }; }; then
19322 ac_cv_lib_expat_XML_ParserCreate
=yes
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.
$ac_ext >&5
19327 ac_cv_lib_expat_XML_ParserCreate
=no
19329 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19330 LIBS
=$ac_check_lib_save_LIBS
19332 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19333 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19334 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19335 EXPAT_LINK
=" -lexpat"
19340 if test "x$EXPAT_LINK" = "x" ; then
19341 if test "$wxUSE_EXPAT" = "sys" ; then
19342 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19343 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19344 { (exit 1); exit 1; }; }
19346 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19347 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19348 wxUSE_EXPAT
=builtin
19354 if test "$wxUSE_EXPAT" = "builtin" ; then
19357 subdirs
="$subdirs src/expat"
19371 if test "$USE_WIN32" = 1 ; then
19373 for ac_header
in w32api.h
19375 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19377 echo "$as_me:$LINENO: checking for $ac_header" >&5
19378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19385 # Is the header compilable?
19386 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19388 cat >conftest.
$ac_ext <<_ACEOF
19389 #line $LINENO "configure"
19392 cat confdefs.h
>>conftest.
$ac_ext
19393 cat >>conftest.
$ac_ext <<_ACEOF
19394 /* end confdefs.h. */
19395 $ac_includes_default
19396 #include <$ac_header>
19398 rm -f conftest.
$ac_objext
19399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19400 (eval $ac_compile) 2>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } &&
19404 { ac_try
='test -s conftest.$ac_objext'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; }; then
19410 ac_header_compiler
=yes
19412 echo "$as_me: failed program was:" >&5
19413 sed 's/^/| /' conftest.
$ac_ext >&5
19415 ac_header_compiler
=no
19417 rm -f conftest.
$ac_objext conftest.
$ac_ext
19418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19419 echo "${ECHO_T}$ac_header_compiler" >&6
19421 # Is the header present?
19422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19424 cat >conftest.
$ac_ext <<_ACEOF
19425 #line $LINENO "configure"
19428 cat confdefs.h
>>conftest.
$ac_ext
19429 cat >>conftest.
$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19431 #include <$ac_header>
19433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19436 grep -v '^ *+' conftest.er1
>conftest.err
19438 cat conftest.err
>&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } >/dev
/null
; then
19441 if test -s conftest.err
; then
19442 ac_cpp_err
=$ac_c_preproc_warn_flag
19449 if test -z "$ac_cpp_err"; then
19450 ac_header_preproc
=yes
19452 echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.
$ac_ext >&5
19455 ac_header_preproc
=no
19457 rm -f conftest.err conftest.
$ac_ext
19458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19459 echo "${ECHO_T}$ac_header_preproc" >&6
19461 # So? What about this header?
19462 case $ac_header_compiler:$ac_header_preproc in
19464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19470 ## ------------------------------------ ##
19471 ## Report this to bug-autoconf@gnu.org. ##
19472 ## ------------------------------------ ##
19475 sed "s/^/$as_me: WARNING: /" >&2
19478 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19479 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19480 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19481 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19486 ## ------------------------------------ ##
19487 ## Report this to bug-autoconf@gnu.org. ##
19488 ## ------------------------------------ ##
19491 sed "s/^/$as_me: WARNING: /" >&2
19494 echo "$as_me:$LINENO: checking for $ac_header" >&5
19495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19497 echo $ECHO_N "(cached) $ECHO_C" >&6
19499 eval "$as_ac_Header=$ac_header_preproc"
19501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19506 cat >>confdefs.h
<<_ACEOF
19507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19514 if test "${ac_cv_header_windows_h+set}" = set; then
19515 echo "$as_me:$LINENO: checking for windows.h" >&5
19516 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19517 if test "${ac_cv_header_windows_h+set}" = set; then
19518 echo $ECHO_N "(cached) $ECHO_C" >&6
19520 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19521 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19523 # Is the header compilable?
19524 echo "$as_me:$LINENO: checking windows.h usability" >&5
19525 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19526 cat >conftest.
$ac_ext <<_ACEOF
19527 #line $LINENO "configure"
19530 cat confdefs.h
>>conftest.
$ac_ext
19531 cat >>conftest.
$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19533 $ac_includes_default
19534 #include <windows.h>
19536 rm -f conftest.
$ac_objext
19537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19538 (eval $ac_compile) 2>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } &&
19542 { ac_try
='test -s conftest.$ac_objext'
19543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544 (eval $ac_try) 2>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; }; then
19548 ac_header_compiler
=yes
19550 echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.
$ac_ext >&5
19553 ac_header_compiler
=no
19555 rm -f conftest.
$ac_objext conftest.
$ac_ext
19556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19557 echo "${ECHO_T}$ac_header_compiler" >&6
19559 # Is the header present?
19560 echo "$as_me:$LINENO: checking windows.h presence" >&5
19561 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19562 cat >conftest.
$ac_ext <<_ACEOF
19563 #line $LINENO "configure"
19566 cat confdefs.h
>>conftest.
$ac_ext
19567 cat >>conftest.
$ac_ext <<_ACEOF
19568 /* end confdefs.h. */
19569 #include <windows.h>
19571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19572 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19574 grep -v '^ *+' conftest.er1
>conftest.err
19576 cat conftest.err
>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } >/dev
/null
; then
19579 if test -s conftest.err
; then
19580 ac_cpp_err
=$ac_c_preproc_warn_flag
19587 if test -z "$ac_cpp_err"; then
19588 ac_header_preproc
=yes
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.
$ac_ext >&5
19593 ac_header_preproc
=no
19595 rm -f conftest.err conftest.
$ac_ext
19596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19597 echo "${ECHO_T}$ac_header_preproc" >&6
19599 # So? What about this header?
19600 case $ac_header_compiler:$ac_header_preproc in
19602 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19603 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19604 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19605 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19608 ## ------------------------------------ ##
19609 ## Report this to bug-autoconf@gnu.org. ##
19610 ## ------------------------------------ ##
19613 sed "s/^/$as_me: WARNING: /" >&2
19616 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19617 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19618 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19619 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19620 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19621 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19624 ## ------------------------------------ ##
19625 ## Report this to bug-autoconf@gnu.org. ##
19626 ## ------------------------------------ ##
19629 sed "s/^/$as_me: WARNING: /" >&2
19632 echo "$as_me:$LINENO: checking for windows.h" >&5
19633 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19634 if test "${ac_cv_header_windows_h+set}" = set; then
19635 echo $ECHO_N "(cached) $ECHO_C" >&6
19637 ac_cv_header_windows_h
=$ac_header_preproc
19639 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19640 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19643 if test $ac_cv_header_windows_h = yes; then
19647 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19648 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19649 { (exit 1); exit 1; }; }
19655 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19657 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19658 LIBS
="$LIBS -loleacc"
19663 LIBS
="$LIBS -lkernel32 -luser32"
19664 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19667 if test "$wxUSE_ODBC" = "sys" ; then
19670 if test "$wxUSE_ODBC" = "yes" ; then
19671 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19672 cat >>confdefs.h
<<\_ACEOF
19673 #define wxUSE_ODBC 1
19678 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19679 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19681 WIN32INSTALL
=win32install
19684 if test "$wxUSE_GUI" = "yes"; then
19693 if test "$wxUSE_MSW" = 1 ; then
19698 if test "$wxUSE_GTK" = 1; then
19699 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19700 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19702 gtk_version_cached
=1
19703 if test "${wx_cv_lib_gtk+set}" = set; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19707 gtk_version_cached
=0
19708 echo "$as_me:$LINENO: result: " >&5
19709 echo "${ECHO_T}" >&6
19712 if test "$wxUSE_THREADS" = "yes"; then
19713 GTK_MODULES
=gthread
19717 if test "x$wxUSE_GTK2" = "xyes"; then
19718 # Check whether --enable-gtktest or --disable-gtktest was given.
19719 if test "${enable_gtktest+set}" = set; then
19720 enableval
="$enable_gtktest"
19726 pkg_config_args
=gtk
+-2.0
19727 for module
in .
$GTK_MODULES
19731 pkg_config_args
="$pkg_config_args gthread-2.0"
19738 # Extract the first word of "pkg-config", so it can be a program name with args.
19739 set dummy pkg
-config; ac_word
=$2
19740 echo "$as_me:$LINENO: checking for $ac_word" >&5
19741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19742 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19743 echo $ECHO_N "(cached) $ECHO_C" >&6
19745 case $PKG_CONFIG in
19747 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19751 for as_dir
in $PATH
19754 test -z "$as_dir" && as_dir
=.
19755 for ac_exec_ext
in '' $ac_executable_extensions; do
19756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19757 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19764 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19768 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19770 if test -n "$PKG_CONFIG"; then
19771 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19772 echo "${ECHO_T}$PKG_CONFIG" >&6
19774 echo "$as_me:$LINENO: result: no" >&5
19775 echo "${ECHO_T}no" >&6
19779 if test x
$PKG_CONFIG != xno
; then
19780 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19783 echo *** pkg
-config too old
; version
0.7 or better required.
19791 min_gtk_version
=2.0.0
19792 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19793 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19795 if test x
$PKG_CONFIG != xno
; then
19796 ## don't try to run the test against uninstalled libtool libs
19797 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19798 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19802 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19809 if test x
"$no_gtk" = x
; then
19810 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19811 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19812 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19813 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19814 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19815 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19816 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19817 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19818 if test "x$enable_gtktest" = "xyes" ; then
19819 ac_save_CFLAGS
="$CFLAGS"
19820 ac_save_LIBS
="$LIBS"
19821 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19822 LIBS
="$GTK_LIBS $LIBS"
19824 if test "$cross_compiling" = yes; then
19825 echo $ac_n "cross compiling; assumed OK... $ac_c"
19827 cat >conftest.
$ac_ext <<_ACEOF
19828 #line $LINENO "configure"
19831 cat confdefs.h
>>conftest.
$ac_ext
19832 cat >>conftest.
$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19835 #include <gtk/gtk.h>
19837 #include <stdlib.h>
19842 int major, minor, micro;
19845 system ("touch conf.gtktest");
19847 /* HP/UX 9 (%@#!) writes to sscanf strings */
19848 tmp_version = g_strdup("$min_gtk_version");
19849 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19850 printf("%s, bad version string\n", "$min_gtk_version");
19854 if ((gtk_major_version != $gtk_config_major_version) ||
19855 (gtk_minor_version != $gtk_config_minor_version) ||
19856 (gtk_micro_version != $gtk_config_micro_version))
19858 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19859 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19860 gtk_major_version, gtk_minor_version, gtk_micro_version);
19861 printf ("*** was found! If pkg-config was correct, then it is best\n");
19862 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19863 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19864 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19865 printf("*** required on your system.\n");
19866 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19867 printf("*** to point to the correct configuration files\n");
19869 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19870 (gtk_minor_version != GTK_MINOR_VERSION) ||
19871 (gtk_micro_version != GTK_MICRO_VERSION))
19873 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19874 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19875 printf("*** library (version %d.%d.%d)\n",
19876 gtk_major_version, gtk_minor_version, gtk_micro_version);
19880 if ((gtk_major_version > major) ||
19881 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19882 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19888 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19889 gtk_major_version, gtk_minor_version, gtk_micro_version);
19890 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19891 major, minor, micro);
19892 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19894 printf("*** If you have already installed a sufficiently new version, this error\n");
19895 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19896 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19897 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19898 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19899 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19900 printf("*** so that the correct libraries are found at run-time))\n");
19907 rm -f conftest
$ac_exeext
19908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19909 (eval $ac_link) 2>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914 (eval $ac_try) 2>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; }; then
19920 echo "$as_me: program exited with status $ac_status" >&5
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.
$ac_ext >&5
19924 ( exit $ac_status )
19927 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19929 CFLAGS
="$ac_save_CFLAGS"
19930 LIBS
="$ac_save_LIBS"
19933 if test "x$no_gtk" = x
; then
19934 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19935 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19938 echo "$as_me:$LINENO: result: no" >&5
19939 echo "${ECHO_T}no" >&6
19940 if test "$PKG_CONFIG" = "no" ; then
19941 echo "*** A new enough version of pkg-config was not found."
19942 echo "*** See http://pkgconfig.sourceforge.net"
19944 if test -f conf.gtktest
; then
19947 echo "*** Could not run GTK+ test program, checking why..."
19948 ac_save_CFLAGS
="$CFLAGS"
19949 ac_save_LIBS
="$LIBS"
19950 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19951 LIBS
="$LIBS $GTK_LIBS"
19952 cat >conftest.
$ac_ext <<_ACEOF
19953 #line $LINENO "configure"
19956 cat confdefs.h
>>conftest.
$ac_ext
19957 cat >>conftest.
$ac_ext <<_ACEOF
19958 /* end confdefs.h. */
19960 #include <gtk/gtk.h>
19966 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19971 rm -f conftest.
$ac_objext conftest
$ac_exeext
19972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19973 (eval $ac_link) 2>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } &&
19977 { ac_try
='test -s conftest$ac_exeext'
19978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19979 (eval $ac_try) 2>&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); }; }; then
19983 echo "*** The test program compiled, but did not run. This usually means"
19984 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19985 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19986 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19987 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19988 echo "*** is required on your system"
19990 echo "*** If you have an old version installed, it is best to remove it, although"
19991 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.
$ac_ext >&5
19996 echo "*** The test program failed to compile or link. See the file config.log for the"
19997 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19999 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20000 CFLAGS
="$ac_save_CFLAGS"
20001 LIBS
="$ac_save_LIBS"
20014 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20015 if test "${with_gtk_prefix+set}" = set; then
20016 withval
="$with_gtk_prefix"
20017 gtk_config_prefix
="$withval"
20019 gtk_config_prefix
=""
20022 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20023 if test "${with_gtk_exec_prefix+set}" = set; then
20024 withval
="$with_gtk_exec_prefix"
20025 gtk_config_exec_prefix
="$withval"
20027 gtk_config_exec_prefix
=""
20029 # Check whether --enable-gtktest or --disable-gtktest was given.
20030 if test "${enable_gtktest+set}" = set; then
20031 enableval
="$enable_gtktest"
20037 for module
in .
$GTK_MODULES
20041 gtk_config_args
="$gtk_config_args gthread"
20046 if test x
$gtk_config_exec_prefix != x
; then
20047 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20048 if test x
${GTK_CONFIG+set} != xset
; then
20049 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20052 if test x
$gtk_config_prefix != x
; then
20053 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20054 if test x
${GTK_CONFIG+set} != xset
; then
20055 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20059 # Extract the first word of "gtk-config", so it can be a program name with args.
20060 set dummy gtk
-config; ac_word
=$2
20061 echo "$as_me:$LINENO: checking for $ac_word" >&5
20062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20063 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20064 echo $ECHO_N "(cached) $ECHO_C" >&6
20066 case $GTK_CONFIG in
20068 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20072 for as_dir
in $PATH
20075 test -z "$as_dir" && as_dir
=.
20076 for ac_exec_ext
in '' $ac_executable_extensions; do
20077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20078 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20085 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20089 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20091 if test -n "$GTK_CONFIG"; then
20092 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20093 echo "${ECHO_T}$GTK_CONFIG" >&6
20095 echo "$as_me:$LINENO: result: no" >&5
20096 echo "${ECHO_T}no" >&6
20099 min_gtk_version
=1.2.7
20100 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20101 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20103 if test "$GTK_CONFIG" = "no" ; then
20106 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20107 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20108 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20109 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20110 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20112 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20113 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20114 if test "x$enable_gtktest" = "xyes" ; then
20115 ac_save_CFLAGS
="$CFLAGS"
20116 ac_save_LIBS
="$LIBS"
20117 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20118 LIBS
="$GTK_LIBS $LIBS"
20120 if test "$cross_compiling" = yes; then
20121 echo $ac_n "cross compiling; assumed OK... $ac_c"
20123 cat >conftest.
$ac_ext <<_ACEOF
20124 #line $LINENO "configure"
20127 cat confdefs.h
>>conftest.
$ac_ext
20128 cat >>conftest.
$ac_ext <<_ACEOF
20129 /* end confdefs.h. */
20131 #include <gtk/gtk.h>
20133 #include <stdlib.h>
20138 int major, minor, micro;
20141 system ("touch conf.gtktest");
20143 /* HP/UX 9 (%@#!) writes to sscanf strings */
20144 tmp_version = g_strdup("$min_gtk_version");
20145 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20146 printf("%s, bad version string\n", "$min_gtk_version");
20150 if ((gtk_major_version != $gtk_config_major_version) ||
20151 (gtk_minor_version != $gtk_config_minor_version) ||
20152 (gtk_micro_version != $gtk_config_micro_version))
20154 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20155 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20156 gtk_major_version, gtk_minor_version, gtk_micro_version);
20157 printf ("*** was found! If gtk-config was correct, then it is best\n");
20158 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20159 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20160 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20161 printf("*** required on your system.\n");
20162 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20163 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20164 printf("*** before re-running configure\n");
20166 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20167 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20168 (gtk_minor_version != GTK_MINOR_VERSION) ||
20169 (gtk_micro_version != GTK_MICRO_VERSION))
20171 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20172 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20173 printf("*** library (version %d.%d.%d)\n",
20174 gtk_major_version, gtk_minor_version, gtk_micro_version);
20176 #endif /* defined (GTK_MAJOR_VERSION) ... */
20179 if ((gtk_major_version > major) ||
20180 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20181 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20187 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20188 gtk_major_version, gtk_minor_version, gtk_micro_version);
20189 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20190 major, minor, micro);
20191 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20193 printf("*** If you have already installed a sufficiently new version, this error\n");
20194 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20195 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20196 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20197 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20198 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20199 printf("*** so that the correct libraries are found at run-time))\n");
20206 rm -f conftest
$ac_exeext
20207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20208 (eval $ac_link) 2>&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20213 (eval $ac_try) 2>&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); }; }; then
20219 echo "$as_me: program exited with status $ac_status" >&5
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.
$ac_ext >&5
20223 ( exit $ac_status )
20226 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20228 CFLAGS
="$ac_save_CFLAGS"
20229 LIBS
="$ac_save_LIBS"
20232 if test "x$no_gtk" = x
; then
20233 echo "$as_me:$LINENO: result: yes" >&5
20234 echo "${ECHO_T}yes" >&6
20235 wx_cv_lib_gtk
=1.2.7
20237 echo "$as_me:$LINENO: result: no" >&5
20238 echo "${ECHO_T}no" >&6
20239 if test "$GTK_CONFIG" = "no" ; then
20240 echo "*** The gtk-config script installed by GTK could not be found"
20241 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20242 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20243 echo "*** full path to gtk-config."
20245 if test -f conf.gtktest
; then
20248 echo "*** Could not run GTK test program, checking why..."
20249 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20250 LIBS
="$LIBS $GTK_LIBS"
20251 cat >conftest.
$ac_ext <<_ACEOF
20252 #line $LINENO "configure"
20255 cat confdefs.h
>>conftest.
$ac_ext
20256 cat >>conftest.
$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20259 #include <gtk/gtk.h>
20265 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20270 rm -f conftest.
$ac_objext conftest
$ac_exeext
20271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20272 (eval $ac_link) 2>&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } &&
20276 { ac_try
='test -s conftest$ac_exeext'
20277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20278 (eval $ac_try) 2>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; }; then
20282 echo "*** The test program compiled, but did not run. This usually means"
20283 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20284 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20285 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20286 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20287 echo "*** is required on your system"
20289 echo "*** If you have an old version installed, it is best to remove it, although"
20290 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20292 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20293 echo "*** came with the system with the command"
20295 echo "*** rpm --erase --nodeps gtk gtk-devel"
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.
$ac_ext >&5
20300 echo "*** The test program failed to compile or link. See the file config.log for the"
20301 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20302 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20303 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20305 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20306 CFLAGS
="$ac_save_CFLAGS"
20307 LIBS
="$ac_save_LIBS"
20319 if test -z "$wx_cv_lib_gtk"; then
20321 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20322 if test "${with_gtk_prefix+set}" = set; then
20323 withval
="$with_gtk_prefix"
20324 gtk_config_prefix
="$withval"
20326 gtk_config_prefix
=""
20329 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20330 if test "${with_gtk_exec_prefix+set}" = set; then
20331 withval
="$with_gtk_exec_prefix"
20332 gtk_config_exec_prefix
="$withval"
20334 gtk_config_exec_prefix
=""
20336 # Check whether --enable-gtktest or --disable-gtktest was given.
20337 if test "${enable_gtktest+set}" = set; then
20338 enableval
="$enable_gtktest"
20344 for module
in .
$GTK_MODULES
20348 gtk_config_args
="$gtk_config_args gthread"
20353 if test x
$gtk_config_exec_prefix != x
; then
20354 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20355 if test x
${GTK_CONFIG+set} != xset
; then
20356 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20359 if test x
$gtk_config_prefix != x
; then
20360 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20361 if test x
${GTK_CONFIG+set} != xset
; then
20362 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20366 # Extract the first word of "gtk-config", so it can be a program name with args.
20367 set dummy gtk
-config; ac_word
=$2
20368 echo "$as_me:$LINENO: checking for $ac_word" >&5
20369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20370 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20371 echo $ECHO_N "(cached) $ECHO_C" >&6
20373 case $GTK_CONFIG in
20375 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20379 for as_dir
in $PATH
20382 test -z "$as_dir" && as_dir
=.
20383 for ac_exec_ext
in '' $ac_executable_extensions; do
20384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20385 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20392 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20396 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20398 if test -n "$GTK_CONFIG"; then
20399 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20400 echo "${ECHO_T}$GTK_CONFIG" >&6
20402 echo "$as_me:$LINENO: result: no" >&5
20403 echo "${ECHO_T}no" >&6
20406 min_gtk_version
=1.2.3
20407 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20408 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20410 if test "$GTK_CONFIG" = "no" ; then
20413 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20414 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20415 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20416 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20417 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20418 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20419 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20421 if test "x$enable_gtktest" = "xyes" ; then
20422 ac_save_CFLAGS
="$CFLAGS"
20423 ac_save_LIBS
="$LIBS"
20424 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20425 LIBS
="$GTK_LIBS $LIBS"
20427 if test "$cross_compiling" = yes; then
20428 echo $ac_n "cross compiling; assumed OK... $ac_c"
20430 cat >conftest.
$ac_ext <<_ACEOF
20431 #line $LINENO "configure"
20434 cat confdefs.h
>>conftest.
$ac_ext
20435 cat >>conftest.
$ac_ext <<_ACEOF
20436 /* end confdefs.h. */
20438 #include <gtk/gtk.h>
20440 #include <stdlib.h>
20445 int major, minor, micro;
20448 system ("touch conf.gtktest");
20450 /* HP/UX 9 (%@#!) writes to sscanf strings */
20451 tmp_version = g_strdup("$min_gtk_version");
20452 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20453 printf("%s, bad version string\n", "$min_gtk_version");
20457 if ((gtk_major_version != $gtk_config_major_version) ||
20458 (gtk_minor_version != $gtk_config_minor_version) ||
20459 (gtk_micro_version != $gtk_config_micro_version))
20461 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20462 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20463 gtk_major_version, gtk_minor_version, gtk_micro_version);
20464 printf ("*** was found! If gtk-config was correct, then it is best\n");
20465 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20466 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20467 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20468 printf("*** required on your system.\n");
20469 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20470 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20471 printf("*** before re-running configure\n");
20473 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20474 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20475 (gtk_minor_version != GTK_MINOR_VERSION) ||
20476 (gtk_micro_version != GTK_MICRO_VERSION))
20478 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20479 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20480 printf("*** library (version %d.%d.%d)\n",
20481 gtk_major_version, gtk_minor_version, gtk_micro_version);
20483 #endif /* defined (GTK_MAJOR_VERSION) ... */
20486 if ((gtk_major_version > major) ||
20487 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20488 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20494 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20495 gtk_major_version, gtk_minor_version, gtk_micro_version);
20496 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20497 major, minor, micro);
20498 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20500 printf("*** If you have already installed a sufficiently new version, this error\n");
20501 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20502 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20503 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20504 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20505 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20506 printf("*** so that the correct libraries are found at run-time))\n");
20513 rm -f conftest
$ac_exeext
20514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20515 (eval $ac_link) 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520 (eval $ac_try) 2>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); }; }; then
20526 echo "$as_me: program exited with status $ac_status" >&5
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.
$ac_ext >&5
20530 ( exit $ac_status )
20533 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20535 CFLAGS
="$ac_save_CFLAGS"
20536 LIBS
="$ac_save_LIBS"
20539 if test "x$no_gtk" = x
; then
20540 echo "$as_me:$LINENO: result: yes" >&5
20541 echo "${ECHO_T}yes" >&6
20542 wx_cv_lib_gtk
=1.2.3
20544 echo "$as_me:$LINENO: result: no" >&5
20545 echo "${ECHO_T}no" >&6
20546 if test "$GTK_CONFIG" = "no" ; then
20547 echo "*** The gtk-config script installed by GTK could not be found"
20548 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20549 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20550 echo "*** full path to gtk-config."
20552 if test -f conf.gtktest
; then
20555 echo "*** Could not run GTK test program, checking why..."
20556 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20557 LIBS
="$LIBS $GTK_LIBS"
20558 cat >conftest.
$ac_ext <<_ACEOF
20559 #line $LINENO "configure"
20562 cat confdefs.h
>>conftest.
$ac_ext
20563 cat >>conftest.
$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20566 #include <gtk/gtk.h>
20572 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20577 rm -f conftest.
$ac_objext conftest
$ac_exeext
20578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20579 (eval $ac_link) 2>&5
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); } &&
20583 { ac_try
='test -s conftest$ac_exeext'
20584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20585 (eval $ac_try) 2>&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); }; }; then
20589 echo "*** The test program compiled, but did not run. This usually means"
20590 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20591 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20592 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20593 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20594 echo "*** is required on your system"
20596 echo "*** If you have an old version installed, it is best to remove it, although"
20597 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20599 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20600 echo "*** came with the system with the command"
20602 echo "*** rpm --erase --nodeps gtk gtk-devel"
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.
$ac_ext >&5
20607 echo "*** The test program failed to compile or link. See the file config.log for the"
20608 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20609 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20610 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20612 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20613 CFLAGS
="$ac_save_CFLAGS"
20614 LIBS
="$ac_save_LIBS"
20628 if test -z "$wx_cv_lib_gtk"; then
20631 wx_cv_cflags_gtk
=$GTK_CFLAGS
20632 wx_cv_libs_gtk
=$GTK_LIBS
20639 if test "$gtk_version_cached" = 1; then
20640 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20641 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20644 case "$wx_cv_lib_gtk" in
20653 *) { { echo "$as_me:$LINENO: error:
20654 Please check that gtk-config is in path, the directory
20655 where GTK+ libraries are installed (returned by
20656 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20657 equivalent variable and GTK+ is version 1.2.3 or above.
20659 echo "$as_me: error:
20660 Please check that gtk-config is in path, the directory
20661 where GTK+ libraries are installed (returned by
20662 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20663 equivalent variable and GTK+ is version 1.2.3 or above.
20665 { (exit 1); exit 1; }; }
20669 if test "$WXGTK20" = 1; then
20670 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20674 if test -z "$PKG_CONFIG"; then
20675 # Extract the first word of "pkg-config", so it can be a program name with args.
20676 set dummy pkg
-config; ac_word
=$2
20677 echo "$as_me:$LINENO: checking for $ac_word" >&5
20678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20679 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20680 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 case $PKG_CONFIG in
20684 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20688 for as_dir
in $PATH
20691 test -z "$as_dir" && as_dir
=.
20692 for ac_exec_ext
in '' $ac_executable_extensions; do
20693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20694 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20701 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20705 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20707 if test -n "$PKG_CONFIG"; then
20708 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20709 echo "${ECHO_T}$PKG_CONFIG" >&6
20711 echo "$as_me:$LINENO: result: no" >&5
20712 echo "${ECHO_T}no" >&6
20717 if test "$PKG_CONFIG" = "no" ; then
20718 echo "*** The pkg-config script could not be found. Make sure it is"
20719 echo "*** in your path, or set the PKG_CONFIG environment variable"
20720 echo "*** to the full path to pkg-config."
20721 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20723 PKG_CONFIG_MIN_VERSION
=0.9.0
20724 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20725 echo "$as_me:$LINENO: checking for pangoft2" >&5
20726 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20728 if $PKG_CONFIG --exists "pangoft2" ; then
20729 echo "$as_me:$LINENO: result: yes" >&5
20730 echo "${ECHO_T}yes" >&6
20733 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20734 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20735 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20736 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20737 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20739 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20740 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20741 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20742 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20743 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20747 ## If we have a custom action on failure, don't print errors, but
20748 ## do set a variable so people can do so.
20749 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20756 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20757 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20761 if test $succeeded = yes; then
20763 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20764 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20768 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20769 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20770 wxUSE_PRINTING_ARCHITECTURE
="no"
20777 if test "$wxUSE_UNICODE" = "yes"; then
20778 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20779 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20784 if test "$USE_DARWIN" != 1; then
20786 for ac_func
in poll
20788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20789 echo "$as_me:$LINENO: checking for $ac_func" >&5
20790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20791 if eval "test \"\${$as_ac_var+set}\" = set"; then
20792 echo $ECHO_N "(cached) $ECHO_C" >&6
20794 cat >conftest.
$ac_ext <<_ACEOF
20795 #line $LINENO "configure"
20798 cat confdefs.h
>>conftest.
$ac_ext
20799 cat >>conftest.
$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20801 /* System header to define __stub macros and hopefully few prototypes,
20802 which can conflict with char $ac_func (); below.
20803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20804 <limits.h> exists even on freestanding compilers. */
20806 # include <limits.h>
20808 # include <assert.h>
20810 /* Override any gcc2 internal prototype to avoid an error. */
20815 /* We use char because int might match the return type of a gcc2
20816 builtin and then its argument prototype would still apply. */
20818 /* The GNU C library defines this for functions which it implements
20819 to always fail with ENOSYS. Some functions are actually named
20820 something starting with __ and the normal name is an alias. */
20821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20824 char (*f) () = $ac_func;
20833 return f != $ac_func;
20838 rm -f conftest.
$ac_objext conftest
$ac_exeext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20840 (eval $ac_link) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try
='test -s conftest$ac_exeext'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 eval "$as_ac_var=yes"
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.
$ac_ext >&5
20855 eval "$as_ac_var=no"
20857 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20861 if test `eval echo '${'$as_ac_var'}'` = yes; then
20862 cat >>confdefs.h
<<_ACEOF
20863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20871 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20872 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20874 AFMINSTALL
=afminstall
20878 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20879 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20880 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20881 echo $ECHO_N "(cached) $ECHO_C" >&6
20883 ac_check_lib_save_LIBS
=$LIBS
20885 cat >conftest.
$ac_ext <<_ACEOF
20886 #line $LINENO "configure"
20889 cat confdefs.h
>>conftest.
$ac_ext
20890 cat >>conftest.
$ac_ext <<_ACEOF
20891 /* end confdefs.h. */
20893 /* Override any gcc2 internal prototype to avoid an error. */
20897 /* We use char because int might match the return type of a gcc2
20898 builtin and then its argument prototype would still apply. */
20899 char gdk_im_open ();
20908 rm -f conftest.
$ac_objext conftest
$ac_exeext
20909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20910 (eval $ac_link) 2>&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); } &&
20914 { ac_try
='test -s conftest$ac_exeext'
20915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20916 (eval $ac_try) 2>&5
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); }; }; then
20920 ac_cv_lib_gdk_gdk_im_open
=yes
20922 echo "$as_me: failed program was:" >&5
20923 sed 's/^/| /' conftest.
$ac_ext >&5
20925 ac_cv_lib_gdk_gdk_im_open
=no
20927 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20928 LIBS
=$ac_check_lib_save_LIBS
20930 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20931 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20932 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20933 cat >>confdefs.h
<<\_ACEOF
20941 if test "$wxUSE_MGL" = 1; then
20942 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20943 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20944 if test "x$MGL_ROOT" = x
; then
20945 echo "$as_me:$LINENO: result: not found" >&5
20946 echo "${ECHO_T}not found" >&6
20947 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20948 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20949 { (exit 1); exit 1; }; }
20951 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20952 echo "${ECHO_T}$MGL_ROOT" >&6
20955 echo "$as_me:$LINENO: checking for libmgl location" >&5
20956 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20959 if test "x$wxUSE_SHARED" = xyes
; then
20960 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20962 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20966 mgl_os_candidates
="dos32/dj2"
20969 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20970 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20971 { (exit 1); exit 1; }; }
20977 for mgl_os_i
in $mgl_os_candidates ; do
20978 if test "x$mgl_os" = x
; then
20979 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20980 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
20981 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
20986 if test "x$mgl_lib_type" = x
; then
20987 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
20988 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
20989 mgl_lib_type
=release
20996 if test "x$mgl_os" = x
; then
20997 echo "$as_me:$LINENO: result: not found" >&5
20998 echo "${ECHO_T}not found" >&6
20999 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21000 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21001 { (exit 1); exit 1; }; }
21003 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21004 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21006 wxUSE_UNIVERSAL
="yes"
21008 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21009 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21011 AFMINSTALL
=afminstall
21016 if test "$wxUSE_MICROWIN" = 1; then
21017 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21018 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21019 if test "x$MICROWINDOWS" = x
; then
21020 echo "$as_me:$LINENO: result: not found" >&5
21021 echo "${ECHO_T}not found" >&6
21022 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21023 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21024 { (exit 1); exit 1; }; }
21026 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21027 echo "${ECHO_T}$MICROWINDOWS" >&6
21030 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21031 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21032 echo "${ECHO_T}MicroWindows' libraries found." >&6
21034 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21035 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21036 { (exit 1); exit 1; }; }
21039 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21040 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21042 wxUSE_UNIVERSAL
="yes"
21044 AFMINSTALL
=afminstall
21046 GUIDIST
=MICROWIN_DIST
21048 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21051 if test "$wxUSE_X11" = 1; then
21052 echo "$as_me:$LINENO: checking for X" >&5
21053 echo $ECHO_N "checking for X... $ECHO_C" >&6
21056 # Check whether --with-x or --without-x was given.
21057 if test "${with_x+set}" = set; then
21061 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21062 if test "x$with_x" = xno
; then
21063 # The user explicitly disabled X.
21066 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21067 # Both variables are already set.
21070 if test "${ac_cv_have_x+set}" = set; then
21071 echo $ECHO_N "(cached) $ECHO_C" >&6
21073 # One or both of the vars are not set, and there is no cached value.
21074 ac_x_includes
=no ac_x_libraries
=no
21075 rm -fr conftest.dir
21076 if mkdir conftest.dir
; then
21078 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21079 cat >Imakefile
<<'_ACEOF'
21081 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21083 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21084 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21085 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21086 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21087 for ac_extension
in a so sl
; do
21088 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21089 test -f $ac_im_libdir/libX11.
$ac_extension; then
21090 ac_im_usrlibdir
=$ac_im_libdir; break
21093 # Screen out bogus values from the imake configuration. They are
21094 # bogus both because they are the default anyway, and because
21095 # using them would break gcc on systems where it needs fixed includes.
21096 case $ac_im_incroot in
21098 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21100 case $ac_im_usrlibdir in
21101 /usr
/lib
| /lib
) ;;
21102 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21106 rm -fr conftest.dir
21109 # Standard set of common directories for X headers.
21110 # Check X11 before X11Rn because it is often a symlink to the current release.
21122 /usr/local/X11/include
21123 /usr/local/X11R6/include
21124 /usr/local/X11R5/include
21125 /usr/local/X11R4/include
21127 /usr/local/include/X11
21128 /usr/local/include/X11R6
21129 /usr/local/include/X11R5
21130 /usr/local/include/X11R4
21134 /usr/XFree86/include/X11
21138 /usr/unsupported/include
21139 /usr/athena/include
21140 /usr/local/x11r5/include
21141 /usr/lpp/Xamples/include
21143 /usr/openwin/include
21144 /usr/openwin/share/include'
21146 if test "$ac_x_includes" = no
; then
21147 # Guess where to find include files, by looking for Intrinsic.h.
21148 # First, try using that file with no special directory specified.
21149 cat >conftest.
$ac_ext <<_ACEOF
21150 #line $LINENO "configure"
21153 cat confdefs.h
>>conftest.
$ac_ext
21154 cat >>conftest.
$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 #include <X11/Intrinsic.h>
21158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21161 grep -v '^ *+' conftest.er1
>conftest.err
21163 cat conftest.err
>&5
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); } >/dev
/null
; then
21166 if test -s conftest.err
; then
21167 ac_cpp_err
=$ac_c_preproc_warn_flag
21174 if test -z "$ac_cpp_err"; then
21175 # We can compile using X headers with no special include directory.
21178 echo "$as_me: failed program was:" >&5
21179 sed 's/^/| /' conftest.
$ac_ext >&5
21181 for ac_dir
in $ac_x_header_dirs; do
21182 if test -r "$ac_dir/X11/Intrinsic.h"; then
21183 ac_x_includes
=$ac_dir
21188 rm -f conftest.err conftest.
$ac_ext
21189 fi # $ac_x_includes = no
21191 if test "$ac_x_libraries" = no
; then
21192 # Check for the libraries.
21193 # See if we find them without any special options.
21194 # Don't add to $LIBS permanently.
21197 cat >conftest.
$ac_ext <<_ACEOF
21198 #line $LINENO "configure"
21201 cat confdefs.h
>>conftest.
$ac_ext
21202 cat >>conftest.
$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 #include <X11/Intrinsic.h>
21213 rm -f conftest.
$ac_objext conftest
$ac_exeext
21214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21215 (eval $ac_link) 2>&5
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); } &&
21219 { ac_try
='test -s conftest$ac_exeext'
21220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21221 (eval $ac_try) 2>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); }; }; then
21226 # We can link X programs with no special library path.
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.
$ac_ext >&5
21233 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21235 # Don't even attempt the hair of trying to link an X program!
21236 for ac_extension
in a so sl
; do
21237 if test -r $ac_dir/libXt.
$ac_extension; then
21238 ac_x_libraries
=$ac_dir
21244 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21245 fi # $ac_x_libraries = no
21247 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21248 # Didn't find X anywhere. Cache the known absence of X.
21249 ac_cv_have_x
="have_x=no"
21251 # Record where we found X for the cache.
21252 ac_cv_have_x
="have_x=yes \
21253 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21258 eval "$ac_cv_have_x"
21261 if test "$have_x" != yes; then
21262 echo "$as_me:$LINENO: result: $have_x" >&5
21263 echo "${ECHO_T}$have_x" >&6
21266 # If each of the values was on the command line, it overrides each guess.
21267 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21268 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21269 # Update the cache value to reflect the command line values.
21270 ac_cv_have_x
="have_x=yes \
21271 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21272 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21273 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21276 if test "$no_x" = yes; then
21277 # Not all programs may use this symbol, but it does not hurt to define it.
21279 cat >>confdefs.h
<<\_ACEOF
21280 #define X_DISPLAY_MISSING 1
21283 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21285 if test -n "$x_includes"; then
21286 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21289 # It would also be nice to do this for all -L options, not just this one.
21290 if test -n "$x_libraries"; then
21291 X_LIBS
="$X_LIBS -L$x_libraries"
21292 # For Solaris; some versions of Sun CC require a space after -R and
21293 # others require no space. Words are not sufficient . . . .
21294 case `(uname -sr) 2>/dev/null` in
21296 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21297 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21298 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21299 cat >conftest.
$ac_ext <<_ACEOF
21300 #line $LINENO "configure"
21303 cat confdefs.h
>>conftest.
$ac_ext
21304 cat >>conftest.
$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21315 rm -f conftest.
$ac_objext conftest
$ac_exeext
21316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21317 (eval $ac_link) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); } &&
21321 { ac_try
='test -s conftest$ac_exeext'
21322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21323 (eval $ac_try) 2>&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); }; }; then
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.
$ac_ext >&5
21334 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21335 if test $ac_R_nospace = yes; then
21336 echo "$as_me:$LINENO: result: no" >&5
21337 echo "${ECHO_T}no" >&6
21338 X_LIBS
="$X_LIBS -R$x_libraries"
21340 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21341 cat >conftest.
$ac_ext <<_ACEOF
21342 #line $LINENO "configure"
21345 cat confdefs.h
>>conftest.
$ac_ext
21346 cat >>conftest.
$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21357 rm -f conftest.
$ac_objext conftest
$ac_exeext
21358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21359 (eval $ac_link) 2>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } &&
21363 { ac_try
='test -s conftest$ac_exeext'
21364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21365 (eval $ac_try) 2>&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); }; }; then
21371 echo "$as_me: failed program was:" >&5
21372 sed 's/^/| /' conftest.
$ac_ext >&5
21376 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21377 if test $ac_R_space = yes; then
21378 echo "$as_me:$LINENO: result: yes" >&5
21379 echo "${ECHO_T}yes" >&6
21380 X_LIBS
="$X_LIBS -R $x_libraries"
21382 echo "$as_me:$LINENO: result: neither works" >&5
21383 echo "${ECHO_T}neither works" >&6
21386 LIBS
=$ac_xsave_LIBS
21390 # Check for system-dependent libraries X programs must link with.
21391 # Do this before checking for the system-independent R6 libraries
21392 # (-lICE), since we may need -lsocket or whatever for X linking.
21394 if test "$ISC" = yes; then
21395 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21397 # Martyn Johnson says this is needed for Ultrix, if the X
21398 # libraries were built with DECnet support. And Karl Berry says
21399 # the Alpha needs dnet_stub (dnet does not exist).
21400 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21401 cat >conftest.
$ac_ext <<_ACEOF
21402 #line $LINENO "configure"
21405 cat confdefs.h
>>conftest.
$ac_ext
21406 cat >>conftest.
$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21409 /* Override any gcc2 internal prototype to avoid an error. */
21413 /* We use char because int might match the return type of a gcc2
21414 builtin and then its argument prototype would still apply. */
21415 char XOpenDisplay ();
21424 rm -f conftest.
$ac_objext conftest
$ac_exeext
21425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21426 (eval $ac_link) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } &&
21430 { ac_try
='test -s conftest$ac_exeext'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; }; then
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.
$ac_ext >&5
21441 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21442 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21443 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 ac_check_lib_save_LIBS
=$LIBS
21447 LIBS
="-ldnet $LIBS"
21448 cat >conftest.
$ac_ext <<_ACEOF
21449 #line $LINENO "configure"
21452 cat confdefs.h
>>conftest.
$ac_ext
21453 cat >>conftest.
$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21456 /* Override any gcc2 internal prototype to avoid an error. */
21460 /* We use char because int might match the return type of a gcc2
21461 builtin and then its argument prototype would still apply. */
21471 rm -f conftest.
$ac_objext conftest
$ac_exeext
21472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21473 (eval $ac_link) 2>&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); } &&
21477 { ac_try
='test -s conftest$ac_exeext'
21478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21479 (eval $ac_try) 2>&5
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); }; }; then
21483 ac_cv_lib_dnet_dnet_ntoa
=yes
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.
$ac_ext >&5
21488 ac_cv_lib_dnet_dnet_ntoa
=no
21490 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21491 LIBS
=$ac_check_lib_save_LIBS
21493 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21494 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21495 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21496 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21499 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21500 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21501 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21502 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 ac_check_lib_save_LIBS
=$LIBS
21506 LIBS
="-ldnet_stub $LIBS"
21507 cat >conftest.
$ac_ext <<_ACEOF
21508 #line $LINENO "configure"
21511 cat confdefs.h
>>conftest.
$ac_ext
21512 cat >>conftest.
$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21515 /* Override any gcc2 internal prototype to avoid an error. */
21519 /* We use char because int might match the return type of a gcc2
21520 builtin and then its argument prototype would still apply. */
21530 rm -f conftest.
$ac_objext conftest
$ac_exeext
21531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21532 (eval $ac_link) 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); } &&
21536 { ac_try
='test -s conftest$ac_exeext'
21537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21538 (eval $ac_try) 2>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); }; }; then
21542 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21544 echo "$as_me: failed program was:" >&5
21545 sed 's/^/| /' conftest.
$ac_ext >&5
21547 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21549 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21550 LIBS
=$ac_check_lib_save_LIBS
21552 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21553 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21554 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21555 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21560 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21561 LIBS
="$ac_xsave_LIBS"
21563 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21564 # to get the SysV transport functions.
21565 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21567 # The nsl library prevents programs from opening the X display
21568 # on Irix 5.2, according to T.E. Dickey.
21569 # The functions gethostbyname, getservbyname, and inet_addr are
21570 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21571 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21572 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21573 if test "${ac_cv_func_gethostbyname+set}" = set; then
21574 echo $ECHO_N "(cached) $ECHO_C" >&6
21576 cat >conftest.
$ac_ext <<_ACEOF
21577 #line $LINENO "configure"
21580 cat confdefs.h
>>conftest.
$ac_ext
21581 cat >>conftest.
$ac_ext <<_ACEOF
21582 /* end confdefs.h. */
21583 /* System header to define __stub macros and hopefully few prototypes,
21584 which can conflict with char gethostbyname (); below.
21585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21586 <limits.h> exists even on freestanding compilers. */
21588 # include <limits.h>
21590 # include <assert.h>
21592 /* Override any gcc2 internal prototype to avoid an error. */
21597 /* We use char because int might match the return type of a gcc2
21598 builtin and then its argument prototype would still apply. */
21599 char gethostbyname ();
21600 /* The GNU C library defines this for functions which it implements
21601 to always fail with ENOSYS. Some functions are actually named
21602 something starting with __ and the normal name is an alias. */
21603 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21606 char (*f) () = gethostbyname;
21615 return f != gethostbyname;
21620 rm -f conftest.
$ac_objext conftest
$ac_exeext
21621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21622 (eval $ac_link) 2>&5
21624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625 (exit $ac_status); } &&
21626 { ac_try
='test -s conftest$ac_exeext'
21627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21628 (eval $ac_try) 2>&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); }; }; then
21632 ac_cv_func_gethostbyname
=yes
21634 echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.
$ac_ext >&5
21637 ac_cv_func_gethostbyname
=no
21639 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21641 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21642 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21644 if test $ac_cv_func_gethostbyname = no
; then
21645 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21646 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21647 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21648 echo $ECHO_N "(cached) $ECHO_C" >&6
21650 ac_check_lib_save_LIBS
=$LIBS
21652 cat >conftest.
$ac_ext <<_ACEOF
21653 #line $LINENO "configure"
21656 cat confdefs.h
>>conftest.
$ac_ext
21657 cat >>conftest.
$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21660 /* Override any gcc2 internal prototype to avoid an error. */
21664 /* We use char because int might match the return type of a gcc2
21665 builtin and then its argument prototype would still apply. */
21666 char gethostbyname ();
21675 rm -f conftest.
$ac_objext conftest
$ac_exeext
21676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21677 (eval $ac_link) 2>&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); } &&
21681 { ac_try
='test -s conftest$ac_exeext'
21682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21683 (eval $ac_try) 2>&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); }; }; then
21687 ac_cv_lib_nsl_gethostbyname
=yes
21689 echo "$as_me: failed program was:" >&5
21690 sed 's/^/| /' conftest.
$ac_ext >&5
21692 ac_cv_lib_nsl_gethostbyname
=no
21694 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21695 LIBS
=$ac_check_lib_save_LIBS
21697 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21698 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21699 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21700 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21703 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21704 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21705 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21706 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21707 echo $ECHO_N "(cached) $ECHO_C" >&6
21709 ac_check_lib_save_LIBS
=$LIBS
21711 cat >conftest.
$ac_ext <<_ACEOF
21712 #line $LINENO "configure"
21715 cat confdefs.h
>>conftest.
$ac_ext
21716 cat >>conftest.
$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21719 /* Override any gcc2 internal prototype to avoid an error. */
21723 /* We use char because int might match the return type of a gcc2
21724 builtin and then its argument prototype would still apply. */
21725 char gethostbyname ();
21734 rm -f conftest.
$ac_objext conftest
$ac_exeext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21736 (eval $ac_link) 2>&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } &&
21740 { ac_try
='test -s conftest$ac_exeext'
21741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21742 (eval $ac_try) 2>&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); }; }; then
21746 ac_cv_lib_bsd_gethostbyname
=yes
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.
$ac_ext >&5
21751 ac_cv_lib_bsd_gethostbyname
=no
21753 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21754 LIBS
=$ac_check_lib_save_LIBS
21756 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21757 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21758 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21759 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21765 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21766 # socket/setsockopt and other routines are undefined under SCO ODT
21767 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21768 # on later versions), says Simon Leinen: it contains gethostby*
21769 # variants that don't use the name server (or something). -lsocket
21770 # must be given before -lnsl if both are needed. We assume that
21771 # if connect needs -lnsl, so does gethostbyname.
21772 echo "$as_me:$LINENO: checking for connect" >&5
21773 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21774 if test "${ac_cv_func_connect+set}" = set; then
21775 echo $ECHO_N "(cached) $ECHO_C" >&6
21777 cat >conftest.
$ac_ext <<_ACEOF
21778 #line $LINENO "configure"
21781 cat confdefs.h
>>conftest.
$ac_ext
21782 cat >>conftest.
$ac_ext <<_ACEOF
21783 /* end confdefs.h. */
21784 /* System header to define __stub macros and hopefully few prototypes,
21785 which can conflict with char connect (); below.
21786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21787 <limits.h> exists even on freestanding compilers. */
21789 # include <limits.h>
21791 # include <assert.h>
21793 /* Override any gcc2 internal prototype to avoid an error. */
21798 /* We use char because int might match the return type of a gcc2
21799 builtin and then its argument prototype would still apply. */
21801 /* The GNU C library defines this for functions which it implements
21802 to always fail with ENOSYS. Some functions are actually named
21803 something starting with __ and the normal name is an alias. */
21804 #if defined (__stub_connect) || defined (__stub___connect)
21807 char (*f) () = connect;
21816 return f != connect;
21821 rm -f conftest.
$ac_objext conftest
$ac_exeext
21822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21823 (eval $ac_link) 2>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } &&
21827 { ac_try
='test -s conftest$ac_exeext'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 ac_cv_func_connect
=yes
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21838 ac_cv_func_connect
=no
21840 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21842 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21843 echo "${ECHO_T}$ac_cv_func_connect" >&6
21845 if test $ac_cv_func_connect = no
; then
21846 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21847 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21848 if test "${ac_cv_lib_socket_connect+set}" = set; then
21849 echo $ECHO_N "(cached) $ECHO_C" >&6
21851 ac_check_lib_save_LIBS
=$LIBS
21852 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21853 cat >conftest.
$ac_ext <<_ACEOF
21854 #line $LINENO "configure"
21857 cat confdefs.h
>>conftest.
$ac_ext
21858 cat >>conftest.
$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21861 /* Override any gcc2 internal prototype to avoid an error. */
21865 /* We use char because int might match the return type of a gcc2
21866 builtin and then its argument prototype would still apply. */
21876 rm -f conftest.
$ac_objext conftest
$ac_exeext
21877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21878 (eval $ac_link) 2>&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); } &&
21882 { ac_try
='test -s conftest$ac_exeext'
21883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21884 (eval $ac_try) 2>&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); }; }; then
21888 ac_cv_lib_socket_connect
=yes
21890 echo "$as_me: failed program was:" >&5
21891 sed 's/^/| /' conftest.
$ac_ext >&5
21893 ac_cv_lib_socket_connect
=no
21895 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21896 LIBS
=$ac_check_lib_save_LIBS
21898 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21899 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21900 if test $ac_cv_lib_socket_connect = yes; then
21901 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21906 # Guillermo Gomez says -lposix is necessary on A/UX.
21907 echo "$as_me:$LINENO: checking for remove" >&5
21908 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21909 if test "${ac_cv_func_remove+set}" = set; then
21910 echo $ECHO_N "(cached) $ECHO_C" >&6
21912 cat >conftest.
$ac_ext <<_ACEOF
21913 #line $LINENO "configure"
21916 cat confdefs.h
>>conftest.
$ac_ext
21917 cat >>conftest.
$ac_ext <<_ACEOF
21918 /* end confdefs.h. */
21919 /* System header to define __stub macros and hopefully few prototypes,
21920 which can conflict with char remove (); below.
21921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21922 <limits.h> exists even on freestanding compilers. */
21924 # include <limits.h>
21926 # include <assert.h>
21928 /* Override any gcc2 internal prototype to avoid an error. */
21933 /* We use char because int might match the return type of a gcc2
21934 builtin and then its argument prototype would still apply. */
21936 /* The GNU C library defines this for functions which it implements
21937 to always fail with ENOSYS. Some functions are actually named
21938 something starting with __ and the normal name is an alias. */
21939 #if defined (__stub_remove) || defined (__stub___remove)
21942 char (*f) () = remove;
21951 return f != remove;
21956 rm -f conftest.
$ac_objext conftest
$ac_exeext
21957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21958 (eval $ac_link) 2>&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); } &&
21962 { ac_try
='test -s conftest$ac_exeext'
21963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21964 (eval $ac_try) 2>&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); }; }; then
21968 ac_cv_func_remove
=yes
21970 echo "$as_me: failed program was:" >&5
21971 sed 's/^/| /' conftest.
$ac_ext >&5
21973 ac_cv_func_remove
=no
21975 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21977 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21978 echo "${ECHO_T}$ac_cv_func_remove" >&6
21980 if test $ac_cv_func_remove = no
; then
21981 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21982 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21983 if test "${ac_cv_lib_posix_remove+set}" = set; then
21984 echo $ECHO_N "(cached) $ECHO_C" >&6
21986 ac_check_lib_save_LIBS
=$LIBS
21987 LIBS
="-lposix $LIBS"
21988 cat >conftest.
$ac_ext <<_ACEOF
21989 #line $LINENO "configure"
21992 cat confdefs.h
>>conftest.
$ac_ext
21993 cat >>conftest.
$ac_ext <<_ACEOF
21994 /* end confdefs.h. */
21996 /* Override any gcc2 internal prototype to avoid an error. */
22000 /* We use char because int might match the return type of a gcc2
22001 builtin and then its argument prototype would still apply. */
22011 rm -f conftest.
$ac_objext conftest
$ac_exeext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22013 (eval $ac_link) 2>&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } &&
22017 { ac_try
='test -s conftest$ac_exeext'
22018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; }; then
22023 ac_cv_lib_posix_remove
=yes
22025 echo "$as_me: failed program was:" >&5
22026 sed 's/^/| /' conftest.
$ac_ext >&5
22028 ac_cv_lib_posix_remove
=no
22030 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22031 LIBS
=$ac_check_lib_save_LIBS
22033 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22034 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22035 if test $ac_cv_lib_posix_remove = yes; then
22036 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22041 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22042 echo "$as_me:$LINENO: checking for shmat" >&5
22043 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22044 if test "${ac_cv_func_shmat+set}" = set; then
22045 echo $ECHO_N "(cached) $ECHO_C" >&6
22047 cat >conftest.
$ac_ext <<_ACEOF
22048 #line $LINENO "configure"
22051 cat confdefs.h
>>conftest.
$ac_ext
22052 cat >>conftest.
$ac_ext <<_ACEOF
22053 /* end confdefs.h. */
22054 /* System header to define __stub macros and hopefully few prototypes,
22055 which can conflict with char shmat (); below.
22056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22057 <limits.h> exists even on freestanding compilers. */
22059 # include <limits.h>
22061 # include <assert.h>
22063 /* Override any gcc2 internal prototype to avoid an error. */
22068 /* We use char because int might match the return type of a gcc2
22069 builtin and then its argument prototype would still apply. */
22071 /* The GNU C library defines this for functions which it implements
22072 to always fail with ENOSYS. Some functions are actually named
22073 something starting with __ and the normal name is an alias. */
22074 #if defined (__stub_shmat) || defined (__stub___shmat)
22077 char (*f) () = shmat;
22091 rm -f conftest.
$ac_objext conftest
$ac_exeext
22092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22093 (eval $ac_link) 2>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } &&
22097 { ac_try
='test -s conftest$ac_exeext'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; }; then
22103 ac_cv_func_shmat
=yes
22105 echo "$as_me: failed program was:" >&5
22106 sed 's/^/| /' conftest.
$ac_ext >&5
22108 ac_cv_func_shmat
=no
22110 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22112 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22113 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22115 if test $ac_cv_func_shmat = no
; then
22116 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22117 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22118 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22119 echo $ECHO_N "(cached) $ECHO_C" >&6
22121 ac_check_lib_save_LIBS
=$LIBS
22123 cat >conftest.
$ac_ext <<_ACEOF
22124 #line $LINENO "configure"
22127 cat confdefs.h
>>conftest.
$ac_ext
22128 cat >>conftest.
$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22131 /* Override any gcc2 internal prototype to avoid an error. */
22135 /* We use char because int might match the return type of a gcc2
22136 builtin and then its argument prototype would still apply. */
22146 rm -f conftest.
$ac_objext conftest
$ac_exeext
22147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22148 (eval $ac_link) 2>&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); } &&
22152 { ac_try
='test -s conftest$ac_exeext'
22153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22154 (eval $ac_try) 2>&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); }; }; then
22158 ac_cv_lib_ipc_shmat
=yes
22160 echo "$as_me: failed program was:" >&5
22161 sed 's/^/| /' conftest.
$ac_ext >&5
22163 ac_cv_lib_ipc_shmat
=no
22165 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22166 LIBS
=$ac_check_lib_save_LIBS
22168 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22169 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22170 if test $ac_cv_lib_ipc_shmat = yes; then
22171 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22177 # Check for libraries that X11R6 Xt/Xaw programs need.
22178 ac_save_LDFLAGS
=$LDFLAGS
22179 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22180 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22181 # check for ICE first), but we must link in the order -lSM -lICE or
22182 # we get undefined symbols. So assume we have SM if we have ICE.
22183 # These have to be linked with before -lX11, unlike the other
22184 # libraries we check for below, so use a different variable.
22185 # John Interrante, Karl Berry
22186 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22187 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22188 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22189 echo $ECHO_N "(cached) $ECHO_C" >&6
22191 ac_check_lib_save_LIBS
=$LIBS
22192 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22193 cat >conftest.
$ac_ext <<_ACEOF
22194 #line $LINENO "configure"
22197 cat confdefs.h
>>conftest.
$ac_ext
22198 cat >>conftest.
$ac_ext <<_ACEOF
22199 /* end confdefs.h. */
22201 /* Override any gcc2 internal prototype to avoid an error. */
22205 /* We use char because int might match the return type of a gcc2
22206 builtin and then its argument prototype would still apply. */
22207 char IceConnectionNumber ();
22211 IceConnectionNumber ();
22216 rm -f conftest.
$ac_objext conftest
$ac_exeext
22217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22218 (eval $ac_link) 2>&5
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); } &&
22222 { ac_try
='test -s conftest$ac_exeext'
22223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22224 (eval $ac_try) 2>&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); }; }; then
22228 ac_cv_lib_ICE_IceConnectionNumber
=yes
22230 echo "$as_me: failed program was:" >&5
22231 sed 's/^/| /' conftest.
$ac_ext >&5
22233 ac_cv_lib_ICE_IceConnectionNumber
=no
22235 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22236 LIBS
=$ac_check_lib_save_LIBS
22238 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22239 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22240 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22241 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22244 LDFLAGS
=$ac_save_LDFLAGS
22249 if test "$no_x" = "yes"; then
22250 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22251 echo "$as_me: error: X11 not found" >&2;}
22252 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22255 GUI_TK_LIBRARY
="$X_LIBS"
22256 TOOLKIT_INCLUDE
="$X_CFLAGS"
22257 AFMINSTALL
=afminstall
22258 COMPILED_X_PROGRAM
=0
22260 if test "$wxUSE_NANOX" = "yes"; then
22261 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22262 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22263 if test "x$MICROWIN" = x
; then
22264 echo "$as_me:$LINENO: result: not found" >&5
22265 echo "${ECHO_T}not found" >&6
22266 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22267 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22268 { (exit 1); exit 1; }; }
22270 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22271 echo "${ECHO_T}$MICROWIN" >&6
22272 cat >>confdefs.h
<<\_ACEOF
22273 #define wxUSE_NANOX 1
22280 echo "$as_me:$LINENO: checking for Xpm library" >&5
22281 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22284 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22286 for ac_extension
in a so sl dylib
; do
22287 if test -f "$ac_dir/libXpm.$ac_extension"; then
22288 ac_find_libraries
=$ac_dir
22294 if test "$ac_find_libraries" != "" ; then
22296 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22298 if test $result = 0; then
22301 ac_path_to_link
=" -L$ac_find_libraries"
22304 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22306 cat >>confdefs.h
<<\_ACEOF
22307 #define wxHAVE_LIB_XPM 1
22310 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22311 echo "${ECHO_T}found at $ac_find_libraries" >&6
22313 cat >conftest.
$ac_ext <<_ACEOF
22314 #line $LINENO "configure"
22317 cat confdefs.h
>>conftest.
$ac_ext
22318 cat >>conftest.
$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22321 #include <X11/xpm.h>
22328 version = XpmLibraryVersion();
22334 rm -f conftest.
$ac_objext
22335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22336 (eval $ac_compile) 2>&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); } &&
22340 { ac_try
='test -s conftest.$ac_objext'
22341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342 (eval $ac_try) 2>&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; }; then
22348 cat >>confdefs.h
<<\_ACEOF
22349 #define wxHAVE_LIB_XPM 1
22352 echo "$as_me:$LINENO: result: found in default search path" >&5
22353 echo "${ECHO_T}found in default search path" >&6
22354 COMPILED_X_PROGRAM
=0
22357 echo "$as_me: failed program was:" >&5
22358 sed 's/^/| /' conftest.
$ac_ext >&5
22361 echo "$as_me:$LINENO: result: no" >&5
22362 echo "${ECHO_T}no" >&6
22363 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22364 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22368 rm -f conftest.
$ac_objext conftest.
$ac_ext
22371 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22372 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22373 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 ac_check_lib_save_LIBS
=$LIBS
22377 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22378 cat >conftest.
$ac_ext <<_ACEOF
22379 #line $LINENO "configure"
22382 cat confdefs.h
>>conftest.
$ac_ext
22383 cat >>conftest.
$ac_ext <<_ACEOF
22384 /* end confdefs.h. */
22386 /* Override any gcc2 internal prototype to avoid an error. */
22390 /* We use char because int might match the return type of a gcc2
22391 builtin and then its argument prototype would still apply. */
22392 char XShapeQueryExtension ();
22396 XShapeQueryExtension ();
22401 rm -f conftest.
$ac_objext conftest
$ac_exeext
22402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22403 (eval $ac_link) 2>&5
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); } &&
22407 { ac_try
='test -s conftest$ac_exeext'
22408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22409 (eval $ac_try) 2>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; }; then
22413 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22415 echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.
$ac_ext >&5
22418 ac_cv_lib_Xext_XShapeQueryExtension
=no
22420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22421 LIBS
=$ac_check_lib_save_LIBS
22423 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22424 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22425 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22427 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22433 if test "$wxUSE_UNICODE" = "yes"; then
22437 if test -z "$PKG_CONFIG"; then
22438 # Extract the first word of "pkg-config", so it can be a program name with args.
22439 set dummy pkg
-config; ac_word
=$2
22440 echo "$as_me:$LINENO: checking for $ac_word" >&5
22441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22442 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22443 echo $ECHO_N "(cached) $ECHO_C" >&6
22445 case $PKG_CONFIG in
22447 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22451 for as_dir
in $PATH
22454 test -z "$as_dir" && as_dir
=.
22455 for ac_exec_ext
in '' $ac_executable_extensions; do
22456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22457 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22464 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22468 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22470 if test -n "$PKG_CONFIG"; then
22471 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22472 echo "${ECHO_T}$PKG_CONFIG" >&6
22474 echo "$as_me:$LINENO: result: no" >&5
22475 echo "${ECHO_T}no" >&6
22480 if test "$PKG_CONFIG" = "no" ; then
22481 echo "*** The pkg-config script could not be found. Make sure it is"
22482 echo "*** in your path, or set the PKG_CONFIG environment variable"
22483 echo "*** to the full path to pkg-config."
22484 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22486 PKG_CONFIG_MIN_VERSION
=0.9.0
22487 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22488 echo "$as_me:$LINENO: checking for pangox" >&5
22489 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22491 if $PKG_CONFIG --exists "pangox" ; then
22492 echo "$as_me:$LINENO: result: yes" >&5
22493 echo "${ECHO_T}yes" >&6
22496 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22497 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22498 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22499 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22500 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22502 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22503 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22504 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22505 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22506 echo "${ECHO_T}$PANGOX_LIBS" >&6
22510 ## If we have a custom action on failure, don't print errors, but
22511 ## do set a variable so people can do so.
22512 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22519 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22520 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22524 if test $succeeded = yes; then
22526 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22527 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22531 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22532 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22533 { (exit 1); exit 1; }; }
22541 if test -z "$PKG_CONFIG"; then
22542 # Extract the first word of "pkg-config", so it can be a program name with args.
22543 set dummy pkg
-config; ac_word
=$2
22544 echo "$as_me:$LINENO: checking for $ac_word" >&5
22545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22546 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22547 echo $ECHO_N "(cached) $ECHO_C" >&6
22549 case $PKG_CONFIG in
22551 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22555 for as_dir
in $PATH
22558 test -z "$as_dir" && as_dir
=.
22559 for ac_exec_ext
in '' $ac_executable_extensions; do
22560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22561 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22568 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22572 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22574 if test -n "$PKG_CONFIG"; then
22575 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22576 echo "${ECHO_T}$PKG_CONFIG" >&6
22578 echo "$as_me:$LINENO: result: no" >&5
22579 echo "${ECHO_T}no" >&6
22584 if test "$PKG_CONFIG" = "no" ; then
22585 echo "*** The pkg-config script could not be found. Make sure it is"
22586 echo "*** in your path, or set the PKG_CONFIG environment variable"
22587 echo "*** to the full path to pkg-config."
22588 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22590 PKG_CONFIG_MIN_VERSION
=0.9.0
22591 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22592 echo "$as_me:$LINENO: checking for pangoft2" >&5
22593 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22595 if $PKG_CONFIG --exists "pangoft2" ; then
22596 echo "$as_me:$LINENO: result: yes" >&5
22597 echo "${ECHO_T}yes" >&6
22600 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22601 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22602 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22603 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22604 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22606 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22607 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22608 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22609 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22610 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22614 ## If we have a custom action on failure, don't print errors, but
22615 ## do set a variable so people can do so.
22616 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22623 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22624 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22628 if test $succeeded = yes; then
22630 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22631 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22635 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22636 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22637 wxUSE_PRINTING_ARCHITECTURE
="no"
22645 if test -z "$PKG_CONFIG"; then
22646 # Extract the first word of "pkg-config", so it can be a program name with args.
22647 set dummy pkg
-config; ac_word
=$2
22648 echo "$as_me:$LINENO: checking for $ac_word" >&5
22649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22650 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22651 echo $ECHO_N "(cached) $ECHO_C" >&6
22653 case $PKG_CONFIG in
22655 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22659 for as_dir
in $PATH
22662 test -z "$as_dir" && as_dir
=.
22663 for ac_exec_ext
in '' $ac_executable_extensions; do
22664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22665 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22672 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22676 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22678 if test -n "$PKG_CONFIG"; then
22679 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22680 echo "${ECHO_T}$PKG_CONFIG" >&6
22682 echo "$as_me:$LINENO: result: no" >&5
22683 echo "${ECHO_T}no" >&6
22688 if test "$PKG_CONFIG" = "no" ; then
22689 echo "*** The pkg-config script could not be found. Make sure it is"
22690 echo "*** in your path, or set the PKG_CONFIG environment variable"
22691 echo "*** to the full path to pkg-config."
22692 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22694 PKG_CONFIG_MIN_VERSION
=0.9.0
22695 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22696 echo "$as_me:$LINENO: checking for pangoxft" >&5
22697 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22699 if $PKG_CONFIG --exists "pangoxft" ; then
22700 echo "$as_me:$LINENO: result: yes" >&5
22701 echo "${ECHO_T}yes" >&6
22704 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22705 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22706 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22707 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22708 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22710 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22711 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22712 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22713 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22714 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22718 ## If we have a custom action on failure, don't print errors, but
22719 ## do set a variable so people can do so.
22720 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22727 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22728 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22732 if test $succeeded = yes; then
22734 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22735 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22739 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22740 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22747 wxUSE_UNIVERSAL
="yes"
22749 if test "$wxUSE_NANOX" = "yes"; then
22750 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22751 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"
22752 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22754 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22757 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22762 if test "$wxUSE_MOTIF" = 1; then
22763 if test "$no_x" = yes; then
22764 # Not all programs may use this symbol, but it does not hurt to define it.
22766 cat >>confdefs.h
<<\_ACEOF
22767 #define X_DISPLAY_MISSING 1
22770 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22772 if test -n "$x_includes"; then
22773 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22776 # It would also be nice to do this for all -L options, not just this one.
22777 if test -n "$x_libraries"; then
22778 X_LIBS
="$X_LIBS -L$x_libraries"
22779 # For Solaris; some versions of Sun CC require a space after -R and
22780 # others require no space. Words are not sufficient . . . .
22781 case `(uname -sr) 2>/dev/null` in
22783 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22784 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22785 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22786 cat >conftest.
$ac_ext <<_ACEOF
22787 #line $LINENO "configure"
22790 cat confdefs.h
>>conftest.
$ac_ext
22791 cat >>conftest.
$ac_ext <<_ACEOF
22792 /* end confdefs.h. */
22802 rm -f conftest.
$ac_objext conftest
$ac_exeext
22803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22804 (eval $ac_link) 2>&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); } &&
22808 { ac_try
='test -s conftest$ac_exeext'
22809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 (eval $ac_try) 2>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; }; then
22816 echo "$as_me: failed program was:" >&5
22817 sed 's/^/| /' conftest.
$ac_ext >&5
22821 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22822 if test $ac_R_nospace = yes; then
22823 echo "$as_me:$LINENO: result: no" >&5
22824 echo "${ECHO_T}no" >&6
22825 X_LIBS
="$X_LIBS -R$x_libraries"
22827 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22828 cat >conftest.
$ac_ext <<_ACEOF
22829 #line $LINENO "configure"
22832 cat confdefs.h
>>conftest.
$ac_ext
22833 cat >>conftest.
$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22844 rm -f conftest.
$ac_objext conftest
$ac_exeext
22845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22846 (eval $ac_link) 2>&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); } &&
22850 { ac_try
='test -s conftest$ac_exeext'
22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852 (eval $ac_try) 2>&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; }; then
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.
$ac_ext >&5
22863 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22864 if test $ac_R_space = yes; then
22865 echo "$as_me:$LINENO: result: yes" >&5
22866 echo "${ECHO_T}yes" >&6
22867 X_LIBS
="$X_LIBS -R $x_libraries"
22869 echo "$as_me:$LINENO: result: neither works" >&5
22870 echo "${ECHO_T}neither works" >&6
22873 LIBS
=$ac_xsave_LIBS
22877 # Check for system-dependent libraries X programs must link with.
22878 # Do this before checking for the system-independent R6 libraries
22879 # (-lICE), since we may need -lsocket or whatever for X linking.
22881 if test "$ISC" = yes; then
22882 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22884 # Martyn Johnson says this is needed for Ultrix, if the X
22885 # libraries were built with DECnet support. And Karl Berry says
22886 # the Alpha needs dnet_stub (dnet does not exist).
22887 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22888 cat >conftest.
$ac_ext <<_ACEOF
22889 #line $LINENO "configure"
22892 cat confdefs.h
>>conftest.
$ac_ext
22893 cat >>conftest.
$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22896 /* Override any gcc2 internal prototype to avoid an error. */
22900 /* We use char because int might match the return type of a gcc2
22901 builtin and then its argument prototype would still apply. */
22902 char XOpenDisplay ();
22911 rm -f conftest.
$ac_objext conftest
$ac_exeext
22912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22913 (eval $ac_link) 2>&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); } &&
22917 { ac_try
='test -s conftest$ac_exeext'
22918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22919 (eval $ac_try) 2>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); }; }; then
22925 echo "$as_me: failed program was:" >&5
22926 sed 's/^/| /' conftest.
$ac_ext >&5
22928 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22929 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22930 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22931 echo $ECHO_N "(cached) $ECHO_C" >&6
22933 ac_check_lib_save_LIBS
=$LIBS
22934 LIBS
="-ldnet $LIBS"
22935 cat >conftest.
$ac_ext <<_ACEOF
22936 #line $LINENO "configure"
22939 cat confdefs.h
>>conftest.
$ac_ext
22940 cat >>conftest.
$ac_ext <<_ACEOF
22941 /* end confdefs.h. */
22943 /* Override any gcc2 internal prototype to avoid an error. */
22947 /* We use char because int might match the return type of a gcc2
22948 builtin and then its argument prototype would still apply. */
22958 rm -f conftest.
$ac_objext conftest
$ac_exeext
22959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22960 (eval $ac_link) 2>&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } &&
22964 { ac_try
='test -s conftest$ac_exeext'
22965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22966 (eval $ac_try) 2>&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); }; }; then
22970 ac_cv_lib_dnet_dnet_ntoa
=yes
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.
$ac_ext >&5
22975 ac_cv_lib_dnet_dnet_ntoa
=no
22977 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22978 LIBS
=$ac_check_lib_save_LIBS
22980 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22981 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22982 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22983 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22986 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22987 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22988 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22989 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22990 echo $ECHO_N "(cached) $ECHO_C" >&6
22992 ac_check_lib_save_LIBS
=$LIBS
22993 LIBS
="-ldnet_stub $LIBS"
22994 cat >conftest.
$ac_ext <<_ACEOF
22995 #line $LINENO "configure"
22998 cat confdefs.h
>>conftest.
$ac_ext
22999 cat >>conftest.
$ac_ext <<_ACEOF
23000 /* end confdefs.h. */
23002 /* Override any gcc2 internal prototype to avoid an error. */
23006 /* We use char because int might match the return type of a gcc2
23007 builtin and then its argument prototype would still apply. */
23017 rm -f conftest.
$ac_objext conftest
$ac_exeext
23018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23019 (eval $ac_link) 2>&5
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); } &&
23023 { ac_try
='test -s conftest$ac_exeext'
23024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23025 (eval $ac_try) 2>&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); }; }; then
23029 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23031 echo "$as_me: failed program was:" >&5
23032 sed 's/^/| /' conftest.
$ac_ext >&5
23034 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23036 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23037 LIBS
=$ac_check_lib_save_LIBS
23039 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23040 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23041 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23042 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23047 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23048 LIBS
="$ac_xsave_LIBS"
23050 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23051 # to get the SysV transport functions.
23052 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23054 # The nsl library prevents programs from opening the X display
23055 # on Irix 5.2, according to T.E. Dickey.
23056 # The functions gethostbyname, getservbyname, and inet_addr are
23057 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23058 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23059 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23060 if test "${ac_cv_func_gethostbyname+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23063 cat >conftest.
$ac_ext <<_ACEOF
23064 #line $LINENO "configure"
23067 cat confdefs.h
>>conftest.
$ac_ext
23068 cat >>conftest.
$ac_ext <<_ACEOF
23069 /* end confdefs.h. */
23070 /* System header to define __stub macros and hopefully few prototypes,
23071 which can conflict with char gethostbyname (); below.
23072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23073 <limits.h> exists even on freestanding compilers. */
23075 # include <limits.h>
23077 # include <assert.h>
23079 /* Override any gcc2 internal prototype to avoid an error. */
23084 /* We use char because int might match the return type of a gcc2
23085 builtin and then its argument prototype would still apply. */
23086 char gethostbyname ();
23087 /* The GNU C library defines this for functions which it implements
23088 to always fail with ENOSYS. Some functions are actually named
23089 something starting with __ and the normal name is an alias. */
23090 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23093 char (*f) () = gethostbyname;
23102 return f != gethostbyname;
23107 rm -f conftest.
$ac_objext conftest
$ac_exeext
23108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23109 (eval $ac_link) 2>&5
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); } &&
23113 { ac_try
='test -s conftest$ac_exeext'
23114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115 (eval $ac_try) 2>&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; }; then
23119 ac_cv_func_gethostbyname
=yes
23121 echo "$as_me: failed program was:" >&5
23122 sed 's/^/| /' conftest.
$ac_ext >&5
23124 ac_cv_func_gethostbyname
=no
23126 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23128 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23129 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23131 if test $ac_cv_func_gethostbyname = no
; then
23132 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23133 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23134 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23135 echo $ECHO_N "(cached) $ECHO_C" >&6
23137 ac_check_lib_save_LIBS
=$LIBS
23139 cat >conftest.
$ac_ext <<_ACEOF
23140 #line $LINENO "configure"
23143 cat confdefs.h
>>conftest.
$ac_ext
23144 cat >>conftest.
$ac_ext <<_ACEOF
23145 /* end confdefs.h. */
23147 /* Override any gcc2 internal prototype to avoid an error. */
23151 /* We use char because int might match the return type of a gcc2
23152 builtin and then its argument prototype would still apply. */
23153 char gethostbyname ();
23162 rm -f conftest.
$ac_objext conftest
$ac_exeext
23163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23164 (eval $ac_link) 2>&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } &&
23168 { ac_try
='test -s conftest$ac_exeext'
23169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23170 (eval $ac_try) 2>&5
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); }; }; then
23174 ac_cv_lib_nsl_gethostbyname
=yes
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.
$ac_ext >&5
23179 ac_cv_lib_nsl_gethostbyname
=no
23181 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23182 LIBS
=$ac_check_lib_save_LIBS
23184 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23185 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23186 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23187 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23190 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23191 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23192 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23193 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23194 echo $ECHO_N "(cached) $ECHO_C" >&6
23196 ac_check_lib_save_LIBS
=$LIBS
23198 cat >conftest.
$ac_ext <<_ACEOF
23199 #line $LINENO "configure"
23202 cat confdefs.h
>>conftest.
$ac_ext
23203 cat >>conftest.
$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23206 /* Override any gcc2 internal prototype to avoid an error. */
23210 /* We use char because int might match the return type of a gcc2
23211 builtin and then its argument prototype would still apply. */
23212 char gethostbyname ();
23221 rm -f conftest.
$ac_objext conftest
$ac_exeext
23222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23223 (eval $ac_link) 2>&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } &&
23227 { ac_try
='test -s conftest$ac_exeext'
23228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23229 (eval $ac_try) 2>&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); }; }; then
23233 ac_cv_lib_bsd_gethostbyname
=yes
23235 echo "$as_me: failed program was:" >&5
23236 sed 's/^/| /' conftest.
$ac_ext >&5
23238 ac_cv_lib_bsd_gethostbyname
=no
23240 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23241 LIBS
=$ac_check_lib_save_LIBS
23243 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23244 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23245 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23246 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23252 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23253 # socket/setsockopt and other routines are undefined under SCO ODT
23254 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23255 # on later versions), says Simon Leinen: it contains gethostby*
23256 # variants that don't use the name server (or something). -lsocket
23257 # must be given before -lnsl if both are needed. We assume that
23258 # if connect needs -lnsl, so does gethostbyname.
23259 echo "$as_me:$LINENO: checking for connect" >&5
23260 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23261 if test "${ac_cv_func_connect+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23264 cat >conftest.
$ac_ext <<_ACEOF
23265 #line $LINENO "configure"
23268 cat confdefs.h
>>conftest.
$ac_ext
23269 cat >>conftest.
$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 /* System header to define __stub macros and hopefully few prototypes,
23272 which can conflict with char connect (); below.
23273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23274 <limits.h> exists even on freestanding compilers. */
23276 # include <limits.h>
23278 # include <assert.h>
23280 /* Override any gcc2 internal prototype to avoid an error. */
23285 /* We use char because int might match the return type of a gcc2
23286 builtin and then its argument prototype would still apply. */
23288 /* The GNU C library defines this for functions which it implements
23289 to always fail with ENOSYS. Some functions are actually named
23290 something starting with __ and the normal name is an alias. */
23291 #if defined (__stub_connect) || defined (__stub___connect)
23294 char (*f) () = connect;
23303 return f != connect;
23308 rm -f conftest.
$ac_objext conftest
$ac_exeext
23309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23310 (eval $ac_link) 2>&5
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); } &&
23314 { ac_try
='test -s conftest$ac_exeext'
23315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23316 (eval $ac_try) 2>&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); }; }; then
23320 ac_cv_func_connect
=yes
23322 echo "$as_me: failed program was:" >&5
23323 sed 's/^/| /' conftest.
$ac_ext >&5
23325 ac_cv_func_connect
=no
23327 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23329 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23330 echo "${ECHO_T}$ac_cv_func_connect" >&6
23332 if test $ac_cv_func_connect = no
; then
23333 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23334 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23335 if test "${ac_cv_lib_socket_connect+set}" = set; then
23336 echo $ECHO_N "(cached) $ECHO_C" >&6
23338 ac_check_lib_save_LIBS
=$LIBS
23339 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23340 cat >conftest.
$ac_ext <<_ACEOF
23341 #line $LINENO "configure"
23344 cat confdefs.h
>>conftest.
$ac_ext
23345 cat >>conftest.
$ac_ext <<_ACEOF
23346 /* end confdefs.h. */
23348 /* Override any gcc2 internal prototype to avoid an error. */
23352 /* We use char because int might match the return type of a gcc2
23353 builtin and then its argument prototype would still apply. */
23363 rm -f conftest.
$ac_objext conftest
$ac_exeext
23364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23365 (eval $ac_link) 2>&5
23367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23368 (exit $ac_status); } &&
23369 { ac_try
='test -s conftest$ac_exeext'
23370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23371 (eval $ac_try) 2>&5
23373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23374 (exit $ac_status); }; }; then
23375 ac_cv_lib_socket_connect
=yes
23377 echo "$as_me: failed program was:" >&5
23378 sed 's/^/| /' conftest.
$ac_ext >&5
23380 ac_cv_lib_socket_connect
=no
23382 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23383 LIBS
=$ac_check_lib_save_LIBS
23385 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23386 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23387 if test $ac_cv_lib_socket_connect = yes; then
23388 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23393 # Guillermo Gomez says -lposix is necessary on A/UX.
23394 echo "$as_me:$LINENO: checking for remove" >&5
23395 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23396 if test "${ac_cv_func_remove+set}" = set; then
23397 echo $ECHO_N "(cached) $ECHO_C" >&6
23399 cat >conftest.
$ac_ext <<_ACEOF
23400 #line $LINENO "configure"
23403 cat confdefs.h
>>conftest.
$ac_ext
23404 cat >>conftest.
$ac_ext <<_ACEOF
23405 /* end confdefs.h. */
23406 /* System header to define __stub macros and hopefully few prototypes,
23407 which can conflict with char remove (); below.
23408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23409 <limits.h> exists even on freestanding compilers. */
23411 # include <limits.h>
23413 # include <assert.h>
23415 /* Override any gcc2 internal prototype to avoid an error. */
23420 /* We use char because int might match the return type of a gcc2
23421 builtin and then its argument prototype would still apply. */
23423 /* The GNU C library defines this for functions which it implements
23424 to always fail with ENOSYS. Some functions are actually named
23425 something starting with __ and the normal name is an alias. */
23426 #if defined (__stub_remove) || defined (__stub___remove)
23429 char (*f) () = remove;
23438 return f != remove;
23443 rm -f conftest.
$ac_objext conftest
$ac_exeext
23444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23445 (eval $ac_link) 2>&5
23447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 (exit $ac_status); } &&
23449 { ac_try
='test -s conftest$ac_exeext'
23450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23451 (eval $ac_try) 2>&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); }; }; then
23455 ac_cv_func_remove
=yes
23457 echo "$as_me: failed program was:" >&5
23458 sed 's/^/| /' conftest.
$ac_ext >&5
23460 ac_cv_func_remove
=no
23462 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23464 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23465 echo "${ECHO_T}$ac_cv_func_remove" >&6
23467 if test $ac_cv_func_remove = no
; then
23468 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23469 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23470 if test "${ac_cv_lib_posix_remove+set}" = set; then
23471 echo $ECHO_N "(cached) $ECHO_C" >&6
23473 ac_check_lib_save_LIBS
=$LIBS
23474 LIBS
="-lposix $LIBS"
23475 cat >conftest.
$ac_ext <<_ACEOF
23476 #line $LINENO "configure"
23479 cat confdefs.h
>>conftest.
$ac_ext
23480 cat >>conftest.
$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23483 /* Override any gcc2 internal prototype to avoid an error. */
23487 /* We use char because int might match the return type of a gcc2
23488 builtin and then its argument prototype would still apply. */
23498 rm -f conftest.
$ac_objext conftest
$ac_exeext
23499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23500 (eval $ac_link) 2>&5
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); } &&
23504 { ac_try
='test -s conftest$ac_exeext'
23505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23506 (eval $ac_try) 2>&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; }; then
23510 ac_cv_lib_posix_remove
=yes
23512 echo "$as_me: failed program was:" >&5
23513 sed 's/^/| /' conftest.
$ac_ext >&5
23515 ac_cv_lib_posix_remove
=no
23517 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23518 LIBS
=$ac_check_lib_save_LIBS
23520 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23521 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23522 if test $ac_cv_lib_posix_remove = yes; then
23523 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23528 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23529 echo "$as_me:$LINENO: checking for shmat" >&5
23530 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23531 if test "${ac_cv_func_shmat+set}" = set; then
23532 echo $ECHO_N "(cached) $ECHO_C" >&6
23534 cat >conftest.
$ac_ext <<_ACEOF
23535 #line $LINENO "configure"
23538 cat confdefs.h
>>conftest.
$ac_ext
23539 cat >>conftest.
$ac_ext <<_ACEOF
23540 /* end confdefs.h. */
23541 /* System header to define __stub macros and hopefully few prototypes,
23542 which can conflict with char shmat (); below.
23543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23544 <limits.h> exists even on freestanding compilers. */
23546 # include <limits.h>
23548 # include <assert.h>
23550 /* Override any gcc2 internal prototype to avoid an error. */
23555 /* We use char because int might match the return type of a gcc2
23556 builtin and then its argument prototype would still apply. */
23558 /* The GNU C library defines this for functions which it implements
23559 to always fail with ENOSYS. Some functions are actually named
23560 something starting with __ and the normal name is an alias. */
23561 #if defined (__stub_shmat) || defined (__stub___shmat)
23564 char (*f) () = shmat;
23578 rm -f conftest.
$ac_objext conftest
$ac_exeext
23579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23580 (eval $ac_link) 2>&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } &&
23584 { ac_try
='test -s conftest$ac_exeext'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; }; then
23590 ac_cv_func_shmat
=yes
23592 echo "$as_me: failed program was:" >&5
23593 sed 's/^/| /' conftest.
$ac_ext >&5
23595 ac_cv_func_shmat
=no
23597 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23599 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23600 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23602 if test $ac_cv_func_shmat = no
; then
23603 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23604 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23605 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23608 ac_check_lib_save_LIBS
=$LIBS
23610 cat >conftest.
$ac_ext <<_ACEOF
23611 #line $LINENO "configure"
23614 cat confdefs.h
>>conftest.
$ac_ext
23615 cat >>conftest.
$ac_ext <<_ACEOF
23616 /* end confdefs.h. */
23618 /* Override any gcc2 internal prototype to avoid an error. */
23622 /* We use char because int might match the return type of a gcc2
23623 builtin and then its argument prototype would still apply. */
23633 rm -f conftest.
$ac_objext conftest
$ac_exeext
23634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23635 (eval $ac_link) 2>&5
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); } &&
23639 { ac_try
='test -s conftest$ac_exeext'
23640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23641 (eval $ac_try) 2>&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; }; then
23645 ac_cv_lib_ipc_shmat
=yes
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.
$ac_ext >&5
23650 ac_cv_lib_ipc_shmat
=no
23652 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23653 LIBS
=$ac_check_lib_save_LIBS
23655 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23656 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23657 if test $ac_cv_lib_ipc_shmat = yes; then
23658 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23664 # Check for libraries that X11R6 Xt/Xaw programs need.
23665 ac_save_LDFLAGS
=$LDFLAGS
23666 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23667 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23668 # check for ICE first), but we must link in the order -lSM -lICE or
23669 # we get undefined symbols. So assume we have SM if we have ICE.
23670 # These have to be linked with before -lX11, unlike the other
23671 # libraries we check for below, so use a different variable.
23672 # John Interrante, Karl Berry
23673 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23674 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23675 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23676 echo $ECHO_N "(cached) $ECHO_C" >&6
23678 ac_check_lib_save_LIBS
=$LIBS
23679 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23680 cat >conftest.
$ac_ext <<_ACEOF
23681 #line $LINENO "configure"
23684 cat confdefs.h
>>conftest.
$ac_ext
23685 cat >>conftest.
$ac_ext <<_ACEOF
23686 /* end confdefs.h. */
23688 /* Override any gcc2 internal prototype to avoid an error. */
23692 /* We use char because int might match the return type of a gcc2
23693 builtin and then its argument prototype would still apply. */
23694 char IceConnectionNumber ();
23698 IceConnectionNumber ();
23703 rm -f conftest.
$ac_objext conftest
$ac_exeext
23704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23705 (eval $ac_link) 2>&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); } &&
23709 { ac_try
='test -s conftest$ac_exeext'
23710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23711 (eval $ac_try) 2>&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); }; }; then
23715 ac_cv_lib_ICE_IceConnectionNumber
=yes
23717 echo "$as_me: failed program was:" >&5
23718 sed 's/^/| /' conftest.
$ac_ext >&5
23720 ac_cv_lib_ICE_IceConnectionNumber
=no
23722 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23723 LIBS
=$ac_check_lib_save_LIBS
23725 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23726 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23727 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23728 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23731 LDFLAGS
=$ac_save_LDFLAGS
23736 if test "$no_x" = "yes"; then
23737 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23738 echo "$as_me: error: X11 not found" >&2;}
23739 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23742 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23743 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23744 AFMINSTALL
=afminstall
23745 COMPILED_X_PROGRAM
=0
23747 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23748 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23751 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23753 if test -f "$ac_dir/Xm/Xm.h"; then
23754 ac_find_includes
=$ac_dir
23759 if test "$ac_find_includes" != "" ; then
23760 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23761 echo "${ECHO_T}found in $ac_find_includes" >&6
23763 if test "x$ac_find_includes" = "x/usr/include"; then
23764 ac_path_to_include
=""
23766 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23768 if test $result = 0; then
23769 ac_path_to_include
=""
23771 ac_path_to_include
=" -I$ac_find_includes"
23775 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23777 cat >conftest.
$ac_ext <<_ACEOF
23778 #line $LINENO "configure"
23781 cat confdefs.h
>>conftest.
$ac_ext
23782 cat >>conftest.
$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23792 version = xmUseVersion;
23798 rm -f conftest.
$ac_objext
23799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23800 (eval $ac_compile) 2>&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } &&
23804 { ac_try
='test -s conftest.$ac_objext'
23805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23806 (eval $ac_try) 2>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; }; then
23811 echo "$as_me:$LINENO: result: found in default search path" >&5
23812 echo "${ECHO_T}found in default search path" >&6
23813 COMPILED_X_PROGRAM
=1
23816 echo "$as_me: failed program was:" >&5
23817 sed 's/^/| /' conftest.
$ac_ext >&5
23820 echo "$as_me:$LINENO: result: no" >&5
23821 echo "${ECHO_T}no" >&6
23822 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23823 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23824 { (exit 1); exit 1; }; }
23828 rm -f conftest.
$ac_objext conftest.
$ac_ext
23831 if test "$COMPILED_X_PROGRAM" = 0; then
23832 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23833 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23836 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23838 for ac_extension
in a so sl dylib
; do
23839 if test -f "$ac_dir/libXm.$ac_extension"; then
23840 ac_find_libraries
=$ac_dir
23846 if test "$ac_find_libraries" != "" ; then
23847 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23848 echo "${ECHO_T}found at $ac_find_libraries" >&6
23851 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23853 if test $result = 0; then
23856 ac_path_to_link
=" -L$ac_find_libraries"
23859 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23861 save_CFLAGS
=$CFLAGS
23862 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23864 cat >conftest.
$ac_ext <<_ACEOF
23865 #line $LINENO "configure"
23868 cat confdefs.h
>>conftest.
$ac_ext
23869 cat >>conftest.
$ac_ext <<_ACEOF
23870 /* end confdefs.h. */
23879 version = xmUseVersion;
23885 rm -f conftest.
$ac_objext
23886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23887 (eval $ac_compile) 2>&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); } &&
23891 { ac_try
='test -s conftest.$ac_objext'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; }; then
23898 echo "$as_me:$LINENO: result: found in default search path" >&5
23899 echo "${ECHO_T}found in default search path" >&6
23900 COMPILED_X_PROGRAM
=1
23903 echo "$as_me: failed program was:" >&5
23904 sed 's/^/| /' conftest.
$ac_ext >&5
23907 echo "$as_me:$LINENO: result: no" >&5
23908 echo "${ECHO_T}no" >&6
23909 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23910 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23911 { (exit 1); exit 1; }; }
23915 rm -f conftest.
$ac_objext conftest.
$ac_ext
23917 CFLAGS
=$save_CFLAGS
23922 echo "$as_me:$LINENO: checking for Xpm library" >&5
23923 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23926 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23928 for ac_extension
in a so sl dylib
; do
23929 if test -f "$ac_dir/libXpm.$ac_extension"; then
23930 ac_find_libraries
=$ac_dir
23936 if test "$ac_find_libraries" != "" ; then
23938 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23940 if test $result = 0; then
23943 ac_path_to_link
=" -L$ac_find_libraries"
23946 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23949 cat >>confdefs.h
<<\_ACEOF
23950 #define wxHAVE_LIB_XPM 1
23953 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23954 echo "${ECHO_T}found at $ac_find_libraries" >&6
23956 save_CFLAGS
=$CFLAGS
23957 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23959 cat >conftest.
$ac_ext <<_ACEOF
23960 #line $LINENO "configure"
23963 cat confdefs.h
>>conftest.
$ac_ext
23964 cat >>conftest.
$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23967 #include <X11/xpm.h>
23974 version = XpmLibraryVersion();
23980 rm -f conftest.
$ac_objext
23981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23982 (eval $ac_compile) 2>&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } &&
23986 { ac_try
='test -s conftest.$ac_objext'
23987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23988 (eval $ac_try) 2>&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); }; }; then
23994 cat >>confdefs.h
<<\_ACEOF
23995 #define wxHAVE_LIB_XPM 1
23998 echo "$as_me:$LINENO: result: found in default search path" >&5
23999 echo "${ECHO_T}found in default search path" >&6
24000 COMPILED_X_PROGRAM
=0
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.
$ac_ext >&5
24007 echo "$as_me:$LINENO: result: no" >&5
24008 echo "${ECHO_T}no" >&6
24009 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24010 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24014 rm -f conftest.
$ac_objext conftest.
$ac_ext
24016 CFLAGS
=$save_CFLAGS
24019 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24020 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24024 for libp
in "" " -lXp"; do
24025 if test "$libs_found" = "0"; then
24026 for libsm_ice
in " -lSM -lICE"; do
24027 if test "$libs_found" = "0"; then
24029 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24030 save_CFLAGS
=$CFLAGS
24031 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24033 cat >conftest.
$ac_ext <<_ACEOF
24034 #line $LINENO "configure"
24037 cat confdefs.h
>>conftest.
$ac_ext
24038 cat >>conftest.
$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24042 #include <Xm/List.h>
24048 XmString string = NULL;
24051 XmListAddItem(w, string, position);
24057 rm -f conftest.
$ac_objext conftest
$ac_exeext
24058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24059 (eval $ac_link) 2>&5
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); } &&
24063 { ac_try
='test -s conftest$ac_exeext'
24064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24065 (eval $ac_try) 2>&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); }; }; then
24071 libsm_ice_link
="$libsm_ice"
24072 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24073 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.
$ac_ext >&5
24083 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24086 CFLAGS
=$save_CFLAGS
24092 if test "$libs_found" = "0"; then
24093 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24094 echo "${ECHO_T}can't find the right libraries" >&6
24095 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24096 echo "$as_me: error: can't link a simple motif program" >&2;}
24097 { (exit 1); exit 1; }; }
24100 save_CFLAGS
=$CFLAGS
24101 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24102 echo "$as_me:$LINENO: checking for Motif 2" >&5
24103 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24104 cat >conftest.
$ac_ext <<_ACEOF
24105 #line $LINENO "configure"
24108 cat confdefs.h
>>conftest.
$ac_ext
24109 cat >>conftest.
$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24118 #if XmVersion < 2000
24119 #error "Not Motif 2"
24126 rm -f conftest.
$ac_objext
24127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24128 (eval $ac_compile) 2>&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); } &&
24132 { ac_try
='test -s conftest.$ac_objext'
24133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); }; }; then
24139 cat >>confdefs.h
<<\_ACEOF
24140 #define __WXMOTIF20__ 1
24143 echo "$as_me:$LINENO: result: found" >&5
24144 echo "${ECHO_T}found" >&6
24147 echo "$as_me: failed program was:" >&5
24148 sed 's/^/| /' conftest.
$ac_ext >&5
24151 cat >>confdefs.h
<<\_ACEOF
24152 #define __WXMOTIF20__ 0
24155 echo "$as_me:$LINENO: result: not found" >&5
24156 echo "${ECHO_T}not found" >&6
24159 rm -f conftest.
$ac_objext conftest.
$ac_ext
24160 CFLAGS
=$save_CFLAGS
24162 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24163 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24169 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24170 test "$wxHAVE_XEXT_LIB" = 1; then
24171 save_CFLAGS
="$CFLAGS"
24172 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24174 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24175 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24176 cat >conftest.
$ac_ext <<_ACEOF
24177 #line $LINENO "configure"
24180 cat confdefs.h
>>conftest.
$ac_ext
24181 cat >>conftest.
$ac_ext <<_ACEOF
24182 /* end confdefs.h. */
24184 #include <X11/Xlib.h>
24185 #include <X11/extensions/shape.h>
24191 int dummy1, dummy2;
24192 XShapeQueryExtension((Display*)NULL,
24193 (int*)NULL, (int*)NULL);
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
24212 cat >>confdefs.h
<<\_ACEOF
24213 #define HAVE_XSHAPE 1
24216 echo "$as_me:$LINENO: result: found" >&5
24217 echo "${ECHO_T}found" >&6
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.
$ac_ext >&5
24224 echo "$as_me:$LINENO: result: not found" >&5
24225 echo "${ECHO_T}not found" >&6
24228 rm -f conftest.
$ac_objext conftest.
$ac_ext
24229 CFLAGS
="$save_CFLAGS"
24232 if test "$wxUSE_MAC" = 1; then
24233 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24235 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24240 if test "$wxUSE_COCOA" = 1; then
24241 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24246 if test "$wxUSE_PM" = 1; then
24249 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24250 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24254 if test "$TOOLKIT" = "PM" ; then
24257 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24260 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24262 if test "$wxUSE_UNIVERSAL" = "yes"; then
24263 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24265 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24266 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24268 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24269 if test "$wxUSE_X11" = 1; then
24270 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24272 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24274 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24277 ALL_OBJECTS
="\$(GUIOBJS)"
24278 ALL_SOURCES
="\$(ALL_SOURCES)"
24279 ALL_HEADERS
="\$(ALL_HEADERS)"
24282 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24284 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24285 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24288 if test "$wxUSE_HTML" = "yes"; then
24289 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24292 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24293 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24295 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24296 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24298 if test "$wxUSE_LIBPNG" = "builtin" ; then
24299 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24302 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24303 DISTDIR
="wx\$(TOOLKIT)"
24309 if test "$USE_WIN32" = 1 ; then
24310 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24311 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24315 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24316 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24319 ALL_SOURCES
="\$(ALL_SOURCES)"
24320 ALL_HEADERS
="\$(ALL_HEADERS)"
24322 PORT_FILES
="\${top_srcdir}/src/files.lst"
24324 GUIDIST
="BASE_DIST"
24334 if test "$TOOLKIT" != "MSW" ; then
24336 if test "$wxUSE_ODBC" != "no" ; then
24337 cat >>confdefs.h
<<\_ACEOF
24338 #define wxUSE_ODBC 1
24341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24343 WXODBCFLAG
="-D_IODBC_"
24346 if test "$wxUSE_ODBC" = "sys" ; then
24348 if test "${ac_cv_header_sql_h+set}" = set; then
24349 echo "$as_me:$LINENO: checking for sql.h" >&5
24350 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24351 if test "${ac_cv_header_sql_h+set}" = set; then
24352 echo $ECHO_N "(cached) $ECHO_C" >&6
24354 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24355 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24357 # Is the header compilable?
24358 echo "$as_me:$LINENO: checking sql.h usability" >&5
24359 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24360 cat >conftest.
$ac_ext <<_ACEOF
24361 #line $LINENO "configure"
24364 cat confdefs.h
>>conftest.
$ac_ext
24365 cat >>conftest.
$ac_ext <<_ACEOF
24366 /* end confdefs.h. */
24367 $ac_includes_default
24370 rm -f conftest.
$ac_objext
24371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24372 (eval $ac_compile) 2>&5
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); } &&
24376 { ac_try
='test -s conftest.$ac_objext'
24377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24378 (eval $ac_try) 2>&5
24380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381 (exit $ac_status); }; }; then
24382 ac_header_compiler
=yes
24384 echo "$as_me: failed program was:" >&5
24385 sed 's/^/| /' conftest.
$ac_ext >&5
24387 ac_header_compiler
=no
24389 rm -f conftest.
$ac_objext conftest.
$ac_ext
24390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24391 echo "${ECHO_T}$ac_header_compiler" >&6
24393 # Is the header present?
24394 echo "$as_me:$LINENO: checking sql.h presence" >&5
24395 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24396 cat >conftest.
$ac_ext <<_ACEOF
24397 #line $LINENO "configure"
24400 cat confdefs.h
>>conftest.
$ac_ext
24401 cat >>conftest.
$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24406 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24408 grep -v '^ *+' conftest.er1
>conftest.err
24410 cat conftest.err
>&5
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); } >/dev
/null
; then
24413 if test -s conftest.err
; then
24414 ac_cpp_err
=$ac_c_preproc_warn_flag
24421 if test -z "$ac_cpp_err"; then
24422 ac_header_preproc
=yes
24424 echo "$as_me: failed program was:" >&5
24425 sed 's/^/| /' conftest.
$ac_ext >&5
24427 ac_header_preproc
=no
24429 rm -f conftest.err conftest.
$ac_ext
24430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24431 echo "${ECHO_T}$ac_header_preproc" >&6
24433 # So? What about this header?
24434 case $ac_header_compiler:$ac_header_preproc in
24436 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24437 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24438 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24439 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24442 ## ------------------------------------ ##
24443 ## Report this to bug-autoconf@gnu.org. ##
24444 ## ------------------------------------ ##
24447 sed "s/^/$as_me: WARNING: /" >&2
24450 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24451 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24452 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24453 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24454 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24455 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24458 ## ------------------------------------ ##
24459 ## Report this to bug-autoconf@gnu.org. ##
24460 ## ------------------------------------ ##
24463 sed "s/^/$as_me: WARNING: /" >&2
24466 echo "$as_me:$LINENO: checking for sql.h" >&5
24467 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24468 if test "${ac_cv_header_sql_h+set}" = set; then
24469 echo $ECHO_N "(cached) $ECHO_C" >&6
24471 ac_cv_header_sql_h
=$ac_header_preproc
24473 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24474 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24479 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24480 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24481 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24482 echo $ECHO_N "(cached) $ECHO_C" >&6
24484 ac_func_search_save_LIBS
=$LIBS
24485 ac_cv_search_SQLAllocEnv
=no
24486 cat >conftest.
$ac_ext <<_ACEOF
24487 #line $LINENO "configure"
24490 cat confdefs.h
>>conftest.
$ac_ext
24491 cat >>conftest.
$ac_ext <<_ACEOF
24492 /* end confdefs.h. */
24494 /* Override any gcc2 internal prototype to avoid an error. */
24498 /* We use char because int might match the return type of a gcc2
24499 builtin and then its argument prototype would still apply. */
24500 char SQLAllocEnv ();
24509 rm -f conftest.
$ac_objext conftest
$ac_exeext
24510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24511 (eval $ac_link) 2>&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } &&
24515 { ac_try
='test -s conftest$ac_exeext'
24516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517 (eval $ac_try) 2>&5
24519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520 (exit $ac_status); }; }; then
24521 ac_cv_search_SQLAllocEnv
="none required"
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.
$ac_ext >&5
24527 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24528 if test "$ac_cv_search_SQLAllocEnv" = no
; then
24529 for ac_lib
in iodbc unixodbc odbc
; do
24530 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24531 cat >conftest.
$ac_ext <<_ACEOF
24532 #line $LINENO "configure"
24535 cat confdefs.h
>>conftest.
$ac_ext
24536 cat >>conftest.
$ac_ext <<_ACEOF
24537 /* end confdefs.h. */
24539 /* Override any gcc2 internal prototype to avoid an error. */
24543 /* We use char because int might match the return type of a gcc2
24544 builtin and then its argument prototype would still apply. */
24545 char SQLAllocEnv ();
24554 rm -f conftest.
$ac_objext conftest
$ac_exeext
24555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24556 (eval $ac_link) 2>&5
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); } &&
24560 { ac_try
='test -s conftest$ac_exeext'
24561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24562 (eval $ac_try) 2>&5
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); }; }; then
24566 ac_cv_search_SQLAllocEnv
="-l$ac_lib"
24569 echo "$as_me: failed program was:" >&5
24570 sed 's/^/| /' conftest.
$ac_ext >&5
24573 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24576 LIBS
=$ac_func_search_save_LIBS
24578 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24579 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24580 if test "$ac_cv_search_SQLAllocEnv" != no
; then
24581 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS
="$ac_cv_search_SQLAllocEnv $LIBS"
24585 wxUSE_ODBC
=builtin;
24586 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24587 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24592 if test "$wxUSE_ODBC" != "sys" ; then
24593 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
24600 if test "$wxUSE_REGEX" = "builtin" ; then
24601 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24603 if test "$wxUSE_ZLIB" = "builtin" ; then
24604 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24609 if test "$wxUSE_OPENGL" = "yes"; then
24610 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24611 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24612 elif test "$wxUSE_MSW" = 1; then
24613 OPENGL_LIBS
="-lopengl32 -lglu32"
24618 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24620 if test -f "$ac_dir/GL/gl.h"; then
24621 ac_find_includes
=$ac_dir
24626 if test "$ac_find_includes" != "" ; then
24627 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24628 echo "${ECHO_T}found in $ac_find_includes" >&6
24631 if test "x$ac_find_includes" = "x/usr/include"; then
24632 ac_path_to_include
=""
24634 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24636 if test $result = 0; then
24637 ac_path_to_include
=""
24639 ac_path_to_include
=" -I$ac_find_includes"
24643 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24647 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24648 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24649 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24650 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24651 echo $ECHO_N "(cached) $ECHO_C" >&6
24653 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24654 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24656 # Is the header compilable?
24657 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24658 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24659 cat >conftest.
$ac_ext <<_ACEOF
24660 #line $LINENO "configure"
24663 cat confdefs.h
>>conftest.
$ac_ext
24664 cat >>conftest.
$ac_ext <<_ACEOF
24665 /* end confdefs.h. */
24666 $ac_includes_default
24669 rm -f conftest.
$ac_objext
24670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24671 (eval $ac_compile) 2>&5
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); } &&
24675 { ac_try
='test -s conftest.$ac_objext'
24676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677 (eval $ac_try) 2>&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); }; }; then
24681 ac_header_compiler
=yes
24683 echo "$as_me: failed program was:" >&5
24684 sed 's/^/| /' conftest.
$ac_ext >&5
24686 ac_header_compiler
=no
24688 rm -f conftest.
$ac_objext conftest.
$ac_ext
24689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24690 echo "${ECHO_T}$ac_header_compiler" >&6
24692 # Is the header present?
24693 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24694 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24695 cat >conftest.
$ac_ext <<_ACEOF
24696 #line $LINENO "configure"
24699 cat confdefs.h
>>conftest.
$ac_ext
24700 cat >>conftest.
$ac_ext <<_ACEOF
24701 /* end confdefs.h. */
24704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24705 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24707 grep -v '^ *+' conftest.er1
>conftest.err
24709 cat conftest.err
>&5
24710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 (exit $ac_status); } >/dev
/null
; then
24712 if test -s conftest.err
; then
24713 ac_cpp_err
=$ac_c_preproc_warn_flag
24720 if test -z "$ac_cpp_err"; then
24721 ac_header_preproc
=yes
24723 echo "$as_me: failed program was:" >&5
24724 sed 's/^/| /' conftest.
$ac_ext >&5
24726 ac_header_preproc
=no
24728 rm -f conftest.err conftest.
$ac_ext
24729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24730 echo "${ECHO_T}$ac_header_preproc" >&6
24732 # So? What about this header?
24733 case $ac_header_compiler:$ac_header_preproc in
24735 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24736 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24737 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24738 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24741 ## ------------------------------------ ##
24742 ## Report this to bug-autoconf@gnu.org. ##
24743 ## ------------------------------------ ##
24746 sed "s/^/$as_me: WARNING: /" >&2
24749 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24750 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24751 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24752 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24753 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24754 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24757 ## ------------------------------------ ##
24758 ## Report this to bug-autoconf@gnu.org. ##
24759 ## ------------------------------------ ##
24762 sed "s/^/$as_me: WARNING: /" >&2
24765 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24766 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24767 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24770 ac_cv_header_GL_gl_h
=$ac_header_preproc
24772 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24773 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24776 if test $ac_cv_header_GL_gl_h = yes; then
24780 echo "$as_me:$LINENO: checking for -lGL" >&5
24781 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24784 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24786 for ac_extension
in a so sl dylib
; do
24787 if test -f "$ac_dir/libGL.$ac_extension"; then
24788 ac_find_libraries
=$ac_dir
24794 if test "$ac_find_libraries" != "" ; then
24796 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24798 if test $result = 0; then
24801 ac_path_to_link
=" -L$ac_find_libraries"
24804 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24805 LDFLAGS_GL
="$ac_path_to_link"
24810 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24812 for ac_extension
in a so sl dylib
; do
24813 if test -f "$ac_dir/libGLU.$ac_extension"; then
24814 ac_find_libraries
=$ac_dir
24820 if test "$ac_find_libraries" != "" ; then
24822 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24824 if test $result = 0; then
24827 ac_path_to_link
=" -L$ac_find_libraries"
24830 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24831 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24832 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24836 OPENGL_LIBS
="-lGL -lGLU"
24837 echo "$as_me:$LINENO: result: yes" >&5
24838 echo "${ECHO_T}yes" >&6
24842 if "$found_gl" != 1; then
24843 echo "$as_me:$LINENO: result: no" >&5
24844 echo "${ECHO_T}no" >&6
24845 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24846 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24849 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24851 for ac_extension
in a so sl dylib
; do
24852 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24853 ac_find_libraries
=$ac_dir
24859 if test "$ac_find_libraries" != "" ; then
24861 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24863 if test $result = 0; then
24866 ac_path_to_link
=" -L$ac_find_libraries"
24869 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24870 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24871 echo "$as_me:$LINENO: result: yes" >&5
24872 echo "${ECHO_T}yes" >&6
24874 echo "$as_me:$LINENO: result: no" >&5
24875 echo "${ECHO_T}no" >&6
24883 if test "x$OPENGL_LIBS" = "x"; then
24884 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24885 echo "$as_me: error: OpenGL libraries not available" >&2;}
24886 { (exit 1); exit 1; }; }
24890 if test "$wxUSE_OPENGL" = "yes"; then
24892 cat >>confdefs.h
<<\_ACEOF
24893 #define wxUSE_OPENGL 1
24896 cat >>confdefs.h
<<\_ACEOF
24897 #define wxUSE_GLCANVAS 1
24900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
24904 if test -z "$TOOLKIT_VPATH" ; then
24905 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
24908 if test -n "$TOOLKIT" ; then
24909 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24913 lib_unicode_suffix
=
24914 if test "$wxUSE_UNICODE" = "yes"; then
24915 lib_unicode_suffix
=u
24921 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24926 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24928 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24929 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24931 if test "$cross_compiling" = "yes"; then
24932 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
24933 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
24934 HOST_SUFFIX
="-${host_alias}"
24937 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
24938 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
24939 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24941 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24942 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24944 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24945 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24946 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24947 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24950 *-*-cygwin* | *-*-mingw32* )
24951 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24952 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24957 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24958 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24960 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24961 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24962 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24963 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24965 if test "$wxUSE_MAC" = 1; then
24966 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24967 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24972 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
24973 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
24975 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
24976 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
24978 if test "$wxUSE_OPENGL" = "yes"; then
24979 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24980 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24985 if test "$wxUSE_SHARED" = "yes"; then
24987 *-pc-os2_emx | *-pc-os2-emx | \
24990 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24991 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24997 if test "$wxUSE_SHARED" = "yes"; then
25001 found_versioning
=no
25004 if test $found_versioning = no
; then
25005 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25006 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25007 if test "${wx_cv_version_script+set}" = set; then
25008 echo $ECHO_N "(cached) $ECHO_C" >&6
25011 echo "VER_1 { *; };" >conftest.sym
25012 echo "int main() { return 0; }" >conftest.cpp
25015 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25016 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25018 (eval $ac_try) 2>&5
25020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25021 (exit $ac_status); }; } ; then
25022 if test -s conftest.stderr
; then
25023 wx_cv_version_script
=no
25025 wx_cv_version_script
=yes
25028 wx_cv_version_script
=no
25030 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25033 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25034 echo "${ECHO_T}$wx_cv_version_script" >&6
25035 if test $wx_cv_version_script = yes ; then
25036 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25042 *-*-linux* | *-*-gnu* )
25043 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25047 if test "$GCC" = yes ; then
25048 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25050 saveLdflags
="$LDFLAGS"
25051 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25052 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25053 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25054 cat >conftest.
$ac_ext <<_ACEOF
25055 #line $LINENO "configure"
25058 cat confdefs.h
>>conftest.
$ac_ext
25059 cat >>conftest.
$ac_ext <<_ACEOF
25060 /* end confdefs.h. */
25070 rm -f conftest.
$ac_objext conftest
$ac_exeext
25071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25072 (eval $ac_link) 2>&5
25074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075 (exit $ac_status); } &&
25076 { ac_try
='test -s conftest$ac_exeext'
25077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25078 (eval $ac_try) 2>&5
25080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081 (exit $ac_status); }; }; then
25083 echo "$as_me:$LINENO: result: yes" >&5
25084 echo "${ECHO_T}yes" >&6
25085 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25088 echo "$as_me: failed program was:" >&5
25089 sed 's/^/| /' conftest.
$ac_ext >&5
25092 echo "$as_me:$LINENO: result: no" >&5
25093 echo "${ECHO_T}no" >&6
25094 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25095 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25096 LDFLAGS
="$saveLdflags -Wl,-R,/"
25097 cat >conftest.
$ac_ext <<_ACEOF
25098 #line $LINENO "configure"
25101 cat confdefs.h
>>conftest.
$ac_ext
25102 cat >>conftest.
$ac_ext <<_ACEOF
25103 /* end confdefs.h. */
25113 rm -f conftest.
$ac_objext conftest
$ac_exeext
25114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25115 (eval $ac_link) 2>&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } &&
25119 { ac_try
='test -s conftest$ac_exeext'
25120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25121 (eval $ac_try) 2>&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); }; }; then
25126 echo "$as_me:$LINENO: result: yes" >&5
25127 echo "${ECHO_T}yes" >&6
25128 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25130 echo "$as_me: failed program was:" >&5
25131 sed 's/^/| /' conftest.
$ac_ext >&5
25134 echo "$as_me:$LINENO: result: no" >&5
25135 echo "${ECHO_T}no" >&6
25138 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25141 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25142 LDFLAGS
="$saveLdflags"
25144 SHARED_LD
="${CXX} -G -o"
25146 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25151 if test "x$WX_TARGET_LIBRARY" = "x"; then
25152 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25153 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25156 WX_TARGET_LIBRARY_TYPE
="so"
25157 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25160 if test "$wxUSE_SHARED" = "no"; then
25162 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25163 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25166 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25167 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25170 if test "$wxUSE_OPENGL" = "yes"; then
25171 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25172 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25174 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25177 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25178 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25180 WX_TARGET_LIBRARY_TYPE
="a"
25181 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25191 if test "$wxUSE_MAC" = 1; then
25192 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25193 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25194 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25195 # Extract the first word of "Rez", so it can be a program name with args.
25196 set dummy Rez
; ac_word
=$2
25197 echo "$as_me:$LINENO: checking for $ac_word" >&5
25198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25199 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25200 echo $ECHO_N "(cached) $ECHO_C" >&6
25202 if test -n "$RESCOMP"; then
25203 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25206 for as_dir
in $PATH
25209 test -z "$as_dir" && as_dir
=.
25210 for ac_exec_ext
in '' $ac_executable_extensions; do
25211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25212 ac_cv_prog_RESCOMP
="Rez"
25213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25219 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25222 RESCOMP
=$ac_cv_prog_RESCOMP
25223 if test -n "$RESCOMP"; then
25224 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25225 echo "${ECHO_T}$RESCOMP" >&6
25227 echo "$as_me:$LINENO: result: no" >&5
25228 echo "${ECHO_T}no" >&6
25231 # Extract the first word of "DeRez", so it can be a program name with args.
25232 set dummy DeRez
; ac_word
=$2
25233 echo "$as_me:$LINENO: checking for $ac_word" >&5
25234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25235 if test "${ac_cv_prog_DEREZ+set}" = set; then
25236 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 if test -n "$DEREZ"; then
25239 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25242 for as_dir
in $PATH
25245 test -z "$as_dir" && as_dir
=.
25246 for ac_exec_ext
in '' $ac_executable_extensions; do
25247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25248 ac_cv_prog_DEREZ
="DeRez"
25249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25255 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25258 DEREZ
=$ac_cv_prog_DEREZ
25259 if test -n "$DEREZ"; then
25260 echo "$as_me:$LINENO: result: $DEREZ" >&5
25261 echo "${ECHO_T}$DEREZ" >&6
25263 echo "$as_me:$LINENO: result: no" >&5
25264 echo "${ECHO_T}no" >&6
25267 # Extract the first word of "SetFile", so it can be a program name with args.
25268 set dummy SetFile
; ac_word
=$2
25269 echo "$as_me:$LINENO: checking for $ac_word" >&5
25270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25271 if test "${ac_cv_prog_SETFILE+set}" = set; then
25272 echo $ECHO_N "(cached) $ECHO_C" >&6
25274 if test -n "$SETFILE"; then
25275 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25278 for as_dir
in $PATH
25281 test -z "$as_dir" && as_dir
=.
25282 for ac_exec_ext
in '' $ac_executable_extensions; do
25283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25284 ac_cv_prog_SETFILE
="SetFile"
25285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25291 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25294 SETFILE
=$ac_cv_prog_SETFILE
25295 if test -n "$SETFILE"; then
25296 echo "$as_me:$LINENO: result: $SETFILE" >&5
25297 echo "${ECHO_T}$SETFILE" >&6
25299 echo "$as_me:$LINENO: result: no" >&5
25300 echo "${ECHO_T}no" >&6
25303 MACOSX_BUNDLE
="bundle"
25304 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25305 MACSETFILE
="\$(SETFILE)"
25306 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25307 elif test "$wxUSE_COCOA" = 1; then
25308 # Extract the first word of "Rez", so it can be a program name with args.
25309 set dummy Rez
; ac_word
=$2
25310 echo "$as_me:$LINENO: checking for $ac_word" >&5
25311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25312 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25315 if test -n "$RESCOMP"; then
25316 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25319 for as_dir
in $PATH
25322 test -z "$as_dir" && as_dir
=.
25323 for ac_exec_ext
in '' $ac_executable_extensions; do
25324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25325 ac_cv_prog_RESCOMP
="Rez"
25326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25332 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25335 RESCOMP
=$ac_cv_prog_RESCOMP
25336 if test -n "$RESCOMP"; then
25337 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25338 echo "${ECHO_T}$RESCOMP" >&6
25340 echo "$as_me:$LINENO: result: no" >&5
25341 echo "${ECHO_T}no" >&6
25344 # Extract the first word of "DeRez", so it can be a program name with args.
25345 set dummy DeRez
; ac_word
=$2
25346 echo "$as_me:$LINENO: checking for $ac_word" >&5
25347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25348 if test "${ac_cv_prog_DEREZ+set}" = set; then
25349 echo $ECHO_N "(cached) $ECHO_C" >&6
25351 if test -n "$DEREZ"; then
25352 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25355 for as_dir
in $PATH
25358 test -z "$as_dir" && as_dir
=.
25359 for ac_exec_ext
in '' $ac_executable_extensions; do
25360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25361 ac_cv_prog_DEREZ
="DeRez"
25362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25368 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25371 DEREZ
=$ac_cv_prog_DEREZ
25372 if test -n "$DEREZ"; then
25373 echo "$as_me:$LINENO: result: $DEREZ" >&5
25374 echo "${ECHO_T}$DEREZ" >&6
25376 echo "$as_me:$LINENO: result: no" >&5
25377 echo "${ECHO_T}no" >&6
25380 # Extract the first word of "SetFile", so it can be a program name with args.
25381 set dummy SetFile
; ac_word
=$2
25382 echo "$as_me:$LINENO: checking for $ac_word" >&5
25383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25384 if test "${ac_cv_prog_SETFILE+set}" = set; then
25385 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 if test -n "$SETFILE"; then
25388 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25391 for as_dir
in $PATH
25394 test -z "$as_dir" && as_dir
=.
25395 for ac_exec_ext
in '' $ac_executable_extensions; do
25396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25397 ac_cv_prog_SETFILE
="SetFile"
25398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25404 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25407 SETFILE
=$ac_cv_prog_SETFILE
25408 if test -n "$SETFILE"; then
25409 echo "$as_me:$LINENO: result: $SETFILE" >&5
25410 echo "${ECHO_T}$SETFILE" >&6
25412 echo "$as_me:$LINENO: result: no" >&5
25413 echo "${ECHO_T}no" >&6
25416 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25417 MACSETFILE
="\$(SETFILE)"
25418 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25420 if test "$wxUSE_PM" = 1; then
25421 MACRESCOMP
="emxbind -ep"
25426 echo "$as_me:$LINENO: checking for mode_t" >&5
25427 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25428 if test "${ac_cv_type_mode_t+set}" = set; then
25429 echo $ECHO_N "(cached) $ECHO_C" >&6
25431 cat >conftest.
$ac_ext <<_ACEOF
25432 #line $LINENO "configure"
25435 cat confdefs.h
>>conftest.
$ac_ext
25436 cat >>conftest.
$ac_ext <<_ACEOF
25437 /* end confdefs.h. */
25438 $ac_includes_default
25444 if (sizeof (mode_t))
25450 rm -f conftest.
$ac_objext
25451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25452 (eval $ac_compile) 2>&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } &&
25456 { ac_try
='test -s conftest.$ac_objext'
25457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25458 (eval $ac_try) 2>&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); }; }; then
25462 ac_cv_type_mode_t
=yes
25464 echo "$as_me: failed program was:" >&5
25465 sed 's/^/| /' conftest.
$ac_ext >&5
25467 ac_cv_type_mode_t
=no
25469 rm -f conftest.
$ac_objext conftest.
$ac_ext
25471 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25472 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25473 if test $ac_cv_type_mode_t = yes; then
25477 cat >>confdefs.h
<<_ACEOF
25483 echo "$as_me:$LINENO: checking for off_t" >&5
25484 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25485 if test "${ac_cv_type_off_t+set}" = set; then
25486 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 cat >conftest.
$ac_ext <<_ACEOF
25489 #line $LINENO "configure"
25492 cat confdefs.h
>>conftest.
$ac_ext
25493 cat >>conftest.
$ac_ext <<_ACEOF
25494 /* end confdefs.h. */
25495 $ac_includes_default
25501 if (sizeof (off_t))
25507 rm -f conftest.
$ac_objext
25508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25509 (eval $ac_compile) 2>&5
25511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25512 (exit $ac_status); } &&
25513 { ac_try
='test -s conftest.$ac_objext'
25514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25515 (eval $ac_try) 2>&5
25517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25518 (exit $ac_status); }; }; then
25519 ac_cv_type_off_t
=yes
25521 echo "$as_me: failed program was:" >&5
25522 sed 's/^/| /' conftest.
$ac_ext >&5
25524 ac_cv_type_off_t
=no
25526 rm -f conftest.
$ac_objext conftest.
$ac_ext
25528 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25529 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25530 if test $ac_cv_type_off_t = yes; then
25534 cat >>confdefs.h
<<_ACEOF
25540 echo "$as_me:$LINENO: checking for pid_t" >&5
25541 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25542 if test "${ac_cv_type_pid_t+set}" = set; then
25543 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 cat >conftest.
$ac_ext <<_ACEOF
25546 #line $LINENO "configure"
25549 cat confdefs.h
>>conftest.
$ac_ext
25550 cat >>conftest.
$ac_ext <<_ACEOF
25551 /* end confdefs.h. */
25552 $ac_includes_default
25558 if (sizeof (pid_t))
25564 rm -f conftest.
$ac_objext
25565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25566 (eval $ac_compile) 2>&5
25568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25569 (exit $ac_status); } &&
25570 { ac_try
='test -s conftest.$ac_objext'
25571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25572 (eval $ac_try) 2>&5
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); }; }; then
25576 ac_cv_type_pid_t
=yes
25578 echo "$as_me: failed program was:" >&5
25579 sed 's/^/| /' conftest.
$ac_ext >&5
25581 ac_cv_type_pid_t
=no
25583 rm -f conftest.
$ac_objext conftest.
$ac_ext
25585 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25586 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25587 if test $ac_cv_type_pid_t = yes; then
25591 cat >>confdefs.h
<<_ACEOF
25597 echo "$as_me:$LINENO: checking for size_t" >&5
25598 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25599 if test "${ac_cv_type_size_t+set}" = set; then
25600 echo $ECHO_N "(cached) $ECHO_C" >&6
25602 cat >conftest.
$ac_ext <<_ACEOF
25603 #line $LINENO "configure"
25606 cat confdefs.h
>>conftest.
$ac_ext
25607 cat >>conftest.
$ac_ext <<_ACEOF
25608 /* end confdefs.h. */
25609 $ac_includes_default
25615 if (sizeof (size_t))
25621 rm -f conftest.
$ac_objext
25622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25623 (eval $ac_compile) 2>&5
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); } &&
25627 { ac_try
='test -s conftest.$ac_objext'
25628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25629 (eval $ac_try) 2>&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); }; }; then
25633 ac_cv_type_size_t
=yes
25635 echo "$as_me: failed program was:" >&5
25636 sed 's/^/| /' conftest.
$ac_ext >&5
25638 ac_cv_type_size_t
=no
25640 rm -f conftest.
$ac_objext conftest.
$ac_ext
25642 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25643 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25644 if test $ac_cv_type_size_t = yes; then
25648 cat >>confdefs.h
<<_ACEOF
25649 #define size_t unsigned
25654 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25655 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25656 if test "${ac_cv_type_uid_t+set}" = set; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25659 cat >conftest.
$ac_ext <<_ACEOF
25660 #line $LINENO "configure"
25663 cat confdefs.h
>>conftest.
$ac_ext
25664 cat >>conftest.
$ac_ext <<_ACEOF
25665 /* end confdefs.h. */
25666 #include <sys/types.h>
25669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25670 $EGREP "uid_t" >/dev
/null
2>&1; then
25671 ac_cv_type_uid_t
=yes
25673 ac_cv_type_uid_t
=no
25678 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25679 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25680 if test $ac_cv_type_uid_t = no
; then
25682 cat >>confdefs.h
<<\_ACEOF
25687 cat >>confdefs.h
<<\_ACEOF
25697 ac_cpp
='$CXXCPP $CPPFLAGS'
25698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25702 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25703 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25704 if test "${wx_cv_size_t_is_uint+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25708 cat >conftest.
$ac_ext <<_ACEOF
25709 #line $LINENO "configure"
25712 cat confdefs.h
>>conftest.
$ac_ext
25713 cat >>conftest.
$ac_ext <<_ACEOF
25714 /* end confdefs.h. */
25715 #include <stddef.h>
25722 struct Foo { void foo(size_t); void foo(unsigned int); };
25730 rm -f conftest.
$ac_objext
25731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25732 (eval $ac_compile) 2>&5
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); } &&
25736 { ac_try
='test -s conftest.$ac_objext'
25737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25738 (eval $ac_try) 2>&5
25740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741 (exit $ac_status); }; }; then
25742 wx_cv_size_t_is_uint
=no
25744 echo "$as_me: failed program was:" >&5
25745 sed 's/^/| /' conftest.
$ac_ext >&5
25747 wx_cv_size_t_is_uint
=yes
25750 rm -f conftest.
$ac_objext conftest.
$ac_ext
25754 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25755 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25757 if test "$wx_cv_size_t_is_uint" = "yes"; then
25758 cat >>confdefs.h
<<\_ACEOF
25759 #define wxSIZE_T_IS_UINT 1
25763 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25764 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25765 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25766 echo $ECHO_N "(cached) $ECHO_C" >&6
25768 cat >conftest.
$ac_ext <<_ACEOF
25769 #line $LINENO "configure"
25772 cat confdefs.h
>>conftest.
$ac_ext
25773 cat >>conftest.
$ac_ext <<_ACEOF
25774 /* end confdefs.h. */
25775 #include <stddef.h>
25782 struct Foo { void foo(size_t); void foo(unsigned long); };
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 wx_cv_size_t_is_ulong
=no
25804 echo "$as_me: failed program was:" >&5
25805 sed 's/^/| /' conftest.
$ac_ext >&5
25807 wx_cv_size_t_is_ulong
=yes
25810 rm -f conftest.
$ac_objext conftest.
$ac_ext
25813 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25814 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25816 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25817 cat >>confdefs.h
<<\_ACEOF
25818 #define wxSIZE_T_IS_ULONG 1
25825 ac_cpp
='$CPP $CPPFLAGS'
25826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25832 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25833 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25834 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25835 echo $ECHO_N "(cached) $ECHO_C" >&6
25838 cat >conftest.
$ac_ext <<_ACEOF
25839 #line $LINENO "configure"
25842 cat confdefs.h
>>conftest.
$ac_ext
25843 cat >>conftest.
$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25858 rm -f conftest.
$ac_objext
25859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25860 (eval $ac_compile) 2>&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); } &&
25864 { ac_try
='test -s conftest.$ac_objext'
25865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866 (eval $ac_try) 2>&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); }; }; then
25871 wx_cv_struct_pw_gecos
=yes
25874 echo "$as_me: failed program was:" >&5
25875 sed 's/^/| /' conftest.
$ac_ext >&5
25878 wx_cv_struct_pw_gecos
=no
25882 rm -f conftest.
$ac_objext conftest.
$ac_ext
25886 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25887 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25889 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25890 cat >>confdefs.h
<<\_ACEOF
25891 #define HAVE_PW_GECOS 1
25897 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25898 cat >>confdefs.h
<<\_ACEOF
25899 #define wxUSE_WCHAR_T 1
25906 for ac_func
in wcslen
25908 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25909 echo "$as_me:$LINENO: checking for $ac_func" >&5
25910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25911 if eval "test \"\${$as_ac_var+set}\" = set"; then
25912 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 cat >conftest.
$ac_ext <<_ACEOF
25915 #line $LINENO "configure"
25918 cat confdefs.h
>>conftest.
$ac_ext
25919 cat >>conftest.
$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25921 /* System header to define __stub macros and hopefully few prototypes,
25922 which can conflict with char $ac_func (); below.
25923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25924 <limits.h> exists even on freestanding compilers. */
25926 # include <limits.h>
25928 # include <assert.h>
25930 /* Override any gcc2 internal prototype to avoid an error. */
25935 /* We use char because int might match the return type of a gcc2
25936 builtin and then its argument prototype would still apply. */
25938 /* The GNU C library defines this for functions which it implements
25939 to always fail with ENOSYS. Some functions are actually named
25940 something starting with __ and the normal name is an alias. */
25941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25944 char (*f) () = $ac_func;
25953 return f != $ac_func;
25958 rm -f conftest.
$ac_objext conftest
$ac_exeext
25959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25960 (eval $ac_link) 2>&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); } &&
25964 { ac_try
='test -s conftest$ac_exeext'
25965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25966 (eval $ac_try) 2>&5
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); }; }; then
25970 eval "$as_ac_var=yes"
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.
$ac_ext >&5
25975 eval "$as_ac_var=no"
25977 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25981 if test `eval echo '${'$as_ac_var'}'` = yes; then
25982 cat >>confdefs.h
<<_ACEOF
25983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25990 if test "$WCSLEN_FOUND" = 0; then
25991 if test "$TOOLKIT" = "MSW"; then
25992 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25993 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25994 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 ac_check_lib_save_LIBS
=$LIBS
25998 LIBS
="-lmsvcrt $LIBS"
25999 cat >conftest.
$ac_ext <<_ACEOF
26000 #line $LINENO "configure"
26003 cat confdefs.h
>>conftest.
$ac_ext
26004 cat >>conftest.
$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26007 /* Override any gcc2 internal prototype to avoid an error. */
26011 /* We use char because int might match the return type of a gcc2
26012 builtin and then its argument prototype would still apply. */
26022 rm -f conftest.
$ac_objext conftest
$ac_exeext
26023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26024 (eval $ac_link) 2>&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } &&
26028 { ac_try
='test -s conftest$ac_exeext'
26029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26030 (eval $ac_try) 2>&5
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); }; }; then
26034 ac_cv_lib_msvcrt_wcslen
=yes
26036 echo "$as_me: failed program was:" >&5
26037 sed 's/^/| /' conftest.
$ac_ext >&5
26039 ac_cv_lib_msvcrt_wcslen
=no
26041 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26042 LIBS
=$ac_check_lib_save_LIBS
26044 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26045 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26046 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26051 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26052 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26053 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26054 echo $ECHO_N "(cached) $ECHO_C" >&6
26056 ac_check_lib_save_LIBS
=$LIBS
26058 cat >conftest.
$ac_ext <<_ACEOF
26059 #line $LINENO "configure"
26062 cat confdefs.h
>>conftest.
$ac_ext
26063 cat >>conftest.
$ac_ext <<_ACEOF
26064 /* end confdefs.h. */
26066 /* Override any gcc2 internal prototype to avoid an error. */
26070 /* We use char because int might match the return type of a gcc2
26071 builtin and then its argument prototype would still apply. */
26081 rm -f conftest.
$ac_objext conftest
$ac_exeext
26082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26083 (eval $ac_link) 2>&5
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); } &&
26087 { ac_try
='test -s conftest$ac_exeext'
26088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089 (eval $ac_try) 2>&5
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); }; }; then
26093 ac_cv_lib_w_wcslen
=yes
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.
$ac_ext >&5
26098 ac_cv_lib_w_wcslen
=no
26100 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26101 LIBS
=$ac_check_lib_save_LIBS
26103 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26104 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26105 if test $ac_cv_lib_w_wcslen = yes; then
26115 if test "$WCSLEN_FOUND" = 1; then
26116 cat >>confdefs.h
<<\_ACEOF
26117 #define HAVE_WCSLEN 1
26123 for ac_func
in wcsrtombs
26125 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26126 echo "$as_me:$LINENO: checking for $ac_func" >&5
26127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26128 if eval "test \"\${$as_ac_var+set}\" = set"; then
26129 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 cat >conftest.
$ac_ext <<_ACEOF
26132 #line $LINENO "configure"
26135 cat confdefs.h
>>conftest.
$ac_ext
26136 cat >>conftest.
$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26138 /* System header to define __stub macros and hopefully few prototypes,
26139 which can conflict with char $ac_func (); below.
26140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26141 <limits.h> exists even on freestanding compilers. */
26143 # include <limits.h>
26145 # include <assert.h>
26147 /* Override any gcc2 internal prototype to avoid an error. */
26152 /* We use char because int might match the return type of a gcc2
26153 builtin and then its argument prototype would still apply. */
26155 /* The GNU C library defines this for functions which it implements
26156 to always fail with ENOSYS. Some functions are actually named
26157 something starting with __ and the normal name is an alias. */
26158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26161 char (*f) () = $ac_func;
26170 return f != $ac_func;
26175 rm -f conftest.
$ac_objext conftest
$ac_exeext
26176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26177 (eval $ac_link) 2>&5
26179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26180 (exit $ac_status); } &&
26181 { ac_try
='test -s conftest$ac_exeext'
26182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26183 (eval $ac_try) 2>&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); }; }; then
26187 eval "$as_ac_var=yes"
26189 echo "$as_me: failed program was:" >&5
26190 sed 's/^/| /' conftest.
$ac_ext >&5
26192 eval "$as_ac_var=no"
26194 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26198 if test `eval echo '${'$as_ac_var'}'` = yes; then
26199 cat >>confdefs.h
<<_ACEOF
26200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26207 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26208 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26214 ac_cpp
='$CXXCPP $CPPFLAGS'
26215 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26221 for ac_func
in vsnprintf
26223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26224 echo "$as_me:$LINENO: checking for $ac_func" >&5
26225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26226 if eval "test \"\${$as_ac_var+set}\" = set"; then
26227 echo $ECHO_N "(cached) $ECHO_C" >&6
26229 cat >conftest.
$ac_ext <<_ACEOF
26230 #line $LINENO "configure"
26233 cat confdefs.h
>>conftest.
$ac_ext
26234 cat >>conftest.
$ac_ext <<_ACEOF
26235 /* end confdefs.h. */
26236 /* System header to define __stub macros and hopefully few prototypes,
26237 which can conflict with char $ac_func (); below.
26238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26239 <limits.h> exists even on freestanding compilers. */
26241 # include <limits.h>
26243 # include <assert.h>
26245 /* Override any gcc2 internal prototype to avoid an error. */
26250 /* We use char because int might match the return type of a gcc2
26251 builtin and then its argument prototype would still apply. */
26253 /* The GNU C library defines this for functions which it implements
26254 to always fail with ENOSYS. Some functions are actually named
26255 something starting with __ and the normal name is an alias. */
26256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26259 char (*f) () = $ac_func;
26268 return f != $ac_func;
26273 rm -f conftest.
$ac_objext conftest
$ac_exeext
26274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26275 (eval $ac_link) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); } &&
26279 { ac_try
='test -s conftest$ac_exeext'
26280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281 (eval $ac_try) 2>&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); }; }; then
26285 eval "$as_ac_var=yes"
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.
$ac_ext >&5
26290 eval "$as_ac_var=no"
26292 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26296 if test `eval echo '${'$as_ac_var'}'` = yes; then
26297 cat >>confdefs.h
<<_ACEOF
26298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26305 if test "$ac_cv_func_vsnprintf" = "yes"; then
26306 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26307 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26308 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26312 cat >conftest.
$ac_ext <<_ACEOF
26313 #line $LINENO "configure"
26316 cat confdefs.h
>>conftest.
$ac_ext
26317 cat >>conftest.
$ac_ext <<_ACEOF
26318 /* end confdefs.h. */
26321 #include <stdarg.h>
26329 vsnprintf(buf, 10u, "%s", ap);
26335 rm -f conftest.
$ac_objext
26336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26337 (eval $ac_compile) 2>&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); } &&
26341 { ac_try
='test -s conftest.$ac_objext'
26342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26343 (eval $ac_try) 2>&5
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); }; }; then
26347 wx_cv_func_vsnprintf_decl
=yes
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.
$ac_ext >&5
26352 wx_cv_func_vsnprintf_decl
=no
26355 rm -f conftest.
$ac_objext conftest.
$ac_ext
26359 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26360 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26362 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26363 cat >>confdefs.h
<<\_ACEOF
26364 #define HAVE_VSNPRINTF_DECL 1
26370 if test "$wxUSE_UNICODE" = yes; then
26374 for ac_func
in fputwc wprintf vswprintf
26376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26377 echo "$as_me:$LINENO: checking for $ac_func" >&5
26378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26379 if eval "test \"\${$as_ac_var+set}\" = set"; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26382 cat >conftest.
$ac_ext <<_ACEOF
26383 #line $LINENO "configure"
26386 cat confdefs.h
>>conftest.
$ac_ext
26387 cat >>conftest.
$ac_ext <<_ACEOF
26388 /* end confdefs.h. */
26389 /* System header to define __stub macros and hopefully few prototypes,
26390 which can conflict with char $ac_func (); below.
26391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26392 <limits.h> exists even on freestanding compilers. */
26394 # include <limits.h>
26396 # include <assert.h>
26398 /* Override any gcc2 internal prototype to avoid an error. */
26403 /* We use char because int might match the return type of a gcc2
26404 builtin and then its argument prototype would still apply. */
26406 /* The GNU C library defines this for functions which it implements
26407 to always fail with ENOSYS. Some functions are actually named
26408 something starting with __ and the normal name is an alias. */
26409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26412 char (*f) () = $ac_func;
26421 return f != $ac_func;
26426 rm -f conftest.
$ac_objext conftest
$ac_exeext
26427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26428 (eval $ac_link) 2>&5
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); } &&
26432 { ac_try
='test -s conftest$ac_exeext'
26433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26434 (eval $ac_try) 2>&5
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); }; }; then
26438 eval "$as_ac_var=yes"
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.
$ac_ext >&5
26443 eval "$as_ac_var=no"
26445 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26449 if test `eval echo '${'$as_ac_var'}'` = yes; then
26450 cat >>confdefs.h
<<_ACEOF
26451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26458 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26459 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26460 cat >conftest.
$ac_ext <<_ACEOF
26461 #line $LINENO "configure"
26464 cat confdefs.h
>>conftest.
$ac_ext
26465 cat >>conftest.
$ac_ext <<_ACEOF
26466 /* end confdefs.h. */
26476 rm -f conftest.
$ac_objext
26477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26478 (eval $ac_compile) 2>&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } &&
26482 { ac_try
='test -s conftest.$ac_objext'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; }; then
26488 echo "$as_me:$LINENO: result: yes" >&5
26489 echo "${ECHO_T}yes" >&6
26490 cat >>confdefs.h
<<\_ACEOF
26491 #define HAVE__VSNWPRINTF 1
26495 echo "$as_me: failed program was:" >&5
26496 sed 's/^/| /' conftest.
$ac_ext >&5
26498 echo "$as_me:$LINENO: result: no" >&5
26499 echo "${ECHO_T}no" >&6
26501 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26505 ac_cpp
='$CPP $CPPFLAGS'
26506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26513 if test "$TOOLKIT" != "MSW"; then
26519 ac_cpp
='$CXXCPP $CPPFLAGS'
26520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26527 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26528 if test "${with_libiconv_prefix+set}" = set; then
26529 withval
="$with_libiconv_prefix"
26531 for dir
in `echo "$withval" | tr : ' '`; do
26532 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26533 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26538 echo "$as_me:$LINENO: checking for iconv" >&5
26539 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26540 if test "${am_cv_func_iconv+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26544 am_cv_func_iconv
="no, consider installing GNU libiconv"
26546 cat >conftest.
$ac_ext <<_ACEOF
26547 #line $LINENO "configure"
26550 cat confdefs.h
>>conftest.
$ac_ext
26551 cat >>conftest.
$ac_ext <<_ACEOF
26552 /* end confdefs.h. */
26553 #include <stdlib.h>
26558 iconv_t cd = iconv_open("","");
26559 iconv(cd,NULL,NULL,NULL,NULL);
26565 rm -f conftest.
$ac_objext conftest
$ac_exeext
26566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26567 (eval $ac_link) 2>&5
26569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26570 (exit $ac_status); } &&
26571 { ac_try
='test -s conftest$ac_exeext'
26572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26573 (eval $ac_try) 2>&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); }; }; then
26577 am_cv_func_iconv
=yes
26579 echo "$as_me: failed program was:" >&5
26580 sed 's/^/| /' conftest.
$ac_ext >&5
26583 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26584 if test "$am_cv_func_iconv" != yes; then
26585 am_save_LIBS
="$LIBS"
26586 LIBS
="$LIBS -liconv"
26587 cat >conftest.
$ac_ext <<_ACEOF
26588 #line $LINENO "configure"
26591 cat confdefs.h
>>conftest.
$ac_ext
26592 cat >>conftest.
$ac_ext <<_ACEOF
26593 /* end confdefs.h. */
26594 #include <stdlib.h>
26599 iconv_t cd = iconv_open("","");
26600 iconv(cd,NULL,NULL,NULL,NULL);
26606 rm -f conftest.
$ac_objext conftest
$ac_exeext
26607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26608 (eval $ac_link) 2>&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } &&
26612 { ac_try
='test -s conftest$ac_exeext'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; }; then
26618 am_cv_lib_iconv
=yes
26619 am_cv_func_iconv
=yes
26621 echo "$as_me: failed program was:" >&5
26622 sed 's/^/| /' conftest.
$ac_ext >&5
26625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26626 LIBS
="$am_save_LIBS"
26630 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26631 echo "${ECHO_T}$am_cv_func_iconv" >&6
26632 if test "$am_cv_func_iconv" = yes; then
26634 cat >>confdefs.h
<<\_ACEOF
26635 #define HAVE_ICONV 1
26638 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26639 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26640 if test "${wx_cv_func_iconv_const+set}" = set; then
26641 echo $ECHO_N "(cached) $ECHO_C" >&6
26643 cat >conftest.
$ac_ext <<_ACEOF
26644 #line $LINENO "configure"
26647 cat confdefs.h
>>conftest.
$ac_ext
26648 cat >>conftest.
$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26651 #include <stdlib.h>
26657 #if defined(__STDC__) || defined(__cplusplus)
26658 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26671 rm -f conftest.
$ac_objext
26672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26673 (eval $ac_compile) 2>&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try
='test -s conftest.$ac_objext'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; }; then
26683 wx_cv_func_iconv_const
="no"
26685 echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.
$ac_ext >&5
26688 wx_cv_func_iconv_const
="yes"
26691 rm -f conftest.
$ac_objext conftest.
$ac_ext
26694 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26695 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26698 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26699 iconv_const
="const"
26703 cat >>confdefs.h
<<_ACEOF
26704 #define ICONV_CONST $iconv_const
26709 if test "$am_cv_lib_iconv" = yes; then
26714 LIBS
="$LIBICONV $LIBS"
26716 ac_cpp
='$CPP $CPPFLAGS'
26717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26722 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26724 for ac_func
in sigaction
26726 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26727 echo "$as_me:$LINENO: checking for $ac_func" >&5
26728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26729 if eval "test \"\${$as_ac_var+set}\" = set"; then
26730 echo $ECHO_N "(cached) $ECHO_C" >&6
26732 cat >conftest.
$ac_ext <<_ACEOF
26733 #line $LINENO "configure"
26736 cat confdefs.h
>>conftest.
$ac_ext
26737 cat >>conftest.
$ac_ext <<_ACEOF
26738 /* end confdefs.h. */
26739 /* System header to define __stub macros and hopefully few prototypes,
26740 which can conflict with char $ac_func (); below.
26741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26742 <limits.h> exists even on freestanding compilers. */
26744 # include <limits.h>
26746 # include <assert.h>
26748 /* Override any gcc2 internal prototype to avoid an error. */
26753 /* We use char because int might match the return type of a gcc2
26754 builtin and then its argument prototype would still apply. */
26756 /* The GNU C library defines this for functions which it implements
26757 to always fail with ENOSYS. Some functions are actually named
26758 something starting with __ and the normal name is an alias. */
26759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26762 char (*f) () = $ac_func;
26771 return f != $ac_func;
26776 rm -f conftest.
$ac_objext conftest
$ac_exeext
26777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26778 (eval $ac_link) 2>&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } &&
26782 { ac_try
='test -s conftest$ac_exeext'
26783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26784 (eval $ac_try) 2>&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); }; }; then
26788 eval "$as_ac_var=yes"
26790 echo "$as_me: failed program was:" >&5
26791 sed 's/^/| /' conftest.
$ac_ext >&5
26793 eval "$as_ac_var=no"
26795 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26799 if test `eval echo '${'$as_ac_var'}'` = yes; then
26800 cat >>confdefs.h
<<_ACEOF
26801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26808 if test "$ac_cv_func_sigaction" = "no"; then
26809 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26810 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26811 wxUSE_ON_FATAL_EXCEPTION
=no
26814 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26818 ac_cpp
='$CXXCPP $CPPFLAGS'
26819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26824 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26825 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26826 if test "${wx_cv_type_sa_handler+set}" = set; then
26827 echo $ECHO_N "(cached) $ECHO_C" >&6
26830 cat >conftest.
$ac_ext <<_ACEOF
26831 #line $LINENO "configure"
26834 cat confdefs.h
>>conftest.
$ac_ext
26835 cat >>conftest.
$ac_ext <<_ACEOF
26836 /* end confdefs.h. */
26837 #include <signal.h>
26842 extern void testSigHandler(int);
26844 struct sigaction sa;
26845 sa.sa_handler = testSigHandler;
26851 rm -f conftest.
$ac_objext
26852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26853 (eval $ac_compile) 2>&5
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); } &&
26857 { ac_try
='test -s conftest.$ac_objext'
26858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26859 (eval $ac_try) 2>&5
26861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26862 (exit $ac_status); }; }; then
26864 wx_cv_type_sa_handler
=int
26867 echo "$as_me: failed program was:" >&5
26868 sed 's/^/| /' conftest.
$ac_ext >&5
26871 wx_cv_type_sa_handler
=void
26874 rm -f conftest.
$ac_objext conftest.
$ac_ext
26877 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26878 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26881 ac_cpp
='$CPP $CPPFLAGS'
26882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26887 cat >>confdefs.h
<<_ACEOF
26888 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26896 for ac_func
in mkstemp mktemp
26898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26899 echo "$as_me:$LINENO: checking for $ac_func" >&5
26900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26901 if eval "test \"\${$as_ac_var+set}\" = set"; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26904 cat >conftest.
$ac_ext <<_ACEOF
26905 #line $LINENO "configure"
26908 cat confdefs.h
>>conftest.
$ac_ext
26909 cat >>conftest.
$ac_ext <<_ACEOF
26910 /* end confdefs.h. */
26911 /* System header to define __stub macros and hopefully few prototypes,
26912 which can conflict with char $ac_func (); below.
26913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26914 <limits.h> exists even on freestanding compilers. */
26916 # include <limits.h>
26918 # include <assert.h>
26920 /* Override any gcc2 internal prototype to avoid an error. */
26925 /* We use char because int might match the return type of a gcc2
26926 builtin and then its argument prototype would still apply. */
26928 /* The GNU C library defines this for functions which it implements
26929 to always fail with ENOSYS. Some functions are actually named
26930 something starting with __ and the normal name is an alias. */
26931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26934 char (*f) () = $ac_func;
26943 return f != $ac_func;
26948 rm -f conftest.
$ac_objext conftest
$ac_exeext
26949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26950 (eval $ac_link) 2>&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); } &&
26954 { ac_try
='test -s conftest$ac_exeext'
26955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26956 (eval $ac_try) 2>&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); }; }; then
26960 eval "$as_ac_var=yes"
26962 echo "$as_me: failed program was:" >&5
26963 sed 's/^/| /' conftest.
$ac_ext >&5
26965 eval "$as_ac_var=no"
26967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26971 if test `eval echo '${'$as_ac_var'}'` = yes; then
26972 cat >>confdefs.h
<<_ACEOF
26973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26980 echo "$as_me:$LINENO: checking for statfs" >&5
26981 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26982 if test "${wx_cv_func_statfs+set}" = set; then
26983 echo $ECHO_N "(cached) $ECHO_C" >&6
26985 cat >conftest.
$ac_ext <<_ACEOF
26986 #line $LINENO "configure"
26989 cat confdefs.h
>>conftest.
$ac_ext
26990 cat >>conftest.
$ac_ext <<_ACEOF
26991 /* end confdefs.h. */
26993 #if defined(__BSD__)
26994 #include <sys/param.h>
26995 #include <sys/mount.h>
26997 #include <sys/vfs.h>
27015 rm -f conftest.
$ac_objext
27016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27017 (eval $ac_compile) 2>&5
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); } &&
27021 { ac_try
='test -s conftest.$ac_objext'
27022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27023 (eval $ac_try) 2>&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); }; }; then
27028 wx_cv_func_statfs
=yes
27031 echo "$as_me: failed program was:" >&5
27032 sed 's/^/| /' conftest.
$ac_ext >&5
27035 wx_cv_func_statfs
=no
27039 rm -f conftest.
$ac_objext conftest.
$ac_ext
27042 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27043 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27045 if test "$wx_cv_func_statfs" = "yes"; then
27046 wx_cv_type_statvfs_t
="struct statfs"
27047 cat >>confdefs.h
<<\_ACEOF
27048 #define HAVE_STATFS 1
27052 echo "$as_me:$LINENO: checking for statvfs" >&5
27053 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27054 if test "${wx_cv_func_statvfs+set}" = set; then
27055 echo $ECHO_N "(cached) $ECHO_C" >&6
27057 cat >conftest.
$ac_ext <<_ACEOF
27058 #line $LINENO "configure"
27061 cat confdefs.h
>>conftest.
$ac_ext
27062 cat >>conftest.
$ac_ext <<_ACEOF
27063 /* end confdefs.h. */
27065 #include <stddef.h>
27066 #include <sys/statvfs.h>
27072 statvfs("/", NULL);
27078 rm -f conftest.
$ac_objext
27079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27080 (eval $ac_compile) 2>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } &&
27084 { ac_try
='test -s conftest.$ac_objext'
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; }; then
27090 wx_cv_func_statvfs
=yes
27092 echo "$as_me: failed program was:" >&5
27093 sed 's/^/| /' conftest.
$ac_ext >&5
27095 wx_cv_func_statvfs
=no
27098 rm -f conftest.
$ac_objext conftest.
$ac_ext
27101 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27102 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27104 if test "$wx_cv_func_statvfs" = "yes"; then
27108 ac_cpp
='$CXXCPP $CPPFLAGS'
27109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27114 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27115 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27116 if test "${wx_cv_type_statvfs_t+set}" = set; then
27117 echo $ECHO_N "(cached) $ECHO_C" >&6
27119 cat >conftest.
$ac_ext <<_ACEOF
27120 #line $LINENO "configure"
27123 cat confdefs.h
>>conftest.
$ac_ext
27124 cat >>conftest.
$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27127 #include <sys/statvfs.h>
27144 rm -f conftest.
$ac_objext
27145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27146 (eval $ac_compile) 2>&5
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } &&
27150 { ac_try
='test -s conftest.$ac_objext'
27151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27152 (eval $ac_try) 2>&5
27154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27155 (exit $ac_status); }; }; then
27156 wx_cv_type_statvfs_t
=statvfs_t
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.
$ac_ext >&5
27162 cat >conftest.
$ac_ext <<_ACEOF
27163 #line $LINENO "configure"
27166 cat confdefs.h
>>conftest.
$ac_ext
27167 cat >>conftest.
$ac_ext <<_ACEOF
27168 /* end confdefs.h. */
27170 #include <sys/statvfs.h>
27187 rm -f conftest.
$ac_objext
27188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27189 (eval $ac_compile) 2>&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } &&
27193 { ac_try
='test -s conftest.$ac_objext'
27194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27195 (eval $ac_try) 2>&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); }; }; then
27199 wx_cv_type_statvfs_t
="struct statvfs"
27201 echo "$as_me: failed program was:" >&5
27202 sed 's/^/| /' conftest.
$ac_ext >&5
27204 wx_cv_type_statvfs_t
="unknown"
27207 rm -f conftest.
$ac_objext conftest.
$ac_ext
27211 rm -f conftest.
$ac_objext conftest.
$ac_ext
27214 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27215 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27218 ac_cpp
='$CPP $CPPFLAGS'
27219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27224 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27225 cat >>confdefs.h
<<\_ACEOF
27226 #define HAVE_STATVFS 1
27231 wx_cv_type_statvfs_t
="unknown"
27235 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27236 cat >>confdefs.h
<<_ACEOF
27237 #define WX_STATFS_T $wx_cv_type_statvfs_t
27241 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27242 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27245 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27248 for ac_func
in fcntl flock
27250 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27251 echo "$as_me:$LINENO: checking for $ac_func" >&5
27252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27253 if eval "test \"\${$as_ac_var+set}\" = set"; then
27254 echo $ECHO_N "(cached) $ECHO_C" >&6
27256 cat >conftest.
$ac_ext <<_ACEOF
27257 #line $LINENO "configure"
27260 cat confdefs.h
>>conftest.
$ac_ext
27261 cat >>conftest.
$ac_ext <<_ACEOF
27262 /* end confdefs.h. */
27263 /* System header to define __stub macros and hopefully few prototypes,
27264 which can conflict with char $ac_func (); below.
27265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27266 <limits.h> exists even on freestanding compilers. */
27268 # include <limits.h>
27270 # include <assert.h>
27272 /* Override any gcc2 internal prototype to avoid an error. */
27277 /* We use char because int might match the return type of a gcc2
27278 builtin and then its argument prototype would still apply. */
27280 /* The GNU C library defines this for functions which it implements
27281 to always fail with ENOSYS. Some functions are actually named
27282 something starting with __ and the normal name is an alias. */
27283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27286 char (*f) () = $ac_func;
27295 return f != $ac_func;
27300 rm -f conftest.
$ac_objext conftest
$ac_exeext
27301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27302 (eval $ac_link) 2>&5
27304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27305 (exit $ac_status); } &&
27306 { ac_try
='test -s conftest$ac_exeext'
27307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27308 (eval $ac_try) 2>&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); }; }; then
27312 eval "$as_ac_var=yes"
27314 echo "$as_me: failed program was:" >&5
27315 sed 's/^/| /' conftest.
$ac_ext >&5
27317 eval "$as_ac_var=no"
27319 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27323 if test `eval echo '${'$as_ac_var'}'` = yes; then
27324 cat >>confdefs.h
<<_ACEOF
27325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27332 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27333 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27334 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27335 wxUSE_SNGLINST_CHECKER
=no
27340 for ac_func
in timegm
27342 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27343 echo "$as_me:$LINENO: checking for $ac_func" >&5
27344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27345 if eval "test \"\${$as_ac_var+set}\" = set"; then
27346 echo $ECHO_N "(cached) $ECHO_C" >&6
27348 cat >conftest.
$ac_ext <<_ACEOF
27349 #line $LINENO "configure"
27352 cat confdefs.h
>>conftest.
$ac_ext
27353 cat >>conftest.
$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27355 /* System header to define __stub macros and hopefully few prototypes,
27356 which can conflict with char $ac_func (); below.
27357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27358 <limits.h> exists even on freestanding compilers. */
27360 # include <limits.h>
27362 # include <assert.h>
27364 /* Override any gcc2 internal prototype to avoid an error. */
27369 /* We use char because int might match the return type of a gcc2
27370 builtin and then its argument prototype would still apply. */
27372 /* The GNU C library defines this for functions which it implements
27373 to always fail with ENOSYS. Some functions are actually named
27374 something starting with __ and the normal name is an alias. */
27375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27378 char (*f) () = $ac_func;
27387 return f != $ac_func;
27392 rm -f conftest.
$ac_objext conftest
$ac_exeext
27393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27394 (eval $ac_link) 2>&5
27396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397 (exit $ac_status); } &&
27398 { ac_try
='test -s conftest$ac_exeext'
27399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400 (eval $ac_try) 2>&5
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); }; }; then
27404 eval "$as_ac_var=yes"
27406 echo "$as_me: failed program was:" >&5
27407 sed 's/^/| /' conftest.
$ac_ext >&5
27409 eval "$as_ac_var=no"
27411 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27415 if test `eval echo '${'$as_ac_var'}'` = yes; then
27416 cat >>confdefs.h
<<_ACEOF
27417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27426 for ac_func
in putenv setenv
27428 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27429 echo "$as_me:$LINENO: checking for $ac_func" >&5
27430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27431 if eval "test \"\${$as_ac_var+set}\" = set"; then
27432 echo $ECHO_N "(cached) $ECHO_C" >&6
27434 cat >conftest.
$ac_ext <<_ACEOF
27435 #line $LINENO "configure"
27438 cat confdefs.h
>>conftest.
$ac_ext
27439 cat >>conftest.
$ac_ext <<_ACEOF
27440 /* end confdefs.h. */
27441 /* System header to define __stub macros and hopefully few prototypes,
27442 which can conflict with char $ac_func (); below.
27443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27444 <limits.h> exists even on freestanding compilers. */
27446 # include <limits.h>
27448 # include <assert.h>
27450 /* Override any gcc2 internal prototype to avoid an error. */
27455 /* We use char because int might match the return type of a gcc2
27456 builtin and then its argument prototype would still apply. */
27458 /* The GNU C library defines this for functions which it implements
27459 to always fail with ENOSYS. Some functions are actually named
27460 something starting with __ and the normal name is an alias. */
27461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27464 char (*f) () = $ac_func;
27473 return f != $ac_func;
27478 rm -f conftest.
$ac_objext conftest
$ac_exeext
27479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27480 (eval $ac_link) 2>&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); } &&
27484 { ac_try
='test -s conftest$ac_exeext'
27485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27486 (eval $ac_try) 2>&5
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); }; }; then
27490 eval "$as_ac_var=yes"
27492 echo "$as_me: failed program was:" >&5
27493 sed 's/^/| /' conftest.
$ac_ext >&5
27495 eval "$as_ac_var=no"
27497 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27501 if test `eval echo '${'$as_ac_var'}'` = yes; then
27502 cat >>confdefs.h
<<_ACEOF
27503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27510 HAVE_SOME_SLEEP_FUNC
=0
27511 if test "$USE_BEOS" = 1; then
27512 cat >>confdefs.h
<<\_ACEOF
27513 #define HAVE_SLEEP 1
27516 HAVE_SOME_SLEEP_FUNC
=1
27519 if test "$USE_DARWIN" = 1; then
27520 cat >>confdefs.h
<<\_ACEOF
27521 #define HAVE_USLEEP 1
27524 HAVE_SOME_SLEEP_FUNC
=1
27527 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27530 for ac_func
in nanosleep
27532 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27533 echo "$as_me:$LINENO: checking for $ac_func" >&5
27534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27535 if eval "test \"\${$as_ac_var+set}\" = set"; then
27536 echo $ECHO_N "(cached) $ECHO_C" >&6
27538 cat >conftest.
$ac_ext <<_ACEOF
27539 #line $LINENO "configure"
27542 cat confdefs.h
>>conftest.
$ac_ext
27543 cat >>conftest.
$ac_ext <<_ACEOF
27544 /* end confdefs.h. */
27545 /* System header to define __stub macros and hopefully few prototypes,
27546 which can conflict with char $ac_func (); below.
27547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27548 <limits.h> exists even on freestanding compilers. */
27550 # include <limits.h>
27552 # include <assert.h>
27554 /* Override any gcc2 internal prototype to avoid an error. */
27559 /* We use char because int might match the return type of a gcc2
27560 builtin and then its argument prototype would still apply. */
27562 /* The GNU C library defines this for functions which it implements
27563 to always fail with ENOSYS. Some functions are actually named
27564 something starting with __ and the normal name is an alias. */
27565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27568 char (*f) () = $ac_func;
27577 return f != $ac_func;
27582 rm -f conftest.
$ac_objext conftest
$ac_exeext
27583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27584 (eval $ac_link) 2>&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); } &&
27588 { ac_try
='test -s conftest$ac_exeext'
27589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27590 (eval $ac_try) 2>&5
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); }; }; then
27594 eval "$as_ac_var=yes"
27596 echo "$as_me: failed program was:" >&5
27597 sed 's/^/| /' conftest.
$ac_ext >&5
27599 eval "$as_ac_var=no"
27601 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27605 if test `eval echo '${'$as_ac_var'}'` = yes; then
27606 cat >>confdefs.h
<<_ACEOF
27607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27609 cat >>confdefs.h
<<\_ACEOF
27610 #define HAVE_NANOSLEEP 1
27615 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27616 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27617 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27618 echo $ECHO_N "(cached) $ECHO_C" >&6
27620 ac_check_lib_save_LIBS
=$LIBS
27621 LIBS
="-lposix4 $LIBS"
27622 cat >conftest.
$ac_ext <<_ACEOF
27623 #line $LINENO "configure"
27626 cat confdefs.h
>>conftest.
$ac_ext
27627 cat >>conftest.
$ac_ext <<_ACEOF
27628 /* end confdefs.h. */
27630 /* Override any gcc2 internal prototype to avoid an error. */
27634 /* We use char because int might match the return type of a gcc2
27635 builtin and then its argument prototype would still apply. */
27645 rm -f conftest.
$ac_objext conftest
$ac_exeext
27646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27647 (eval $ac_link) 2>&5
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); } &&
27651 { ac_try
='test -s conftest$ac_exeext'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; }; then
27657 ac_cv_lib_posix4_nanosleep
=yes
27659 echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.
$ac_ext >&5
27662 ac_cv_lib_posix4_nanosleep
=no
27664 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27665 LIBS
=$ac_check_lib_save_LIBS
27667 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27668 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27669 if test $ac_cv_lib_posix4_nanosleep = yes; then
27671 cat >>confdefs.h
<<\_ACEOF
27672 #define HAVE_NANOSLEEP 1
27675 POSIX4_LINK
=" -lposix4"
27680 for ac_func
in usleep
27682 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27683 echo "$as_me:$LINENO: checking for $ac_func" >&5
27684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27685 if eval "test \"\${$as_ac_var+set}\" = set"; then
27686 echo $ECHO_N "(cached) $ECHO_C" >&6
27688 cat >conftest.
$ac_ext <<_ACEOF
27689 #line $LINENO "configure"
27692 cat confdefs.h
>>conftest.
$ac_ext
27693 cat >>conftest.
$ac_ext <<_ACEOF
27694 /* end confdefs.h. */
27695 /* System header to define __stub macros and hopefully few prototypes,
27696 which can conflict with char $ac_func (); below.
27697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27698 <limits.h> exists even on freestanding compilers. */
27700 # include <limits.h>
27702 # include <assert.h>
27704 /* Override any gcc2 internal prototype to avoid an error. */
27709 /* We use char because int might match the return type of a gcc2
27710 builtin and then its argument prototype would still apply. */
27712 /* The GNU C library defines this for functions which it implements
27713 to always fail with ENOSYS. Some functions are actually named
27714 something starting with __ and the normal name is an alias. */
27715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27718 char (*f) () = $ac_func;
27727 return f != $ac_func;
27732 rm -f conftest.
$ac_objext conftest
$ac_exeext
27733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27734 (eval $ac_link) 2>&5
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); } &&
27738 { ac_try
='test -s conftest$ac_exeext'
27739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27740 (eval $ac_try) 2>&5
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); }; }; then
27744 eval "$as_ac_var=yes"
27746 echo "$as_me: failed program was:" >&5
27747 sed 's/^/| /' conftest.
$ac_ext >&5
27749 eval "$as_ac_var=no"
27751 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27755 if test `eval echo '${'$as_ac_var'}'` = yes; then
27756 cat >>confdefs.h
<<_ACEOF
27757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27759 cat >>confdefs.h
<<\_ACEOF
27760 #define HAVE_USLEEP 1
27764 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27765 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27783 for ac_func
in uname gethostname
27785 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27786 echo "$as_me:$LINENO: checking for $ac_func" >&5
27787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27788 if eval "test \"\${$as_ac_var+set}\" = set"; then
27789 echo $ECHO_N "(cached) $ECHO_C" >&6
27791 cat >conftest.
$ac_ext <<_ACEOF
27792 #line $LINENO "configure"
27795 cat confdefs.h
>>conftest.
$ac_ext
27796 cat >>conftest.
$ac_ext <<_ACEOF
27797 /* end confdefs.h. */
27798 /* System header to define __stub macros and hopefully few prototypes,
27799 which can conflict with char $ac_func (); below.
27800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27801 <limits.h> exists even on freestanding compilers. */
27803 # include <limits.h>
27805 # include <assert.h>
27807 /* Override any gcc2 internal prototype to avoid an error. */
27812 /* We use char because int might match the return type of a gcc2
27813 builtin and then its argument prototype would still apply. */
27815 /* The GNU C library defines this for functions which it implements
27816 to always fail with ENOSYS. Some functions are actually named
27817 something starting with __ and the normal name is an alias. */
27818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27821 char (*f) () = $ac_func;
27830 return f != $ac_func;
27835 rm -f conftest.
$ac_objext conftest
$ac_exeext
27836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27837 (eval $ac_link) 2>&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); } &&
27841 { ac_try
='test -s conftest$ac_exeext'
27842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27843 (eval $ac_try) 2>&5
27845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); }; }; then
27847 eval "$as_ac_var=yes"
27849 echo "$as_me: failed program was:" >&5
27850 sed 's/^/| /' conftest.
$ac_ext >&5
27852 eval "$as_ac_var=no"
27854 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27858 if test `eval echo '${'$as_ac_var'}'` = yes; then
27859 cat >>confdefs.h
<<_ACEOF
27860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27870 ac_cpp
='$CXXCPP $CPPFLAGS'
27871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27877 for ac_func
in strtok_r
27879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27880 echo "$as_me:$LINENO: checking for $ac_func" >&5
27881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27882 if eval "test \"\${$as_ac_var+set}\" = set"; then
27883 echo $ECHO_N "(cached) $ECHO_C" >&6
27885 cat >conftest.
$ac_ext <<_ACEOF
27886 #line $LINENO "configure"
27889 cat confdefs.h
>>conftest.
$ac_ext
27890 cat >>conftest.
$ac_ext <<_ACEOF
27891 /* end confdefs.h. */
27892 /* System header to define __stub macros and hopefully few prototypes,
27893 which can conflict with char $ac_func (); below.
27894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27895 <limits.h> exists even on freestanding compilers. */
27897 # include <limits.h>
27899 # include <assert.h>
27901 /* Override any gcc2 internal prototype to avoid an error. */
27906 /* We use char because int might match the return type of a gcc2
27907 builtin and then its argument prototype would still apply. */
27909 /* The GNU C library defines this for functions which it implements
27910 to always fail with ENOSYS. Some functions are actually named
27911 something starting with __ and the normal name is an alias. */
27912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27915 char (*f) () = $ac_func;
27924 return f != $ac_func;
27929 rm -f conftest.
$ac_objext conftest
$ac_exeext
27930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27931 (eval $ac_link) 2>&5
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); } &&
27935 { ac_try
='test -s conftest$ac_exeext'
27936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27937 (eval $ac_try) 2>&5
27939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940 (exit $ac_status); }; }; then
27941 eval "$as_ac_var=yes"
27943 echo "$as_me: failed program was:" >&5
27944 sed 's/^/| /' conftest.
$ac_ext >&5
27946 eval "$as_ac_var=no"
27948 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27952 if test `eval echo '${'$as_ac_var'}'` = yes; then
27953 cat >>confdefs.h
<<_ACEOF
27954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27962 ac_cpp
='$CPP $CPPFLAGS'
27963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27970 for ac_func
in inet_addr
27972 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27973 echo "$as_me:$LINENO: checking for $ac_func" >&5
27974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27975 if eval "test \"\${$as_ac_var+set}\" = set"; then
27976 echo $ECHO_N "(cached) $ECHO_C" >&6
27978 cat >conftest.
$ac_ext <<_ACEOF
27979 #line $LINENO "configure"
27982 cat confdefs.h
>>conftest.
$ac_ext
27983 cat >>conftest.
$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27985 /* System header to define __stub macros and hopefully few prototypes,
27986 which can conflict with char $ac_func (); below.
27987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27988 <limits.h> exists even on freestanding compilers. */
27990 # include <limits.h>
27992 # include <assert.h>
27994 /* Override any gcc2 internal prototype to avoid an error. */
27999 /* We use char because int might match the return type of a gcc2
28000 builtin and then its argument prototype would still apply. */
28002 /* The GNU C library defines this for functions which it implements
28003 to always fail with ENOSYS. Some functions are actually named
28004 something starting with __ and the normal name is an alias. */
28005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28008 char (*f) () = $ac_func;
28017 return f != $ac_func;
28022 rm -f conftest.
$ac_objext conftest
$ac_exeext
28023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28024 (eval $ac_link) 2>&5
28026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027 (exit $ac_status); } &&
28028 { ac_try
='test -s conftest$ac_exeext'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; }; then
28034 eval "$as_ac_var=yes"
28036 echo "$as_me: failed program was:" >&5
28037 sed 's/^/| /' conftest.
$ac_ext >&5
28039 eval "$as_ac_var=no"
28041 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28045 if test `eval echo '${'$as_ac_var'}'` = yes; then
28046 cat >>confdefs.h
<<_ACEOF
28047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28049 cat >>confdefs.h
<<\_ACEOF
28050 #define HAVE_INET_ADDR 1
28055 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28056 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28057 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28058 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 ac_check_lib_save_LIBS
=$LIBS
28062 cat >conftest.
$ac_ext <<_ACEOF
28063 #line $LINENO "configure"
28066 cat confdefs.h
>>conftest.
$ac_ext
28067 cat >>conftest.
$ac_ext <<_ACEOF
28068 /* end confdefs.h. */
28070 /* Override any gcc2 internal prototype to avoid an error. */
28074 /* We use char because int might match the return type of a gcc2
28075 builtin and then its argument prototype would still apply. */
28085 rm -f conftest.
$ac_objext conftest
$ac_exeext
28086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28087 (eval $ac_link) 2>&5
28089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090 (exit $ac_status); } &&
28091 { ac_try
='test -s conftest$ac_exeext'
28092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28093 (eval $ac_try) 2>&5
28095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096 (exit $ac_status); }; }; then
28097 ac_cv_lib_nsl_inet_addr
=yes
28099 echo "$as_me: failed program was:" >&5
28100 sed 's/^/| /' conftest.
$ac_ext >&5
28102 ac_cv_lib_nsl_inet_addr
=no
28104 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28105 LIBS
=$ac_check_lib_save_LIBS
28107 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28108 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28109 if test $ac_cv_lib_nsl_inet_addr = yes; then
28112 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28113 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28114 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28115 echo $ECHO_N "(cached) $ECHO_C" >&6
28117 ac_check_lib_save_LIBS
=$LIBS
28118 LIBS
="-lresolv $LIBS"
28119 cat >conftest.
$ac_ext <<_ACEOF
28120 #line $LINENO "configure"
28123 cat confdefs.h
>>conftest.
$ac_ext
28124 cat >>conftest.
$ac_ext <<_ACEOF
28125 /* end confdefs.h. */
28127 /* Override any gcc2 internal prototype to avoid an error. */
28131 /* We use char because int might match the return type of a gcc2
28132 builtin and then its argument prototype would still apply. */
28142 rm -f conftest.
$ac_objext conftest
$ac_exeext
28143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28144 (eval $ac_link) 2>&5
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); } &&
28148 { ac_try
='test -s conftest$ac_exeext'
28149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28150 (eval $ac_try) 2>&5
28152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28153 (exit $ac_status); }; }; then
28154 ac_cv_lib_resolv_inet_addr
=yes
28156 echo "$as_me: failed program was:" >&5
28157 sed 's/^/| /' conftest.
$ac_ext >&5
28159 ac_cv_lib_resolv_inet_addr
=no
28161 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28162 LIBS
=$ac_check_lib_save_LIBS
28164 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28165 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28166 if test $ac_cv_lib_resolv_inet_addr = yes; then
28169 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28170 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28171 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28172 echo $ECHO_N "(cached) $ECHO_C" >&6
28174 ac_check_lib_save_LIBS
=$LIBS
28175 LIBS
="-lsocket $LIBS"
28176 cat >conftest.
$ac_ext <<_ACEOF
28177 #line $LINENO "configure"
28180 cat confdefs.h
>>conftest.
$ac_ext
28181 cat >>conftest.
$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28184 /* Override any gcc2 internal prototype to avoid an error. */
28188 /* We use char because int might match the return type of a gcc2
28189 builtin and then its argument prototype would still apply. */
28199 rm -f conftest.
$ac_objext conftest
$ac_exeext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28201 (eval $ac_link) 2>&5
28203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 (exit $ac_status); } &&
28205 { ac_try
='test -s conftest$ac_exeext'
28206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28207 (eval $ac_try) 2>&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); }; }; then
28211 ac_cv_lib_socket_inet_addr
=yes
28213 echo "$as_me: failed program was:" >&5
28214 sed 's/^/| /' conftest.
$ac_ext >&5
28216 ac_cv_lib_socket_inet_addr
=no
28218 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28219 LIBS
=$ac_check_lib_save_LIBS
28221 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28222 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28223 if test $ac_cv_lib_socket_inet_addr = yes; then
28241 for ac_func
in inet_aton
28243 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28244 echo "$as_me:$LINENO: checking for $ac_func" >&5
28245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28246 if eval "test \"\${$as_ac_var+set}\" = set"; then
28247 echo $ECHO_N "(cached) $ECHO_C" >&6
28249 cat >conftest.
$ac_ext <<_ACEOF
28250 #line $LINENO "configure"
28253 cat confdefs.h
>>conftest.
$ac_ext
28254 cat >>conftest.
$ac_ext <<_ACEOF
28255 /* end confdefs.h. */
28256 /* System header to define __stub macros and hopefully few prototypes,
28257 which can conflict with char $ac_func (); below.
28258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28259 <limits.h> exists even on freestanding compilers. */
28261 # include <limits.h>
28263 # include <assert.h>
28265 /* Override any gcc2 internal prototype to avoid an error. */
28270 /* We use char because int might match the return type of a gcc2
28271 builtin and then its argument prototype would still apply. */
28273 /* The GNU C library defines this for functions which it implements
28274 to always fail with ENOSYS. Some functions are actually named
28275 something starting with __ and the normal name is an alias. */
28276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28279 char (*f) () = $ac_func;
28288 return f != $ac_func;
28293 rm -f conftest.
$ac_objext conftest
$ac_exeext
28294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28295 (eval $ac_link) 2>&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); } &&
28299 { ac_try
='test -s conftest$ac_exeext'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; }; then
28305 eval "$as_ac_var=yes"
28307 echo "$as_me: failed program was:" >&5
28308 sed 's/^/| /' conftest.
$ac_ext >&5
28310 eval "$as_ac_var=no"
28312 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28316 if test `eval echo '${'$as_ac_var'}'` = yes; then
28317 cat >>confdefs.h
<<_ACEOF
28318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28320 cat >>confdefs.h
<<\_ACEOF
28321 #define HAVE_INET_ATON 1
28326 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28327 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28328 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28329 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28330 echo $ECHO_N "(cached) $ECHO_C" >&6
28332 ac_check_lib_save_LIBS
=$LIBS
28333 LIBS
="-l$INET_LINK $LIBS"
28334 cat >conftest.
$ac_ext <<_ACEOF
28335 #line $LINENO "configure"
28338 cat confdefs.h
>>conftest.
$ac_ext
28339 cat >>conftest.
$ac_ext <<_ACEOF
28340 /* end confdefs.h. */
28342 /* Override any gcc2 internal prototype to avoid an error. */
28346 /* We use char because int might match the return type of a gcc2
28347 builtin and then its argument prototype would still apply. */
28357 rm -f conftest.
$ac_objext conftest
$ac_exeext
28358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28359 (eval $ac_link) 2>&5
28361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362 (exit $ac_status); } &&
28363 { ac_try
='test -s conftest$ac_exeext'
28364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28365 (eval $ac_try) 2>&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); }; }; then
28369 eval "$as_ac_Lib=yes"
28371 echo "$as_me: failed program was:" >&5
28372 sed 's/^/| /' conftest.
$ac_ext >&5
28374 eval "$as_ac_Lib=no"
28376 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28377 LIBS
=$ac_check_lib_save_LIBS
28379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28380 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28381 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28382 cat >>confdefs.h
<<\_ACEOF
28383 #define HAVE_INET_ATON 1
28393 if test "x$INET_LINK" != "x"; then
28394 cat >>confdefs.h
<<\_ACEOF
28395 #define HAVE_INET_ADDR 1
28398 INET_LINK
=" -l$INET_LINK"
28406 if test "${ac_cv_header_esd_h+set}" = set; then
28407 echo "$as_me:$LINENO: checking for esd.h" >&5
28408 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28409 if test "${ac_cv_header_esd_h+set}" = set; then
28410 echo $ECHO_N "(cached) $ECHO_C" >&6
28412 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28413 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28415 # Is the header compilable?
28416 echo "$as_me:$LINENO: checking esd.h usability" >&5
28417 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28418 cat >conftest.
$ac_ext <<_ACEOF
28419 #line $LINENO "configure"
28422 cat confdefs.h
>>conftest.
$ac_ext
28423 cat >>conftest.
$ac_ext <<_ACEOF
28424 /* end confdefs.h. */
28425 $ac_includes_default
28428 rm -f conftest.
$ac_objext
28429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28430 (eval $ac_compile) 2>&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } &&
28434 { ac_try
='test -s conftest.$ac_objext'
28435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28436 (eval $ac_try) 2>&5
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); }; }; then
28440 ac_header_compiler
=yes
28442 echo "$as_me: failed program was:" >&5
28443 sed 's/^/| /' conftest.
$ac_ext >&5
28445 ac_header_compiler
=no
28447 rm -f conftest.
$ac_objext conftest.
$ac_ext
28448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28449 echo "${ECHO_T}$ac_header_compiler" >&6
28451 # Is the header present?
28452 echo "$as_me:$LINENO: checking esd.h presence" >&5
28453 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28454 cat >conftest.
$ac_ext <<_ACEOF
28455 #line $LINENO "configure"
28458 cat confdefs.h
>>conftest.
$ac_ext
28459 cat >>conftest.
$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28464 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28466 grep -v '^ *+' conftest.er1
>conftest.err
28468 cat conftest.err
>&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); } >/dev
/null
; then
28471 if test -s conftest.err
; then
28472 ac_cpp_err
=$ac_c_preproc_warn_flag
28479 if test -z "$ac_cpp_err"; then
28480 ac_header_preproc
=yes
28482 echo "$as_me: failed program was:" >&5
28483 sed 's/^/| /' conftest.
$ac_ext >&5
28485 ac_header_preproc
=no
28487 rm -f conftest.err conftest.
$ac_ext
28488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28489 echo "${ECHO_T}$ac_header_preproc" >&6
28491 # So? What about this header?
28492 case $ac_header_compiler:$ac_header_preproc in
28494 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28495 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28496 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28497 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28500 ## ------------------------------------ ##
28501 ## Report this to bug-autoconf@gnu.org. ##
28502 ## ------------------------------------ ##
28505 sed "s/^/$as_me: WARNING: /" >&2
28508 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28509 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28510 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28511 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28512 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28513 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28516 ## ------------------------------------ ##
28517 ## Report this to bug-autoconf@gnu.org. ##
28518 ## ------------------------------------ ##
28521 sed "s/^/$as_me: WARNING: /" >&2
28524 echo "$as_me:$LINENO: checking for esd.h" >&5
28525 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28526 if test "${ac_cv_header_esd_h+set}" = set; then
28527 echo $ECHO_N "(cached) $ECHO_C" >&6
28529 ac_cv_header_esd_h
=$ac_header_preproc
28531 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28532 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28535 if test $ac_cv_header_esd_h = yes; then
28537 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28538 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28539 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28540 echo $ECHO_N "(cached) $ECHO_C" >&6
28542 ac_check_lib_save_LIBS
=$LIBS
28544 cat >conftest.
$ac_ext <<_ACEOF
28545 #line $LINENO "configure"
28548 cat confdefs.h
>>conftest.
$ac_ext
28549 cat >>conftest.
$ac_ext <<_ACEOF
28550 /* end confdefs.h. */
28552 /* Override any gcc2 internal prototype to avoid an error. */
28556 /* We use char because int might match the return type of a gcc2
28557 builtin and then its argument prototype would still apply. */
28567 rm -f conftest.
$ac_objext conftest
$ac_exeext
28568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28569 (eval $ac_link) 2>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); } &&
28573 { ac_try
='test -s conftest$ac_exeext'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; }; then
28579 ac_cv_lib_esd_esd_close
=yes
28581 echo "$as_me: failed program was:" >&5
28582 sed 's/^/| /' conftest.
$ac_ext >&5
28584 ac_cv_lib_esd_esd_close
=no
28586 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28587 LIBS
=$ac_check_lib_save_LIBS
28589 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28590 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28591 if test $ac_cv_lib_esd_esd_close = yes; then
28604 cat >confcache
<<\_ACEOF
28605 # This file is a shell script that caches the results of configure
28606 # tests run on this system so they can be shared between configure
28607 # scripts and configure runs, see configure's option --config-cache.
28608 # It is not useful on other systems. If it contains results you don't
28609 # want to keep, you may remove or edit it.
28611 # config.status only pays attention to the cache file if you give it
28612 # the --recheck option to rerun configure.
28614 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28615 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28616 # following values.
28620 # The following way of writing the cache mishandles newlines in values,
28621 # but we know of no workaround that is simple, portable, and efficient.
28622 # So, don't put newlines in cache variables' values.
28623 # Ultrix sh set writes to stderr and can't be redirected directly,
28624 # and sets the high bit in the cache file unless we assign to the vars.
28627 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28629 # `set' does not quote correctly, so add quotes (double-quote
28630 # substitution turns \\\\ into \\, and sed turns \\ into \).
28633 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28636 # `set' quotes correctly as required by POSIX, so do not add quotes.
28638 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28645 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28647 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28649 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28650 if test -w $cache_file; then
28651 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28652 cat confcache
>$cache_file
28654 echo "not updating unwritable cache $cache_file"
28661 if test "$TOOLKIT" != "MSW"; then
28667 if test "$wxUSE_THREADS" = "yes" ; then
28668 if test "$USE_BEOS" = 1; then
28669 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28670 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28675 if test "$wxUSE_THREADS" = "yes" ; then
28678 THREAD_OPTS
="-pthread"
28680 *-*-solaris2* | *-*-sunos4* )
28681 if test "x$GCC" = "xyes"; then
28682 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28684 THREAD_OPTS
="-mt $THREAD_OPTS"
28688 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28690 *-*-darwin* | *-*-cygwin* )
28694 THREAD_OPTS
="pthreads"
28697 if test "x$GCC" != "xyes"; then
28703 if test "x$GCC" = "xyes"; then
28709 if test "x$GCC" != "xyes"; then
28710 THREAD_OPTS
="-Ethread"
28715 THREAD_OPTS
="$THREAD_OPTS pthread none"
28718 for flag
in $THREAD_OPTS; do
28721 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28722 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28726 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28727 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28728 THREADS_CFLAGS
="$flag"
28732 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28733 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28734 THREADS_LINK
="-l$flag"
28739 save_CFLAGS
="$CFLAGS"
28740 LIBS
="$THREADS_LINK $LIBS"
28741 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28743 cat >conftest.
$ac_ext <<_ACEOF
28744 #line $LINENO "configure"
28747 cat confdefs.h
>>conftest.
$ac_ext
28748 cat >>conftest.
$ac_ext <<_ACEOF
28749 /* end confdefs.h. */
28750 #include <pthread.h>
28754 pthread_create(0,0,0,0);
28759 rm -f conftest.
$ac_objext conftest
$ac_exeext
28760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28761 (eval $ac_link) 2>&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); } &&
28765 { ac_try
='test -s conftest$ac_exeext'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; }; then
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.
$ac_ext >&5
28777 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28780 CFLAGS
="$save_CFLAGS"
28782 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28783 echo "${ECHO_T}$THREADS_OK" >&6
28784 if test "x$THREADS_OK" = "xyes"; then
28792 if test "x$THREADS_OK" != "xyes"; then
28794 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28795 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28797 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28798 LIBS
="$THREADS_LINK $LIBS"
28800 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28801 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28805 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28806 flag
="-D_THREAD_SAFE"
28809 flag
="-D_THREAD_SAFE"
28812 flag
="-D_REENTRANT"
28813 if test "x$GCC" != "xyes"; then
28814 flag
="$flag -D_RWSTD_MULTI_THREAD"
28817 *solaris
* | alpha
*-osf*)
28818 flag
="-D_REENTRANT"
28821 echo "$as_me:$LINENO: result: ${flag}" >&5
28822 echo "${ECHO_T}${flag}" >&6
28823 if test "x$flag" != xno
; then
28824 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28827 if test "x$THREADS_CFLAGS" != "x"; then
28828 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28829 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28834 if test "$wxUSE_THREADS" = "yes" ; then
28836 for ac_func
in thr_setconcurrency
28838 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28839 echo "$as_me:$LINENO: checking for $ac_func" >&5
28840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28841 if eval "test \"\${$as_ac_var+set}\" = set"; then
28842 echo $ECHO_N "(cached) $ECHO_C" >&6
28844 cat >conftest.
$ac_ext <<_ACEOF
28845 #line $LINENO "configure"
28848 cat confdefs.h
>>conftest.
$ac_ext
28849 cat >>conftest.
$ac_ext <<_ACEOF
28850 /* end confdefs.h. */
28851 /* System header to define __stub macros and hopefully few prototypes,
28852 which can conflict with char $ac_func (); below.
28853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28854 <limits.h> exists even on freestanding compilers. */
28856 # include <limits.h>
28858 # include <assert.h>
28860 /* Override any gcc2 internal prototype to avoid an error. */
28865 /* We use char because int might match the return type of a gcc2
28866 builtin and then its argument prototype would still apply. */
28868 /* The GNU C library defines this for functions which it implements
28869 to always fail with ENOSYS. Some functions are actually named
28870 something starting with __ and the normal name is an alias. */
28871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28874 char (*f) () = $ac_func;
28883 return f != $ac_func;
28888 rm -f conftest.
$ac_objext conftest
$ac_exeext
28889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28890 (eval $ac_link) 2>&5
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); } &&
28894 { ac_try
='test -s conftest$ac_exeext'
28895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28896 (eval $ac_try) 2>&5
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); }; }; then
28900 eval "$as_ac_var=yes"
28902 echo "$as_me: failed program was:" >&5
28903 sed 's/^/| /' conftest.
$ac_ext >&5
28905 eval "$as_ac_var=no"
28907 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28911 if test `eval echo '${'$as_ac_var'}'` = yes; then
28912 cat >>confdefs.h
<<_ACEOF
28913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28921 for ac_header
in sched.h
28923 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28925 echo "$as_me:$LINENO: checking for $ac_header" >&5
28926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28928 echo $ECHO_N "(cached) $ECHO_C" >&6
28930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28933 # Is the header compilable?
28934 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28935 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28936 cat >conftest.
$ac_ext <<_ACEOF
28937 #line $LINENO "configure"
28940 cat confdefs.h
>>conftest.
$ac_ext
28941 cat >>conftest.
$ac_ext <<_ACEOF
28942 /* end confdefs.h. */
28943 $ac_includes_default
28944 #include <$ac_header>
28946 rm -f conftest.
$ac_objext
28947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28948 (eval $ac_compile) 2>&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); } &&
28952 { ac_try
='test -s conftest.$ac_objext'
28953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28954 (eval $ac_try) 2>&5
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); }; }; then
28958 ac_header_compiler
=yes
28960 echo "$as_me: failed program was:" >&5
28961 sed 's/^/| /' conftest.
$ac_ext >&5
28963 ac_header_compiler
=no
28965 rm -f conftest.
$ac_objext conftest.
$ac_ext
28966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28967 echo "${ECHO_T}$ac_header_compiler" >&6
28969 # Is the header present?
28970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28972 cat >conftest.
$ac_ext <<_ACEOF
28973 #line $LINENO "configure"
28976 cat confdefs.h
>>conftest.
$ac_ext
28977 cat >>conftest.
$ac_ext <<_ACEOF
28978 /* end confdefs.h. */
28979 #include <$ac_header>
28981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28982 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28984 grep -v '^ *+' conftest.er1
>conftest.err
28986 cat conftest.err
>&5
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); } >/dev
/null
; then
28989 if test -s conftest.err
; then
28990 ac_cpp_err
=$ac_c_preproc_warn_flag
28997 if test -z "$ac_cpp_err"; then
28998 ac_header_preproc
=yes
29000 echo "$as_me: failed program was:" >&5
29001 sed 's/^/| /' conftest.
$ac_ext >&5
29003 ac_header_preproc
=no
29005 rm -f conftest.err conftest.
$ac_ext
29006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29007 echo "${ECHO_T}$ac_header_preproc" >&6
29009 # So? What about this header?
29010 case $ac_header_compiler:$ac_header_preproc in
29012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29018 ## ------------------------------------ ##
29019 ## Report this to bug-autoconf@gnu.org. ##
29020 ## ------------------------------------ ##
29023 sed "s/^/$as_me: WARNING: /" >&2
29026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29034 ## ------------------------------------ ##
29035 ## Report this to bug-autoconf@gnu.org. ##
29036 ## ------------------------------------ ##
29039 sed "s/^/$as_me: WARNING: /" >&2
29042 echo "$as_me:$LINENO: checking for $ac_header" >&5
29043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29045 echo $ECHO_N "(cached) $ECHO_C" >&6
29047 eval "$as_ac_Header=$ac_header_preproc"
29049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29054 cat >>confdefs.h
<<_ACEOF
29055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29062 if test "$ac_cv_header_sched_h" = "yes"; then
29063 echo "$as_me:$LINENO: checking for sched_yield" >&5
29064 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29065 if test "${ac_cv_func_sched_yield+set}" = set; then
29066 echo $ECHO_N "(cached) $ECHO_C" >&6
29068 cat >conftest.
$ac_ext <<_ACEOF
29069 #line $LINENO "configure"
29072 cat confdefs.h
>>conftest.
$ac_ext
29073 cat >>conftest.
$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29075 /* System header to define __stub macros and hopefully few prototypes,
29076 which can conflict with char sched_yield (); below.
29077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29078 <limits.h> exists even on freestanding compilers. */
29080 # include <limits.h>
29082 # include <assert.h>
29084 /* Override any gcc2 internal prototype to avoid an error. */
29089 /* We use char because int might match the return type of a gcc2
29090 builtin and then its argument prototype would still apply. */
29091 char sched_yield ();
29092 /* The GNU C library defines this for functions which it implements
29093 to always fail with ENOSYS. Some functions are actually named
29094 something starting with __ and the normal name is an alias. */
29095 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29098 char (*f) () = sched_yield;
29107 return f != sched_yield;
29112 rm -f conftest.
$ac_objext conftest
$ac_exeext
29113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29114 (eval $ac_link) 2>&5
29116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29117 (exit $ac_status); } &&
29118 { ac_try
='test -s conftest$ac_exeext'
29119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29120 (eval $ac_try) 2>&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); }; }; then
29124 ac_cv_func_sched_yield
=yes
29126 echo "$as_me: failed program was:" >&5
29127 sed 's/^/| /' conftest.
$ac_ext >&5
29129 ac_cv_func_sched_yield
=no
29131 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29133 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29134 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29135 if test $ac_cv_func_sched_yield = yes; then
29136 cat >>confdefs.h
<<\_ACEOF
29137 #define HAVE_SCHED_YIELD 1
29142 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29143 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29144 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29145 echo $ECHO_N "(cached) $ECHO_C" >&6
29147 ac_check_lib_save_LIBS
=$LIBS
29148 LIBS
="-lposix4 $LIBS"
29149 cat >conftest.
$ac_ext <<_ACEOF
29150 #line $LINENO "configure"
29153 cat confdefs.h
>>conftest.
$ac_ext
29154 cat >>conftest.
$ac_ext <<_ACEOF
29155 /* end confdefs.h. */
29157 /* Override any gcc2 internal prototype to avoid an error. */
29161 /* We use char because int might match the return type of a gcc2
29162 builtin and then its argument prototype would still apply. */
29163 char sched_yield ();
29172 rm -f conftest.
$ac_objext conftest
$ac_exeext
29173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29174 (eval $ac_link) 2>&5
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); } &&
29178 { ac_try
='test -s conftest$ac_exeext'
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_cv_lib_posix4_sched_yield
=yes
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.
$ac_ext >&5
29189 ac_cv_lib_posix4_sched_yield
=no
29191 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29192 LIBS
=$ac_check_lib_save_LIBS
29194 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29195 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29196 if test $ac_cv_lib_posix4_sched_yield = yes; then
29197 cat >>confdefs.h
<<\_ACEOF
29198 #define HAVE_SCHED_YIELD 1
29200 POSIX4_LINK
=" -lposix4"
29202 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29203 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29214 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29215 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29216 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29217 echo $ECHO_N "(cached) $ECHO_C" >&6
29219 cat >conftest.
$ac_ext <<_ACEOF
29220 #line $LINENO "configure"
29223 cat confdefs.h
>>conftest.
$ac_ext
29224 cat >>conftest.
$ac_ext <<_ACEOF
29225 /* end confdefs.h. */
29226 /* System header to define __stub macros and hopefully few prototypes,
29227 which can conflict with char pthread_attr_getschedpolicy (); below.
29228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29229 <limits.h> exists even on freestanding compilers. */
29231 # include <limits.h>
29233 # include <assert.h>
29235 /* Override any gcc2 internal prototype to avoid an error. */
29240 /* We use char because int might match the return type of a gcc2
29241 builtin and then its argument prototype would still apply. */
29242 char pthread_attr_getschedpolicy ();
29243 /* The GNU C library defines this for functions which it implements
29244 to always fail with ENOSYS. Some functions are actually named
29245 something starting with __ and the normal name is an alias. */
29246 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29249 char (*f) () = pthread_attr_getschedpolicy;
29258 return f != pthread_attr_getschedpolicy;
29263 rm -f conftest.
$ac_objext conftest
$ac_exeext
29264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29265 (eval $ac_link) 2>&5
29267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29268 (exit $ac_status); } &&
29269 { ac_try
='test -s conftest$ac_exeext'
29270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29271 (eval $ac_try) 2>&5
29273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29274 (exit $ac_status); }; }; then
29275 ac_cv_func_pthread_attr_getschedpolicy
=yes
29277 echo "$as_me: failed program was:" >&5
29278 sed 's/^/| /' conftest.
$ac_ext >&5
29280 ac_cv_func_pthread_attr_getschedpolicy
=no
29282 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29284 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29285 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29286 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29287 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29288 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29289 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29290 echo $ECHO_N "(cached) $ECHO_C" >&6
29292 cat >conftest.
$ac_ext <<_ACEOF
29293 #line $LINENO "configure"
29296 cat confdefs.h
>>conftest.
$ac_ext
29297 cat >>conftest.
$ac_ext <<_ACEOF
29298 /* end confdefs.h. */
29299 /* System header to define __stub macros and hopefully few prototypes,
29300 which can conflict with char pthread_attr_setschedparam (); below.
29301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29302 <limits.h> exists even on freestanding compilers. */
29304 # include <limits.h>
29306 # include <assert.h>
29308 /* Override any gcc2 internal prototype to avoid an error. */
29313 /* We use char because int might match the return type of a gcc2
29314 builtin and then its argument prototype would still apply. */
29315 char pthread_attr_setschedparam ();
29316 /* The GNU C library defines this for functions which it implements
29317 to always fail with ENOSYS. Some functions are actually named
29318 something starting with __ and the normal name is an alias. */
29319 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29322 char (*f) () = pthread_attr_setschedparam;
29331 return f != pthread_attr_setschedparam;
29336 rm -f conftest.
$ac_objext conftest
$ac_exeext
29337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29338 (eval $ac_link) 2>&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } &&
29342 { ac_try
='test -s conftest$ac_exeext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29348 ac_cv_func_pthread_attr_setschedparam
=yes
29350 echo "$as_me: failed program was:" >&5
29351 sed 's/^/| /' conftest.
$ac_ext >&5
29353 ac_cv_func_pthread_attr_setschedparam
=no
29355 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29357 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29358 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29359 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29360 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29361 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29362 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29363 echo $ECHO_N "(cached) $ECHO_C" >&6
29365 cat >conftest.
$ac_ext <<_ACEOF
29366 #line $LINENO "configure"
29369 cat confdefs.h
>>conftest.
$ac_ext
29370 cat >>conftest.
$ac_ext <<_ACEOF
29371 /* end confdefs.h. */
29372 /* System header to define __stub macros and hopefully few prototypes,
29373 which can conflict with char sched_get_priority_max (); below.
29374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29375 <limits.h> exists even on freestanding compilers. */
29377 # include <limits.h>
29379 # include <assert.h>
29381 /* Override any gcc2 internal prototype to avoid an error. */
29386 /* We use char because int might match the return type of a gcc2
29387 builtin and then its argument prototype would still apply. */
29388 char sched_get_priority_max ();
29389 /* The GNU C library defines this for functions which it implements
29390 to always fail with ENOSYS. Some functions are actually named
29391 something starting with __ and the normal name is an alias. */
29392 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29395 char (*f) () = sched_get_priority_max;
29404 return f != sched_get_priority_max;
29409 rm -f conftest.
$ac_objext conftest
$ac_exeext
29410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29411 (eval $ac_link) 2>&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); } &&
29415 { ac_try
='test -s conftest$ac_exeext'
29416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29417 (eval $ac_try) 2>&5
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; }; then
29421 ac_cv_func_sched_get_priority_max
=yes
29423 echo "$as_me: failed program was:" >&5
29424 sed 's/^/| /' conftest.
$ac_ext >&5
29426 ac_cv_func_sched_get_priority_max
=no
29428 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29430 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29431 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29432 if test $ac_cv_func_sched_get_priority_max = yes; then
29435 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29436 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29437 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 ac_check_lib_save_LIBS
=$LIBS
29441 LIBS
="-lposix4 $LIBS"
29442 cat >conftest.
$ac_ext <<_ACEOF
29443 #line $LINENO "configure"
29446 cat confdefs.h
>>conftest.
$ac_ext
29447 cat >>conftest.
$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29450 /* Override any gcc2 internal prototype to avoid an error. */
29454 /* We use char because int might match the return type of a gcc2
29455 builtin and then its argument prototype would still apply. */
29456 char sched_get_priority_max ();
29460 sched_get_priority_max ();
29465 rm -f conftest.
$ac_objext conftest
$ac_exeext
29466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29467 (eval $ac_link) 2>&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } &&
29471 { ac_try
='test -s conftest$ac_exeext'
29472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29473 (eval $ac_try) 2>&5
29475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476 (exit $ac_status); }; }; then
29477 ac_cv_lib_posix4_sched_get_priority_max
=yes
29479 echo "$as_me: failed program was:" >&5
29480 sed 's/^/| /' conftest.
$ac_ext >&5
29482 ac_cv_lib_posix4_sched_get_priority_max
=no
29484 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29485 LIBS
=$ac_check_lib_save_LIBS
29487 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29488 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29489 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29492 POSIX4_LINK
=" -lposix4"
29506 if test "$HAVE_PRIOR_FUNCS" = 1; then
29507 cat >>confdefs.h
<<\_ACEOF
29508 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29512 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29513 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29516 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29517 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29518 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29519 echo $ECHO_N "(cached) $ECHO_C" >&6
29521 cat >conftest.
$ac_ext <<_ACEOF
29522 #line $LINENO "configure"
29525 cat confdefs.h
>>conftest.
$ac_ext
29526 cat >>conftest.
$ac_ext <<_ACEOF
29527 /* end confdefs.h. */
29528 /* System header to define __stub macros and hopefully few prototypes,
29529 which can conflict with char pthread_cancel (); below.
29530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29531 <limits.h> exists even on freestanding compilers. */
29533 # include <limits.h>
29535 # include <assert.h>
29537 /* Override any gcc2 internal prototype to avoid an error. */
29542 /* We use char because int might match the return type of a gcc2
29543 builtin and then its argument prototype would still apply. */
29544 char pthread_cancel ();
29545 /* The GNU C library defines this for functions which it implements
29546 to always fail with ENOSYS. Some functions are actually named
29547 something starting with __ and the normal name is an alias. */
29548 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29551 char (*f) () = pthread_cancel;
29560 return f != pthread_cancel;
29565 rm -f conftest.
$ac_objext conftest
$ac_exeext
29566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29567 (eval $ac_link) 2>&5
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); } &&
29571 { ac_try
='test -s conftest$ac_exeext'
29572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29573 (eval $ac_try) 2>&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); }; }; then
29577 ac_cv_func_pthread_cancel
=yes
29579 echo "$as_me: failed program was:" >&5
29580 sed 's/^/| /' conftest.
$ac_ext >&5
29582 ac_cv_func_pthread_cancel
=no
29584 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29586 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29587 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29588 if test $ac_cv_func_pthread_cancel = yes; then
29589 cat >>confdefs.h
<<\_ACEOF
29590 #define HAVE_PTHREAD_CANCEL 1
29594 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29595 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29599 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29600 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29601 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29602 echo $ECHO_N "(cached) $ECHO_C" >&6
29605 cat >conftest.
$ac_ext <<_ACEOF
29606 #line $LINENO "configure"
29609 cat confdefs.h
>>conftest.
$ac_ext
29610 cat >>conftest.
$ac_ext <<_ACEOF
29611 /* end confdefs.h. */
29612 #include <pthread.h>
29617 pthread_cleanup_push(NULL, NULL);
29618 pthread_cleanup_pop(0);
29624 rm -f conftest.
$ac_objext
29625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29626 (eval $ac_compile) 2>&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } &&
29630 { ac_try
='test -s conftest.$ac_objext'
29631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29632 (eval $ac_try) 2>&5
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); }; }; then
29637 wx_cv_func_pthread_cleanup_push
=yes
29640 echo "$as_me: failed program was:" >&5
29641 sed 's/^/| /' conftest.
$ac_ext >&5
29644 wx_cv_func_pthread_cleanup_push
=no
29647 rm -f conftest.
$ac_objext conftest.
$ac_ext
29650 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29651 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29653 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29654 cat >>confdefs.h
<<\_ACEOF
29655 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29661 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29662 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29663 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29664 echo $ECHO_N "(cached) $ECHO_C" >&6
29667 cat >conftest.
$ac_ext <<_ACEOF
29668 #line $LINENO "configure"
29671 cat confdefs.h
>>conftest.
$ac_ext
29672 cat >>conftest.
$ac_ext <<_ACEOF
29673 /* end confdefs.h. */
29674 #include <pthread.h>
29679 pthread_mutexattr_t attr;
29680 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29686 rm -f conftest.
$ac_objext
29687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29688 (eval $ac_compile) 2>&5
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); } &&
29692 { ac_try
='test -s conftest.$ac_objext'
29693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29694 (eval $ac_try) 2>&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); }; }; then
29699 wx_cv_type_pthread_mutexattr_t
=yes
29702 echo "$as_me: failed program was:" >&5
29703 sed 's/^/| /' conftest.
$ac_ext >&5
29706 wx_cv_type_pthread_mutexattr_t
=no
29710 rm -f conftest.
$ac_objext conftest.
$ac_ext
29713 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29714 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29716 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29717 cat >>confdefs.h
<<\_ACEOF
29718 #define HAVE_PTHREAD_MUTEXATTR_T 1
29722 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29723 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29724 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29725 echo $ECHO_N "(cached) $ECHO_C" >&6
29728 cat >conftest.
$ac_ext <<_ACEOF
29729 #line $LINENO "configure"
29732 cat confdefs.h
>>conftest.
$ac_ext
29733 cat >>conftest.
$ac_ext <<_ACEOF
29734 /* end confdefs.h. */
29735 #include <pthread.h>
29740 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29746 rm -f conftest.
$ac_objext
29747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29748 (eval $ac_compile) 2>&5
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); } &&
29752 { ac_try
='test -s conftest.$ac_objext'
29753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29754 (eval $ac_try) 2>&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; }; then
29759 wx_cv_type_pthread_rec_mutex_init
=yes
29762 echo "$as_me: failed program was:" >&5
29763 sed 's/^/| /' conftest.
$ac_ext >&5
29766 wx_cv_type_pthread_rec_mutex_init
=no
29770 rm -f conftest.
$ac_objext conftest.
$ac_ext
29773 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29774 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29775 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29776 cat >>confdefs.h
<<\_ACEOF
29777 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29781 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29782 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29788 if test "$wxUSE_THREADS" = "yes" ; then
29791 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29792 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29793 if test "${wx_cv_cflags_mthread+set}" = set; then
29794 echo $ECHO_N "(cached) $ECHO_C" >&6
29797 CFLAGS_OLD
="$CFLAGS"
29798 CFLAGS
="$CFLAGS -mthreads"
29799 cat >conftest.
$ac_ext <<_ACEOF
29800 #line $LINENO "configure"
29803 cat confdefs.h
>>conftest.
$ac_ext
29804 cat >>conftest.
$ac_ext <<_ACEOF
29805 /* end confdefs.h. */
29815 rm -f conftest.
$ac_objext
29816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29817 (eval $ac_compile) 2>&5
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); } &&
29821 { ac_try
='test -s conftest.$ac_objext'
29822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29823 (eval $ac_try) 2>&5
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); }; }; then
29827 wx_cv_cflags_mthread
=yes
29829 echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.
$ac_ext >&5
29832 wx_cv_cflags_mthread
=no
29835 rm -f conftest.
$ac_objext conftest.
$ac_ext
29839 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29840 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29842 if test "$wx_cv_cflags_mthread" = "yes"; then
29843 CXXFLAGS
="$CXXFLAGS -mthreads"
29844 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29845 LDFLAGS
="$LDFLAGS -mthreads"
29847 CFLAGS
="$CFLAGS_OLD"
29854 if test "$wxUSE_THREADS" = "yes"; then
29855 cat >>confdefs.h
<<\_ACEOF
29856 #define wxUSE_THREADS 1
29860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
29862 if test "$ac_cv_func_strtok_r" = "yes"; then
29863 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29864 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29865 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29866 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
29867 echo "$as_me:$LINENO: result: yes" >&5
29868 echo "${ECHO_T}yes" >&6
29870 echo "$as_me:$LINENO: result: no" >&5
29871 echo "${ECHO_T}no" >&6
29876 if test "$WXGTK20" = 1 ; then
29877 cat >>confdefs.h
<<_ACEOF
29878 #define __WXGTK20__ $WXGTK20
29884 if test "$WXGTK12" = 1 ; then
29885 cat >>confdefs.h
<<_ACEOF
29886 #define __WXGTK12__ $WXGTK12
29891 if test "$WXGTK127" = 1 ; then
29892 cat >>confdefs.h
<<_ACEOF
29893 #define __WXGTK127__ $WXGTK127
29900 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29905 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29906 wxUSE_DEBUG_INFO
=yes
29910 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29911 cat >>confdefs.h
<<\_ACEOF
29915 WXDEBUG_DEFINE
="-D__WXDEBUG__"
29917 if test "$wxUSE_GTK" = 1 ; then
29918 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
29922 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29923 cat >>confdefs.h
<<\_ACEOF
29924 #define wxUSE_MEMORY_TRACING 1
29927 cat >>confdefs.h
<<\_ACEOF
29928 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29931 cat >>confdefs.h
<<\_ACEOF
29932 #define wxUSE_DEBUG_NEW_ALWAYS 1
29935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
29938 if test "$wxUSE_DMALLOC" = "yes" ; then
29939 DMALLOC_LIBS
="-ldmalloc"
29943 if test "$wxUSE_PROFILE" = "yes" ; then
29948 CODE_GEN_FLAGS_CXX
=
29949 if test "$GCC" = "yes" ; then
29950 if test "$wxUSE_NO_RTTI" = "yes" ; then
29951 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
29953 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29954 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29956 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29957 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
29962 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
29965 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
29971 if test "$wxUSE_OPTIMISE" = "no" ; then
29972 if test "$GCC" = yes ; then
29976 if test "$GCC" = yes ; then
29980 i586
-*-*|i686
-*-* )
29981 OPTIMISE
="${OPTIMISE} "
29990 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29991 cat >>confdefs.h
<<\_ACEOF
29992 #define WXWIN_COMPATIBILITY_2 1
29996 WXWIN_COMPATIBILITY_2_2
="yes"
29999 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30000 cat >>confdefs.h
<<\_ACEOF
30001 #define WXWIN_COMPATIBILITY_2_2 1
30005 WXWIN_COMPATIBILITY_2_4
="yes"
30008 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30009 cat >>confdefs.h
<<\_ACEOF
30010 #define WXWIN_COMPATIBILITY_2_4 1
30016 if test "$wxUSE_GUI" = "yes"; then
30017 cat >>confdefs.h
<<\_ACEOF
30018 #define wxUSE_GUI 1
30023 cat >>confdefs.h
<<\_ACEOF
30024 #define wxUSE_NOGUI 1
30030 if test "$wxUSE_UNIX" = "yes"; then
30031 cat >>confdefs.h
<<\_ACEOF
30032 #define wxUSE_UNIX 1
30038 if test "$wxUSE_STL" = "yes"; then
30039 cat >>confdefs.h
<<\_ACEOF
30040 #define wxUSE_STL 1
30045 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30046 cat >>confdefs.h
<<\_ACEOF
30047 #define wxUSE_APPLE_IEEE 1
30052 if test "$wxUSE_TIMER" = "yes"; then
30053 cat >>confdefs.h
<<\_ACEOF
30054 #define wxUSE_TIMER 1
30059 if test "$wxUSE_WAVE" = "yes"; then
30060 cat >>confdefs.h
<<\_ACEOF
30061 #define wxUSE_WAVE 1
30066 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30067 cat >>confdefs.h
<<\_ACEOF
30068 #define wxUSE_CMDLINE_PARSER 1
30073 if test "$wxUSE_STOPWATCH" = "yes"; then
30074 cat >>confdefs.h
<<\_ACEOF
30075 #define wxUSE_STOPWATCH 1
30080 if test "$wxUSE_DATETIME" = "yes"; then
30081 cat >>confdefs.h
<<\_ACEOF
30082 #define wxUSE_DATETIME 1
30087 if test "$wxUSE_FILE" = "yes"; then
30088 cat >>confdefs.h
<<\_ACEOF
30089 #define wxUSE_FILE 1
30094 if test "$wxUSE_FFILE" = "yes"; then
30095 cat >>confdefs.h
<<\_ACEOF
30096 #define wxUSE_FFILE 1
30101 if test "$wxUSE_FILESYSTEM" = "yes"; then
30102 cat >>confdefs.h
<<\_ACEOF
30103 #define wxUSE_FILESYSTEM 1
30108 if test "$wxUSE_FS_ZIP" = "yes"; then
30109 cat >>confdefs.h
<<\_ACEOF
30110 #define wxUSE_FS_ZIP 1
30115 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30116 cat >>confdefs.h
<<\_ACEOF
30117 #define wxUSE_ZIPSTREAM 1
30122 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30123 cat >>confdefs.h
<<\_ACEOF
30124 #define wxUSE_ON_FATAL_EXCEPTION 1
30129 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30130 cat >>confdefs.h
<<\_ACEOF
30131 #define wxUSE_SNGLINST_CHECKER 1
30136 if test "$wxUSE_BUSYINFO" = "yes"; then
30137 cat >>confdefs.h
<<\_ACEOF
30138 #define wxUSE_BUSYINFO 1
30143 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30144 cat >>confdefs.h
<<\_ACEOF
30145 #define wxUSE_STD_IOSTREAM 1
30150 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30151 cat >>confdefs.h
<<\_ACEOF
30152 #define wxUSE_TEXTBUFFER 1
30157 if test "$wxUSE_TEXTFILE" = "yes"; then
30158 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30159 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30160 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30162 cat >>confdefs.h
<<\_ACEOF
30163 #define wxUSE_TEXTFILE 1
30169 if test "$wxUSE_CONFIG" = "yes" ; then
30170 if test "$wxUSE_TEXTFILE" != "yes"; then
30171 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30172 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30174 cat >>confdefs.h
<<\_ACEOF
30175 #define wxUSE_CONFIG 1
30178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30182 if test "$wxUSE_INTL" = "yes" ; then
30183 if test "$wxUSE_FILE" != "yes"; then
30184 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30185 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30187 cat >>confdefs.h
<<\_ACEOF
30188 #define wxUSE_INTL 1
30191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30192 GUIDIST
="$GUIDIST INTL_DIST"
30196 if test "$wxUSE_LOG" = "yes"; then
30197 cat >>confdefs.h
<<\_ACEOF
30198 #define wxUSE_LOG 1
30202 if test "$wxUSE_LOGGUI" = "yes"; then
30203 cat >>confdefs.h
<<\_ACEOF
30204 #define wxUSE_LOGGUI 1
30209 if test "$wxUSE_LOGWINDOW" = "yes"; then
30210 cat >>confdefs.h
<<\_ACEOF
30211 #define wxUSE_LOGWINDOW 1
30216 if test "$wxUSE_LOGDIALOG" = "yes"; then
30217 cat >>confdefs.h
<<\_ACEOF
30218 #define wxUSE_LOG_DIALOG 1
30224 if test "$wxUSE_LONGLONG" = "yes"; then
30225 cat >>confdefs.h
<<\_ACEOF
30226 #define wxUSE_LONGLONG 1
30231 if test "$wxUSE_GEOMETRY" = "yes"; then
30232 cat >>confdefs.h
<<\_ACEOF
30233 #define wxUSE_GEOMETRY 1
30238 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30239 cat >>confdefs.h
<<\_ACEOF
30240 #define wxUSE_DIALUP_MANAGER 1
30243 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30246 if test "$wxUSE_STREAMS" = "yes" ; then
30247 cat >>confdefs.h
<<\_ACEOF
30248 #define wxUSE_STREAMS 1
30254 if test "$wxUSE_DATETIME" = "yes"; then
30256 for ac_func
in strptime
30258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30259 echo "$as_me:$LINENO: checking for $ac_func" >&5
30260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30261 if eval "test \"\${$as_ac_var+set}\" = set"; then
30262 echo $ECHO_N "(cached) $ECHO_C" >&6
30264 cat >conftest.
$ac_ext <<_ACEOF
30265 #line $LINENO "configure"
30268 cat confdefs.h
>>conftest.
$ac_ext
30269 cat >>conftest.
$ac_ext <<_ACEOF
30270 /* end confdefs.h. */
30271 /* System header to define __stub macros and hopefully few prototypes,
30272 which can conflict with char $ac_func (); below.
30273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30274 <limits.h> exists even on freestanding compilers. */
30276 # include <limits.h>
30278 # include <assert.h>
30280 /* Override any gcc2 internal prototype to avoid an error. */
30285 /* We use char because int might match the return type of a gcc2
30286 builtin and then its argument prototype would still apply. */
30288 /* The GNU C library defines this for functions which it implements
30289 to always fail with ENOSYS. Some functions are actually named
30290 something starting with __ and the normal name is an alias. */
30291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30294 char (*f) () = $ac_func;
30303 return f != $ac_func;
30308 rm -f conftest.
$ac_objext conftest
$ac_exeext
30309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30310 (eval $ac_link) 2>&5
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); } &&
30314 { ac_try
='test -s conftest$ac_exeext'
30315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30316 (eval $ac_try) 2>&5
30318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30319 (exit $ac_status); }; }; then
30320 eval "$as_ac_var=yes"
30322 echo "$as_me: failed program was:" >&5
30323 sed 's/^/| /' conftest.
$ac_ext >&5
30325 eval "$as_ac_var=no"
30327 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30331 if test `eval echo '${'$as_ac_var'}'` = yes; then
30332 cat >>confdefs.h
<<_ACEOF
30333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30340 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30341 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30342 if test "${wx_cv_var_timezone+set}" = set; then
30343 echo $ECHO_N "(cached) $ECHO_C" >&6
30346 cat >conftest.
$ac_ext <<_ACEOF
30347 #line $LINENO "configure"
30350 cat confdefs.h
>>conftest.
$ac_ext
30351 cat >>conftest.
$ac_ext <<_ACEOF
30352 /* end confdefs.h. */
30367 rm -f conftest.
$ac_objext
30368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30369 (eval $ac_compile) 2>&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } &&
30373 { ac_try
='test -s conftest.$ac_objext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30380 wx_cv_var_timezone
=timezone
30383 echo "$as_me: failed program was:" >&5
30384 sed 's/^/| /' conftest.
$ac_ext >&5
30387 cat >conftest.
$ac_ext <<_ACEOF
30388 #line $LINENO "configure"
30391 cat confdefs.h
>>conftest.
$ac_ext
30392 cat >>conftest.
$ac_ext <<_ACEOF
30393 /* end confdefs.h. */
30408 rm -f conftest.
$ac_objext
30409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30410 (eval $ac_compile) 2>&5
30412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413 (exit $ac_status); } &&
30414 { ac_try
='test -s conftest.$ac_objext'
30415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30416 (eval $ac_try) 2>&5
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); }; }; then
30421 wx_cv_var_timezone
=_timezone
30424 echo "$as_me: failed program was:" >&5
30425 sed 's/^/| /' conftest.
$ac_ext >&5
30428 cat >conftest.
$ac_ext <<_ACEOF
30429 #line $LINENO "configure"
30432 cat confdefs.h
>>conftest.
$ac_ext
30433 cat >>conftest.
$ac_ext <<_ACEOF
30434 /* end confdefs.h. */
30449 rm -f conftest.
$ac_objext
30450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30451 (eval $ac_compile) 2>&5
30453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454 (exit $ac_status); } &&
30455 { ac_try
='test -s conftest.$ac_objext'
30456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30457 (eval $ac_try) 2>&5
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); }; }; then
30462 wx_cv_var_timezone
=__timezone
30465 echo "$as_me: failed program was:" >&5
30466 sed 's/^/| /' conftest.
$ac_ext >&5
30469 if test "$USE_DOS" = 0 ; then
30470 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30471 echo "$as_me: WARNING: no timezone variable" >&2;}
30476 rm -f conftest.
$ac_objext conftest.
$ac_ext
30480 rm -f conftest.
$ac_objext conftest.
$ac_ext
30484 rm -f conftest.
$ac_objext conftest.
$ac_ext
30488 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30489 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30491 if test "x$wx_cv_var_timezone" != x
; then
30492 cat >>confdefs.h
<<_ACEOF
30493 #define WX_TIMEZONE $wx_cv_var_timezone
30499 for ac_func
in localtime
30501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30502 echo "$as_me:$LINENO: checking for $ac_func" >&5
30503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30504 if eval "test \"\${$as_ac_var+set}\" = set"; then
30505 echo $ECHO_N "(cached) $ECHO_C" >&6
30507 cat >conftest.
$ac_ext <<_ACEOF
30508 #line $LINENO "configure"
30511 cat confdefs.h
>>conftest.
$ac_ext
30512 cat >>conftest.
$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514 /* System header to define __stub macros and hopefully few prototypes,
30515 which can conflict with char $ac_func (); below.
30516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30517 <limits.h> exists even on freestanding compilers. */
30519 # include <limits.h>
30521 # include <assert.h>
30523 /* Override any gcc2 internal prototype to avoid an error. */
30528 /* We use char because int might match the return type of a gcc2
30529 builtin and then its argument prototype would still apply. */
30531 /* The GNU C library defines this for functions which it implements
30532 to always fail with ENOSYS. Some functions are actually named
30533 something starting with __ and the normal name is an alias. */
30534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30537 char (*f) () = $ac_func;
30546 return f != $ac_func;
30551 rm -f conftest.
$ac_objext conftest
$ac_exeext
30552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30553 (eval $ac_link) 2>&5
30555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30556 (exit $ac_status); } &&
30557 { ac_try
='test -s conftest$ac_exeext'
30558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30559 (eval $ac_try) 2>&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); }; }; then
30563 eval "$as_ac_var=yes"
30565 echo "$as_me: failed program was:" >&5
30566 sed 's/^/| /' conftest.
$ac_ext >&5
30568 eval "$as_ac_var=no"
30570 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30574 if test `eval echo '${'$as_ac_var'}'` = yes; then
30575 cat >>confdefs.h
<<_ACEOF
30576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30583 if test "$ac_cv_func_localtime" = "yes"; then
30584 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30585 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30586 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30587 echo $ECHO_N "(cached) $ECHO_C" >&6
30590 cat >conftest.
$ac_ext <<_ACEOF
30591 #line $LINENO "configure"
30594 cat confdefs.h
>>conftest.
$ac_ext
30595 cat >>conftest.
$ac_ext <<_ACEOF
30596 /* end confdefs.h. */
30611 rm -f conftest.
$ac_objext
30612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30613 (eval $ac_compile) 2>&5
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); } &&
30617 { ac_try
='test -s conftest.$ac_objext'
30618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30619 (eval $ac_try) 2>&5
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); }; }; then
30624 wx_cv_struct_tm_has_gmtoff
=yes
30627 echo "$as_me: failed program was:" >&5
30628 sed 's/^/| /' conftest.
$ac_ext >&5
30630 wx_cv_struct_tm_has_gmtoff
=no
30633 rm -f conftest.
$ac_objext conftest.
$ac_ext
30636 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30637 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30640 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30641 cat >>confdefs.h
<<\_ACEOF
30642 #define WX_GMTOFF_IN_TM 1
30649 for ac_func
in gettimeofday ftime
30651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30652 echo "$as_me:$LINENO: checking for $ac_func" >&5
30653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30654 if eval "test \"\${$as_ac_var+set}\" = set"; then
30655 echo $ECHO_N "(cached) $ECHO_C" >&6
30657 cat >conftest.
$ac_ext <<_ACEOF
30658 #line $LINENO "configure"
30661 cat confdefs.h
>>conftest.
$ac_ext
30662 cat >>conftest.
$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30664 /* System header to define __stub macros and hopefully few prototypes,
30665 which can conflict with char $ac_func (); below.
30666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30667 <limits.h> exists even on freestanding compilers. */
30669 # include <limits.h>
30671 # include <assert.h>
30673 /* Override any gcc2 internal prototype to avoid an error. */
30678 /* We use char because int might match the return type of a gcc2
30679 builtin and then its argument prototype would still apply. */
30681 /* The GNU C library defines this for functions which it implements
30682 to always fail with ENOSYS. Some functions are actually named
30683 something starting with __ and the normal name is an alias. */
30684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30687 char (*f) () = $ac_func;
30696 return f != $ac_func;
30701 rm -f conftest.
$ac_objext conftest
$ac_exeext
30702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30703 (eval $ac_link) 2>&5
30705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706 (exit $ac_status); } &&
30707 { ac_try
='test -s conftest$ac_exeext'
30708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30709 (eval $ac_try) 2>&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); }; }; then
30713 eval "$as_ac_var=yes"
30715 echo "$as_me: failed program was:" >&5
30716 sed 's/^/| /' conftest.
$ac_ext >&5
30718 eval "$as_ac_var=no"
30720 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30724 if test `eval echo '${'$as_ac_var'}'` = yes; then
30725 cat >>confdefs.h
<<_ACEOF
30726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30733 if test "$ac_cv_func_gettimeofday" = "yes"; then
30734 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30735 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30736 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30737 echo $ECHO_N "(cached) $ECHO_C" >&6
30743 ac_cpp
='$CXXCPP $CPPFLAGS'
30744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30749 cat >conftest.
$ac_ext <<_ACEOF
30750 #line $LINENO "configure"
30753 cat confdefs.h
>>conftest.
$ac_ext
30754 cat >>conftest.
$ac_ext <<_ACEOF
30755 /* end confdefs.h. */
30757 #include <sys/time.h>
30758 #include <unistd.h>
30765 gettimeofday(&tv, NULL);
30771 rm -f conftest.
$ac_objext
30772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30773 (eval $ac_compile) 2>&5
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); } &&
30777 { ac_try
='test -s conftest.$ac_objext'
30778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30779 (eval $ac_try) 2>&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; }; then
30783 wx_cv_func_gettimeofday_has_2_args
=yes
30785 echo "$as_me: failed program was:" >&5
30786 sed 's/^/| /' conftest.
$ac_ext >&5
30788 cat >conftest.
$ac_ext <<_ACEOF
30789 #line $LINENO "configure"
30792 cat confdefs.h
>>conftest.
$ac_ext
30793 cat >>conftest.
$ac_ext <<_ACEOF
30794 /* end confdefs.h. */
30796 #include <sys/time.h>
30797 #include <unistd.h>
30810 rm -f conftest.
$ac_objext
30811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30812 (eval $ac_compile) 2>&5
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); } &&
30816 { ac_try
='test -s conftest.$ac_objext'
30817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30818 (eval $ac_try) 2>&5
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); }; }; then
30822 wx_cv_func_gettimeofday_has_2_args
=no
30824 echo "$as_me: failed program was:" >&5
30825 sed 's/^/| /' conftest.
$ac_ext >&5
30828 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30829 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30830 wx_cv_func_gettimeofday_has_2_args
=unknown
30834 rm -f conftest.
$ac_objext conftest.
$ac_ext
30837 rm -f conftest.
$ac_objext conftest.
$ac_ext
30839 ac_cpp
='$CPP $CPPFLAGS'
30840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30846 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30847 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30849 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30850 cat >>confdefs.h
<<\_ACEOF
30851 #define WX_GETTIMEOFDAY_NO_TZ 1
30857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30861 if test "$wxUSE_SOCKETS" = "yes"; then
30862 if test "$wxUSE_MGL" = "1"; then
30863 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30864 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30867 if test "$wxUSE_COCOA" = "1"; then
30868 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30869 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30874 if test "$wxUSE_SOCKETS" = "yes"; then
30875 if test "$TOOLKIT" != "MSW"; then
30876 echo "$as_me:$LINENO: checking for socket" >&5
30877 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30878 if test "${ac_cv_func_socket+set}" = set; then
30879 echo $ECHO_N "(cached) $ECHO_C" >&6
30881 cat >conftest.
$ac_ext <<_ACEOF
30882 #line $LINENO "configure"
30885 cat confdefs.h
>>conftest.
$ac_ext
30886 cat >>conftest.
$ac_ext <<_ACEOF
30887 /* end confdefs.h. */
30888 /* System header to define __stub macros and hopefully few prototypes,
30889 which can conflict with char socket (); below.
30890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30891 <limits.h> exists even on freestanding compilers. */
30893 # include <limits.h>
30895 # include <assert.h>
30897 /* Override any gcc2 internal prototype to avoid an error. */
30902 /* We use char because int might match the return type of a gcc2
30903 builtin and then its argument prototype would still apply. */
30905 /* The GNU C library defines this for functions which it implements
30906 to always fail with ENOSYS. Some functions are actually named
30907 something starting with __ and the normal name is an alias. */
30908 #if defined (__stub_socket) || defined (__stub___socket)
30911 char (*f) () = socket;
30920 return f != socket;
30925 rm -f conftest.
$ac_objext conftest
$ac_exeext
30926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30927 (eval $ac_link) 2>&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); } &&
30931 { ac_try
='test -s conftest$ac_exeext'
30932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30933 (eval $ac_try) 2>&5
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); }; }; then
30937 ac_cv_func_socket
=yes
30939 echo "$as_me: failed program was:" >&5
30940 sed 's/^/| /' conftest.
$ac_ext >&5
30942 ac_cv_func_socket
=no
30944 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30946 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30947 echo "${ECHO_T}$ac_cv_func_socket" >&6
30948 if test $ac_cv_func_socket = yes; then
30951 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30952 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30953 if test "${ac_cv_lib_socket_socket+set}" = set; then
30954 echo $ECHO_N "(cached) $ECHO_C" >&6
30956 ac_check_lib_save_LIBS
=$LIBS
30957 LIBS
="-lsocket $LIBS"
30958 cat >conftest.
$ac_ext <<_ACEOF
30959 #line $LINENO "configure"
30962 cat confdefs.h
>>conftest.
$ac_ext
30963 cat >>conftest.
$ac_ext <<_ACEOF
30964 /* end confdefs.h. */
30966 /* Override any gcc2 internal prototype to avoid an error. */
30970 /* We use char because int might match the return type of a gcc2
30971 builtin and then its argument prototype would still apply. */
30981 rm -f conftest.
$ac_objext conftest
$ac_exeext
30982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30983 (eval $ac_link) 2>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); } &&
30987 { ac_try
='test -s conftest$ac_exeext'
30988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989 (eval $ac_try) 2>&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; }; then
30993 ac_cv_lib_socket_socket
=yes
30995 echo "$as_me: failed program was:" >&5
30996 sed 's/^/| /' conftest.
$ac_ext >&5
30998 ac_cv_lib_socket_socket
=no
31000 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31001 LIBS
=$ac_check_lib_save_LIBS
31003 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31004 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31005 if test $ac_cv_lib_socket_socket = yes; then
31006 if test "$INET_LINK" != " -lsocket"; then
31007 INET_LINK
="$INET_LINK -lsocket"
31011 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31012 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31024 if test "$wxUSE_SOCKETS" = "yes" ; then
31025 if test "$TOOLKIT" != "MSW"; then
31026 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31027 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31028 if test "${wx_cv_type_getsockname3+set}" = set; then
31029 echo $ECHO_N "(cached) $ECHO_C" >&6
31032 cat >conftest.
$ac_ext <<_ACEOF
31033 #line $LINENO "configure"
31036 cat confdefs.h
>>conftest.
$ac_ext
31037 cat >>conftest.
$ac_ext <<_ACEOF
31038 /* end confdefs.h. */
31040 #include <sys/types.h>
31041 #include <sys/socket.h>
31048 getsockname(0, 0, &len);
31054 rm -f conftest.
$ac_objext
31055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31056 (eval $ac_compile) 2>&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); } &&
31060 { ac_try
='test -s conftest.$ac_objext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 wx_cv_type_getsockname3
=socklen_t
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.
$ac_ext >&5
31072 CFLAGS_OLD
="$CFLAGS"
31073 if test "$GCC" = yes ; then
31074 CFLAGS
="$CFLAGS -Werror"
31077 cat >conftest.
$ac_ext <<_ACEOF
31078 #line $LINENO "configure"
31081 cat confdefs.h
>>conftest.
$ac_ext
31082 cat >>conftest.
$ac_ext <<_ACEOF
31083 /* end confdefs.h. */
31085 #include <sys/types.h>
31086 #include <sys/socket.h>
31093 getsockname(0, 0, &len);
31099 rm -f conftest.
$ac_objext
31100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31101 (eval $ac_compile) 2>&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } &&
31105 { ac_try
='test -s conftest.$ac_objext'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; }; then
31111 wx_cv_type_getsockname3
=size_t
31113 echo "$as_me: failed program was:" >&5
31114 sed 's/^/| /' conftest.
$ac_ext >&5
31116 cat >conftest.
$ac_ext <<_ACEOF
31117 #line $LINENO "configure"
31120 cat confdefs.h
>>conftest.
$ac_ext
31121 cat >>conftest.
$ac_ext <<_ACEOF
31122 /* end confdefs.h. */
31124 #include <sys/types.h>
31125 #include <sys/socket.h>
31132 getsockname(0, 0, &len);
31138 rm -f conftest.
$ac_objext
31139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31140 (eval $ac_compile) 2>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try
='test -s conftest.$ac_objext'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; }; then
31150 wx_cv_type_getsockname3
=int
31152 echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.
$ac_ext >&5
31155 wx_cv_type_getsockname3
=unknown
31158 rm -f conftest.
$ac_objext conftest.
$ac_ext
31161 rm -f conftest.
$ac_objext conftest.
$ac_ext
31163 CFLAGS
="$CFLAGS_OLD"
31167 rm -f conftest.
$ac_objext conftest.
$ac_ext
31170 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31171 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31173 if test "$wx_cv_type_getsockname3" = "unknown"; then
31175 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31176 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31178 cat >>confdefs.h
<<_ACEOF
31179 #define SOCKLEN_T $wx_cv_type_getsockname3
31186 if test "$wxUSE_SOCKETS" = "yes" ; then
31187 cat >>confdefs.h
<<\_ACEOF
31188 #define wxUSE_SOCKETS 1
31191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31194 if test "$wxUSE_PROTOCOL" = "yes"; then
31195 if test "$wxUSE_SOCKETS" != "yes"; then
31196 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31197 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31202 if test "$wxUSE_PROTOCOL" = "yes"; then
31203 cat >>confdefs.h
<<\_ACEOF
31204 #define wxUSE_PROTOCOL 1
31208 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31209 cat >>confdefs.h
<<\_ACEOF
31210 #define wxUSE_PROTOCOL_HTTP 1
31214 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31215 cat >>confdefs.h
<<\_ACEOF
31216 #define wxUSE_PROTOCOL_FTP 1
31220 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31221 cat >>confdefs.h
<<\_ACEOF
31222 #define wxUSE_PROTOCOL_FILE 1
31227 if test "$wxUSE_FS_INET" = "yes"; then
31228 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31229 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31234 if test "$wxUSE_URL" = "yes"; then
31235 if test "$wxUSE_PROTOCOL" != "yes"; then
31236 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31237 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31240 if test "$wxUSE_URL" = "yes"; then
31241 cat >>confdefs.h
<<\_ACEOF
31242 #define wxUSE_URL 1
31248 if test "$wxUSE_FS_INET" = "yes"; then
31249 cat >>confdefs.h
<<\_ACEOF
31250 #define wxUSE_FS_INET 1
31256 if test "$wxUSE_GUI" = "yes"; then
31258 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31259 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31260 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31263 if test "$TOOLKIT" = "MOTIF"; then
31264 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31265 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31268 if test "$TOOLKIT" = "X11"; then
31269 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31270 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31274 if test "$TOOLKIT" != "MSW"; then
31275 if test "$wxUSE_JOYSTICK" = "yes"; then
31277 for ac_header
in linux
/joystick.h
31279 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31281 echo "$as_me:$LINENO: checking for $ac_header" >&5
31282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31284 echo $ECHO_N "(cached) $ECHO_C" >&6
31286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31289 # Is the header compilable?
31290 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31291 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31292 cat >conftest.
$ac_ext <<_ACEOF
31293 #line $LINENO "configure"
31296 cat confdefs.h
>>conftest.
$ac_ext
31297 cat >>conftest.
$ac_ext <<_ACEOF
31298 /* end confdefs.h. */
31299 $ac_includes_default
31300 #include <$ac_header>
31302 rm -f conftest.
$ac_objext
31303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31304 (eval $ac_compile) 2>&5
31306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307 (exit $ac_status); } &&
31308 { ac_try
='test -s conftest.$ac_objext'
31309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31310 (eval $ac_try) 2>&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); }; }; then
31314 ac_header_compiler
=yes
31316 echo "$as_me: failed program was:" >&5
31317 sed 's/^/| /' conftest.
$ac_ext >&5
31319 ac_header_compiler
=no
31321 rm -f conftest.
$ac_objext conftest.
$ac_ext
31322 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31323 echo "${ECHO_T}$ac_header_compiler" >&6
31325 # Is the header present?
31326 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31327 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31328 cat >conftest.
$ac_ext <<_ACEOF
31329 #line $LINENO "configure"
31332 cat confdefs.h
>>conftest.
$ac_ext
31333 cat >>conftest.
$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31335 #include <$ac_header>
31337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31338 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31340 grep -v '^ *+' conftest.er1
>conftest.err
31342 cat conftest.err
>&5
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); } >/dev
/null
; then
31345 if test -s conftest.err
; then
31346 ac_cpp_err
=$ac_c_preproc_warn_flag
31353 if test -z "$ac_cpp_err"; then
31354 ac_header_preproc
=yes
31356 echo "$as_me: failed program was:" >&5
31357 sed 's/^/| /' conftest.
$ac_ext >&5
31359 ac_header_preproc
=no
31361 rm -f conftest.err conftest.
$ac_ext
31362 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31363 echo "${ECHO_T}$ac_header_preproc" >&6
31365 # So? What about this header?
31366 case $ac_header_compiler:$ac_header_preproc in
31368 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31369 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31374 ## ------------------------------------ ##
31375 ## Report this to bug-autoconf@gnu.org. ##
31376 ## ------------------------------------ ##
31379 sed "s/^/$as_me: WARNING: /" >&2
31382 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31383 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31384 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31385 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31390 ## ------------------------------------ ##
31391 ## Report this to bug-autoconf@gnu.org. ##
31392 ## ------------------------------------ ##
31395 sed "s/^/$as_me: WARNING: /" >&2
31398 echo "$as_me:$LINENO: checking for $ac_header" >&5
31399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31401 echo $ECHO_N "(cached) $ECHO_C" >&6
31403 eval "$as_ac_Header=$ac_header_preproc"
31405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31410 cat >>confdefs.h
<<_ACEOF
31411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31418 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31420 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31421 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31426 if test "$wxUSE_JOYSTICK" = "yes"; then
31427 cat >>confdefs.h
<<\_ACEOF
31428 #define wxUSE_JOYSTICK 1
31431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31436 if test "$TOOLKIT" != "MSW"; then
31440 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31441 if test "$USE_DARWIN" = 1; then
31445 for ac_func
in dlopen
31447 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31448 echo "$as_me:$LINENO: checking for $ac_func" >&5
31449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31450 if eval "test \"\${$as_ac_var+set}\" = set"; then
31451 echo $ECHO_N "(cached) $ECHO_C" >&6
31453 cat >conftest.
$ac_ext <<_ACEOF
31454 #line $LINENO "configure"
31457 cat confdefs.h
>>conftest.
$ac_ext
31458 cat >>conftest.
$ac_ext <<_ACEOF
31459 /* end confdefs.h. */
31460 /* System header to define __stub macros and hopefully few prototypes,
31461 which can conflict with char $ac_func (); below.
31462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31463 <limits.h> exists even on freestanding compilers. */
31465 # include <limits.h>
31467 # include <assert.h>
31469 /* Override any gcc2 internal prototype to avoid an error. */
31474 /* We use char because int might match the return type of a gcc2
31475 builtin and then its argument prototype would still apply. */
31477 /* The GNU C library defines this for functions which it implements
31478 to always fail with ENOSYS. Some functions are actually named
31479 something starting with __ and the normal name is an alias. */
31480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31483 char (*f) () = $ac_func;
31492 return f != $ac_func;
31497 rm -f conftest.
$ac_objext conftest
$ac_exeext
31498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31499 (eval $ac_link) 2>&5
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); } &&
31503 { ac_try
='test -s conftest$ac_exeext'
31504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31505 (eval $ac_try) 2>&5
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); }; }; then
31509 eval "$as_ac_var=yes"
31511 echo "$as_me: failed program was:" >&5
31512 sed 's/^/| /' conftest.
$ac_ext >&5
31514 eval "$as_ac_var=no"
31516 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31520 if test `eval echo '${'$as_ac_var'}'` = yes; then
31521 cat >>confdefs.h
<<_ACEOF
31522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31525 cat >>confdefs.h
<<\_ACEOF
31526 #define HAVE_DLOPEN 1
31533 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31534 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31535 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31536 echo $ECHO_N "(cached) $ECHO_C" >&6
31538 ac_check_lib_save_LIBS
=$LIBS
31540 cat >conftest.
$ac_ext <<_ACEOF
31541 #line $LINENO "configure"
31544 cat confdefs.h
>>conftest.
$ac_ext
31545 cat >>conftest.
$ac_ext <<_ACEOF
31546 /* end confdefs.h. */
31548 /* Override any gcc2 internal prototype to avoid an error. */
31552 /* We use char because int might match the return type of a gcc2
31553 builtin and then its argument prototype would still apply. */
31563 rm -f conftest.
$ac_objext conftest
$ac_exeext
31564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31565 (eval $ac_link) 2>&5
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); } &&
31569 { ac_try
='test -s conftest$ac_exeext'
31570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31571 (eval $ac_try) 2>&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); }; }; then
31575 ac_cv_lib_dl_dlopen
=yes
31577 echo "$as_me: failed program was:" >&5
31578 sed 's/^/| /' conftest.
$ac_ext >&5
31580 ac_cv_lib_dl_dlopen
=no
31582 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31583 LIBS
=$ac_check_lib_save_LIBS
31585 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31586 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31587 if test $ac_cv_lib_dl_dlopen = yes; then
31589 cat >>confdefs.h
<<\_ACEOF
31590 #define HAVE_DLOPEN 1
31594 DL_LINK
=" -ldl$DL_LINK"
31599 for ac_func
in shl_load
31601 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31602 echo "$as_me:$LINENO: checking for $ac_func" >&5
31603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31604 if eval "test \"\${$as_ac_var+set}\" = set"; then
31605 echo $ECHO_N "(cached) $ECHO_C" >&6
31607 cat >conftest.
$ac_ext <<_ACEOF
31608 #line $LINENO "configure"
31611 cat confdefs.h
>>conftest.
$ac_ext
31612 cat >>conftest.
$ac_ext <<_ACEOF
31613 /* end confdefs.h. */
31614 /* System header to define __stub macros and hopefully few prototypes,
31615 which can conflict with char $ac_func (); below.
31616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31617 <limits.h> exists even on freestanding compilers. */
31619 # include <limits.h>
31621 # include <assert.h>
31623 /* Override any gcc2 internal prototype to avoid an error. */
31628 /* We use char because int might match the return type of a gcc2
31629 builtin and then its argument prototype would still apply. */
31631 /* The GNU C library defines this for functions which it implements
31632 to always fail with ENOSYS. Some functions are actually named
31633 something starting with __ and the normal name is an alias. */
31634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31637 char (*f) () = $ac_func;
31646 return f != $ac_func;
31651 rm -f conftest.
$ac_objext conftest
$ac_exeext
31652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31653 (eval $ac_link) 2>&5
31655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656 (exit $ac_status); } &&
31657 { ac_try
='test -s conftest$ac_exeext'
31658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31659 (eval $ac_try) 2>&5
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); }; }; then
31663 eval "$as_ac_var=yes"
31665 echo "$as_me: failed program was:" >&5
31666 sed 's/^/| /' conftest.
$ac_ext >&5
31668 eval "$as_ac_var=no"
31670 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31674 if test `eval echo '${'$as_ac_var'}'` = yes; then
31675 cat >>confdefs.h
<<_ACEOF
31676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31679 cat >>confdefs.h
<<\_ACEOF
31680 #define HAVE_SHL_LOAD 1
31687 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31688 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31689 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31690 echo $ECHO_N "(cached) $ECHO_C" >&6
31692 ac_check_lib_save_LIBS
=$LIBS
31693 LIBS
="-lshl_load $LIBS"
31694 cat >conftest.
$ac_ext <<_ACEOF
31695 #line $LINENO "configure"
31698 cat confdefs.h
>>conftest.
$ac_ext
31699 cat >>conftest.
$ac_ext <<_ACEOF
31700 /* end confdefs.h. */
31702 /* Override any gcc2 internal prototype to avoid an error. */
31706 /* We use char because int might match the return type of a gcc2
31707 builtin and then its argument prototype would still apply. */
31717 rm -f conftest.
$ac_objext conftest
$ac_exeext
31718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31719 (eval $ac_link) 2>&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); } &&
31723 { ac_try
='test -s conftest$ac_exeext'
31724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31725 (eval $ac_try) 2>&5
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); }; }; then
31729 ac_cv_lib_shl_load_dld
=yes
31731 echo "$as_me: failed program was:" >&5
31732 sed 's/^/| /' conftest.
$ac_ext >&5
31734 ac_cv_lib_shl_load_dld
=no
31736 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31737 LIBS
=$ac_check_lib_save_LIBS
31739 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31740 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31741 if test $ac_cv_lib_shl_load_dld = yes; then
31744 DL_LINK
=" -ldld$DL_LINK"
31760 if test "$HAVE_DL_FUNCS" = 1; then
31762 for ac_func
in dlerror
31764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31765 echo "$as_me:$LINENO: checking for $ac_func" >&5
31766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31767 if eval "test \"\${$as_ac_var+set}\" = set"; then
31768 echo $ECHO_N "(cached) $ECHO_C" >&6
31770 cat >conftest.
$ac_ext <<_ACEOF
31771 #line $LINENO "configure"
31774 cat confdefs.h
>>conftest.
$ac_ext
31775 cat >>conftest.
$ac_ext <<_ACEOF
31776 /* end confdefs.h. */
31777 /* System header to define __stub macros and hopefully few prototypes,
31778 which can conflict with char $ac_func (); below.
31779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31780 <limits.h> exists even on freestanding compilers. */
31782 # include <limits.h>
31784 # include <assert.h>
31786 /* Override any gcc2 internal prototype to avoid an error. */
31791 /* We use char because int might match the return type of a gcc2
31792 builtin and then its argument prototype would still apply. */
31794 /* The GNU C library defines this for functions which it implements
31795 to always fail with ENOSYS. Some functions are actually named
31796 something starting with __ and the normal name is an alias. */
31797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31800 char (*f) () = $ac_func;
31809 return f != $ac_func;
31814 rm -f conftest.
$ac_objext conftest
$ac_exeext
31815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31816 (eval $ac_link) 2>&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); } &&
31820 { ac_try
='test -s conftest$ac_exeext'
31821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31822 (eval $ac_try) 2>&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); }; }; then
31826 eval "$as_ac_var=yes"
31828 echo "$as_me: failed program was:" >&5
31829 sed 's/^/| /' conftest.
$ac_ext >&5
31831 eval "$as_ac_var=no"
31833 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31837 if test `eval echo '${'$as_ac_var'}'` = yes; then
31838 cat >>confdefs.h
<<_ACEOF
31839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31841 cat >>confdefs.h
<<\_ACEOF
31842 #define HAVE_DLERROR 1
31846 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31847 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31848 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31849 echo $ECHO_N "(cached) $ECHO_C" >&6
31851 ac_check_lib_save_LIBS
=$LIBS
31853 cat >conftest.
$ac_ext <<_ACEOF
31854 #line $LINENO "configure"
31857 cat confdefs.h
>>conftest.
$ac_ext
31858 cat >>conftest.
$ac_ext <<_ACEOF
31859 /* end confdefs.h. */
31861 /* Override any gcc2 internal prototype to avoid an error. */
31865 /* We use char because int might match the return type of a gcc2
31866 builtin and then its argument prototype would still apply. */
31876 rm -f conftest.
$ac_objext conftest
$ac_exeext
31877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31878 (eval $ac_link) 2>&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); } &&
31882 { ac_try
='test -s conftest$ac_exeext'
31883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31884 (eval $ac_try) 2>&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); }; }; then
31888 ac_cv_lib_dl_dlerror
=yes
31890 echo "$as_me: failed program was:" >&5
31891 sed 's/^/| /' conftest.
$ac_ext >&5
31893 ac_cv_lib_dl_dlerror
=no
31895 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31896 LIBS
=$ac_check_lib_save_LIBS
31898 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31899 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31900 if test $ac_cv_lib_dl_dlerror = yes; then
31901 cat >>confdefs.h
<<\_ACEOF
31902 #define HAVE_DLERROR 1
31913 if test "$HAVE_DL_FUNCS" = 0; then
31914 if test "$HAVE_SHL_FUNCS" = 0; then
31915 if test "$USE_UNIX" = 1; then
31916 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31917 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31918 wxUSE_DYNAMIC_LOADER
=no
31919 wxUSE_DYNLIB_CLASS
=no
31921 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31922 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31929 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31930 cat >>confdefs.h
<<\_ACEOF
31931 #define wxUSE_DYNAMIC_LOADER 1
31934 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31935 cat >>confdefs.h
<<\_ACEOF
31936 #define wxUSE_DYNLIB_CLASS 1
31942 if test "$wxUSE_FONTMAP" = "yes" ; then
31943 cat >>confdefs.h
<<\_ACEOF
31944 #define wxUSE_FONTMAP 1
31949 if test "$wxUSE_UNICODE" = "yes" ; then
31950 cat >>confdefs.h
<<\_ACEOF
31951 #define wxUSE_UNICODE 1
31955 if test "$wxUSE_MSW" != 1; then
31956 wxUSE_UNICODE_MSLU
=no
31959 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31960 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31961 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31962 if test "${ac_cv_lib_unicows_main+set}" = set; then
31963 echo $ECHO_N "(cached) $ECHO_C" >&6
31965 ac_check_lib_save_LIBS
=$LIBS
31966 LIBS
="-lunicows $LIBS"
31967 cat >conftest.
$ac_ext <<_ACEOF
31968 #line $LINENO "configure"
31971 cat confdefs.h
>>conftest.
$ac_ext
31972 cat >>conftest.
$ac_ext <<_ACEOF
31973 /* end confdefs.h. */
31984 rm -f conftest.
$ac_objext conftest
$ac_exeext
31985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31986 (eval $ac_link) 2>&5
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); } &&
31990 { ac_try
='test -s conftest$ac_exeext'
31991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31992 (eval $ac_try) 2>&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); }; }; then
31996 ac_cv_lib_unicows_main
=yes
31998 echo "$as_me: failed program was:" >&5
31999 sed 's/^/| /' conftest.
$ac_ext >&5
32001 ac_cv_lib_unicows_main
=no
32003 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32004 LIBS
=$ac_check_lib_save_LIBS
32006 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32007 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32008 if test $ac_cv_lib_unicows_main = yes; then
32010 cat >>confdefs.h
<<\_ACEOF
32011 #define wxUSE_UNICODE_MSLU 1
32017 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32018 Applications will only run on Windows NT/2000/XP!" >&5
32019 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32020 Applications will only run on Windows NT/2000/XP!" >&2;}
32021 wxUSE_UNICODE_MSLU
=no
32028 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32029 cat >>confdefs.h
<<\_ACEOF
32030 #define wxUSE_EXPERIMENTAL_PRINTF 1
32036 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32037 cat >>confdefs.h
<<\_ACEOF
32038 #define wxUSE_POSTSCRIPT 1
32043 cat >>confdefs.h
<<\_ACEOF
32044 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32048 cat >>confdefs.h
<<\_ACEOF
32049 #define wxUSE_NORMALIZED_PS_FONTS 1
32054 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32055 cat >>confdefs.h
<<\_ACEOF
32056 #define wxUSE_CONSTRAINTS 1
32059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32062 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32063 cat >>confdefs.h
<<\_ACEOF
32064 #define wxUSE_MDI_ARCHITECTURE 1
32067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32070 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32071 cat >>confdefs.h
<<\_ACEOF
32072 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32076 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32081 if test "$wxUSE_HELP" = "yes"; then
32082 cat >>confdefs.h
<<\_ACEOF
32083 #define wxUSE_HELP 1
32086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32088 if test "$wxUSE_MSW" = 1; then
32089 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32090 cat >>confdefs.h
<<\_ACEOF
32091 #define wxUSE_MS_HTML_HELP 1
32097 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32098 if test "$wxUSE_HTML" = "yes"; then
32099 cat >>confdefs.h
<<\_ACEOF
32100 #define wxUSE_WXHTML_HELP 1
32104 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32105 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32106 wxUSE_WXHTML_HELP
=no
32111 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32112 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32113 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32114 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32116 cat >>confdefs.h
<<\_ACEOF
32117 #define wxUSE_PRINTING_ARCHITECTURE 1
32121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32124 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32125 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32126 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32127 { (exit 1); exit 1; }; }
32131 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32132 -o "$wxUSE_CLIPBOARD" = "yes" \
32133 -o "$wxUSE_OLE" = "yes" \
32134 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32136 for ac_header
in ole2.h
32138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32140 echo "$as_me:$LINENO: checking for $ac_header" >&5
32141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32143 echo $ECHO_N "(cached) $ECHO_C" >&6
32145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32148 # Is the header compilable?
32149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32151 cat >conftest.
$ac_ext <<_ACEOF
32152 #line $LINENO "configure"
32155 cat confdefs.h
>>conftest.
$ac_ext
32156 cat >>conftest.
$ac_ext <<_ACEOF
32157 /* end confdefs.h. */
32158 $ac_includes_default
32159 #include <$ac_header>
32161 rm -f conftest.
$ac_objext
32162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32163 (eval $ac_compile) 2>&5
32165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32166 (exit $ac_status); } &&
32167 { ac_try
='test -s conftest.$ac_objext'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; }; then
32173 ac_header_compiler
=yes
32175 echo "$as_me: failed program was:" >&5
32176 sed 's/^/| /' conftest.
$ac_ext >&5
32178 ac_header_compiler
=no
32180 rm -f conftest.
$ac_objext conftest.
$ac_ext
32181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32182 echo "${ECHO_T}$ac_header_compiler" >&6
32184 # Is the header present?
32185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32187 cat >conftest.
$ac_ext <<_ACEOF
32188 #line $LINENO "configure"
32191 cat confdefs.h
>>conftest.
$ac_ext
32192 cat >>conftest.
$ac_ext <<_ACEOF
32193 /* end confdefs.h. */
32194 #include <$ac_header>
32196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32199 grep -v '^ *+' conftest.er1
>conftest.err
32201 cat conftest.err
>&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } >/dev
/null
; then
32204 if test -s conftest.err
; then
32205 ac_cpp_err
=$ac_c_preproc_warn_flag
32212 if test -z "$ac_cpp_err"; then
32213 ac_header_preproc
=yes
32215 echo "$as_me: failed program was:" >&5
32216 sed 's/^/| /' conftest.
$ac_ext >&5
32218 ac_header_preproc
=no
32220 rm -f conftest.err conftest.
$ac_ext
32221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32222 echo "${ECHO_T}$ac_header_preproc" >&6
32224 # So? What about this header?
32225 case $ac_header_compiler:$ac_header_preproc in
32227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32233 ## ------------------------------------ ##
32234 ## Report this to bug-autoconf@gnu.org. ##
32235 ## ------------------------------------ ##
32238 sed "s/^/$as_me: WARNING: /" >&2
32241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32249 ## ------------------------------------ ##
32250 ## Report this to bug-autoconf@gnu.org. ##
32251 ## ------------------------------------ ##
32254 sed "s/^/$as_me: WARNING: /" >&2
32257 echo "$as_me:$LINENO: checking for $ac_header" >&5
32258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32260 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 eval "$as_ac_Header=$ac_header_preproc"
32264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32269 cat >>confdefs.h
<<_ACEOF
32270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32278 if test "$ac_cv_header_ole2_h" = "yes" ; then
32279 if test "$GCC" = yes ; then
32283 ac_cpp
='$CXXCPP $CPPFLAGS'
32284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32289 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32290 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32291 cat >conftest.
$ac_ext <<_ACEOF
32292 #line $LINENO "configure"
32295 cat confdefs.h
>>conftest.
$ac_ext
32296 cat >>conftest.
$ac_ext <<_ACEOF
32297 /* end confdefs.h. */
32298 #include <windows.h>
32308 rm -f conftest.
$ac_objext
32309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32310 (eval $ac_compile) 2>&5
32312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 (exit $ac_status); } &&
32314 { ac_try
='test -s conftest.$ac_objext'
32315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32316 (eval $ac_try) 2>&5
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); }; }; then
32320 echo "$as_me:$LINENO: result: no" >&5
32321 echo "${ECHO_T}no" >&6
32323 echo "$as_me: failed program was:" >&5
32324 sed 's/^/| /' conftest.
$ac_ext >&5
32326 echo "$as_me:$LINENO: result: yes" >&5
32327 echo "${ECHO_T}yes" >&6
32328 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32330 rm -f conftest.
$ac_objext conftest.
$ac_ext
32332 ac_cpp
='$CPP $CPPFLAGS'
32333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32337 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32338 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32339 cat >>confdefs.h
<<\_ACEOF
32340 #define wxUSE_OLE 1
32346 cat >>confdefs.h
<<\_ACEOF
32347 #define wxUSE_DATAOBJ 1
32351 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32352 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32355 wxUSE_DRAG_AND_DROP
=no
32360 if test "$wxUSE_METAFILE" = "yes"; then
32361 cat >>confdefs.h
<<\_ACEOF
32362 #define wxUSE_METAFILE 1
32366 cat >>confdefs.h
<<\_ACEOF
32367 #define wxUSE_ENH_METAFILE 1
32373 if test "$wxUSE_IPC" = "yes"; then
32374 if test "$wxUSE_SOCKETS" != "yes"; then
32375 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32376 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32379 cat >>confdefs.h
<<\_ACEOF
32380 #define wxUSE_IPC 1
32385 if test "$wxUSE_CLIPBOARD" = "yes"; then
32386 if test "$wxUSE_MGL" = 1; then
32387 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32388 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32392 if test "$wxUSE_CLIPBOARD" = "yes"; then
32393 cat >>confdefs.h
<<\_ACEOF
32394 #define wxUSE_CLIPBOARD 1
32398 cat >>confdefs.h
<<\_ACEOF
32399 #define wxUSE_DATAOBJ 1
32405 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32406 if test "$wxUSE_GTK" = 1; then
32407 if test "$WXGTK12" != 1; then
32408 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32409 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32410 wxUSE_DRAG_AND_DROP
=no
32414 if test "$wxUSE_MOTIF" = 1; then
32415 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32416 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32417 wxUSE_DRAG_AND_DROP
=no
32420 if test "$wxUSE_X11" = 1; then
32421 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32422 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32423 wxUSE_DRAG_AND_DROP
=no
32426 if test "$wxUSE_MGL" = 1; then
32427 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32428 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32429 wxUSE_DRAG_AND_DROP
=no
32432 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32433 cat >>confdefs.h
<<\_ACEOF
32434 #define wxUSE_DRAG_AND_DROP 1
32437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32442 if test "$wxUSE_SPLINES" = "yes" ; then
32443 cat >>confdefs.h
<<\_ACEOF
32444 #define wxUSE_SPLINES 1
32451 if test "$wxUSE_CONTROLS" = "yes"; then
32455 if test "$wxUSE_ACCEL" = "yes"; then
32456 cat >>confdefs.h
<<\_ACEOF
32457 #define wxUSE_ACCEL 1
32463 if test "$wxUSE_BUTTON" = "yes"; then
32464 cat >>confdefs.h
<<\_ACEOF
32465 #define wxUSE_BUTTON 1
32471 if test "$wxUSE_BMPBUTTON" = "yes"; then
32472 cat >>confdefs.h
<<\_ACEOF
32473 #define wxUSE_BMPBUTTON 1
32479 if test "$wxUSE_CALCTRL" = "yes"; then
32480 cat >>confdefs.h
<<\_ACEOF
32481 #define wxUSE_CALENDARCTRL 1
32485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32488 if test "$wxUSE_CARET" = "yes"; then
32489 cat >>confdefs.h
<<\_ACEOF
32490 #define wxUSE_CARET 1
32494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32497 if test "$wxUSE_COMBOBOX" = "yes"; then
32498 cat >>confdefs.h
<<\_ACEOF
32499 #define wxUSE_COMBOBOX 1
32505 if test "$wxUSE_CHOICE" = "yes"; then
32506 cat >>confdefs.h
<<\_ACEOF
32507 #define wxUSE_CHOICE 1
32513 if test "$wxUSE_CHECKBOX" = "yes"; then
32514 cat >>confdefs.h
<<\_ACEOF
32515 #define wxUSE_CHECKBOX 1
32521 if test "$wxUSE_CHECKLST" = "yes"; then
32522 cat >>confdefs.h
<<\_ACEOF
32523 #define wxUSE_CHECKLISTBOX 1
32527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32530 if test "$wxUSE_DISPLAY" = "yes"; then
32531 cat >>confdefs.h
<<\_ACEOF
32532 #define wxUSE_DISPLAY 1
32535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32538 if test "$wxUSE_GAUGE" = "yes"; then
32539 cat >>confdefs.h
<<\_ACEOF
32540 #define wxUSE_GAUGE 1
32546 if test "$wxUSE_GRID" = "yes"; then
32547 cat >>confdefs.h
<<\_ACEOF
32548 #define wxUSE_GRID 1
32552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32555 if test "$wxUSE_IMAGLIST" = "yes"; then
32556 cat >>confdefs.h
<<\_ACEOF
32557 #define wxUSE_IMAGLIST 1
32562 if test "$wxUSE_LISTBOX" = "yes"; then
32563 cat >>confdefs.h
<<\_ACEOF
32564 #define wxUSE_LISTBOX 1
32570 if test "$wxUSE_LISTCTRL" = "yes"; then
32571 if test "$wxUSE_IMAGLIST" = "yes"; then
32572 cat >>confdefs.h
<<\_ACEOF
32573 #define wxUSE_LISTCTRL 1
32577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32579 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32580 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32584 if test "$wxUSE_NOTEBOOK" = "yes"; then
32585 cat >>confdefs.h
<<\_ACEOF
32586 #define wxUSE_NOTEBOOK 1
32590 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32594 if test "$wxUSE_RADIOBOX" = "yes"; then
32595 cat >>confdefs.h
<<\_ACEOF
32596 #define wxUSE_RADIOBOX 1
32602 if test "$wxUSE_RADIOBTN" = "yes"; then
32603 cat >>confdefs.h
<<\_ACEOF
32604 #define wxUSE_RADIOBTN 1
32610 if test "$wxUSE_SASH" = "yes"; then
32611 cat >>confdefs.h
<<\_ACEOF
32612 #define wxUSE_SASH 1
32615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32618 if test "$wxUSE_SCROLLBAR" = "yes"; then
32619 cat >>confdefs.h
<<\_ACEOF
32620 #define wxUSE_SCROLLBAR 1
32624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32627 if test "$wxUSE_SLIDER" = "yes"; then
32628 cat >>confdefs.h
<<\_ACEOF
32629 #define wxUSE_SLIDER 1
32635 if test "$wxUSE_SPINBTN" = "yes"; then
32636 cat >>confdefs.h
<<\_ACEOF
32637 #define wxUSE_SPINBTN 1
32643 if test "$wxUSE_SPINCTRL" = "yes"; then
32644 cat >>confdefs.h
<<\_ACEOF
32645 #define wxUSE_SPINCTRL 1
32651 if test "$wxUSE_SPLITTER" = "yes"; then
32652 cat >>confdefs.h
<<\_ACEOF
32653 #define wxUSE_SPLITTER 1
32656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32659 if test "$wxUSE_STATBMP" = "yes"; then
32660 cat >>confdefs.h
<<\_ACEOF
32661 #define wxUSE_STATBMP 1
32667 if test "$wxUSE_STATBOX" = "yes"; then
32668 cat >>confdefs.h
<<\_ACEOF
32669 #define wxUSE_STATBOX 1
32675 if test "$wxUSE_STATTEXT" = "yes"; then
32676 cat >>confdefs.h
<<\_ACEOF
32677 #define wxUSE_STATTEXT 1
32683 if test "$wxUSE_STATLINE" = "yes"; then
32684 cat >>confdefs.h
<<\_ACEOF
32685 #define wxUSE_STATLINE 1
32691 if test "$wxUSE_STATUSBAR" = "yes"; then
32692 cat >>confdefs.h
<<\_ACEOF
32693 #define wxUSE_STATUSBAR 1
32698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32701 if test "$wxUSE_TABDIALOG" = "yes"; then
32702 cat >>confdefs.h
<<\_ACEOF
32703 #define wxUSE_TAB_DIALOG 1
32706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32709 if test "$wxUSE_TEXTCTRL" = "yes"; then
32710 cat >>confdefs.h
<<\_ACEOF
32711 #define wxUSE_TEXTCTRL 1
32715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32718 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32719 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32720 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32721 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32724 if test "$wxUSE_UNIVERSAL" = "yes"; then
32725 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32726 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32730 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32731 cat >>confdefs.h
<<\_ACEOF
32732 #define wxUSE_TOGGLEBTN 1
32739 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32740 cat >>confdefs.h
<<\_ACEOF
32741 #define wxUSE_TOOLBAR_SIMPLE 1
32744 wxUSE_TOOLBAR
="yes"
32748 if test "$wxUSE_TOOLBAR" = "yes"; then
32749 cat >>confdefs.h
<<\_ACEOF
32750 #define wxUSE_TOOLBAR 1
32755 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32756 wxUSE_TOOLBAR_NATIVE
="yes"
32759 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32760 cat >>confdefs.h
<<\_ACEOF
32761 #define wxUSE_TOOLBAR_NATIVE 1
32767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32770 if test "$wxUSE_TOOLTIPS" = "yes"; then
32771 if test "$wxUSE_MOTIF" = 1; then
32772 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32773 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32775 if test "$wxUSE_UNIVERSAL" = "yes"; then
32776 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32777 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32779 cat >>confdefs.h
<<\_ACEOF
32780 #define wxUSE_TOOLTIPS 1
32787 if test "$wxUSE_TREECTRL" = "yes"; then
32788 if test "$wxUSE_IMAGLIST" = "yes"; then
32789 cat >>confdefs.h
<<\_ACEOF
32790 #define wxUSE_TREECTRL 1
32794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32796 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32797 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32801 if test "$wxUSE_POPUPWIN" = "yes"; then
32802 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32803 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32804 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32806 if test "$wxUSE_MOTIF" = 1; then
32807 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32808 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32810 if test "$wxUSE_PM" = 1; then
32811 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32812 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32814 cat >>confdefs.h
<<\_ACEOF
32815 #define wxUSE_POPUPWIN 1
32825 if test "$wxUSE_TIPWINDOW" = "yes"; then
32826 if test "$wxUSE_PM" = 1; then
32827 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32828 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32830 cat >>confdefs.h
<<\_ACEOF
32831 #define wxUSE_TIPWINDOW 1
32837 if test "$USES_CONTROLS" = 1; then
32838 cat >>confdefs.h
<<\_ACEOF
32839 #define wxUSE_CONTROLS 1
32846 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32847 cat >>confdefs.h
<<\_ACEOF
32848 #define wxUSE_DRAGIMAGE 1
32851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32854 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32855 cat >>confdefs.h
<<\_ACEOF
32856 #define wxUSE_ACCESSIBILITY 1
32859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32862 if test "$wxUSE_MENUS" = "yes"; then
32863 cat >>confdefs.h
<<\_ACEOF
32864 #define wxUSE_MENUS 1
32867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
32870 if test "$wxUSE_METAFILE" = "yes"; then
32871 cat >>confdefs.h
<<\_ACEOF
32872 #define wxUSE_METAFILE 1
32877 if test "$wxUSE_MIMETYPE" = "yes"; then
32878 cat >>confdefs.h
<<\_ACEOF
32879 #define wxUSE_MIMETYPE 1
32884 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32885 cat >>confdefs.h
<<\_ACEOF
32886 #define wxUSE_SYSTEM_OPTIONS 1
32889 if test "$TOOLKIT" = "MSW"; then
32890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
32895 if test "$wxUSE_MINIFRAME" = "yes"; then
32896 cat >>confdefs.h
<<\_ACEOF
32897 #define wxUSE_MINIFRAME 1
32900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
32904 if test "$wxUSE_HTML" = "yes"; then
32905 cat >>confdefs.h
<<\_ACEOF
32906 #define wxUSE_HTML 1
32910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32913 if test "$wxUSE_VALIDATORS" = "yes"; then
32914 cat >>confdefs.h
<<\_ACEOF
32915 #define wxUSE_VALIDATORS 1
32918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
32921 if test "$wxUSE_PALETTE" = "yes" ; then
32922 cat >>confdefs.h
<<\_ACEOF
32923 #define wxUSE_PALETTE 1
32928 if test "$wxUSE_IMAGE" = "yes" ; then
32929 cat >>confdefs.h
<<\_ACEOF
32930 #define wxUSE_IMAGE 1
32935 if test "$wxUSE_GIF" = "yes" ; then
32936 cat >>confdefs.h
<<\_ACEOF
32937 #define wxUSE_GIF 1
32942 if test "$wxUSE_PCX" = "yes" ; then
32943 cat >>confdefs.h
<<\_ACEOF
32944 #define wxUSE_PCX 1
32949 if test "$wxUSE_IFF" = "yes" ; then
32950 cat >>confdefs.h
<<\_ACEOF
32951 #define wxUSE_IFF 1
32956 if test "$wxUSE_PNM" = "yes" ; then
32957 cat >>confdefs.h
<<\_ACEOF
32958 #define wxUSE_PNM 1
32963 if test "$wxUSE_XPM" = "yes" ; then
32964 cat >>confdefs.h
<<\_ACEOF
32965 #define wxUSE_XPM 1
32970 if test "$wxUSE_ICO_CUR" = "yes" ; then
32971 cat >>confdefs.h
<<\_ACEOF
32972 #define wxUSE_ICO_CUR 1
32977 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32978 LIBS
=" -lunicows $LIBS"
32982 if test "$wxUSE_CHOICEDLG" = "yes"; then
32983 cat >>confdefs.h
<<\_ACEOF
32984 #define wxUSE_CHOICEDLG 1
32989 if test "$wxUSE_COLOURDLG" = "yes"; then
32990 cat >>confdefs.h
<<\_ACEOF
32991 #define wxUSE_COLOURDLG 1
32996 if test "$wxUSE_FILEDLG" = "yes"; then
32997 cat >>confdefs.h
<<\_ACEOF
32998 #define wxUSE_FILEDLG 1
33003 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33004 cat >>confdefs.h
<<\_ACEOF
33005 #define wxUSE_FINDREPLDLG 1
33010 if test "$wxUSE_FONTDLG" = "yes"; then
33011 cat >>confdefs.h
<<\_ACEOF
33012 #define wxUSE_FONTDLG 1
33017 if test "$wxUSE_DIRDLG" = "yes"; then
33018 if test "$wxUSE_TREECTRL" != "yes"; then
33019 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33020 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33022 cat >>confdefs.h
<<\_ACEOF
33023 #define wxUSE_DIRDLG 1
33029 if test "$wxUSE_MSGDLG" = "yes"; then
33030 cat >>confdefs.h
<<\_ACEOF
33031 #define wxUSE_MSGDLG 1
33036 if test "$wxUSE_NUMBERDLG" = "yes"; then
33037 cat >>confdefs.h
<<\_ACEOF
33038 #define wxUSE_NUMBERDLG 1
33043 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33044 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33045 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33046 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33048 cat >>confdefs.h
<<\_ACEOF
33049 #define wxUSE_PROGRESSDLG 1
33055 if test "$wxUSE_SPLASH" = "yes"; then
33056 cat >>confdefs.h
<<\_ACEOF
33057 #define wxUSE_SPLASH 1
33062 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33063 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33064 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33065 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33067 cat >>confdefs.h
<<\_ACEOF
33068 #define wxUSE_STARTUP_TIPS 1
33074 if test "$wxUSE_TEXTDLG" = "yes"; then
33075 cat >>confdefs.h
<<\_ACEOF
33076 #define wxUSE_TEXTDLG 1
33081 if test "$wxUSE_WIZARDDLG" = "yes"; then
33082 cat >>confdefs.h
<<\_ACEOF
33083 #define wxUSE_WIZARDDLG 1
33086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33090 if test "$cross_compiling" = "yes"; then
33093 OSINFO
=`uname -s -r -m`
33094 OSINFO
="\"$OSINFO\""
33097 cat >>confdefs.h
<<_ACEOF
33098 #define WXWIN_OS_DESCRIPTION $OSINFO
33103 if test "x$prefix" != "xNONE"; then
33106 wxPREFIX
=$ac_default_prefix
33109 cat >>confdefs.h
<<_ACEOF
33110 #define wxINSTALL_PREFIX "$wxPREFIX"
33114 top_builddir_wxconfig
=`pwd`
33119 if test "$wxUSE_MAC" = 1 ; then
33120 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33122 if test "$wxUSE_COCOA" = 1 ; then
33123 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33127 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33135 echo "$as_me:$LINENO: checking for $ac_func" >&5
33136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33137 if eval "test \"\${$as_ac_var+set}\" = set"; then
33138 echo $ECHO_N "(cached) $ECHO_C" >&6
33140 cat >conftest.
$ac_ext <<_ACEOF
33141 #line $LINENO "configure"
33144 cat confdefs.h
>>conftest.
$ac_ext
33145 cat >>conftest.
$ac_ext <<_ACEOF
33146 /* end confdefs.h. */
33147 /* System header to define __stub macros and hopefully few prototypes,
33148 which can conflict with char $ac_func (); below.
33149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33150 <limits.h> exists even on freestanding compilers. */
33152 # include <limits.h>
33154 # include <assert.h>
33156 /* Override any gcc2 internal prototype to avoid an error. */
33161 /* We use char because int might match the return type of a gcc2
33162 builtin and then its argument prototype would still apply. */
33164 /* The GNU C library defines this for functions which it implements
33165 to always fail with ENOSYS. Some functions are actually named
33166 something starting with __ and the normal name is an alias. */
33167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33170 char (*f) () = $ac_func;
33179 return f != $ac_func;
33184 rm -f conftest.
$ac_objext conftest
$ac_exeext
33185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33186 (eval $ac_link) 2>&5
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); } &&
33190 { ac_try
='test -s conftest$ac_exeext'
33191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33192 (eval $ac_try) 2>&5
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); }; }; then
33196 eval "$as_ac_var=yes"
33198 echo "$as_me: failed program was:" >&5
33199 sed 's/^/| /' conftest.
$ac_ext >&5
33201 eval "$as_ac_var=no"
33203 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33207 if test `eval echo '${'$as_ac_var'}'` = yes; then
33208 cat >>confdefs.h
<<_ACEOF
33209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33216 for ac_func
in floor
33218 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33219 echo "$as_me:$LINENO: checking for $ac_func" >&5
33220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33221 if eval "test \"\${$as_ac_var+set}\" = set"; then
33222 echo $ECHO_N "(cached) $ECHO_C" >&6
33224 cat >conftest.
$ac_ext <<_ACEOF
33225 #line $LINENO "configure"
33228 cat confdefs.h
>>conftest.
$ac_ext
33229 cat >>conftest.
$ac_ext <<_ACEOF
33230 /* end confdefs.h. */
33231 /* System header to define __stub macros and hopefully few prototypes,
33232 which can conflict with char $ac_func (); below.
33233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33234 <limits.h> exists even on freestanding compilers. */
33236 # include <limits.h>
33238 # include <assert.h>
33240 /* Override any gcc2 internal prototype to avoid an error. */
33245 /* We use char because int might match the return type of a gcc2
33246 builtin and then its argument prototype would still apply. */
33248 /* The GNU C library defines this for functions which it implements
33249 to always fail with ENOSYS. Some functions are actually named
33250 something starting with __ and the normal name is an alias. */
33251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33254 char (*f) () = $ac_func;
33263 return f != $ac_func;
33268 rm -f conftest.
$ac_objext conftest
$ac_exeext
33269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33270 (eval $ac_link) 2>&5
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); } &&
33274 { ac_try
='test -s conftest$ac_exeext'
33275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33276 (eval $ac_try) 2>&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); }; }; then
33280 eval "$as_ac_var=yes"
33282 echo "$as_me: failed program was:" >&5
33283 sed 's/^/| /' conftest.
$ac_ext >&5
33285 eval "$as_ac_var=no"
33287 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33291 if test `eval echo '${'$as_ac_var'}'` = yes; then
33292 cat >>confdefs.h
<<_ACEOF
33293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33299 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33300 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33301 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33302 echo "$as_me:$LINENO: result: yes" >&5
33303 echo "${ECHO_T}yes" >&6
33305 echo "$as_me:$LINENO: result: no" >&5
33306 echo "${ECHO_T}no" >&6
33308 # use different functions to avoid configure caching
33314 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33315 echo "$as_me:$LINENO: checking for $ac_func" >&5
33316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33317 if eval "test \"\${$as_ac_var+set}\" = set"; then
33318 echo $ECHO_N "(cached) $ECHO_C" >&6
33320 cat >conftest.
$ac_ext <<_ACEOF
33321 #line $LINENO "configure"
33324 cat confdefs.h
>>conftest.
$ac_ext
33325 cat >>conftest.
$ac_ext <<_ACEOF
33326 /* end confdefs.h. */
33327 /* System header to define __stub macros and hopefully few prototypes,
33328 which can conflict with char $ac_func (); below.
33329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33330 <limits.h> exists even on freestanding compilers. */
33332 # include <limits.h>
33334 # include <assert.h>
33336 /* Override any gcc2 internal prototype to avoid an error. */
33341 /* We use char because int might match the return type of a gcc2
33342 builtin and then its argument prototype would still apply. */
33344 /* The GNU C library defines this for functions which it implements
33345 to always fail with ENOSYS. Some functions are actually named
33346 something starting with __ and the normal name is an alias. */
33347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33350 char (*f) () = $ac_func;
33359 return f != $ac_func;
33364 rm -f conftest.
$ac_objext conftest
$ac_exeext
33365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33366 (eval $ac_link) 2>&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); } &&
33370 { ac_try
='test -s conftest$ac_exeext'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; }; then
33376 eval "$as_ac_var=yes"
33378 echo "$as_me: failed program was:" >&5
33379 sed 's/^/| /' conftest.
$ac_ext >&5
33381 eval "$as_ac_var=no"
33383 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33387 if test `eval echo '${'$as_ac_var'}'` = yes; then
33388 cat >>confdefs.h
<<_ACEOF
33389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33396 for ac_func
in ceil
33398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33399 echo "$as_me:$LINENO: checking for $ac_func" >&5
33400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33401 if eval "test \"\${$as_ac_var+set}\" = set"; then
33402 echo $ECHO_N "(cached) $ECHO_C" >&6
33404 cat >conftest.
$ac_ext <<_ACEOF
33405 #line $LINENO "configure"
33408 cat confdefs.h
>>conftest.
$ac_ext
33409 cat >>conftest.
$ac_ext <<_ACEOF
33410 /* end confdefs.h. */
33411 /* System header to define __stub macros and hopefully few prototypes,
33412 which can conflict with char $ac_func (); below.
33413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33414 <limits.h> exists even on freestanding compilers. */
33416 # include <limits.h>
33418 # include <assert.h>
33420 /* Override any gcc2 internal prototype to avoid an error. */
33425 /* We use char because int might match the return type of a gcc2
33426 builtin and then its argument prototype would still apply. */
33428 /* The GNU C library defines this for functions which it implements
33429 to always fail with ENOSYS. Some functions are actually named
33430 something starting with __ and the normal name is an alias. */
33431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33434 char (*f) () = $ac_func;
33443 return f != $ac_func;
33448 rm -f conftest.
$ac_objext conftest
$ac_exeext
33449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33450 (eval $ac_link) 2>&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); } &&
33454 { ac_try
='test -s conftest$ac_exeext'
33455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33456 (eval $ac_try) 2>&5
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); }; }; then
33460 eval "$as_ac_var=yes"
33462 echo "$as_me: failed program was:" >&5
33463 sed 's/^/| /' conftest.
$ac_ext >&5
33465 eval "$as_ac_var=no"
33467 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33471 if test `eval echo '${'$as_ac_var'}'` = yes; then
33472 cat >>confdefs.h
<<_ACEOF
33473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33479 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33480 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33481 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33482 echo "$as_me:$LINENO: result: yes" >&5
33483 echo "${ECHO_T}yes" >&6
33485 echo "$as_me:$LINENO: result: no" >&5
33486 echo "${ECHO_T}no" >&6
33487 # not sure we should warn the user, crash, etc.
33491 if test "$wxUSE_GUI" = "yes"; then
33494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33495 drawing dynamic erase event exec font image \
33496 minimal propsize rotate shaped widgets"
33498 if test "$wxUSE_MONOLITHIC" != "yes"; then
33499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33502 SAMPLES_SUBDIRS
="console"
33506 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33507 -I\${top_srcdir}/include \
33508 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33511 if test "$GXX" = yes ; then
33512 CXXWARNINGS
="-Wall"
33515 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33517 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33518 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33519 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33522 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33523 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33524 EXTRALIBS_XML
="$EXPAT_LINK"
33525 if test "$wxUSE_GUI" = "yes"; then
33526 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33528 if test "$wxUSE_OPENGL" = "yes"; then
33529 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33532 LDFLAGS
="$LDFLAGS $PROFILE"
33534 if test "$wxUSE_GTK" = 1; then
33537 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33540 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33554 if test $wxUSE_MONOLITHIC = "yes" ; then
33574 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33581 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33583 if test -n "$ac_tool_prefix"; then
33584 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33585 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33586 echo "$as_me:$LINENO: checking for $ac_word" >&5
33587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33588 if test "${ac_cv_prog_RANLIB+set}" = set; then
33589 echo $ECHO_N "(cached) $ECHO_C" >&6
33591 if test -n "$RANLIB"; then
33592 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33595 for as_dir
in $PATH
33598 test -z "$as_dir" && as_dir
=.
33599 for ac_exec_ext
in '' $ac_executable_extensions; do
33600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33601 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33610 RANLIB
=$ac_cv_prog_RANLIB
33611 if test -n "$RANLIB"; then
33612 echo "$as_me:$LINENO: result: $RANLIB" >&5
33613 echo "${ECHO_T}$RANLIB" >&6
33615 echo "$as_me:$LINENO: result: no" >&5
33616 echo "${ECHO_T}no" >&6
33620 if test -z "$ac_cv_prog_RANLIB"; then
33621 ac_ct_RANLIB
=$RANLIB
33622 # Extract the first word of "ranlib", so it can be a program name with args.
33623 set dummy ranlib
; ac_word
=$2
33624 echo "$as_me:$LINENO: checking for $ac_word" >&5
33625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33626 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33627 echo $ECHO_N "(cached) $ECHO_C" >&6
33629 if test -n "$ac_ct_RANLIB"; then
33630 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33633 for as_dir
in $PATH
33636 test -z "$as_dir" && as_dir
=.
33637 for ac_exec_ext
in '' $ac_executable_extensions; do
33638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33639 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33646 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33649 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33650 if test -n "$ac_ct_RANLIB"; then
33651 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33652 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33654 echo "$as_me:$LINENO: result: no" >&5
33655 echo "${ECHO_T}no" >&6
33658 RANLIB
=$ac_ct_RANLIB
33660 RANLIB
="$ac_cv_prog_RANLIB"
33663 # Find a good install program. We prefer a C program (faster),
33664 # so one script is as good as another. But avoid the broken or
33665 # incompatible versions:
33666 # SysV /etc/install, /usr/sbin/install
33667 # SunOS /usr/etc/install
33668 # IRIX /sbin/install
33670 # AmigaOS /C/install, which installs bootblocks on floppy discs
33671 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33672 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33673 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33674 # ./install, which can be erroneously created by make from ./install.sh.
33675 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33676 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33677 if test -z "$INSTALL"; then
33678 if test "${ac_cv_path_install+set}" = set; then
33679 echo $ECHO_N "(cached) $ECHO_C" >&6
33681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33682 for as_dir
in $PATH
33685 test -z "$as_dir" && as_dir
=.
33686 # Account for people who put trailing slashes in PATH elements.
33688 .
/ | .
// | /cC
/* | \
33689 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33692 # OSF1 and SCO ODT 3.0 have their own names for install.
33693 # Don't use installbsd from OSF since it installs stuff as root
33695 for ac_prog
in ginstall scoinst
install; do
33696 for ac_exec_ext
in '' $ac_executable_extensions; do
33697 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33698 if test $ac_prog = install &&
33699 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33700 # AIX install. It has an incompatible calling convention.
33702 elif test $ac_prog = install &&
33703 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33704 # program-specific install script used by HP pwplus--don't use.
33707 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33719 if test "${ac_cv_path_install+set}" = set; then
33720 INSTALL
=$ac_cv_path_install
33722 # As a last resort, use the slow shell script. We don't cache a
33723 # path for INSTALL within a source directory, because that will
33724 # break other packages using the cache if that directory is
33725 # removed, or if the path is relative.
33726 INSTALL
=$ac_install_sh
33729 echo "$as_me:$LINENO: result: $INSTALL" >&5
33730 echo "${ECHO_T}$INSTALL" >&6
33732 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33733 # It thinks the first close brace ends the variable substitution.
33734 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33736 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33738 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33740 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33741 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33743 if test "$LN_S" = "ln -s"; then
33744 echo "$as_me:$LINENO: result: yes" >&5
33745 echo "${ECHO_T}yes" >&6
33747 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33748 echo "${ECHO_T}no, using $LN_S" >&6
33752 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33753 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33754 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33755 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 cat >conftest.
make <<\_ACEOF
33760 @
echo 'ac_maketemp="$(MAKE)"'
33762 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33763 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33764 if test -n "$ac_maketemp"; then
33765 eval ac_cv_prog_make_
${ac_make}_set
=yes
33767 eval ac_cv_prog_make_
${ac_make}_set
=no
33769 rm -f conftest.
make
33771 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33772 echo "$as_me:$LINENO: result: yes" >&5
33773 echo "${ECHO_T}yes" >&6
33776 echo "$as_me:$LINENO: result: no" >&5
33777 echo "${ECHO_T}no" >&6
33778 SET_MAKE
="MAKE=${MAKE-make}"
33783 if test "$build" != "$host" ; then
33785 STRIP
=$host_alias-strip
33787 # Extract the first word of "ar", so it can be a program name with args.
33788 set dummy
ar; ac_word
=$2
33789 echo "$as_me:$LINENO: checking for $ac_word" >&5
33790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33791 if test "${ac_cv_prog_AR+set}" = set; then
33792 echo $ECHO_N "(cached) $ECHO_C" >&6
33794 if test -n "$AR"; then
33795 ac_cv_prog_AR
="$AR" # Let the user override the test.
33797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33798 for as_dir
in $PATH
33801 test -z "$as_dir" && as_dir
=.
33802 for ac_exec_ext
in '' $ac_executable_extensions; do
33803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33811 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
33815 if test -n "$AR"; then
33816 echo "$as_me:$LINENO: result: $AR" >&5
33817 echo "${ECHO_T}$AR" >&6
33819 echo "$as_me:$LINENO: result: no" >&5
33820 echo "${ECHO_T}no" >&6
33823 # Extract the first word of "strip", so it can be a program name with args.
33824 set dummy strip
; ac_word
=$2
33825 echo "$as_me:$LINENO: checking for $ac_word" >&5
33826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33827 if test "${ac_cv_prog_STRIP+set}" = set; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 if test -n "$STRIP"; then
33831 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
33833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33834 for as_dir
in $PATH
33837 test -z "$as_dir" && as_dir
=.
33838 for ac_exec_ext
in '' $ac_executable_extensions; do
33839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33840 ac_cv_prog_STRIP
="strip"
33841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33847 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
33850 STRIP
=$ac_cv_prog_STRIP
33851 if test -n "$STRIP"; then
33852 echo "$as_me:$LINENO: result: $STRIP" >&5
33853 echo "${ECHO_T}$STRIP" >&6
33855 echo "$as_me:$LINENO: result: no" >&5
33856 echo "${ECHO_T}no" >&6
33863 INSTALL_DIR
="mkdir"
33865 *) INSTALL_DIR
="$INSTALL -d"
33872 *-*-cygwin* | *-*-mingw32* )
33873 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
33879 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33880 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33881 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33882 echo $ECHO_N "(cached) $ECHO_C" >&6
33885 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
33886 egrep -s GNU
> /dev
/null
); then
33887 bakefile_cv_prog_makeisgnu
="yes"
33889 bakefile_cv_prog_makeisgnu
="no"
33893 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33894 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33896 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33911 *-*-cygwin* | *-*-mingw32* )
33914 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33917 powerpc
-*-darwin* )
33944 *-*-cygwin* | *-*-mingw32* )
33949 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33953 powerpc
-*-darwin* )
33963 SHARED_LD_CC
="\$(CC) -shared -o"
33964 SHARED_LD_CXX
="\$(CXX) -shared -o"
33966 if test "x$GCC" = "xyes"; then
33972 if test "x$GCC" = "xyes"; then
33973 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
33974 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
33976 LDFLAGS
="$LDFLAGS -L/usr/lib"
33978 SHARED_LD_CC
="${CC} -b -o"
33979 SHARED_LD_CXX
="${CXX} -b -o"
33985 if test "x$GCC" != "xyes"; then
33986 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33987 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33988 if test "${bakefile_cv_prog_icc+set}" = set; then
33989 echo $ECHO_N "(cached) $ECHO_C" >&6
33992 cat >conftest.
$ac_ext <<_ACEOF
33993 #line $LINENO "configure"
33996 cat confdefs.h
>>conftest.
$ac_ext
33997 cat >>conftest.
$ac_ext <<_ACEOF
33998 /* end confdefs.h. */
34004 #ifndef __INTEL_COMPILER
34012 rm -f conftest.
$ac_objext
34013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34014 (eval $ac_compile) 2>&5
34016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34017 (exit $ac_status); } &&
34018 { ac_try
='test -s conftest.$ac_objext'
34019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34020 (eval $ac_try) 2>&5
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); }; }; then
34024 bakefile_cv_prog_icc
=yes
34026 echo "$as_me: failed program was:" >&5
34027 sed 's/^/| /' conftest.
$ac_ext >&5
34029 bakefile_cv_prog_icc
=no
34032 rm -f conftest.
$ac_objext conftest.
$ac_ext
34035 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34036 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34037 if test "$bakefile_cv_prog_icc" = "yes"; then
34044 if test "x$GCC" != xyes
; then
34045 SHARED_LD_CC
="${CC} -G -o"
34046 SHARED_LD_CXX
="${CXX} -G -o"
34052 CFLAGS
="$CFLAGS -fno-common"
34053 CXXFLAGS
="$CXXFLAGS -fno-common"
34056 cat <<EOF >shared-ld-sh
34058 #-----------------------------------------------------------------------------
34059 #-- Name: distrib/mac/shared-ld-sh
34060 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34061 #-- Author: Gilles Depeyrot
34062 #-- Copyright: (c) 2002 Gilles Depeyrot
34063 #-- Licence: any use permitted
34064 #-----------------------------------------------------------------------------
34070 while test \${#} -gt 0; do
34077 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34078 # collect these options and values
34079 args="\${args} \${1} \${2}"
34083 -l*|-L*|-flat_namespace)
34084 # collect these options
34085 args="\${args} \${1}"
34089 # skip these options
34093 echo "shared-ld: unhandled option '\${1}'"
34097 *.o | *.a | *.dylib)
34098 # collect object files
34099 objects="\${objects} \${1}"
34103 echo "shared-ld: unhandled argument '\${1}'"
34112 # Link one module containing all the others
34114 if test \${verbose} = 1; then
34115 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34117 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34119 if test \${status} != 0; then
34124 # Link the shared library from the single module created
34126 if test \${verbose} = 1; then
34127 echo "cc -dynamiclib master.\$\$.o \${args}"
34129 c++ -dynamiclib master.\$\$.o \${args}
34131 if test \${status} != 0; then
34136 # Remove intermediate module
34138 rm -f master.\$\$.o
34142 chmod +x shared
-ld-sh
34144 SHARED_LD_CC
="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
34145 SHARED_LD_CXX
="$SHARED_LD_CC"
34146 PIC_FLAG
="-dynamic -fPIC"
34150 if test "x$GCC" != "xyes"; then
34151 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34152 set dummy makeC
++SharedLib
; ac_word
=$2
34153 echo "$as_me:$LINENO: checking for $ac_word" >&5
34154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34155 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34156 echo $ECHO_N "(cached) $ECHO_C" >&6
34158 if test -n "$AIX_CXX_LD"; then
34159 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34162 for as_dir
in $PATH
34165 test -z "$as_dir" && as_dir
=.
34166 for ac_exec_ext
in '' $ac_executable_extensions; do
34167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34168 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34175 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34178 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34179 if test -n "$AIX_CXX_LD"; then
34180 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34181 echo "${ECHO_T}$AIX_CXX_LD" >&6
34183 echo "$as_me:$LINENO: result: no" >&5
34184 echo "${ECHO_T}no" >&6
34187 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34188 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34193 SHARED_LD_CC
="${LD} -shared -o"
34194 SHARED_LD_CXX
="${LD} -shared -o"
34198 if test "x$GCC" != "xyes"; then
34203 *-*-cygwin* | *-*-mingw32* )
34207 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34215 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34216 echo "$as_me: error: unknown system type $host." >&2;}
34217 { (exit 1); exit 1; }; }
34234 SONAME_FLAG
="-Wl,-soname,"
34262 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34263 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34266 if test "x$GCC" = "xyes"; then
34270 powerpc
-*-darwin* )
34271 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34274 DEPSFLAG_GCC
="-MMD"
34277 echo "$as_me:$LINENO: result: gcc" >&5
34278 echo "${ECHO_T}gcc" >&6
34280 echo "$as_me:$LINENO: result: none" >&5
34281 echo "${ECHO_T}none" >&6
34284 if test $DEPS_TRACKING = 1 ; then
34288 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34289 # It is used to track C/C++ files dependencies in portable way.
34291 # Permission is given to use this file in any way.
34295 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34299 if test \$DEPSMODE = gcc ; then
34300 \${*} \${DEPSFLAG_GCC}
34302 if test \${status} != 0 ; then
34305 # move created file to the location we want it in:
34306 while test \${#} -gt 0; do
34320 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34321 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34322 if test -f \$depfile ; then
34323 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34326 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34327 if test -f \$depfile ; then
34328 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34348 *-*-cygwin* | *-*-mingw32* )
34349 if test "$build" != "$host" ; then
34350 RESCOMP
=$host_alias-windres
34352 # Extract the first word of "windres", so it can be a program name with args.
34353 set dummy windres
; ac_word
=$2
34354 echo "$as_me:$LINENO: checking for $ac_word" >&5
34355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34356 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34357 echo $ECHO_N "(cached) $ECHO_C" >&6
34359 if test -n "$RESCOMP"; then
34360 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34363 for as_dir
in $PATH
34366 test -z "$as_dir" && as_dir
=.
34367 for ac_exec_ext
in '' $ac_executable_extensions; do
34368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34369 ac_cv_prog_RESCOMP
="windres"
34370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34376 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34379 RESCOMP
=$ac_cv_prog_RESCOMP
34380 if test -n "$RESCOMP"; then
34381 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34382 echo "${ECHO_T}$RESCOMP" >&6
34384 echo "$as_me:$LINENO: result: no" >&5
34385 echo "${ECHO_T}no" >&6
34392 # Extract the first word of "Rez", so it can be a program name with args.
34393 set dummy Rez
; ac_word
=$2
34394 echo "$as_me:$LINENO: checking for $ac_word" >&5
34395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34396 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34397 echo $ECHO_N "(cached) $ECHO_C" >&6
34399 if test -n "$RESCOMP"; then
34400 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34403 for as_dir
in $PATH
34406 test -z "$as_dir" && as_dir
=.
34407 for ac_exec_ext
in '' $ac_executable_extensions; do
34408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34409 ac_cv_prog_RESCOMP
="Rez"
34410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34416 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34419 RESCOMP
=$ac_cv_prog_RESCOMP
34420 if test -n "$RESCOMP"; then
34421 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34422 echo "${ECHO_T}$RESCOMP" >&6
34424 echo "$as_me:$LINENO: result: no" >&5
34425 echo "${ECHO_T}no" >&6
34428 # Extract the first word of "SetFile", so it can be a program name with args.
34429 set dummy SetFile
; ac_word
=$2
34430 echo "$as_me:$LINENO: checking for $ac_word" >&5
34431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34432 if test "${ac_cv_prog_SETFILE+set}" = set; then
34433 echo $ECHO_N "(cached) $ECHO_C" >&6
34435 if test -n "$SETFILE"; then
34436 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34439 for as_dir
in $PATH
34442 test -z "$as_dir" && as_dir
=.
34443 for ac_exec_ext
in '' $ac_executable_extensions; do
34444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34445 ac_cv_prog_SETFILE
="SetFile"
34446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34452 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34455 SETFILE
=$ac_cv_prog_SETFILE
34456 if test -n "$SETFILE"; then
34457 echo "$as_me:$LINENO: result: $SETFILE" >&5
34458 echo "${ECHO_T}$SETFILE" >&6
34460 echo "$as_me:$LINENO: result: no" >&5
34461 echo "${ECHO_T}no" >&6
34473 COND_BUILD_DEBUG
="#"
34474 if test "x$BUILD" = "xdebug" ; then
34475 COND_BUILD_DEBUG
=""
34478 COND_BUILD_RELEASE
="#"
34479 if test "x$BUILD" = "xrelease" ; then
34480 COND_BUILD_RELEASE
=""
34483 COND_DEPS_TRACKING_0
="#"
34484 if test "x$DEPS_TRACKING" = "x0" ; then
34485 COND_DEPS_TRACKING_0
=""
34488 COND_DEPS_TRACKING_1
="#"
34489 if test "x$DEPS_TRACKING" = "x1" ; then
34490 COND_DEPS_TRACKING_1
=""
34493 COND_MONOLITHIC_0
="#"
34494 if test "x$MONOLITHIC" = "x0" ; then
34495 COND_MONOLITHIC_0
=""
34498 COND_MONOLITHIC_0_SHARED_0
="#"
34499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34500 COND_MONOLITHIC_0_SHARED_0
=""
34503 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34505 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34508 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
34509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34510 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
34513 COND_MONOLITHIC_0_SHARED_1
="#"
34514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34515 COND_MONOLITHIC_0_SHARED_1
=""
34518 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34520 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34523 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
34524 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34525 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
34528 COND_MONOLITHIC_1
="#"
34529 if test "x$MONOLITHIC" = "x1" ; then
34530 COND_MONOLITHIC_1
=""
34533 COND_MONOLITHIC_1_SHARED_0
="#"
34534 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34535 COND_MONOLITHIC_1_SHARED_0
=""
34538 COND_MONOLITHIC_1_SHARED_1
="#"
34539 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34540 COND_MONOLITHIC_1_SHARED_1
=""
34543 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
34544 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34545 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
34548 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
34549 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34550 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
34553 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
34554 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34555 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
34558 COND_PLATFORM_MACOSX_1
="#"
34559 if test "x$PLATFORM_MACOSX" = "x1" ; then
34560 COND_PLATFORM_MACOSX_1
=""
34563 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
34564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34565 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
34568 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
34569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34570 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
34573 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
34574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34575 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
34578 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
34579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
34583 COND_PLATFORM_UNIX_1
="#"
34584 if test "x$PLATFORM_UNIX" = "x1" ; then
34585 COND_PLATFORM_UNIX_1
=""
34588 COND_PLATFORM_WIN32_0
="#"
34589 if test "x$PLATFORM_WIN32" = "x0" ; then
34590 COND_PLATFORM_WIN32_0
=""
34593 COND_PLATFORM_WIN32_1
="#"
34594 if test "x$PLATFORM_WIN32" = "x1" ; then
34595 COND_PLATFORM_WIN32_1
=""
34598 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
34599 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34600 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
34603 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
34604 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34605 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
34608 COND_TOOLKIT_COCOA
="#"
34609 if test "x$TOOLKIT" = "xCOCOA" ; then
34610 COND_TOOLKIT_COCOA
=""
34613 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
34614 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34615 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
34618 COND_TOOLKIT_GTK
="#"
34619 if test "x$TOOLKIT" = "xGTK" ; then
34620 COND_TOOLKIT_GTK
=""
34623 COND_TOOLKIT_GTK_USE_GUI_1
="#"
34624 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34625 COND_TOOLKIT_GTK_USE_GUI_1
=""
34628 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
34629 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34630 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
34633 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1
="#"
34634 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34635 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1
=""
34638 COND_TOOLKIT_MAC
="#"
34639 if test "x$TOOLKIT" = "xMAC" ; then
34640 COND_TOOLKIT_MAC
=""
34643 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
34644 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34645 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
34648 COND_TOOLKIT_MGL
="#"
34649 if test "x$TOOLKIT" = "xMGL" ; then
34650 COND_TOOLKIT_MGL
=""
34653 COND_TOOLKIT_MGL_USE_GUI_1
="#"
34654 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34655 COND_TOOLKIT_MGL_USE_GUI_1
=""
34658 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1
="#"
34659 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34660 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1
=""
34663 COND_TOOLKIT_MOTIF
="#"
34664 if test "x$TOOLKIT" = "xMOTIF" ; then
34665 COND_TOOLKIT_MOTIF
=""
34668 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
34669 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34670 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
34673 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
34674 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34675 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
34678 COND_TOOLKIT_MSW
="#"
34679 if test "x$TOOLKIT" = "xMSW" ; then
34680 COND_TOOLKIT_MSW
=""
34683 COND_TOOLKIT_MSW_USE_GUI_1
="#"
34684 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34685 COND_TOOLKIT_MSW_USE_GUI_1
=""
34688 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
34689 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34690 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
34693 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1
="#"
34694 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34695 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1
=""
34698 COND_TOOLKIT_OS2
="#"
34699 if test "x$TOOLKIT" = "xOS2" ; then
34700 COND_TOOLKIT_OS2
=""
34703 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
34704 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34705 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
34708 COND_TOOLKIT_X11
="#"
34709 if test "x$TOOLKIT" = "xX11" ; then
34710 COND_TOOLKIT_X11
=""
34713 COND_TOOLKIT_X11_USE_GUI_1
="#"
34714 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34715 COND_TOOLKIT_X11_USE_GUI_1
=""
34718 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
="#"
34719 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34720 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
=""
34724 if test "x$UNICODE" = "x1" ; then
34729 if test "x$USE_GUI" = "x0" ; then
34734 if test "x$USE_GUI" = "x1" ; then
34738 COND_USE_GUI_1_WXUNIV_0
="#"
34739 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34740 COND_USE_GUI_1_WXUNIV_0
=""
34743 COND_USE_GUI_1_WXUNIV_1
="#"
34744 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34745 COND_USE_GUI_1_WXUNIV_1
=""
34748 COND_USE_SOSYMLINKS_1
="#"
34749 if test "x$USE_SOSYMLINKS" = "x1" ; then
34750 COND_USE_SOSYMLINKS_1
=""
34753 COND_USE_SOVERLINUX_1
="#"
34754 if test "x$USE_SOVERLINUX" = "x1" ; then
34755 COND_USE_SOVERLINUX_1
=""
34758 COND_USE_SOVERSION_0
="#"
34759 if test "x$USE_SOVERSION" = "x0" ; then
34760 COND_USE_SOVERSION_0
=""
34763 COND_USE_SOVERSOLARIS_1
="#"
34764 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34765 COND_USE_SOVERSOLARIS_1
=""
34769 if test "x$WXUNIV" = "x1" ; then
34773 COND_WXUSE_LIBJPEG_BUILTIN
="#"
34774 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34775 COND_WXUSE_LIBJPEG_BUILTIN
=""
34778 COND_WXUSE_LIBPNG_BUILTIN
="#"
34779 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34780 COND_WXUSE_LIBPNG_BUILTIN
=""
34783 COND_WXUSE_LIBTIFF_BUILTIN
="#"
34784 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34785 COND_WXUSE_LIBTIFF_BUILTIN
=""
34788 COND_WXUSE_ODBC_BUILTIN
="#"
34789 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34790 COND_WXUSE_ODBC_BUILTIN
=""
34793 COND_WXUSE_REGEX_BUILTIN
="#"
34794 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34795 COND_WXUSE_REGEX_BUILTIN
=""
34798 COND_WXUSE_ZLIB_BUILTIN
="#"
34799 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34800 COND_WXUSE_ZLIB_BUILTIN
=""
34803 COND_PLATFORM_MAC_1
="#"
34804 if test "x$PLATFORM_MAC" = "x1" ; then
34805 COND_PLATFORM_MAC_1
=""
34809 if test "x$SHARED" = "x1" ; then
34814 if test "x$SHARED" = "x0" ; then
34818 COND_WXUSE_EXPAT_BUILTIN
="#"
34819 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
34820 COND_WXUSE_EXPAT_BUILTIN
=""
34828 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34929 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34930 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34931 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34932 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34933 echo $ECHO_N "(cached) $ECHO_C" >&6
34935 cat >conftest.
make <<\_ACEOF
34937 @
echo 'ac_maketemp="$(MAKE)"'
34939 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34940 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34941 if test -n "$ac_maketemp"; then
34942 eval ac_cv_prog_make_
${ac_make}_set
=yes
34944 eval ac_cv_prog_make_
${ac_make}_set
=no
34946 rm -f conftest.
make
34948 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34949 echo "$as_me:$LINENO: result: yes" >&5
34950 echo "${ECHO_T}yes" >&6
34953 echo "$as_me:$LINENO: result: no" >&5
34954 echo "${ECHO_T}no" >&6
34955 SET_MAKE
="MAKE=${MAKE-make}"
34959 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
34960 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
34963 ac_config_headers
="$ac_config_headers setup.h"
34966 ac_config_files
="$ac_config_files wx-config version-script Makefile"
34969 ac_config_commands
="$ac_config_commands default"
34973 if test "$wxUSE_GUI" = "yes"; then
34974 SUBDIRS
="samples demos utils contrib"
34975 else SUBDIRS
="samples utils"
34978 for subdir
in `echo $SUBDIRS`; do
34979 if test -d ${srcdir}/${subdir} ; then
34980 if test "$wxUSE_GUI" = "yes"; then
34981 if test ${subdir} = "samples"; then
34982 for sample
in `echo $SAMPLES_SUBDIRS`; do
34983 if test -d $srcdir/samples
/$sample; then
34984 makefiles
="samples/$sample/Makefile.in $makefiles"
34987 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
34989 else if test ${subdir} = "samples"; then
34990 makefiles
="samples/console/Makefile.in"
34991 else makefiles
="utils/HelpGen/Makefile.in \
34992 utils/HelpGen/src/Makefile.in \
34993 utils/makegen/Makefile.in"
34997 for mkin
in $makefiles ; do
34998 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34999 ac_config_files
="$ac_config_files $mk"
35006 cat >confcache
<<\_ACEOF
35007 # This file is a shell script that caches the results of configure
35008 # tests run on this system so they can be shared between configure
35009 # scripts and configure runs, see configure's option --config-cache.
35010 # It is not useful on other systems. If it contains results you don't
35011 # want to keep, you may remove or edit it.
35013 # config.status only pays attention to the cache file if you give it
35014 # the --recheck option to rerun configure.
35016 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35017 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35018 # following values.
35022 # The following way of writing the cache mishandles newlines in values,
35023 # but we know of no workaround that is simple, portable, and efficient.
35024 # So, don't put newlines in cache variables' values.
35025 # Ultrix sh set writes to stderr and can't be redirected directly,
35026 # and sets the high bit in the cache file unless we assign to the vars.
35029 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35031 # `set' does not quote correctly, so add quotes (double-quote
35032 # substitution turns \\\\ into \\, and sed turns \\ into \).
35035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35038 # `set' quotes correctly as required by POSIX, so do not add quotes.
35040 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35047 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35049 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35051 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35052 if test -w $cache_file; then
35053 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35054 cat confcache
>$cache_file
35056 echo "not updating unwritable cache $cache_file"
35061 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35062 # Let make expand exec_prefix.
35063 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35065 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35066 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35067 # trailing colons and then remove the whole line if VPATH becomes empty
35068 # (actually we leave an empty line to preserve line numbers).
35069 if test "x$srcdir" = x.
; then
35070 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35071 s/:*\$(srcdir):*/:/;
35072 s/:*\${srcdir}:*/:/;
35074 s/^\([^=]*=[ ]*\):*/\1/;
35080 DEFS
=-DHAVE_CONFIG_H
35084 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35085 # 1. Remove the extension, and $U if already installed.
35086 ac_i
=`echo "$ac_i" |
35087 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35089 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35090 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35092 LIBOBJS
=$ac_libobjs
35094 LTLIBOBJS
=$ac_ltlibobjs
35098 : ${CONFIG_STATUS=./config.status}
35099 ac_clean_files_save
=$ac_clean_files
35100 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35101 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35102 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35103 cat >$CONFIG_STATUS <<_ACEOF
35105 # Generated by $as_me.
35106 # Run this file to recreate the current configuration.
35107 # Compiler output produced by configure, useful for debugging
35108 # configure, is in config.log if it exists.
35111 ac_cs_recheck=false
35113 SHELL=\${CONFIG_SHELL-$SHELL}
35116 cat >>$CONFIG_STATUS <<\_ACEOF
35117 ## --------------------- ##
35118 ## M4sh Initialization. ##
35119 ## --------------------- ##
35121 # Be Bourne compatible
35122 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35125 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35126 # is contrary to our usage. Disable this feature.
35127 alias -g '${1+"$@"}'='"$@"'
35128 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35132 # Support unset when possible.
35133 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35140 # Work around bugs in pre-3.0 UWIN ksh.
35141 $as_unset ENV MAIL MAILPATH
35148 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35149 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35150 LC_TELEPHONE LC_TIME
35152 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35153 eval $as_var=C
; export $as_var
35159 # Required to use basename.
35160 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35166 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35167 as_basename
=basename
35173 # Name of the executable.
35174 as_me
=`$as_basename "$0" ||
35175 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35176 X"$0" : 'X\(//\)$' \| \
35177 X"$0" : 'X\(/\)$' \| \
35178 . : '\(.\)' 2>/dev/null ||
35180 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35181 /^X\/\(\/\/\)$/{ s//\1/; q; }
35182 /^X\/\(\/\).*/{ s//\1/; q; }
35186 # PATH needs CR, and LINENO needs CR and PATH.
35187 # Avoid depending upon Character Ranges.
35188 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35189 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35190 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35191 as_cr_digits
='0123456789'
35192 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35194 # The user is always right.
35195 if test "${PATH_SEPARATOR+set}" != set; then
35196 echo "#! /bin/sh" >conf$$.sh
35197 echo "exit 0" >>conf$$.sh
35199 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35208 as_lineno_1
=$LINENO
35209 as_lineno_2
=$LINENO
35210 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35211 test "x$as_lineno_1" != "x$as_lineno_2" &&
35212 test "x$as_lineno_3" = "x$as_lineno_2" || {
35213 # Find who we are. Look in the path if we contain no path at all
35216 *[\\/]* ) as_myself
=$0 ;;
35217 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35218 for as_dir
in $PATH
35221 test -z "$as_dir" && as_dir
=.
35222 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35227 # We did not find ourselves, most probably we were run as `sh COMMAND'
35228 # in which case we are not to be found in the path.
35229 if test "x$as_myself" = x
; then
35232 if test ! -f "$as_myself"; then
35233 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35234 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35235 { (exit 1); exit 1; }; }
35237 case $CONFIG_SHELL in
35239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35240 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35243 test -z "$as_dir" && as_dir
=.
35244 for as_base
in sh bash ksh sh5
; do
35247 if ("$as_dir/$as_base" -c '
35248 as_lineno_1=$LINENO
35249 as_lineno_2=$LINENO
35250 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35251 test "x$as_lineno_1" != "x$as_lineno_2" &&
35252 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35253 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35254 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35255 CONFIG_SHELL
=$as_dir/$as_base
35256 export CONFIG_SHELL
35257 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35265 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35266 # uniformly replaced by the line number. The first 'sed' inserts a
35267 # line-number line before each line; the second 'sed' does the real
35268 # work. The second script uses 'N' to pair each line-number line
35269 # with the numbered line, and appends trailing '-' during
35270 # substitution so that $LINENO is not a special case at line end.
35271 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35272 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35273 sed '=' <$as_myself |
35278 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35281 s,^['$as_cr_digits']*\n,,
35282 ' >$as_me.lineno
&&
35283 chmod +x
$as_me.lineno
||
35284 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35285 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35286 { (exit 1); exit 1; }; }
35288 # Don't try to exec as it changes $[0], causing all sort of problems
35289 # (the dirname of $[0] is not the place where we might find the
35290 # original and so on. Autoconf is especially sensible to this).
35292 # Exit status is that of the last command.
35297 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35298 *c
*,-n*) ECHO_N
= ECHO_C
='
35300 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35301 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35304 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35310 rm -f conf$$ conf$$.exe conf$$.
file
35312 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35313 # We could just check for DJGPP; but this test a) works b) is more generic
35314 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35315 if test -f conf$$.exe
; then
35316 # Don't use ln at all; we don't have any links
35321 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35326 rm -f conf$$ conf$$.exe conf$$.
file
35328 if mkdir -p .
2>/dev
/null
; then
35334 as_executable_p
="test -f"
35336 # Sed expression to map a string onto a valid CPP name.
35337 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35339 # Sed expression to map a string onto a valid variable name.
35340 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35344 # We need space, tab and new line, in precisely that order.
35354 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35355 # report actual input values of CONFIG_FILES etc. instead of their
35356 # values after options handling. Logging --version etc. is OK.
35360 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35361 ## Running $as_me. ##
35366 This file was extended by wxWindows $as_me 2.5.0, which was
35367 generated by GNU Autoconf 2.57. Invocation command line was
35369 CONFIG_FILES = $CONFIG_FILES
35370 CONFIG_HEADERS = $CONFIG_HEADERS
35371 CONFIG_LINKS = $CONFIG_LINKS
35372 CONFIG_COMMANDS = $CONFIG_COMMANDS
35376 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35380 # Files that config.status was made for.
35381 if test -n "$ac_config_files"; then
35382 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35385 if test -n "$ac_config_headers"; then
35386 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35389 if test -n "$ac_config_links"; then
35390 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35393 if test -n "$ac_config_commands"; then
35394 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35397 cat >>$CONFIG_STATUS <<\_ACEOF
35400 \`$as_me' instantiates files from templates according to the
35401 current configuration.
35403 Usage: $0 [OPTIONS] [FILE]...
35405 -h, --help print this help, then exit
35406 -V, --version print version number, then exit
35407 -q, --quiet do not print progress messages
35408 -d, --debug don't remove temporary files
35409 --recheck update $as_me by reconfiguring in the same conditions
35410 --file=FILE[:TEMPLATE]
35411 instantiate the configuration file FILE
35412 --header=FILE[:TEMPLATE]
35413 instantiate the configuration header FILE
35415 Configuration files:
35418 Configuration headers:
35421 Configuration commands:
35424 Report bugs to <bug-autoconf@gnu.org>."
35427 cat >>$CONFIG_STATUS <<_ACEOF
35429 wxWindows config.status 2.5.0
35430 configured by $0, generated by GNU Autoconf 2.57,
35431 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35433 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35434 Free Software Foundation, Inc.
35435 This config.status script is free software; the Free Software Foundation
35436 gives unlimited permission to copy, distribute and modify it."
35441 cat >>$CONFIG_STATUS <<\_ACEOF
35442 # If no file are specified by the user, then we need to provide default
35443 # value. By we need to know if files were specified by the user.
35449 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35450 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35458 *) # This is not an option, so the user has probably given explicit
35461 ac_need_defaults
=false
;;
35465 # Handling of the options.
35467 cat >>$CONFIG_STATUS <<\_ACEOF
35468 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35470 --version | --vers* | -V )
35471 echo "$ac_cs_version"; exit 0 ;;
35473 # Conflict between --help and --header
35474 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35475 Try \`$0 --help' for more information." >&5
35476 echo "$as_me: error: ambiguous option: $1
35477 Try \`$0 --help' for more information." >&2;}
35478 { (exit 1); exit 1; }; };;
35479 --help | --hel | -h )
35480 echo "$ac_cs_usage"; exit 0 ;;
35481 --debug | --d* | -d )
35483 --file | --fil | --fi | --f )
35485 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35486 ac_need_defaults
=false
;;
35487 --header | --heade | --head | --hea )
35489 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35490 ac_need_defaults
=false
;;
35491 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35492 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35495 # This is an error.
35496 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35497 Try \`$0 --help' for more information." >&5
35498 echo "$as_me: error: unrecognized option: $1
35499 Try \`$0 --help' for more information." >&2;}
35500 { (exit 1); exit 1; }; } ;;
35502 *) ac_config_targets
="$ac_config_targets $1" ;;
35508 ac_configure_extra_args
=
35510 if $ac_cs_silent; then
35512 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35516 cat >>$CONFIG_STATUS <<_ACEOF
35517 if \$ac_cs_recheck; then
35518 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35519 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35524 cat >>$CONFIG_STATUS <<_ACEOF
35526 # INIT-COMMANDS section.
35530 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35539 cat >>$CONFIG_STATUS <<\_ACEOF
35540 for ac_config_target
in $ac_config_targets
35542 case "$ac_config_target" in
35543 # Handling of arguments.
35544 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
35545 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
35546 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35547 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
35548 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
35549 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
35550 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35551 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35552 { (exit 1); exit 1; }; };;
35556 # If the user did not use the arguments to specify the items to instantiate,
35557 # then the envvar interface is used. Set only those that are not.
35558 # We use the long form for the default assignment because of an extremely
35559 # bizarre bug on SunOS 4.1.3.
35560 if $ac_need_defaults; then
35561 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35562 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35563 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35566 # Have a temporary directory for convenience. Make it in the build tree
35567 # simply because there is no reason to put it here, and in addition,
35568 # creating and moving files from /tmp can sometimes cause problems.
35569 # Create a temporary directory, and hook for its removal unless debugging.
35572 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35573 trap '{ (exit 1); exit 1; }' 1 2 13 15
35576 # Create a (secure) tmp directory for tmp files.
35579 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35580 test -n "$tmp" && test -d "$tmp"
35583 tmp
=.
/confstat$$
-$RANDOM
35584 (umask 077 && mkdir $tmp)
35587 echo "$me: cannot create a temporary directory in ." >&2
35588 { (exit 1); exit 1; }
35593 cat >>$CONFIG_STATUS <<_ACEOF
35596 # CONFIG_FILES section.
35599 # No need to generate the scripts if there are no CONFIG_FILES.
35600 # This happens for instance when ./config.status config.h
35601 if test -n "\$CONFIG_FILES"; then
35602 # Protect against being on the right side of a sed subst in config.status.
35603 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35604 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35605 s,@SHELL@,$SHELL,;t t
35606 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35607 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35608 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35609 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35610 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35611 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35612 s,@exec_prefix@,$exec_prefix,;t t
35613 s,@prefix@,$prefix,;t t
35614 s,@program_transform_name@,$program_transform_name,;t t
35615 s,@bindir@,$bindir,;t t
35616 s,@sbindir@,$sbindir,;t t
35617 s,@libexecdir@,$libexecdir,;t t
35618 s,@datadir@,$datadir,;t t
35619 s,@sysconfdir@,$sysconfdir,;t t
35620 s,@sharedstatedir@,$sharedstatedir,;t t
35621 s,@localstatedir@,$localstatedir,;t t
35622 s,@libdir@,$libdir,;t t
35623 s,@includedir@,$includedir,;t t
35624 s,@oldincludedir@,$oldincludedir,;t t
35625 s,@infodir@,$infodir,;t t
35626 s,@mandir@,$mandir,;t t
35627 s,@build_alias@,$build_alias,;t t
35628 s,@host_alias@,$host_alias,;t t
35629 s,@target_alias@,$target_alias,;t t
35630 s,@DEFS@,$DEFS,;t t
35631 s,@ECHO_C@,$ECHO_C,;t t
35632 s,@ECHO_N@,$ECHO_N,;t t
35633 s,@ECHO_T@,$ECHO_T,;t t
35634 s,@LIBS@,$LIBS,;t t
35635 s,@build@,$build,;t t
35636 s,@build_cpu@,$build_cpu,;t t
35637 s,@build_vendor@,$build_vendor,;t t
35638 s,@build_os@,$build_os,;t t
35639 s,@host@,$host,;t t
35640 s,@host_cpu@,$host_cpu,;t t
35641 s,@host_vendor@,$host_vendor,;t t
35642 s,@host_os@,$host_os,;t t
35643 s,@target@,$target,;t t
35644 s,@target_cpu@,$target_cpu,;t t
35645 s,@target_vendor@,$target_vendor,;t t
35646 s,@target_os@,$target_os,;t t
35648 s,@CFLAGS@,$CFLAGS,;t t
35649 s,@LDFLAGS@,$LDFLAGS,;t t
35650 s,@CPPFLAGS@,$CPPFLAGS,;t t
35651 s,@ac_ct_CC@,$ac_ct_CC,;t t
35652 s,@EXEEXT@,$EXEEXT,;t t
35653 s,@OBJEXT@,$OBJEXT,;t t
35655 s,@EGREP@,$EGREP,;t t
35657 s,@CXXFLAGS@,$CXXFLAGS,;t t
35658 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35659 s,@RANLIB@,$RANLIB,;t t
35660 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35662 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35663 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35664 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35665 s,@STRIP@,$STRIP,;t t
35666 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35667 s,@YACC@,$YACC,;t t
35669 s,@LEXLIB@,$LEXLIB,;t t
35670 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35671 s,@LN_S@,$LN_S,;t t
35672 s,@CXXCPP@,$CXXCPP,;t t
35673 s,@subdirs@,$subdirs,;t t
35674 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35675 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35676 s,@GTK_LIBS@,$GTK_LIBS,;t t
35677 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35678 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35679 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35680 s,@X_CFLAGS@,$X_CFLAGS,;t t
35681 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35682 s,@X_LIBS@,$X_LIBS,;t t
35683 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35684 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35685 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35686 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35687 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35688 s,@RESCOMP@,$RESCOMP,;t t
35689 s,@DEREZ@,$DEREZ,;t t
35690 s,@SETFILE@,$SETFILE,;t t
35691 s,@LIBICONV@,$LIBICONV,;t t
35692 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35693 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35694 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
35695 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35696 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35697 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35698 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35699 s,@VENDOR@,$VENDOR,;t t
35700 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35701 s,@WXUNIV@,$WXUNIV,;t t
35702 s,@MONOLITHIC@,$MONOLITHIC,;t t
35703 s,@EXTRALIBS@,$EXTRALIBS,;t t
35704 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
35705 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
35706 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
35707 s,@UNICODE@,$UNICODE,;t t
35708 s,@BUILD@,$BUILD,;t t
35709 s,@SHARED@,$SHARED,;t t
35710 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35711 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35712 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35713 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
35714 s,@SET_MAKE@,$SET_MAKE,;t t
35715 s,@MAKE_SET@,$MAKE_SET,;t t
35716 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35717 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35718 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35719 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35720 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35721 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35722 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35723 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35724 s,@DLLPREFIX@,$DLLPREFIX,;t t
35725 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35726 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35727 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35728 s,@PIC_FLAG@,$PIC_FLAG,;t t
35729 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35730 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35731 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35732 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35733 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35734 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35735 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35736 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35737 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35738 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35739 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35740 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35741 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35742 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35743 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
35744 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35745 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35746 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
35747 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35748 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35749 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35750 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
35751 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
35752 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35753 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35754 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
35755 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
35756 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
35757 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35758 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35759 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35760 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35761 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
35762 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
35763 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35764 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35765 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35766 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35767 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35768 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35769 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35770 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35771 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35772 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35773 s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35774 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35775 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35776 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35777 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35778 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35779 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35780 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35781 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35782 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35783 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35784 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35785 s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35786 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35787 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35788 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35789 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35790 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35791 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35792 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35793 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35794 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35795 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35796 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35797 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35798 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35799 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35800 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35801 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35802 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35803 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35804 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35805 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
35806 s,@LEX_STEM@,$LEX_STEM,;t t
35807 s,@PATH_IFS@,$PATH_IFS,;t t
35808 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35809 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35810 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35811 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35812 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35813 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35814 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35815 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35816 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35817 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35818 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35819 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35820 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35821 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35822 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35823 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35824 s,@WX_ALL@,$WX_ALL,;t t
35825 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35826 s,@SHARED_LD@,$SHARED_LD,;t t
35827 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35828 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35829 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35830 s,@USE_GUI@,$USE_GUI,;t t
35831 s,@AFMINSTALL@,$AFMINSTALL,;t t
35832 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35833 s,@TOOLKIT@,$TOOLKIT,;t t
35834 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35835 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35836 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35837 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35838 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35839 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35840 s,@cross_compiling@,$cross_compiling,;t t
35841 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35842 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35843 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35844 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35845 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35846 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35847 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35848 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35849 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35850 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35851 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35852 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35853 s,@GUIDIST@,$GUIDIST,;t t
35854 s,@PORT_FILES@,$PORT_FILES,;t t
35855 s,@DISTDIR@,$DISTDIR,;t t
35856 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35857 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35858 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35859 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35860 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35861 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35862 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35863 s,@RESFLAGS@,$RESFLAGS,;t t
35864 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35865 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35866 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35867 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35868 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35869 s,@MACRESCOMP@,$MACRESCOMP,;t t
35870 s,@MACSETFILE@,$MACSETFILE,;t t
35871 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35873 s,@DLLTOOL@,$DLLTOOL,;t t
35877 s,@MAKEINFO@,$MAKEINFO,;t t
35878 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35879 s,@ESD_LINK@,$ESD_LINK,;t t
35880 s,@LIBOBJS@,$LIBOBJS,;t t
35881 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35886 cat >>$CONFIG_STATUS <<\_ACEOF
35887 # Split the substitutions into bite-sized pieces for seds with
35888 # small command number limits, like on Digital OSF/1 and HP-UX.
35889 ac_max_sed_lines
=48
35890 ac_sed_frag
=1 # Number of current file.
35891 ac_beg
=1 # First line for current file.
35892 ac_end
=$ac_max_sed_lines # Line after last line for current file.
35895 while $ac_more_lines; do
35896 if test $ac_beg -gt 1; then
35897 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35899 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35901 if test ! -s $tmp/subs.frag
; then
35902 ac_more_lines
=false
35904 # The purpose of the label and of the branching condition is to
35905 # speed up the sed processing (if there are no `@' at all, there
35906 # is no need to browse any of the substitutions).
35907 # These are the two extra sed commands mentioned above.
35909 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
35910 if test -z "$ac_sed_cmds"; then
35911 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
35913 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35915 ac_sed_frag
=`expr $ac_sed_frag + 1`
35917 ac_end
=`expr $ac_end + $ac_max_sed_lines`
35920 if test -z "$ac_sed_cmds"; then
35923 fi # test -n "$CONFIG_FILES"
35926 cat >>$CONFIG_STATUS <<\_ACEOF
35927 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
35928 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35930 - | *:- | *:-:* ) # input from stdin
35932 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35933 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35934 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35935 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35936 * ) ac_file_in
=$ac_file.
in ;;
35939 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35940 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35941 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35942 X"$ac_file" : 'X\(//\)[^/]' \| \
35943 X"$ac_file" : 'X\(//\)$' \| \
35944 X"$ac_file" : 'X\(/\)' \| \
35945 . : '\(.\)' 2>/dev/null ||
35947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35948 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35949 /^X\(\/\/\)$/{ s//\1/; q; }
35950 /^X\(\/\).*/{ s//\1/; q; }
35952 { if $as_mkdir_p; then
35957 while test ! -d "$as_dir"; do
35958 as_dirs
="$as_dir $as_dirs"
35959 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35960 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35961 X"$as_dir" : 'X\(//\)[^/]' \| \
35962 X"$as_dir" : 'X\(//\)$' \| \
35963 X"$as_dir" : 'X\(/\)' \| \
35964 . : '\(.\)' 2>/dev/null ||
35966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35967 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35968 /^X\(\/\/\)$/{ s//\1/; q; }
35969 /^X\(\/\).*/{ s//\1/; q; }
35972 test ! -n "$as_dirs" || mkdir $as_dirs
35973 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35974 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35975 { (exit 1); exit 1; }; }; }
35979 if test "$ac_dir" != .
; then
35980 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35981 # A "../" for each directory in $ac_dir_suffix.
35982 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35984 ac_dir_suffix
= ac_top_builddir
=
35988 .
) # No --srcdir option. We are building in place.
35990 if test -z "$ac_top_builddir"; then
35993 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
35995 [\\/]* | ?
:[\\/]* ) # Absolute path.
35996 ac_srcdir
=$srcdir$ac_dir_suffix;
35997 ac_top_srcdir
=$srcdir ;;
35998 *) # Relative path.
35999 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36000 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36002 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36004 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36005 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36006 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36007 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36011 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36012 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36015 if test x
"$ac_file" != x
-; then
36016 { echo "$as_me:$LINENO: creating $ac_file" >&5
36017 echo "$as_me: creating $ac_file" >&6;}
36020 # Let's still pretend it is `configure' which instantiates (i.e., don't
36021 # use $as_me), people would be surprised to read:
36022 # /* config.h. Generated by config.status. */
36023 if test x
"$ac_file" = x
-; then
36026 configure_input
="$ac_file. "
36028 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36029 sed 's,.*/,,'` by configure."
36031 # First look for the input files in the build tree, otherwise in the
36033 ac_file_inputs
=`IFS=:
36034 for f in $ac_file_in; do
36036 -) echo $tmp/stdin ;;
36038 # Absolute (can't be DOS-style, as IFS=:)
36039 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36040 echo "$as_me: error: cannot find input file: $f" >&2;}
36041 { (exit 1); exit 1; }; }
36044 if test -f "$f"; then
36047 elif test -f "$srcdir/$f"; then
36052 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36053 echo "$as_me: error: cannot find input file: $f" >&2;}
36054 { (exit 1); exit 1; }; }
36057 done` || { (exit 1); exit 1; }
36059 cat >>$CONFIG_STATUS <<_ACEOF
36063 cat >>$CONFIG_STATUS <<\_ACEOF
36065 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36066 s
,@configure_input@
,$configure_input,;t t
36067 s
,@srcdir@
,$ac_srcdir,;t t
36068 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36069 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36070 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36071 s
,@builddir@
,$ac_builddir,;t t
36072 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36073 s
,@top_builddir@
,$ac_top_builddir,;t t
36074 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36075 s
,@INSTALL@
,$ac_INSTALL,;t t
36076 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36078 if test x"$ac_file" != x-; then
36079 mv $tmp/out $ac_file
36087 cat >>$CONFIG_STATUS <<\_ACEOF
36090 # CONFIG_HEADER section.
36093 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36094 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36096 # ac_d sets the value in "#define NAME VALUE" lines.
36097 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36098 ac_dB
='[ ].*$,\1#\2'
36101 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36102 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36103 ac_uB
='$,\1#\2define\3'
36107 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36108 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36110 - | *:- | *:-:* ) # input from stdin
36112 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36113 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36114 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36115 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36116 * ) ac_file_in
=$ac_file.
in ;;
36119 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36120 echo "$as_me: creating $ac_file" >&6;}
36122 # First look for the input files in the build tree, otherwise in the
36124 ac_file_inputs
=`IFS=:
36125 for f in $ac_file_in; do
36127 -) echo $tmp/stdin ;;
36129 # Absolute (can't be DOS-style, as IFS=:)
36130 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36131 echo "$as_me: error: cannot find input file: $f" >&2;}
36132 { (exit 1); exit 1; }; }
36135 if test -f "$f"; then
36138 elif test -f "$srcdir/$f"; then
36143 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36144 echo "$as_me: error: cannot find input file: $f" >&2;}
36145 { (exit 1); exit 1; }; }
36148 done` || { (exit 1); exit 1; }
36149 # Remove the trailing spaces.
36150 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36154 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36155 # `conftest.undefs', that substitutes the proper values into
36156 # config.h.in to produce config.h. The first handles `#define'
36157 # templates, and the second `#undef' templates.
36158 # And first: Protect against being on the right side of a sed subst in
36159 # config.status. Protect against being in an unquoted here document
36160 # in config.status.
36161 rm -f conftest.defines conftest.undefs
36162 # Using a here document instead of a string reduces the quoting nightmare.
36163 # Putting comments in sed scripts is not portable.
36165 # `end' is used to avoid that the second main sed command (meant for
36166 # 0-ary CPP macros) applies to n-ary macro definitions.
36167 # See the Autoconf documentation for `clear'.
36168 cat >confdef2sed.
sed <<\_ACEOF
36173 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36175 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36178 # If some macros were called several times there might be several times
36179 # the same #defines, which is useless. Nevertheless, we may not want to
36180 # sort them, since we want the *last* AC-DEFINE to be honored.
36181 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36182 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36183 rm -f confdef2sed.sed
36185 # This sed command replaces #undef with comments. This is necessary, for
36186 # example, in the case of _POSIX_SOURCE, which is predefined and required
36187 # on some systems where configure will not decide to define it.
36188 cat >>conftest.undefs <<\_ACEOF
36189 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36192 # Break up conftest.defines because some shells have a limit on the size
36193 # of here documents, and old seds have small limits too (100 cmds).
36194 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36195 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36196 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36197 echo ' :' >>$CONFIG_STATUS
36198 rm -f conftest.tail
36199 while grep . conftest.defines >/dev/null
36201 # Write a limited-size here document to $tmp/defines.sed.
36202 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36203 # Speed up: don't consider the non `#define' lines.
36204 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36205 # Work around the forget-to-reset-the-flag bug.
36206 echo 't clr' >>$CONFIG_STATUS
36207 echo ': clr' >>$CONFIG_STATUS
36208 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36210 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36212 mv $tmp/out $tmp/in
36214 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36215 rm -f conftest.defines
36216 mv conftest.
tail conftest.defines
36218 rm -f conftest.defines
36219 echo ' fi # grep' >>$CONFIG_STATUS
36220 echo >>$CONFIG_STATUS
36222 # Break up conftest.undefs because some shells have a limit on the size
36223 # of here documents, and old seds have small limits too (100 cmds).
36224 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36225 rm -f conftest.
tail
36226 while grep . conftest.undefs
>/dev
/null
36228 # Write a limited-size here document to $tmp/undefs.sed.
36229 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36230 # Speed up: don't consider the non
`#undef'
36231 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36232 # Work around the forget-to-reset-the-flag bug.
36233 echo 't clr' >>$CONFIG_STATUS
36234 echo ': clr' >>$CONFIG_STATUS
36235 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36237 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36239 mv $tmp/out $tmp/in
36241 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36242 rm -f conftest.undefs
36243 mv conftest.tail conftest.undefs
36245 rm -f conftest.undefs
36247 cat >>$CONFIG_STATUS <<\_ACEOF
36248 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36249 # use $as_me), people would be surprised to read:
36250 # /* config.h. Generated by config.status. */
36251 if test x
"$ac_file" = x
-; then
36252 echo "/* Generated by configure. */" >$tmp/config.h
36254 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36256 cat $tmp/in >>$tmp/config.h
36258 if test x
"$ac_file" != x
-; then
36259 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36260 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36261 echo "$as_me: $ac_file is unchanged" >&6;}
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; }; }; }
36301 mv $tmp/config.h
$ac_file
36305 rm -f $tmp/config.h
36309 cat >>$CONFIG_STATUS <<\_ACEOF
36312 # CONFIG_COMMANDS section.
36314 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36315 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36316 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36317 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36318 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36319 X"$ac_dest" : 'X\(//\)[^/]' \| \
36320 X"$ac_dest" : 'X\(//\)$' \| \
36321 X"$ac_dest" : 'X\(/\)' \| \
36322 . : '\(.\)' 2>/dev/null ||
36324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36325 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36326 /^X\(\/\/\)$/{ s//\1/; q; }
36327 /^X\(\/\).*/{ s//\1/; q; }
36331 if test "$ac_dir" != .
; then
36332 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36333 # A "../" for each directory in $ac_dir_suffix.
36334 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36336 ac_dir_suffix
= ac_top_builddir
=
36340 .
) # No --srcdir option. We are building in place.
36342 if test -z "$ac_top_builddir"; then
36345 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36347 [\\/]* | ?
:[\\/]* ) # Absolute path.
36348 ac_srcdir
=$srcdir$ac_dir_suffix;
36349 ac_top_srcdir
=$srcdir ;;
36350 *) # Relative path.
36351 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36352 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36354 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36356 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36357 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36358 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36359 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36362 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36363 echo "$as_me: executing $ac_dest commands" >&6;}
36366 if test ! -h wx
-config; then
36368 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36369 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36372 if test ! -d lib
; then
36375 if test ! -d lib
/wx
; then
36378 if test ! -d lib
/wx
/include
; then
36379 mkdir lib
/wx
/include
36381 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36382 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36384 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36385 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36387 if test -f setup.h
; then
36388 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36395 cat >>$CONFIG_STATUS <<\_ACEOF
36397 { (exit 0); exit 0; }
36399 chmod +x
$CONFIG_STATUS
36400 ac_clean_files
=$ac_clean_files_save
36403 # configure is writing to config.log, and then calls config.status.
36404 # config.status does its own redirection, appending to config.log.
36405 # Unfortunately, on DOS this fails, as config.log is still kept open
36406 # by configure, so config.status won't be able to write to it; its
36407 # output is simply discarded. So we exec the FD to /dev/null,
36408 # effectively closing config.log, so it can be properly (re)opened and
36409 # appended to by config.status. When coming back to configure, we
36410 # need to make the FD available again.
36411 if test "$no_create" != yes; then
36413 ac_config_status_args
=
36414 test "$silent" = yes &&
36415 ac_config_status_args
="$ac_config_status_args --quiet"
36417 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36419 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36420 # would make configure fail if this is the last instruction.
36421 $ac_cs_success || { (exit 1); exit 1; }
36425 # CONFIG_SUBDIRS section.
36427 if test "$no_recursion" != yes; then
36429 # Remove --cache-file and --srcdir arguments so they do not pile up.
36430 ac_sub_configure_args
=
36432 for ac_arg
in $ac_configure_args; do
36433 if test -n "$ac_prev"; then
36438 -cache-file | --cache-file | --cache-fil | --cache-fi \
36439 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36440 ac_prev
=cache_file
;;
36441 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36442 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36445 --config-cache | -C)
36447 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36449 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36451 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36453 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36455 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
36459 # Always prepend --prefix to ensure using the same prefix
36460 # in subdir configurations.
36461 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
36464 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
36466 # Do not complain, so a configure script can configure whichever
36467 # parts of a large source tree are present.
36468 test -d $srcdir/$ac_dir || continue
36470 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36471 echo "$as_me: configuring in $ac_dir" >&6;}
36472 { if $as_mkdir_p; then
36477 while test ! -d "$as_dir"; do
36478 as_dirs
="$as_dir $as_dirs"
36479 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36481 X"$as_dir" : 'X\(//\)[^/]' \| \
36482 X"$as_dir" : 'X\(//\)$' \| \
36483 X"$as_dir" : 'X\(/\)' \| \
36484 . : '\(.\)' 2>/dev/null ||
36486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36487 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36488 /^X\(\/\/\)$/{ s//\1/; q; }
36489 /^X\(\/\).*/{ s//\1/; q; }
36492 test ! -n "$as_dirs" || mkdir $as_dirs
36493 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36494 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36495 { (exit 1); exit 1; }; }; }
36499 if test "$ac_dir" != .
; then
36500 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36501 # A "../" for each directory in $ac_dir_suffix.
36502 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36504 ac_dir_suffix
= ac_top_builddir
=
36508 .
) # No --srcdir option. We are building in place.
36510 if test -z "$ac_top_builddir"; then
36513 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36515 [\\/]* | ?
:[\\/]* ) # Absolute path.
36516 ac_srcdir
=$srcdir$ac_dir_suffix;
36517 ac_top_srcdir
=$srcdir ;;
36518 *) # Relative path.
36519 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36520 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36522 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36524 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36525 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36526 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36527 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36532 # Check for guested configure; otherwise get Cygnus style configure.
36533 if test -f $ac_srcdir/configure.gnu
; then
36534 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
36535 elif test -f $ac_srcdir/configure
; then
36536 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
36537 elif test -f $ac_srcdir/configure.
in; then
36538 ac_sub_configure
=$ac_configure
36540 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36541 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36545 # The recursion is here.
36546 if test -n "$ac_sub_configure"; then
36547 # Make the cache file name correct relative to the subdirectory.
36548 case $cache_file in
36549 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
36550 *) # Relative path.
36551 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
36554 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36555 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36556 # The eval makes quoting arguments work.
36557 eval $ac_sub_configure $ac_sub_configure_args \
36558 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
36559 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36560 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36561 { (exit 1); exit 1; }; }
36570 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36572 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36573 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36575 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36576 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36577 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36579 echo " What level of wxWindows compatibility should be enabled?"
36580 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36581 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36582 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36584 echo " Which libraries should wxWindows use?"
36585 echo " jpeg ${wxUSE_LIBJPEG-none}"
36586 echo " png ${wxUSE_LIBPNG-none}"
36587 echo " regex ${wxUSE_REGEX}"
36588 echo " tiff ${wxUSE_LIBTIFF-none}"
36589 echo " zlib ${wxUSE_ZLIB}"
36590 echo " odbc ${wxUSE_ODBC}"
36591 echo " expat ${wxUSE_EXPAT}"