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_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 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_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_GUI UNICODE BUILD SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG 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_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_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_USE_SOVERSION_1 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_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 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'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev
=build_alias
;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev
=cache_file
;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
437 ac_init_help
=short
;;
439 -host | --host | --hos | --ho)
440 ac_prev
=host_alias
;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev
=includedir
;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev
=target_alias
;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias
=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
775 ac_env_CXX_set
=${CXX+set}
776 ac_env_CXX_value
=$CXX
777 ac_cv_env_CXX_set
=${CXX+set}
778 ac_cv_env_CXX_value
=$CXX
779 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
780 ac_env_CXXFLAGS_value
=$CXXFLAGS
781 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_env_CXXCPP_set
=${CXXCPP+set}
784 ac_env_CXXCPP_value
=$CXXCPP
785 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
786 ac_cv_env_CXXCPP_value
=$CXXCPP
789 # Report the --help message.
791 if test "$ac_init_help" = "long"; then
792 # Omit some internal or obsolete options to make the list less imposing.
793 # This message is too long to be a string in the A/UX 3.1 sh.
795 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
797 Usage: $0 [OPTION]... [VAR=VALUE]...
799 To assign environment variables (e.g., CC, CFLAGS...), specify them as
800 VAR=VALUE. See below for descriptions of some of the useful variables.
802 Defaults for the options are specified in brackets.
805 -h, --help display this help and exit
806 --help=short display options specific to this package
807 --help=recursive display the short help of all the included packages
808 -V, --version display version information and exit
809 -q, --quiet, --silent do not print \`checking...' messages
810 --cache-file=FILE cache test results in FILE [disabled]
811 -C, --config-cache alias for \`--cache-file=config.cache'
812 -n, --no-create do not create output files
813 --srcdir=DIR find the sources in DIR [configure dir or \`..']
818 Installation directories:
819 --prefix=PREFIX install architecture-independent files in PREFIX
821 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 By default, \`make install' will install all the files in
825 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
826 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
827 for instance \`--prefix=\$HOME'.
829 For better control, use the options below.
831 Fine tuning of the installation directories:
832 --bindir=DIR user executables [EPREFIX/bin]
833 --sbindir=DIR system admin executables [EPREFIX/sbin]
834 --libexecdir=DIR program executables [EPREFIX/libexec]
835 --datadir=DIR read-only architecture-independent data [PREFIX/share]
836 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
837 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
838 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
839 --libdir=DIR object code libraries [EPREFIX/lib]
840 --includedir=DIR C header files [PREFIX/include]
841 --oldincludedir=DIR C header files for non-gcc [/usr/include]
842 --infodir=DIR info documentation [PREFIX/info]
843 --mandir=DIR man documentation [PREFIX/man]
849 --x-includes=DIR X include files are
in DIR
850 --x-libraries=DIR X library files are
in DIR
853 --build=BUILD configure
for building on BUILD
[guessed
]
854 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
855 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
859 if test -n "$ac_init_help"; then
860 case $ac_init_help in
861 short
| recursive
) echo "Configuration of wxWindows 2.5.0:";;
866 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
867 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
868 --enable-gui use GUI classes
869 --disable-monolithic don
't build wxWindows as single library
870 --enable-universal use wxWindows GUI controls instead of native ones
871 --enable-nanox use NanoX
872 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
873 --enable-shared create shared library code
874 --enable-optimise create optimised code
875 --enable-debug same as debug_flag and debug_info
876 --enable-stl use STL for containers
877 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)
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-gtk-prefix=PFX Prefix where GTK is installed (optional)
1053 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1054 --with-x use the X Window System
1055 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1057 Some influential environment variables:
1058 CC C compiler command
1059 CFLAGS C compiler flags
1060 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1061 nonstandard directory <lib dir>
1062 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1063 headers in a nonstandard directory <include dir>
1065 CXX C++ compiler command
1066 CXXFLAGS C++ compiler flags
1067 CXXCPP C++ preprocessor
1069 Use these variables to override the choices made by `configure' or to
help
1070 it to
find libraries and programs with nonstandard names
/locations.
1072 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1076 if test "$ac_init_help" = "recursive"; then
1077 # If there are subdirs, report their specific --help.
1079 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1080 test -d $ac_dir || continue
1083 if test "$ac_dir" != .
; then
1084 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1085 # A "../" for each directory in $ac_dir_suffix.
1086 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1088 ac_dir_suffix
= ac_top_builddir
=
1092 .
) # No --srcdir option. We are building in place.
1094 if test -z "$ac_top_builddir"; then
1097 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1099 [\\/]* | ?
:[\\/]* ) # Absolute path.
1100 ac_srcdir
=$srcdir$ac_dir_suffix;
1101 ac_top_srcdir
=$srcdir ;;
1103 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1104 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1106 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1108 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
1109 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1110 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1111 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu
; then
1117 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1118 elif test -f $ac_srcdir/configure
; then
1120 $SHELL $ac_srcdir/configure
--help=recursive
1121 elif test -f $ac_srcdir/configure.ac
||
1122 test -f $ac_srcdir/configure.
in; then
1124 $ac_configure --help
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1135 wxWindows configure
2.5.0
1136 generated by GNU Autoconf
2.57
1138 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1139 Free Software Foundation
, Inc.
1140 This configure
script is free software
; the Free Software Foundation
1141 gives unlimited permission to copy
, distribute and modify it.
1147 This file contains any messages produced by compilers while
1148 running configure, to aid debugging if configure makes a mistake.
1150 It was created by wxWindows $as_me 2.5.0, which was
1151 generated by GNU Autoconf 2.57. Invocation command line was
1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1171 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1172 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1175 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1176 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1177 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1185 test -z "$as_dir" && as_dir
=.
1186 echo "PATH: $as_dir"
1201 # Keep a trace of the command line.
1202 # Strip out --no-create and --no-recursion so they do not pile up.
1203 # Strip out --silent because we don't want to record it for future runs.
1204 # Also quote any args containing shell meta-characters.
1205 # Make two passes to allow for proper duplicate-argument suppression.
1210 ac_must_keep_next
=false
1216 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1220 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1224 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1226 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1227 if test $ac_must_keep_next = true
; then
1228 ac_must_keep_next
=false
# Got value, back to normal.
1231 *=* | --config-cache | -C | -disable-* | --disable-* \
1232 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1233 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1234 | -with-* | --with-* | -without-* | --without-* | --x)
1235 case "$ac_configure_args0 " in
1236 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1239 -* ) ac_must_keep_next
=true
;;
1242 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1243 # Get rid of the leading space.
1249 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1250 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1252 # When interrupted or exit'd, cleanup temporary files, and complete
1253 # config.log. We remove comments because anyway the quotes in there
1254 # would cause problems or look ugly.
1255 # WARNING: Be sure not to use single quotes in there, as some shells,
1256 # such as our DU 5.0 friend, will then `close' the trap.
1257 trap 'exit_status=$?
1258 # Save into config.log some information that might help in debugging.
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1268 # The following way of writing the cache mishandles newlines in values,
1271 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1274 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1291 for ac_var in $ac_subst_vars
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1298 if test -n "$ac_subst_files"; then
1305 for ac_var in $ac_subst_files
1307 eval ac_val=$`echo $ac_var`
1308 echo "$ac_var='"'"'$ac_val'"'"'"
1313 if test -s confdefs.h; then
1320 sed "/^$/d" confdefs.h | sort
1323 test "$ac_signal" != 0 &&
1324 echo "$as_me: caught signal $ac_signal"
1325 echo "$as_me: exit $exit_status"
1327 rm -f core core.* *.core &&
1328 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1331 for ac_signal
in 1 2 13 15; do
1332 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1337 rm -rf conftest
* confdefs.h
1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1341 # Predefined preprocessor variables.
1343 cat >>confdefs.h
<<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1348 cat >>confdefs.h
<<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1353 cat >>confdefs.h
<<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1358 cat >>confdefs.h
<<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1363 cat >>confdefs.h
<<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1368 # Let the site file select an alternate cache file if it wants to.
1369 # Prefer explicitly selected file to automatically selected ones.
1370 if test -z "$CONFIG_SITE"; then
1371 if test "x$prefix" != xNONE
; then
1372 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1374 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1377 for ac_site_file
in $CONFIG_SITE; do
1378 if test -r "$ac_site_file"; then
1379 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380 echo "$as_me: loading site script $ac_site_file" >&6;}
1381 sed 's/^/| /' "$ac_site_file" >&5
1386 if test -r "$cache_file"; then
1387 # Some versions of bash will fail to source /dev/null (special
1388 # files actually), so we avoid doing that.
1389 if test -f "$cache_file"; then
1390 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391 echo "$as_me: loading cache $cache_file" >&6;}
1393 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1394 *) . .
/$cache_file;;
1398 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1403 # Check that the precious variables saved in the cache have kept the same
1405 ac_cache_corrupted
=false
1406 for ac_var
in `(set) 2>&1 |
1407 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1409 eval ac_new_set
=\
$ac_env_${ac_var}_set
1410 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1411 eval ac_new_val
="\$ac_env_${ac_var}_value"
1412 case $ac_old_set,$ac_new_set in
1414 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416 ac_cache_corrupted
=: ;;
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420 ac_cache_corrupted
=: ;;
1423 if test "x$ac_old_val" != "x$ac_new_val"; then
1424 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1425 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1426 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1427 echo "$as_me: former value: $ac_old_val" >&2;}
1428 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1429 echo "$as_me: current value: $ac_new_val" >&2;}
1430 ac_cache_corrupted
=:
1433 # Pass precious variables to config.status.
1434 if test "$ac_new_set" = set; then
1436 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1438 *) ac_arg
=$ac_var=$ac_new_val ;;
1440 case " $ac_configure_args " in
1441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1442 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1446 if $ac_cache_corrupted; then
1447 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1448 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1449 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1450 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1451 { (exit 1); exit 1; }; }
1455 ac_cpp
='$CPP $CPPFLAGS'
1456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1490 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1491 if test -f $ac_dir/install-sh; then
1493 ac_install_sh
="$ac_aux_dir/install-sh -c"
1495 elif test -f $ac_dir/install.sh
; then
1497 ac_install_sh
="$ac_aux_dir/install.sh -c"
1499 elif test -f $ac_dir/shtool
; then
1501 ac_install_sh
="$ac_aux_dir/shtool install -c"
1505 if test -z "$ac_aux_dir"; then
1506 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1507 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1508 { (exit 1); exit 1; }; }
1510 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1511 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1512 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1514 # Make sure we can run config.sub.
1515 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1516 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1517 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1518 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: checking build system type" >&5
1521 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1522 if test "${ac_cv_build+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 ac_cv_build_alias
=$build_alias
1526 test -z "$ac_cv_build_alias" &&
1527 ac_cv_build_alias
=`$ac_config_guess`
1528 test -z "$ac_cv_build_alias" &&
1529 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1530 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1531 { (exit 1); exit 1; }; }
1532 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1533 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1534 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1535 { (exit 1); exit 1; }; }
1538 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1539 echo "${ECHO_T}$ac_cv_build" >&6
1541 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1542 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1543 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1546 echo "$as_me:$LINENO: checking host system type" >&5
1547 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1548 if test "${ac_cv_host+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 ac_cv_host_alias
=$host_alias
1552 test -z "$ac_cv_host_alias" &&
1553 ac_cv_host_alias
=$ac_cv_build_alias
1554 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1555 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1556 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1557 { (exit 1); exit 1; }; }
1560 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1561 echo "${ECHO_T}$ac_cv_host" >&6
1563 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1564 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1565 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1568 echo "$as_me:$LINENO: checking target system type" >&5
1569 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1570 if test "${ac_cv_target+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 ac_cv_target_alias
=$target_alias
1574 test "x$ac_cv_target_alias" = "x" &&
1575 ac_cv_target_alias
=$ac_cv_host_alias
1576 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1577 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1578 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1579 { (exit 1); exit 1; }; }
1582 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1583 echo "${ECHO_T}$ac_cv_target" >&6
1584 target
=$ac_cv_target
1585 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1586 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1587 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1590 # The aliases save the names the user supplied, while $host etc.
1591 # will get canonicalized.
1592 test -n "$target_alias" &&
1593 test "$program_prefix$program_suffix$program_transform_name" = \
1595 program_prefix
=${target_alias}-
1599 WX_MAJOR_VERSION_NUMBER
=2
1600 WX_MINOR_VERSION_NUMBER
=5
1603 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1604 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1606 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1621 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1627 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1633 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1635 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1637 DEFAULT_wxUSE_COCOA
=0
1641 DEFAULT_wxUSE_MICROWIN
=0
1642 DEFAULT_wxUSE_MOTIF
=0
1647 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1648 DEFAULT_DEFAULT_wxUSE_GTK
=0
1649 DEFAULT_DEFAULT_wxUSE_MAC
=0
1650 DEFAULT_DEFAULT_wxUSE_MGL
=0
1651 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1652 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1653 DEFAULT_DEFAULT_wxUSE_MSW
=0
1654 DEFAULT_DEFAULT_wxUSE_PM
=0
1655 DEFAULT_DEFAULT_wxUSE_X11
=0
1664 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1665 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1667 cat >>confdefs.h
<<\_ACEOF
1674 cat >>confdefs.h
<<\_ACEOF
1679 if test "x$TMP" = "xalpha"; then
1681 cat >>confdefs.h
<<\_ACEOF
1686 DEFAULT_DEFAULT_wxUSE_GTK
=1
1690 cat >>confdefs.h
<<\_ACEOF
1695 if test "x$TMP" = "xalpha"; then
1697 cat >>confdefs.h
<<\_ACEOF
1702 DEFAULT_DEFAULT_wxUSE_GTK
=1
1704 *-*-irix5* | *-*-irix6* )
1707 cat >>confdefs.h
<<\_ACEOF
1711 cat >>confdefs.h
<<\_ACEOF
1715 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1721 cat >>confdefs.h
<<\_ACEOF
1725 cat >>confdefs.h
<<\_ACEOF
1726 #define __SOLARIS__ 1
1729 cat >>confdefs.h
<<\_ACEOF
1733 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1740 cat >>confdefs.h
<<\_ACEOF
1744 cat >>confdefs.h
<<\_ACEOF
1748 cat >>confdefs.h
<<\_ACEOF
1752 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1757 cat >>confdefs.h
<<\_ACEOF
1758 #define __FREEBSD__ 1
1761 cat >>confdefs.h
<<\_ACEOF
1765 DEFAULT_DEFAULT_wxUSE_GTK
=1
1770 cat >>confdefs.h
<<\_ACEOF
1771 #define __OPENBSD__ 1
1774 cat >>confdefs.h
<<\_ACEOF
1778 DEFAULT_DEFAULT_wxUSE_GTK
=1
1783 cat >>confdefs.h
<<\_ACEOF
1784 #define __NETBSD__ 1
1787 cat >>confdefs.h
<<\_ACEOF
1791 DEFAULT_DEFAULT_wxUSE_GTK
=1
1796 cat >>confdefs.h
<<\_ACEOF
1800 cat >>confdefs.h
<<\_ACEOF
1804 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1805 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1810 cat >>confdefs.h
<<\_ACEOF
1814 cat >>confdefs.h
<<\_ACEOF
1818 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1823 cat >>confdefs.h
<<\_ACEOF
1827 cat >>confdefs.h
<<\_ACEOF
1831 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1838 cat >>confdefs.h
<<\_ACEOF
1842 cat >>confdefs.h
<<\_ACEOF
1846 cat >>confdefs.h
<<\_ACEOF
1850 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1857 cat >>confdefs.h
<<\_ACEOF
1858 #define __UNIXWARE__ 1
1863 *-*-cygwin* | *-*-mingw32* )
1867 DEFAULT_DEFAULT_wxUSE_MSW
=1
1873 cat >>confdefs.h
<<\_ACEOF
1878 DEFAULT_DEFAULT_wxUSE_MGL
=1
1879 LIBS
="$LIBS -lstdc++"
1882 *-pc-os2_emx | *-pc-os2-emx )
1883 cat >>confdefs.h
<<\_ACEOF
1888 DEFAULT_DEFAULT_wxUSE_PM
=1
1895 cat >>confdefs.h
<<\_ACEOF
1899 cat >>confdefs.h
<<\_ACEOF
1900 #define __DARWIN__ 1
1903 cat >>confdefs.h
<<\_ACEOF
1904 #define __POWERPC__ 1
1907 cat >>confdefs.h
<<\_ACEOF
1908 #define TARGET_CARBON 1
1911 DEFAULT_DEFAULT_wxUSE_MAC
=1
1916 cat >>confdefs.h
<<\_ACEOF
1923 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1924 echo "$as_me: error: unknown system type ${host}." >&2;}
1925 { (exit 1); exit 1; }; }
1931 wx_arg_cache_file
="configarg.cache"
1932 echo "loading argument cache $wx_arg_cache_file"
1933 rm -f ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}.tmp
1935 touch ${wx_arg_cache_file}
1939 if test $DEBUG_CONFIGURE = 1; then
1940 DEFAULT_wxUSE_UNIVERSAL
=no
1941 DEFAULT_wxUSE_STL
=no
1943 DEFAULT_wxUSE_NANOX
=no
1945 DEFAULT_wxUSE_THREADS
=yes
1947 DEFAULT_wxUSE_SHARED
=yes
1948 DEFAULT_wxUSE_OPTIMISE
=no
1949 DEFAULT_wxUSE_PROFILE
=no
1950 DEFAULT_wxUSE_NO_DEPS
=no
1951 DEFAULT_wxUSE_NO_RTTI
=no
1952 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1953 DEFAULT_wxUSE_PERMISSIVE
=no
1954 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1955 DEFAULT_wxUSE_DEBUG_INFO
=yes
1956 DEFAULT_wxUSE_DEBUG_GDB
=yes
1957 DEFAULT_wxUSE_MEM_TRACING
=no
1958 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1959 DEFAULT_wxUSE_DMALLOC
=no
1960 DEFAULT_wxUSE_PRECOMP
=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_ZLIB
=no
1973 DEFAULT_wxUSE_LIBPNG
=no
1974 DEFAULT_wxUSE_LIBJPEG
=no
1975 DEFAULT_wxUSE_LIBTIFF
=no
1976 DEFAULT_wxUSE_ODBC
=no
1977 DEFAULT_wxUSE_OPENGL
=no
1979 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1980 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1981 DEFAULT_wxUSE_STD_IOSTREAM
=no
1982 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1983 DEFAULT_wxUSE_DATETIME
=no
1984 DEFAULT_wxUSE_TIMER
=no
1985 DEFAULT_wxUSE_STOPWATCH
=no
1986 DEFAULT_wxUSE_FILE
=no
1987 DEFAULT_wxUSE_FFILE
=no
1988 DEFAULT_wxUSE_TEXTBUFFER
=no
1989 DEFAULT_wxUSE_TEXTFILE
=no
1990 DEFAULT_wxUSE_WAVE
=no
1991 DEFAULT_wxUSE_INTL
=no
1992 DEFAULT_wxUSE_CONFIG
=no
1993 DEFAULT_wxUSE_FONTMAP
=no
1994 DEFAULT_wxUSE_STREAMS
=no
1995 DEFAULT_wxUSE_SOCKETS
=no
1996 DEFAULT_wxUSE_OLE
=no
1997 DEFAULT_wxUSE_DATAOBJ
=no
1998 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1999 DEFAULT_wxUSE_JOYSTICK
=no
2000 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2001 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2002 DEFAULT_wxUSE_LONGLONG
=no
2003 DEFAULT_wxUSE_GEOMETRY
=no
2005 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2006 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2007 DEFAULT_wxUSE_POSTSCRIPT
=no
2009 DEFAULT_wxUSE_CLIPBOARD
=no
2010 DEFAULT_wxUSE_TOOLTIPS
=no
2011 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2012 DEFAULT_wxUSE_DRAGIMAGE
=no
2013 DEFAULT_wxUSE_SPLINES
=no
2015 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2016 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2017 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2019 DEFAULT_wxUSE_RESOURCES
=no
2020 DEFAULT_wxUSE_CONSTRAINTS
=no
2021 DEFAULT_wxUSE_IPC
=no
2022 DEFAULT_wxUSE_HELP
=no
2023 DEFAULT_wxUSE_MS_HTML_HELP
=no
2024 DEFAULT_wxUSE_WXHTML_HELP
=no
2025 DEFAULT_wxUSE_TREELAYOUT
=no
2026 DEFAULT_wxUSE_METAFILE
=no
2027 DEFAULT_wxUSE_MIMETYPE
=no
2028 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2029 DEFAULT_wxUSE_PROTOCOL
=no
2030 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2031 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2032 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2033 DEFAULT_wxUSE_URL
=no
2035 DEFAULT_wxUSE_COMMONDLGS
=no
2036 DEFAULT_wxUSE_CHOICEDLG
=no
2037 DEFAULT_wxUSE_COLOURDLG
=no
2038 DEFAULT_wxUSE_DIRDLG
=no
2039 DEFAULT_wxUSE_FILEDLG
=no
2040 DEFAULT_wxUSE_FINDREPLDLG
=no
2041 DEFAULT_wxUSE_FONTDLG
=no
2042 DEFAULT_wxUSE_MSGDLG
=no
2043 DEFAULT_wxUSE_NUMBERDLG
=no
2044 DEFAULT_wxUSE_TEXTDLG
=no
2045 DEFAULT_wxUSE_SPLASH
=no
2046 DEFAULT_wxUSE_STARTUP_TIPS
=no
2047 DEFAULT_wxUSE_PROGRESSDLG
=no
2048 DEFAULT_wxUSE_WIZARDDLG
=no
2050 DEFAULT_wxUSE_MENUS
=no
2051 DEFAULT_wxUSE_MINIFRAME
=no
2052 DEFAULT_wxUSE_HTML
=no
2053 DEFAULT_wxUSE_FILESYSTEM
=no
2054 DEFAULT_wxUSE_FS_INET
=no
2055 DEFAULT_wxUSE_FS_ZIP
=no
2056 DEFAULT_wxUSE_BUSYINFO
=no
2057 DEFAULT_wxUSE_ZIPSTREAM
=no
2058 DEFAULT_wxUSE_VALIDATORS
=no
2060 DEFAULT_wxUSE_ACCEL
=no
2061 DEFAULT_wxUSE_BUTTON
=no
2062 DEFAULT_wxUSE_BMPBUTTON
=no
2063 DEFAULT_wxUSE_CALCTRL
=no
2064 DEFAULT_wxUSE_CARET
=no
2065 DEFAULT_wxUSE_CHECKBOX
=no
2066 DEFAULT_wxUSE_CHECKLST
=no
2067 DEFAULT_wxUSE_CHOICE
=no
2068 DEFAULT_wxUSE_COMBOBOX
=no
2069 DEFAULT_wxUSE_DISPLAY
=no
2070 DEFAULT_wxUSE_GAUGE
=no
2071 DEFAULT_wxUSE_GRID
=no
2072 DEFAULT_wxUSE_IMAGLIST
=no
2073 DEFAULT_wxUSE_LISTBOX
=no
2074 DEFAULT_wxUSE_LISTCTRL
=no
2075 DEFAULT_wxUSE_NOTEBOOK
=no
2076 DEFAULT_wxUSE_RADIOBOX
=no
2077 DEFAULT_wxUSE_RADIOBTN
=no
2078 DEFAULT_wxUSE_SASH
=no
2079 DEFAULT_wxUSE_SCROLLBAR
=no
2080 DEFAULT_wxUSE_SLIDER
=no
2081 DEFAULT_wxUSE_SPINBTN
=no
2082 DEFAULT_wxUSE_SPINCTRL
=no
2083 DEFAULT_wxUSE_SPLITTER
=no
2084 DEFAULT_wxUSE_STATBMP
=no
2085 DEFAULT_wxUSE_STATBOX
=no
2086 DEFAULT_wxUSE_STATLINE
=no
2087 DEFAULT_wxUSE_STATTEXT
=no
2088 DEFAULT_wxUSE_STATUSBAR
=yes
2089 DEFAULT_wxUSE_TABDIALOG
=no
2090 DEFAULT_wxUSE_TEXTCTRL
=no
2091 DEFAULT_wxUSE_TOGGLEBTN
=no
2092 DEFAULT_wxUSE_TOOLBAR
=no
2093 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2094 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2095 DEFAULT_wxUSE_TREECTRL
=no
2096 DEFAULT_wxUSE_POPUPWIN
=no
2097 DEFAULT_wxUSE_TIPWINDOW
=no
2099 DEFAULT_wxUSE_UNICODE
=no
2100 DEFAULT_wxUSE_UNICODE_MSLU
=no
2101 DEFAULT_wxUSE_WCSRTOMBS
=no
2103 DEFAULT_wxUSE_PALETTE
=no
2104 DEFAULT_wxUSE_IMAGE
=no
2105 DEFAULT_wxUSE_GIF
=no
2106 DEFAULT_wxUSE_PCX
=no
2107 DEFAULT_wxUSE_PNM
=no
2108 DEFAULT_wxUSE_IFF
=no
2109 DEFAULT_wxUSE_XPM
=no
2110 DEFAULT_wxUSE_ICO_CUR
=no
2111 DEFAULT_wxUSE_ACCESSIBILITY
=no
2113 DEFAULT_wxUSE_MONOLITHIC
=yes
2115 DEFAULT_wxUSE_UNIVERSAL
=no
2116 DEFAULT_wxUSE_STL
=no
2118 DEFAULT_wxUSE_NANOX
=no
2120 DEFAULT_wxUSE_THREADS
=yes
2122 DEFAULT_wxUSE_SHARED
=yes
2123 DEFAULT_wxUSE_OPTIMISE
=yes
2124 DEFAULT_wxUSE_PROFILE
=no
2125 DEFAULT_wxUSE_NO_DEPS
=no
2126 DEFAULT_wxUSE_NO_RTTI
=no
2127 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2128 DEFAULT_wxUSE_PERMISSIVE
=no
2129 DEFAULT_wxUSE_DEBUG_FLAG
=no
2130 DEFAULT_wxUSE_DEBUG_INFO
=no
2131 DEFAULT_wxUSE_DEBUG_GDB
=no
2132 DEFAULT_wxUSE_MEM_TRACING
=no
2133 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2134 DEFAULT_wxUSE_DMALLOC
=no
2135 DEFAULT_wxUSE_PRECOMP
=no
2136 DEFAULT_wxUSE_APPLE_IEEE
=yes
2138 DEFAULT_wxUSE_LOG
=yes
2139 DEFAULT_wxUSE_LOGWINDOW
=yes
2140 DEFAULT_wxUSE_LOGGUI
=yes
2141 DEFAULT_wxUSE_LOGDIALOG
=yes
2143 DEFAULT_wxUSE_GUI
=yes
2145 DEFAULT_wxUSE_REGEX
=yes
2146 DEFAULT_wxUSE_ZLIB
=yes
2147 DEFAULT_wxUSE_LIBPNG
=yes
2148 DEFAULT_wxUSE_LIBJPEG
=yes
2149 DEFAULT_wxUSE_LIBTIFF
=yes
2150 DEFAULT_wxUSE_ODBC
=no
2151 DEFAULT_wxUSE_OPENGL
=no
2153 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2154 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2155 DEFAULT_wxUSE_STD_IOSTREAM
=no
2156 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2157 DEFAULT_wxUSE_DATETIME
=yes
2158 DEFAULT_wxUSE_TIMER
=yes
2159 DEFAULT_wxUSE_STOPWATCH
=yes
2160 DEFAULT_wxUSE_FILE
=yes
2161 DEFAULT_wxUSE_FFILE
=yes
2162 DEFAULT_wxUSE_TEXTBUFFER
=yes
2163 DEFAULT_wxUSE_TEXTFILE
=yes
2164 DEFAULT_wxUSE_WAVE
=no
2165 DEFAULT_wxUSE_INTL
=yes
2166 DEFAULT_wxUSE_CONFIG
=yes
2167 DEFAULT_wxUSE_FONTMAP
=yes
2168 DEFAULT_wxUSE_STREAMS
=yes
2169 DEFAULT_wxUSE_SOCKETS
=yes
2170 DEFAULT_wxUSE_OLE
=yes
2171 DEFAULT_wxUSE_DATAOBJ
=yes
2172 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2173 DEFAULT_wxUSE_JOYSTICK
=yes
2174 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2175 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2176 DEFAULT_wxUSE_LONGLONG
=yes
2177 DEFAULT_wxUSE_GEOMETRY
=yes
2179 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2180 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2181 DEFAULT_wxUSE_POSTSCRIPT
=yes
2183 DEFAULT_wxUSE_CLIPBOARD
=yes
2184 DEFAULT_wxUSE_TOOLTIPS
=yes
2185 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2186 DEFAULT_wxUSE_DRAGIMAGE
=yes
2187 DEFAULT_wxUSE_SPLINES
=yes
2189 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2190 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2191 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2193 DEFAULT_wxUSE_RESOURCES
=no
2194 DEFAULT_wxUSE_CONSTRAINTS
=yes
2195 DEFAULT_wxUSE_IPC
=yes
2196 DEFAULT_wxUSE_HELP
=yes
2197 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2198 DEFAULT_wxUSE_WXHTML_HELP
=yes
2199 DEFAULT_wxUSE_TREELAYOUT
=yes
2200 DEFAULT_wxUSE_METAFILE
=yes
2201 DEFAULT_wxUSE_MIMETYPE
=yes
2202 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2203 DEFAULT_wxUSE_PROTOCOL
=yes
2204 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2205 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2206 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2207 DEFAULT_wxUSE_URL
=yes
2209 DEFAULT_wxUSE_COMMONDLGS
=yes
2210 DEFAULT_wxUSE_CHOICEDLG
=yes
2211 DEFAULT_wxUSE_COLOURDLG
=yes
2212 DEFAULT_wxUSE_DIRDLG
=yes
2213 DEFAULT_wxUSE_FILEDLG
=yes
2214 DEFAULT_wxUSE_FINDREPLDLG
=yes
2215 DEFAULT_wxUSE_FONTDLG
=yes
2216 DEFAULT_wxUSE_MSGDLG
=yes
2217 DEFAULT_wxUSE_NUMBERDLG
=yes
2218 DEFAULT_wxUSE_TEXTDLG
=yes
2219 DEFAULT_wxUSE_SPLASH
=yes
2220 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2221 DEFAULT_wxUSE_PROGRESSDLG
=yes
2222 DEFAULT_wxUSE_WIZARDDLG
=yes
2224 DEFAULT_wxUSE_MENUS
=yes
2225 DEFAULT_wxUSE_MINIFRAME
=yes
2226 DEFAULT_wxUSE_HTML
=yes
2227 DEFAULT_wxUSE_FILESYSTEM
=yes
2228 DEFAULT_wxUSE_FS_INET
=yes
2229 DEFAULT_wxUSE_FS_ZIP
=yes
2230 DEFAULT_wxUSE_BUSYINFO
=yes
2231 DEFAULT_wxUSE_ZIPSTREAM
=yes
2232 DEFAULT_wxUSE_VALIDATORS
=yes
2234 DEFAULT_wxUSE_ACCEL
=yes
2235 DEFAULT_wxUSE_BUTTON
=yes
2236 DEFAULT_wxUSE_BMPBUTTON
=yes
2237 DEFAULT_wxUSE_CALCTRL
=yes
2238 DEFAULT_wxUSE_CARET
=yes
2239 DEFAULT_wxUSE_CHECKBOX
=yes
2240 DEFAULT_wxUSE_CHECKLST
=yes
2241 DEFAULT_wxUSE_CHOICE
=yes
2242 DEFAULT_wxUSE_COMBOBOX
=yes
2243 DEFAULT_wxUSE_DISPLAY
=no
2244 DEFAULT_wxUSE_GAUGE
=yes
2245 DEFAULT_wxUSE_GRID
=yes
2246 DEFAULT_wxUSE_IMAGLIST
=yes
2247 DEFAULT_wxUSE_LISTBOX
=yes
2248 DEFAULT_wxUSE_LISTCTRL
=yes
2249 DEFAULT_wxUSE_NOTEBOOK
=yes
2250 DEFAULT_wxUSE_RADIOBOX
=yes
2251 DEFAULT_wxUSE_RADIOBTN
=yes
2252 DEFAULT_wxUSE_SASH
=yes
2253 DEFAULT_wxUSE_SCROLLBAR
=yes
2254 DEFAULT_wxUSE_SLIDER
=yes
2255 DEFAULT_wxUSE_SPINBTN
=yes
2256 DEFAULT_wxUSE_SPINCTRL
=yes
2257 DEFAULT_wxUSE_SPLITTER
=yes
2258 DEFAULT_wxUSE_STATBMP
=yes
2259 DEFAULT_wxUSE_STATBOX
=yes
2260 DEFAULT_wxUSE_STATLINE
=yes
2261 DEFAULT_wxUSE_STATTEXT
=yes
2262 DEFAULT_wxUSE_STATUSBAR
=yes
2263 DEFAULT_wxUSE_TABDIALOG
=no
2264 DEFAULT_wxUSE_TEXTCTRL
=yes
2265 DEFAULT_wxUSE_TOGGLEBTN
=yes
2266 DEFAULT_wxUSE_TOOLBAR
=yes
2267 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2268 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2269 DEFAULT_wxUSE_TREECTRL
=yes
2270 DEFAULT_wxUSE_POPUPWIN
=yes
2271 DEFAULT_wxUSE_TIPWINDOW
=yes
2273 DEFAULT_wxUSE_UNICODE
=no
2274 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2275 DEFAULT_wxUSE_WCSRTOMBS
=no
2277 DEFAULT_wxUSE_PALETTE
=yes
2278 DEFAULT_wxUSE_IMAGE
=yes
2279 DEFAULT_wxUSE_GIF
=yes
2280 DEFAULT_wxUSE_PCX
=yes
2281 DEFAULT_wxUSE_IFF
=no
2282 DEFAULT_wxUSE_PNM
=yes
2283 DEFAULT_wxUSE_XPM
=yes
2284 DEFAULT_wxUSE_ICO_CUR
=yes
2285 DEFAULT_wxUSE_ACCESSIBILITY
=no
2287 DEFAULT_wxUSE_MONOLITHIC
=yes
2292 for toolkit
in `echo $ALL_TOOLKITS`; do
2293 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2294 if test "x$LINE" != "x" ; then
2295 has_toolkit_in_cache
=1
2296 eval "DEFAULT_$LINE"
2297 eval "CACHE_$toolkit=1"
2304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2305 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2307 # Check whether --enable-gui or --disable-gui was given.
2308 if test "${enable_gui+set}" = set; then
2309 enableval
="$enable_gui"
2311 if test "$enableval" = yes; then
2312 ac_cv_use_gui
='wxUSE_GUI=yes'
2314 ac_cv_use_gui
='wxUSE_GUI=no'
2319 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2320 if test "x$LINE" != x
; then
2321 eval "DEFAULT_$LINE"
2326 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2330 eval "$ac_cv_use_gui"
2331 if test "$no_cache" != 1; then
2332 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2335 if test "$wxUSE_GUI" = yes; then
2336 echo "$as_me:$LINENO: result: yes" >&5
2337 echo "${ECHO_T}yes" >&6
2339 echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6
2345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2346 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2348 # Check whether --enable-monolithic or --disable-monolithic was given.
2349 if test "${enable_monolithic+set}" = set; then
2350 enableval
="$enable_monolithic"
2352 if test "$enableval" = yes; then
2353 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2355 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2360 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x
; then
2362 eval "DEFAULT_$LINE"
2367 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2371 eval "$ac_cv_use_monolithic"
2372 if test "$no_cache" != 1; then
2373 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2376 if test "$wxUSE_MONOLITHIC" = yes; then
2377 echo "$as_me:$LINENO: result: yes" >&5
2378 echo "${ECHO_T}yes" >&6
2380 echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2385 if test "$wxUSE_GUI" = "yes"; then
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2390 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2392 # Check whether --enable-universal or --disable-universal was given.
2393 if test "${enable_universal+set}" = set; then
2394 enableval
="$enable_universal"
2396 if test "$enableval" = yes; then
2397 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2399 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2404 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x
; then
2406 eval "DEFAULT_$LINE"
2411 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2415 eval "$ac_cv_use_universal"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2420 if test "$wxUSE_UNIVERSAL" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422 echo "${ECHO_T}yes" >&6
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2429 # Check whether --with-gtk or --without-gtk was given.
2430 if test "${with_gtk+set}" = set; then
2432 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2435 # Check whether --with-motif or --without-motif was given.
2436 if test "${with_motif+set}" = set; then
2437 withval
="$with_motif"
2438 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2441 # Check whether --with-mac or --without-mac was given.
2442 if test "${with_mac+set}" = set; then
2444 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2447 # Check whether --with-cocoa or --without-cocoa was given.
2448 if test "${with_cocoa+set}" = set; then
2449 withval
="$with_cocoa"
2450 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2453 # Check whether --with-wine or --without-wine was given.
2454 if test "${with_wine+set}" = set; then
2455 withval
="$with_wine"
2456 wxUSE_WINE
="$withval" CACHE_WINE
=1
2459 # Check whether --with-msw or --without-msw was given.
2460 if test "${with_msw+set}" = set; then
2462 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2465 # Check whether --with-pm or --without-pm was given.
2466 if test "${with_pm+set}" = set; then
2468 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2471 # Check whether --with-mgl or --without-mgl was given.
2472 if test "${with_mgl+set}" = set; then
2474 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2477 # Check whether --with-microwin or --without-microwin was given.
2478 if test "${with_microwin+set}" = set; then
2479 withval
="$with_microwin"
2480 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2483 # Check whether --with-x11 or --without-x11 was given.
2484 if test "${with_x11+set}" = set; then
2486 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2493 # Check whether --enable-nanox or --disable-nanox was given.
2494 if test "${enable_nanox+set}" = set; then
2495 enableval
="$enable_nanox"
2497 if test "$enableval" = yes; then
2498 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2500 ac_cv_use_nanox
='wxUSE_NANOX=no'
2505 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x
; then
2507 eval "DEFAULT_$LINE"
2512 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2516 eval "$ac_cv_use_nanox"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_NANOX" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2533 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2535 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2536 if test "${enable_gtk2+set}" = set; then
2537 enableval
="$enable_gtk2"
2539 if test "$enableval" = yes; then
2540 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2542 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2547 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2548 if test "x$LINE" != x
; then
2549 eval "DEFAULT_$LINE"
2554 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2558 eval "$ac_cv_use_gtk2"
2559 if test "$no_cache" != 1; then
2560 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2563 if test "$wxUSE_GTK2" = yes; then
2564 echo "$as_me:$LINENO: result: yes" >&5
2565 echo "${ECHO_T}yes" >&6
2567 echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6
2573 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2574 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2577 # Check whether --with-libpng or --without-libpng was given.
2578 if test "${with_libpng+set}" = set; then
2579 withval
="$with_libpng"
2581 if test "$withval" = yes; then
2582 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2583 elif test "$withval" = no
; then
2584 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2585 elif test "$withval" = sys
; then
2586 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2587 elif test "$withval" = builtin; then
2588 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2592 { (exit 1); exit 1; }; }
2597 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2598 if test "x$LINE" != x
; then
2599 eval "DEFAULT_$LINE"
2604 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2608 eval "$ac_cv_use_libpng"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2613 if test "$wxUSE_LIBPNG" = yes; then
2614 echo "$as_me:$LINENO: result: yes" >&5
2615 echo "${ECHO_T}yes" >&6
2616 elif test "$wxUSE_LIBPNG" = no
; then
2617 echo "$as_me:$LINENO: result: no" >&5
2618 echo "${ECHO_T}no" >&6
2619 elif test "$wxUSE_LIBPNG" = sys
; then
2620 echo "$as_me:$LINENO: result: system version" >&5
2621 echo "${ECHO_T}system version" >&6
2622 elif test "$wxUSE_LIBPNG" = builtin; then
2623 echo "$as_me:$LINENO: result: builtin version" >&5
2624 echo "${ECHO_T}builtin version" >&6
2626 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2627 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2628 { (exit 1); exit 1; }; }
2632 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2633 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2636 # Check whether --with-libjpeg or --without-libjpeg was given.
2637 if test "${with_libjpeg+set}" = set; then
2638 withval
="$with_libjpeg"
2640 if test "$withval" = yes; then
2641 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2642 elif test "$withval" = no
; then
2643 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2644 elif test "$withval" = sys
; then
2645 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2646 elif test "$withval" = builtin; then
2647 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2649 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2650 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2651 { (exit 1); exit 1; }; }
2656 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2657 if test "x$LINE" != x
; then
2658 eval "DEFAULT_$LINE"
2663 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2667 eval "$ac_cv_use_libjpeg"
2668 if test "$no_cache" != 1; then
2669 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2672 if test "$wxUSE_LIBJPEG" = yes; then
2673 echo "$as_me:$LINENO: result: yes" >&5
2674 echo "${ECHO_T}yes" >&6
2675 elif test "$wxUSE_LIBJPEG" = no
; then
2676 echo "$as_me:$LINENO: result: no" >&5
2677 echo "${ECHO_T}no" >&6
2678 elif test "$wxUSE_LIBJPEG" = sys
; then
2679 echo "$as_me:$LINENO: result: system version" >&5
2680 echo "${ECHO_T}system version" >&6
2681 elif test "$wxUSE_LIBJPEG" = builtin; then
2682 echo "$as_me:$LINENO: result: builtin version" >&5
2683 echo "${ECHO_T}builtin version" >&6
2685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2686 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2687 { (exit 1); exit 1; }; }
2691 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2692 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2695 # Check whether --with-libtiff or --without-libtiff was given.
2696 if test "${with_libtiff+set}" = set; then
2697 withval
="$with_libtiff"
2699 if test "$withval" = yes; then
2700 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2701 elif test "$withval" = no
; then
2702 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2703 elif test "$withval" = sys
; then
2704 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2705 elif test "$withval" = builtin; then
2706 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2709 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2710 { (exit 1); exit 1; }; }
2715 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x
; then
2717 eval "DEFAULT_$LINE"
2722 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2726 eval "$ac_cv_use_libtiff"
2727 if test "$no_cache" != 1; then
2728 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2731 if test "$wxUSE_LIBTIFF" = yes; then
2732 echo "$as_me:$LINENO: result: yes" >&5
2733 echo "${ECHO_T}yes" >&6
2734 elif test "$wxUSE_LIBTIFF" = no
; then
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2737 elif test "$wxUSE_LIBTIFF" = sys
; then
2738 echo "$as_me:$LINENO: result: system version" >&5
2739 echo "${ECHO_T}system version" >&6
2740 elif test "$wxUSE_LIBTIFF" = builtin; then
2741 echo "$as_me:$LINENO: result: builtin version" >&5
2742 echo "${ECHO_T}builtin version" >&6
2744 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2745 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2746 { (exit 1); exit 1; }; }
2750 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2751 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2754 # Check whether --with-opengl or --without-opengl was given.
2755 if test "${with_opengl+set}" = set; then
2756 withval
="$with_opengl"
2758 if test "$withval" = yes; then
2759 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2761 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2766 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2767 if test "x$LINE" != x
; then
2768 eval "DEFAULT_$LINE"
2773 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2777 eval "$ac_cv_use_opengl"
2778 if test "$no_cache" != 1; then
2779 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2782 if test "$wxUSE_OPENGL" = yes; then
2783 echo "$as_me:$LINENO: result: yes" >&5
2784 echo "${ECHO_T}yes" >&6
2786 echo "$as_me:$LINENO: result: no" >&5
2787 echo "${ECHO_T}no" >&6
2794 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2795 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2798 # Check whether --with-dmalloc or --without-dmalloc was given.
2799 if test "${with_dmalloc+set}" = set; then
2800 withval
="$with_dmalloc"
2802 if test "$withval" = yes; then
2803 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2805 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2810 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x
; then
2812 eval "DEFAULT_$LINE"
2817 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2821 eval "$ac_cv_use_dmalloc"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2826 if test "$wxUSE_DMALLOC" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2835 echo "$as_me:$LINENO: checking for --with-regex" >&5
2836 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2839 # Check whether --with-regex or --without-regex was given.
2840 if test "${with_regex+set}" = set; then
2841 withval
="$with_regex"
2843 if test "$withval" = yes; then
2844 ac_cv_use_regex
='wxUSE_REGEX=yes'
2845 elif test "$withval" = no
; then
2846 ac_cv_use_regex
='wxUSE_REGEX=no'
2847 elif test "$withval" = sys
; then
2848 ac_cv_use_regex
='wxUSE_REGEX=sys'
2849 elif test "$withval" = builtin; then
2850 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2852 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2853 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2854 { (exit 1); exit 1; }; }
2859 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2860 if test "x$LINE" != x
; then
2861 eval "DEFAULT_$LINE"
2866 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2870 eval "$ac_cv_use_regex"
2871 if test "$no_cache" != 1; then
2872 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2875 if test "$wxUSE_REGEX" = yes; then
2876 echo "$as_me:$LINENO: result: yes" >&5
2877 echo "${ECHO_T}yes" >&6
2878 elif test "$wxUSE_REGEX" = no
; then
2879 echo "$as_me:$LINENO: result: no" >&5
2880 echo "${ECHO_T}no" >&6
2881 elif test "$wxUSE_REGEX" = sys
; then
2882 echo "$as_me:$LINENO: result: system version" >&5
2883 echo "${ECHO_T}system version" >&6
2884 elif test "$wxUSE_REGEX" = builtin; then
2885 echo "$as_me:$LINENO: result: builtin version" >&5
2886 echo "${ECHO_T}builtin version" >&6
2888 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2889 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2890 { (exit 1); exit 1; }; }
2894 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2895 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2898 # Check whether --with-zlib or --without-zlib was given.
2899 if test "${with_zlib+set}" = set; then
2900 withval
="$with_zlib"
2902 if test "$withval" = yes; then
2903 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2904 elif test "$withval" = no
; then
2905 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2906 elif test "$withval" = sys
; then
2907 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2908 elif test "$withval" = builtin; then
2909 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2911 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2912 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2913 { (exit 1); exit 1; }; }
2918 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2919 if test "x$LINE" != x
; then
2920 eval "DEFAULT_$LINE"
2925 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2929 eval "$ac_cv_use_zlib"
2930 if test "$no_cache" != 1; then
2931 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2934 if test "$wxUSE_ZLIB" = yes; then
2935 echo "$as_me:$LINENO: result: yes" >&5
2936 echo "${ECHO_T}yes" >&6
2937 elif test "$wxUSE_ZLIB" = no
; then
2938 echo "$as_me:$LINENO: result: no" >&5
2939 echo "${ECHO_T}no" >&6
2940 elif test "$wxUSE_ZLIB" = sys
; then
2941 echo "$as_me:$LINENO: result: system version" >&5
2942 echo "${ECHO_T}system version" >&6
2943 elif test "$wxUSE_ZLIB" = builtin; then
2944 echo "$as_me:$LINENO: result: builtin version" >&5
2945 echo "${ECHO_T}builtin version" >&6
2947 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2948 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2949 { (exit 1); exit 1; }; }
2953 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2954 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2957 # Check whether --with-odbc or --without-odbc was given.
2958 if test "${with_odbc+set}" = set; then
2959 withval
="$with_odbc"
2961 if test "$withval" = yes; then
2962 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2963 elif test "$withval" = no
; then
2964 ac_cv_use_odbc
='wxUSE_ODBC=no'
2965 elif test "$withval" = sys
; then
2966 ac_cv_use_odbc
='wxUSE_ODBC=sys'
2967 elif test "$withval" = builtin; then
2968 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
2970 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2971 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2972 { (exit 1); exit 1; }; }
2977 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2978 if test "x$LINE" != x
; then
2979 eval "DEFAULT_$LINE"
2984 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2988 eval "$ac_cv_use_odbc"
2989 if test "$no_cache" != 1; then
2990 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2993 if test "$wxUSE_ODBC" = yes; then
2994 echo "$as_me:$LINENO: result: yes" >&5
2995 echo "${ECHO_T}yes" >&6
2996 elif test "$wxUSE_ODBC" = no
; then
2997 echo "$as_me:$LINENO: result: no" >&5
2998 echo "${ECHO_T}no" >&6
2999 elif test "$wxUSE_ODBC" = sys
; then
3000 echo "$as_me:$LINENO: result: system version" >&5
3001 echo "${ECHO_T}system version" >&6
3002 elif test "$wxUSE_ODBC" = builtin; then
3003 echo "$as_me:$LINENO: result: builtin version" >&5
3004 echo "${ECHO_T}builtin version" >&6
3006 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3007 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3008 { (exit 1); exit 1; }; }
3015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3016 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3018 # Check whether --enable-shared or --disable-shared was given.
3019 if test "${enable_shared+set}" = set; then
3020 enableval
="$enable_shared"
3022 if test "$enableval" = yes; then
3023 ac_cv_use_shared
='wxUSE_SHARED=yes'
3025 ac_cv_use_shared
='wxUSE_SHARED=no'
3030 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3031 if test "x$LINE" != x
; then
3032 eval "DEFAULT_$LINE"
3037 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3041 eval "$ac_cv_use_shared"
3042 if test "$no_cache" != 1; then
3043 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3046 if test "$wxUSE_SHARED" = yes; then
3047 echo "$as_me:$LINENO: result: yes" >&5
3048 echo "${ECHO_T}yes" >&6
3050 echo "$as_me:$LINENO: result: no" >&5
3051 echo "${ECHO_T}no" >&6
3056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3057 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3059 # Check whether --enable-optimise or --disable-optimise was given.
3060 if test "${enable_optimise+set}" = set; then
3061 enableval
="$enable_optimise"
3063 if test "$enableval" = yes; then
3064 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3066 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3071 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3072 if test "x$LINE" != x
; then
3073 eval "DEFAULT_$LINE"
3078 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3082 eval "$ac_cv_use_optimise"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3087 if test "$wxUSE_OPTIMISE" = yes; then
3088 echo "$as_me:$LINENO: result: yes" >&5
3089 echo "${ECHO_T}yes" >&6
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3098 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3100 # Check whether --enable-debug or --disable-debug was given.
3101 if test "${enable_debug+set}" = set; then
3102 enableval
="$enable_debug"
3104 if test "$enableval" = yes; then
3105 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3107 ac_cv_use_debug
='wxUSE_DEBUG=no'
3112 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3113 if test "x$LINE" != x
; then
3114 eval "DEFAULT_$LINE"
3119 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3123 eval "$ac_cv_use_debug"
3124 if test "$no_cache" != 1; then
3125 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3128 if test "$wxUSE_DEBUG" = yes; then
3129 echo "$as_me:$LINENO: result: yes" >&5
3130 echo "${ECHO_T}yes" >&6
3132 echo "$as_me:$LINENO: result: no" >&5
3133 echo "${ECHO_T}no" >&6
3138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3139 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3141 # Check whether --enable-stl or --disable-stl was given.
3142 if test "${enable_stl+set}" = set; then
3143 enableval
="$enable_stl"
3145 if test "$enableval" = yes; then
3146 ac_cv_use_stl
='wxUSE_STL=yes'
3148 ac_cv_use_stl
='wxUSE_STL=no'
3153 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3154 if test "x$LINE" != x
; then
3155 eval "DEFAULT_$LINE"
3160 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3164 eval "$ac_cv_use_stl"
3165 if test "$no_cache" != 1; then
3166 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3169 if test "$wxUSE_STL" = yes; then
3170 echo "$as_me:$LINENO: result: yes" >&5
3171 echo "${ECHO_T}yes" >&6
3173 echo "$as_me:$LINENO: result: no" >&5
3174 echo "${ECHO_T}no" >&6
3180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-precomp" >&5
3181 echo $ECHO_N "checking for --${enablestring:-enable}-precomp... $ECHO_C" >&6
3183 # Check whether --enable-precomp or --disable-precomp was given.
3184 if test "${enable_precomp+set}" = set; then
3185 enableval
="$enable_precomp"
3187 if test "$enableval" = yes; then
3188 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
3190 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
3195 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3196 if test "x$LINE" != x
; then
3197 eval "DEFAULT_$LINE"
3202 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
3206 eval "$ac_cv_use_precomp"
3207 if test "$no_cache" != 1; then
3208 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3211 if test "$wxUSE_PRECOMP" = yes; then
3212 echo "$as_me:$LINENO: result: yes" >&5
3213 echo "${ECHO_T}yes" >&6
3215 echo "$as_me:$LINENO: result: no" >&5
3216 echo "${ECHO_T}no" >&6
3220 if test "$wxUSE_DEBUG" = "yes"; then
3221 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3222 DEFAULT_wxUSE_DEBUG_INFO
=yes
3223 elif test "$wxUSE_DEBUG" = "no"; then
3224 DEFAULT_wxUSE_DEBUG_FLAG
=no
3225 DEFAULT_wxUSE_DEBUG_INFO
=no
3230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3231 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3233 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3234 if test "${enable_debug_flag+set}" = set; then
3235 enableval
="$enable_debug_flag"
3237 if test "$enableval" = yes; then
3238 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3240 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3245 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x
; then
3247 eval "DEFAULT_$LINE"
3252 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3256 eval "$ac_cv_use_debug_flag"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_DEBUG_FLAG" = yes; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3272 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3274 # Check whether --enable-debug_info or --disable-debug_info was given.
3275 if test "${enable_debug_info+set}" = set; then
3276 enableval
="$enable_debug_info"
3278 if test "$enableval" = yes; then
3279 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3281 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3286 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x
; then
3288 eval "DEFAULT_$LINE"
3293 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3297 eval "$ac_cv_use_debug_info"
3298 if test "$no_cache" != 1; then
3299 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3302 if test "$wxUSE_DEBUG_INFO" = yes; then
3303 echo "$as_me:$LINENO: result: yes" >&5
3304 echo "${ECHO_T}yes" >&6
3306 echo "$as_me:$LINENO: result: no" >&5
3307 echo "${ECHO_T}no" >&6
3312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3313 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3315 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3316 if test "${enable_debug_gdb+set}" = set; then
3317 enableval
="$enable_debug_gdb"
3319 if test "$enableval" = yes; then
3320 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3322 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3327 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x
; then
3329 eval "DEFAULT_$LINE"
3334 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3338 eval "$ac_cv_use_debug_gdb"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3343 if test "$wxUSE_DEBUG_GDB" = yes; then
3344 echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6
3347 echo "$as_me:$LINENO: result: no" >&5
3348 echo "${ECHO_T}no" >&6
3353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3354 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3356 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3357 if test "${enable_debug_cntxt+set}" = set; then
3358 enableval
="$enable_debug_cntxt"
3360 if test "$enableval" = yes; then
3361 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3363 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3368 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x
; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3379 eval "$ac_cv_use_debug_cntxt"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3384 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3385 echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3388 echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6
3394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3395 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3397 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3398 if test "${enable_mem_tracing+set}" = set; then
3399 enableval
="$enable_mem_tracing"
3401 if test "$enableval" = yes; then
3402 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3404 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3409 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x
; then
3411 eval "DEFAULT_$LINE"
3416 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3420 eval "$ac_cv_use_mem_tracing"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3425 if test "$wxUSE_MEM_TRACING" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3436 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3438 # Check whether --enable-profile or --disable-profile was given.
3439 if test "${enable_profile+set}" = set; then
3440 enableval
="$enable_profile"
3442 if test "$enableval" = yes; then
3443 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3445 ac_cv_use_profile
='wxUSE_PROFILE=no'
3450 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3451 if test "x$LINE" != x
; then
3452 eval "DEFAULT_$LINE"
3457 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3461 eval "$ac_cv_use_profile"
3462 if test "$no_cache" != 1; then
3463 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3466 if test "$wxUSE_PROFILE" = yes; then
3467 echo "$as_me:$LINENO: result: yes" >&5
3468 echo "${ECHO_T}yes" >&6
3470 echo "$as_me:$LINENO: result: no" >&5
3471 echo "${ECHO_T}no" >&6
3476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3477 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3479 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3480 if test "${enable_no_rtti+set}" = set; then
3481 enableval
="$enable_no_rtti"
3483 if test "$enableval" = yes; then
3484 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3486 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3491 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3492 if test "x$LINE" != x
; then
3493 eval "DEFAULT_$LINE"
3498 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3502 eval "$ac_cv_use_no_rtti"
3503 if test "$no_cache" != 1; then
3504 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3507 if test "$wxUSE_NO_RTTI" = yes; then
3508 echo "$as_me:$LINENO: result: yes" >&5
3509 echo "${ECHO_T}yes" >&6
3511 echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6
3517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3518 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3520 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3521 if test "${enable_no_exceptions+set}" = set; then
3522 enableval
="$enable_no_exceptions"
3524 if test "$enableval" = yes; then
3525 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3527 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3532 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x
; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3543 eval "$ac_cv_use_no_exceptions"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3548 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3559 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3561 # Check whether --enable-permissive or --disable-permissive was given.
3562 if test "${enable_permissive+set}" = set; then
3563 enableval
="$enable_permissive"
3565 if test "$enableval" = yes; then
3566 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3568 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3573 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x
; then
3575 eval "DEFAULT_$LINE"
3580 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3584 eval "$ac_cv_use_permissive"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3589 if test "$wxUSE_PERMISSIVE" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3600 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3602 # Check whether --enable-no_deps or --disable-no_deps was given.
3603 if test "${enable_no_deps+set}" = set; then
3604 enableval
="$enable_no_deps"
3606 if test "$enableval" = yes; then
3607 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3609 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3614 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x
; then
3616 eval "DEFAULT_$LINE"
3621 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3625 eval "$ac_cv_use_no_deps"
3626 if test "$no_cache" != 1; then
3627 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3630 if test "$wxUSE_NO_DEPS" = yes; then
3631 echo "$as_me:$LINENO: result: yes" >&5
3632 echo "${ECHO_T}yes" >&6
3634 echo "$as_me:$LINENO: result: no" >&5
3635 echo "${ECHO_T}no" >&6
3641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3642 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3644 # Check whether --enable-compat20 or --disable-compat20 was given.
3645 if test "${enable_compat20+set}" = set; then
3646 enableval
="$enable_compat20"
3648 if test "$enableval" = yes; then
3649 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
3651 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3656 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x
; then
3658 eval "DEFAULT_$LINE"
3663 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3667 eval "$ac_cv_use_compat20"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3672 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3673 echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6
3676 echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6
3682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3685 # Check whether --enable-compat22 or --disable-compat22 was given.
3686 if test "${enable_compat22+set}" = set; then
3687 enableval
="$enable_compat22"
3689 if test "$enableval" = yes; then
3690 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3692 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3697 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x
; then
3699 eval "DEFAULT_$LINE"
3704 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3708 eval "$ac_cv_use_compat22"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3713 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3714 echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3722 enablestring
=disable
3723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3724 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3726 # Check whether --enable-compat24 or --disable-compat24 was given.
3727 if test "${enable_compat24+set}" = set; then
3728 enableval
="$enable_compat24"
3730 if test "$enableval" = yes; then
3731 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3733 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3738 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x
; then
3740 eval "DEFAULT_$LINE"
3745 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3749 eval "$ac_cv_use_compat24"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3754 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3758 echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6
3763 # Check whether --enable-rpath or --disable-rpath was given.
3764 if test "${enable_rpath+set}" = set; then
3765 enableval
="$enable_rpath"
3766 wxRPATH_DIR
="$enableval"
3769 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3770 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3778 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3780 # Check whether --enable-intl or --disable-intl was given.
3781 if test "${enable_intl+set}" = set; then
3782 enableval
="$enable_intl"
3784 if test "$enableval" = yes; then
3785 ac_cv_use_intl
='wxUSE_INTL=yes'
3787 ac_cv_use_intl
='wxUSE_INTL=no'
3792 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3793 if test "x$LINE" != x
; then
3794 eval "DEFAULT_$LINE"
3799 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3803 eval "$ac_cv_use_intl"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3808 if test "$wxUSE_INTL" = yes; then
3809 echo "$as_me:$LINENO: result: yes" >&5
3810 echo "${ECHO_T}yes" >&6
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3819 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3821 # Check whether --enable-config or --disable-config was given.
3822 if test "${enable_config+set}" = set; then
3823 enableval
="$enable_config"
3825 if test "$enableval" = yes; then
3826 ac_cv_use_config
='wxUSE_CONFIG=yes'
3828 ac_cv_use_config
='wxUSE_CONFIG=no'
3833 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x
; then
3835 eval "DEFAULT_$LINE"
3840 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3844 eval "$ac_cv_use_config"
3845 if test "$no_cache" != 1; then
3846 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3849 if test "$wxUSE_CONFIG" = yes; then
3850 echo "$as_me:$LINENO: result: yes" >&5
3851 echo "${ECHO_T}yes" >&6
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3861 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3863 # Check whether --enable-protocols or --disable-protocols was given.
3864 if test "${enable_protocols+set}" = set; then
3865 enableval
="$enable_protocols"
3867 if test "$enableval" = yes; then
3868 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3870 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3875 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x
; then
3877 eval "DEFAULT_$LINE"
3882 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3886 eval "$ac_cv_use_protocols"
3887 if test "$no_cache" != 1; then
3888 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3891 if test "$wxUSE_PROTOCOL" = yes; then
3892 echo "$as_me:$LINENO: result: yes" >&5
3893 echo "${ECHO_T}yes" >&6
3895 echo "$as_me:$LINENO: result: no" >&5
3896 echo "${ECHO_T}no" >&6
3901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3902 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3904 # Check whether --enable-ftp or --disable-ftp was given.
3905 if test "${enable_ftp+set}" = set; then
3906 enableval
="$enable_ftp"
3908 if test "$enableval" = yes; then
3909 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3911 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3916 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3917 if test "x$LINE" != x
; then
3918 eval "DEFAULT_$LINE"
3923 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3927 eval "$ac_cv_use_ftp"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3932 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3933 echo "$as_me:$LINENO: result: yes" >&5
3934 echo "${ECHO_T}yes" >&6
3936 echo "$as_me:$LINENO: result: no" >&5
3937 echo "${ECHO_T}no" >&6
3942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3943 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3945 # Check whether --enable-http or --disable-http was given.
3946 if test "${enable_http+set}" = set; then
3947 enableval
="$enable_http"
3949 if test "$enableval" = yes; then
3950 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3952 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3957 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x
; then
3959 eval "DEFAULT_$LINE"
3964 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3968 eval "$ac_cv_use_http"
3969 if test "$no_cache" != 1; then
3970 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3973 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3974 echo "$as_me:$LINENO: result: yes" >&5
3975 echo "${ECHO_T}yes" >&6
3977 echo "$as_me:$LINENO: result: no" >&5
3978 echo "${ECHO_T}no" >&6
3983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3984 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3986 # Check whether --enable-fileproto or --disable-fileproto was given.
3987 if test "${enable_fileproto+set}" = set; then
3988 enableval
="$enable_fileproto"
3990 if test "$enableval" = yes; then
3991 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3993 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3998 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3999 if test "x$LINE" != x
; then
4000 eval "DEFAULT_$LINE"
4005 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4009 eval "$ac_cv_use_fileproto"
4010 if test "$no_cache" != 1; then
4011 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4014 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4015 echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6
4018 echo "$as_me:$LINENO: result: no" >&5
4019 echo "${ECHO_T}no" >&6
4024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4025 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4027 # Check whether --enable-sockets or --disable-sockets was given.
4028 if test "${enable_sockets+set}" = set; then
4029 enableval
="$enable_sockets"
4031 if test "$enableval" = yes; then
4032 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4034 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4039 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x
; then
4041 eval "DEFAULT_$LINE"
4046 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4050 eval "$ac_cv_use_sockets"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4055 if test "$wxUSE_SOCKETS" = yes; then
4056 echo "$as_me:$LINENO: result: yes" >&5
4057 echo "${ECHO_T}yes" >&6
4059 echo "$as_me:$LINENO: result: no" >&5
4060 echo "${ECHO_T}no" >&6
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4066 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4068 # Check whether --enable-ole or --disable-ole was given.
4069 if test "${enable_ole+set}" = set; then
4070 enableval
="$enable_ole"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_ole
='wxUSE_OLE=yes'
4075 ac_cv_use_ole
='wxUSE_OLE=no'
4080 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x
; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4091 eval "$ac_cv_use_ole"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4096 if test "$wxUSE_OLE" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098 echo "${ECHO_T}yes" >&6
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4107 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4109 # Check whether --enable-dataobj or --disable-dataobj was given.
4110 if test "${enable_dataobj+set}" = set; then
4111 enableval
="$enable_dataobj"
4113 if test "$enableval" = yes; then
4114 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4116 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4121 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x
; then
4123 eval "DEFAULT_$LINE"
4128 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4132 eval "$ac_cv_use_dataobj"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4137 if test "$wxUSE_DATAOBJ" = yes; then
4138 echo "$as_me:$LINENO: result: yes" >&5
4139 echo "${ECHO_T}yes" >&6
4141 echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6
4148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4149 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4151 # Check whether --enable-ipc or --disable-ipc was given.
4152 if test "${enable_ipc+set}" = set; then
4153 enableval
="$enable_ipc"
4155 if test "$enableval" = yes; then
4156 ac_cv_use_ipc
='wxUSE_IPC=yes'
4158 ac_cv_use_ipc
='wxUSE_IPC=no'
4163 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x
; then
4165 eval "DEFAULT_$LINE"
4170 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4174 eval "$ac_cv_use_ipc"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4179 if test "$wxUSE_IPC" = yes; then
4180 echo "$as_me:$LINENO: result: yes" >&5
4181 echo "${ECHO_T}yes" >&6
4183 echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6
4190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4191 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4193 # Check whether --enable-cmdline or --disable-cmdline was given.
4194 if test "${enable_cmdline+set}" = set; then
4195 enableval
="$enable_cmdline"
4197 if test "$enableval" = yes; then
4198 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4200 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4205 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4206 if test "x$LINE" != x
; then
4207 eval "DEFAULT_$LINE"
4212 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4216 eval "$ac_cv_use_cmdline"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4222 echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6
4225 echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6
4231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4232 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4234 # Check whether --enable-datetime or --disable-datetime was given.
4235 if test "${enable_datetime+set}" = set; then
4236 enableval
="$enable_datetime"
4238 if test "$enableval" = yes; then
4239 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4241 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4246 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x
; then
4248 eval "DEFAULT_$LINE"
4253 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4257 eval "$ac_cv_use_datetime"
4258 if test "$no_cache" != 1; then
4259 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4262 if test "$wxUSE_DATETIME" = yes; then
4263 echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4273 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4275 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4276 if test "${enable_stopwatch+set}" = set; then
4277 enableval
="$enable_stopwatch"
4279 if test "$enableval" = yes; then
4280 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
4282 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
4287 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x
; then
4289 eval "DEFAULT_$LINE"
4294 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4298 eval "$ac_cv_use_stopwatch"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4303 if test "$wxUSE_STOPWATCH" = yes; then
4304 echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6
4307 echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6
4313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4316 # Check whether --enable-dialupman or --disable-dialupman was given.
4317 if test "${enable_dialupman+set}" = set; then
4318 enableval
="$enable_dialupman"
4320 if test "$enableval" = yes; then
4321 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4323 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4328 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x
; then
4330 eval "DEFAULT_$LINE"
4335 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4339 eval "$ac_cv_use_dialupman"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4344 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4345 echo "$as_me:$LINENO: result: yes" >&5
4346 echo "${ECHO_T}yes" >&6
4348 echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6
4354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4355 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4357 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4358 if test "${enable_apple_ieee+set}" = set; then
4359 enableval
="$enable_apple_ieee"
4361 if test "$enableval" = yes; then
4362 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4364 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4369 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x
; then
4371 eval "DEFAULT_$LINE"
4376 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4380 eval "$ac_cv_use_apple_ieee"
4381 if test "$no_cache" != 1; then
4382 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4385 if test "$wxUSE_APPLE_IEEE" = yes; then
4386 echo "$as_me:$LINENO: result: yes" >&5
4387 echo "${ECHO_T}yes" >&6
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4398 # Check whether --enable-timer or --disable-timer was given.
4399 if test "${enable_timer+set}" = set; then
4400 enableval
="$enable_timer"
4402 if test "$enableval" = yes; then
4403 ac_cv_use_timer
='wxUSE_TIMER=yes'
4405 ac_cv_use_timer
='wxUSE_TIMER=no'
4410 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4411 if test "x$LINE" != x
; then
4412 eval "DEFAULT_$LINE"
4417 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4421 eval "$ac_cv_use_timer"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4426 if test "$wxUSE_TIMER" = yes; then
4427 echo "$as_me:$LINENO: result: yes" >&5
4428 echo "${ECHO_T}yes" >&6
4430 echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6
4436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4437 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4439 # Check whether --enable-wave or --disable-wave was given.
4440 if test "${enable_wave+set}" = set; then
4441 enableval
="$enable_wave"
4443 if test "$enableval" = yes; then
4444 ac_cv_use_wave
='wxUSE_WAVE=yes'
4446 ac_cv_use_wave
='wxUSE_WAVE=no'
4451 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4452 if test "x$LINE" != x
; then
4453 eval "DEFAULT_$LINE"
4458 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4462 eval "$ac_cv_use_wave"
4463 if test "$no_cache" != 1; then
4464 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4467 if test "$wxUSE_WAVE" = yes; then
4468 echo "$as_me:$LINENO: result: yes" >&5
4469 echo "${ECHO_T}yes" >&6
4471 echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6
4477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4478 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4480 # Check whether --enable-fraction or --disable-fraction was given.
4481 if test "${enable_fraction+set}" = set; then
4482 enableval
="$enable_fraction"
4484 if test "$enableval" = yes; then
4485 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
4487 ac_cv_use_fraction
='wxUSE_FRACTION=no'
4492 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x
; then
4494 eval "DEFAULT_$LINE"
4499 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4503 eval "$ac_cv_use_fraction"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4508 if test "$wxUSE_FRACTION" = yes; then
4509 echo "$as_me:$LINENO: result: yes" >&5
4510 echo "${ECHO_T}yes" >&6
4512 echo "$as_me:$LINENO: result: no" >&5
4513 echo "${ECHO_T}no" >&6
4518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4519 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4521 # Check whether --enable-dynlib or --disable-dynlib was given.
4522 if test "${enable_dynlib+set}" = set; then
4523 enableval
="$enable_dynlib"
4525 if test "$enableval" = yes; then
4526 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4528 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4533 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4534 if test "x$LINE" != x
; then
4535 eval "DEFAULT_$LINE"
4540 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4544 eval "$ac_cv_use_dynlib"
4545 if test "$no_cache" != 1; then
4546 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4549 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4550 echo "$as_me:$LINENO: result: yes" >&5
4551 echo "${ECHO_T}yes" >&6
4553 echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6
4559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4560 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4562 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4563 if test "${enable_dynamicloader+set}" = set; then
4564 enableval
="$enable_dynamicloader"
4566 if test "$enableval" = yes; then
4567 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4569 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4574 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4575 if test "x$LINE" != x
; then
4576 eval "DEFAULT_$LINE"
4581 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4585 eval "$ac_cv_use_dynamicloader"
4586 if test "$no_cache" != 1; then
4587 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4590 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4591 echo "$as_me:$LINENO: result: yes" >&5
4592 echo "${ECHO_T}yes" >&6
4594 echo "$as_me:$LINENO: result: no" >&5
4595 echo "${ECHO_T}no" >&6
4600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4601 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4603 # Check whether --enable-longlong or --disable-longlong was given.
4604 if test "${enable_longlong+set}" = set; then
4605 enableval
="$enable_longlong"
4607 if test "$enableval" = yes; then
4608 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
4610 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
4615 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4616 if test "x$LINE" != x
; then
4617 eval "DEFAULT_$LINE"
4622 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4626 eval "$ac_cv_use_longlong"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4631 if test "$wxUSE_LONGLONG" = yes; then
4632 echo "$as_me:$LINENO: result: yes" >&5
4633 echo "${ECHO_T}yes" >&6
4635 echo "$as_me:$LINENO: result: no" >&5
4636 echo "${ECHO_T}no" >&6
4641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4642 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4644 # Check whether --enable-geometry or --disable-geometry was given.
4645 if test "${enable_geometry+set}" = set; then
4646 enableval
="$enable_geometry"
4648 if test "$enableval" = yes; then
4649 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4651 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4656 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x
; then
4658 eval "DEFAULT_$LINE"
4663 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4667 eval "$ac_cv_use_geometry"
4668 if test "$no_cache" != 1; then
4669 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4672 if test "$wxUSE_GEOMETRY" = yes; then
4673 echo "$as_me:$LINENO: result: yes" >&5
4674 echo "${ECHO_T}yes" >&6
4676 echo "$as_me:$LINENO: result: no" >&5
4677 echo "${ECHO_T}no" >&6
4682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4683 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4685 # Check whether --enable-log or --disable-log was given.
4686 if test "${enable_log+set}" = set; then
4687 enableval
="$enable_log"
4689 if test "$enableval" = yes; then
4690 ac_cv_use_log
='wxUSE_LOG=yes'
4692 ac_cv_use_log
='wxUSE_LOG=no'
4697 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x
; then
4699 eval "DEFAULT_$LINE"
4704 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4708 eval "$ac_cv_use_log"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4713 if test "$wxUSE_LOG" = yes; then
4714 echo "$as_me:$LINENO: result: yes" >&5
4715 echo "${ECHO_T}yes" >&6
4717 echo "$as_me:$LINENO: result: no" >&5
4718 echo "${ECHO_T}no" >&6
4723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4726 # Check whether --enable-streams or --disable-streams was given.
4727 if test "${enable_streams+set}" = set; then
4728 enableval
="$enable_streams"
4730 if test "$enableval" = yes; then
4731 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4733 ac_cv_use_streams
='wxUSE_STREAMS=no'
4738 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x
; then
4740 eval "DEFAULT_$LINE"
4745 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4749 eval "$ac_cv_use_streams"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4754 if test "$wxUSE_STREAMS" = yes; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4758 echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6
4764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4767 # Check whether --enable-file or --disable-file was given.
4768 if test "${enable_file+set}" = set; then
4769 enableval
="$enable_file"
4771 if test "$enableval" = yes; then
4772 ac_cv_use_file
='wxUSE_FILE=yes'
4774 ac_cv_use_file
='wxUSE_FILE=no'
4779 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x
; then
4781 eval "DEFAULT_$LINE"
4786 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4790 eval "$ac_cv_use_file"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4795 if test "$wxUSE_FILE" = yes; then
4796 echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6
4799 echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6
4805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4808 # Check whether --enable-ffile or --disable-ffile was given.
4809 if test "${enable_ffile+set}" = set; then
4810 enableval
="$enable_ffile"
4812 if test "$enableval" = yes; then
4813 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4815 ac_cv_use_ffile
='wxUSE_FFILE=no'
4820 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x
; then
4822 eval "DEFAULT_$LINE"
4827 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4831 eval "$ac_cv_use_ffile"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_FFILE" = yes; then
4837 echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6
4840 echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6
4846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4849 # Check whether --enable-textbuf or --disable-textbuf was given.
4850 if test "${enable_textbuf+set}" = set; then
4851 enableval
="$enable_textbuf"
4853 if test "$enableval" = yes; then
4854 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4856 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4861 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x
; then
4863 eval "DEFAULT_$LINE"
4868 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4872 eval "$ac_cv_use_textbuf"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_TEXTBUFFER" = yes; then
4878 echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6
4881 echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6
4887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4890 # Check whether --enable-textfile or --disable-textfile was given.
4891 if test "${enable_textfile+set}" = set; then
4892 enableval
="$enable_textfile"
4894 if test "$enableval" = yes; then
4895 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4897 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4902 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x
; then
4904 eval "DEFAULT_$LINE"
4909 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4913 eval "$ac_cv_use_textfile"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_TEXTFILE" = yes; then
4919 echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6
4922 echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6
4928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4931 # Check whether --enable-fontmap or --disable-fontmap was given.
4932 if test "${enable_fontmap+set}" = set; then
4933 enableval
="$enable_fontmap"
4935 if test "$enableval" = yes; then
4936 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4938 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4943 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x
; then
4945 eval "DEFAULT_$LINE"
4950 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4954 eval "$ac_cv_use_fontmap"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4959 if test "$wxUSE_FONTMAP" = yes; then
4960 echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6
4963 echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6
4969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4972 # Check whether --enable-unicode or --disable-unicode was given.
4973 if test "${enable_unicode+set}" = set; then
4974 enableval
="$enable_unicode"
4976 if test "$enableval" = yes; then
4977 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4979 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4984 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x
; then
4986 eval "DEFAULT_$LINE"
4991 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4995 eval "$ac_cv_use_unicode"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5000 if test "$wxUSE_UNICODE" = yes; then
5001 echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6
5010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5013 # Check whether --enable-mslu or --disable-mslu was given.
5014 if test "${enable_mslu+set}" = set; then
5015 enableval
="$enable_mslu"
5017 if test "$enableval" = yes; then
5018 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5020 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5025 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x
; then
5027 eval "DEFAULT_$LINE"
5032 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5036 eval "$ac_cv_use_mslu"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_UNICODE_MSLU" = yes; then
5042 echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5054 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5055 if test "${enable_wxprintfv+set}" = set; then
5056 enableval
="$enable_wxprintfv"
5058 if test "$enableval" = yes; then
5059 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5061 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5066 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x
; then
5068 eval "DEFAULT_$LINE"
5073 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5077 eval "$ac_cv_use_wxprintfv"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5082 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5083 echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6
5086 echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5095 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5096 if test "${enable_std_iostreams+set}" = set; then
5097 enableval
="$enable_std_iostreams"
5099 if test "$enableval" = yes; then
5100 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5102 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5107 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x
; then
5109 eval "DEFAULT_$LINE"
5114 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5118 eval "$ac_cv_use_std_iostreams"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5123 if test "$wxUSE_STD_IOSTREAM" = yes; then
5124 echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5136 # Check whether --enable-filesystem or --disable-filesystem was given.
5137 if test "${enable_filesystem+set}" = set; then
5138 enableval
="$enable_filesystem"
5140 if test "$enableval" = yes; then
5141 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5143 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5148 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x
; then
5150 eval "DEFAULT_$LINE"
5155 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5159 eval "$ac_cv_use_filesystem"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5164 if test "$wxUSE_FILESYSTEM" = yes; then
5165 echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6
5168 echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5177 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5178 if test "${enable_fs_inet+set}" = set; then
5179 enableval
="$enable_fs_inet"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5184 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5189 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x
; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5200 eval "$ac_cv_use_fs_inet"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_FS_INET" = yes; then
5206 echo "$as_me:$LINENO: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5216 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5218 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5219 if test "${enable_fs_zip+set}" = set; then
5220 enableval
="$enable_fs_zip"
5222 if test "$enableval" = yes; then
5223 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5225 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5230 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x
; then
5232 eval "DEFAULT_$LINE"
5237 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5241 eval "$ac_cv_use_fs_zip"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5246 if test "$wxUSE_FS_ZIP" = yes; then
5247 echo "$as_me:$LINENO: result: yes" >&5
5248 echo "${ECHO_T}yes" >&6
5250 echo "$as_me:$LINENO: result: no" >&5
5251 echo "${ECHO_T}no" >&6
5256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5259 # Check whether --enable-zipstream or --disable-zipstream was given.
5260 if test "${enable_zipstream+set}" = set; then
5261 enableval
="$enable_zipstream"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5266 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5271 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x
; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5282 eval "$ac_cv_use_zipstream"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5287 if test "$wxUSE_ZIPSTREAM" = yes; then
5288 echo "$as_me:$LINENO: result: yes" >&5
5289 echo "${ECHO_T}yes" >&6
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5301 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5302 if test "${enable_catch_segvs+set}" = set; then
5303 enableval
="$enable_catch_segvs"
5305 if test "$enableval" = yes; then
5306 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5308 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5313 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x
; then
5315 eval "DEFAULT_$LINE"
5320 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5324 eval "$ac_cv_use_catch_segvs"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5329 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5330 echo "$as_me:$LINENO: result: yes" >&5
5331 echo "${ECHO_T}yes" >&6
5333 echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6
5339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5342 # Check whether --enable-snglinst or --disable-snglinst was given.
5343 if test "${enable_snglinst+set}" = set; then
5344 enableval
="$enable_snglinst"
5346 if test "$enableval" = yes; then
5347 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5349 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5354 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x
; then
5356 eval "DEFAULT_$LINE"
5361 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5365 eval "$ac_cv_use_snglinst"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5370 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5382 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5384 # Check whether --enable-mimetype or --disable-mimetype was given.
5385 if test "${enable_mimetype+set}" = set; then
5386 enableval
="$enable_mimetype"
5388 if test "$enableval" = yes; then
5389 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5391 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5396 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5397 if test "x$LINE" != x
; then
5398 eval "DEFAULT_$LINE"
5403 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5407 eval "$ac_cv_use_mimetype"
5408 if test "$no_cache" != 1; then
5409 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5412 if test "$wxUSE_MIMETYPE" = yes; then
5413 echo "$as_me:$LINENO: result: yes" >&5
5414 echo "${ECHO_T}yes" >&6
5416 echo "$as_me:$LINENO: result: no" >&5
5417 echo "${ECHO_T}no" >&6
5422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5423 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5425 # Check whether --enable-system_options or --disable-system_options was given.
5426 if test "${enable_system_options+set}" = set; then
5427 enableval
="$enable_system_options"
5429 if test "$enableval" = yes; then
5430 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5432 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5437 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5438 if test "x$LINE" != x
; then
5439 eval "DEFAULT_$LINE"
5444 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5448 eval "$ac_cv_use_system_options"
5449 if test "$no_cache" != 1; then
5450 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5453 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5454 echo "$as_me:$LINENO: result: yes" >&5
5455 echo "${ECHO_T}yes" >&6
5457 echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6
5464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5467 # Check whether --enable-url or --disable-url was given.
5468 if test "${enable_url+set}" = set; then
5469 enableval
="$enable_url"
5471 if test "$enableval" = yes; then
5472 ac_cv_use_url
='wxUSE_URL=yes'
5474 ac_cv_use_url
='wxUSE_URL=no'
5479 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5480 if test "x$LINE" != x
; then
5481 eval "DEFAULT_$LINE"
5486 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5490 eval "$ac_cv_use_url"
5491 if test "$no_cache" != 1; then
5492 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5495 if test "$wxUSE_URL" = yes; then
5496 echo "$as_me:$LINENO: result: yes" >&5
5497 echo "${ECHO_T}yes" >&6
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5506 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5508 # Check whether --enable-protocol or --disable-protocol was given.
5509 if test "${enable_protocol+set}" = set; then
5510 enableval
="$enable_protocol"
5512 if test "$enableval" = yes; then
5513 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5515 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5520 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5521 if test "x$LINE" != x
; then
5522 eval "DEFAULT_$LINE"
5527 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5531 eval "$ac_cv_use_protocol"
5532 if test "$no_cache" != 1; then
5533 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5536 if test "$wxUSE_PROTOCOL" = yes; then
5537 echo "$as_me:$LINENO: result: yes" >&5
5538 echo "${ECHO_T}yes" >&6
5540 echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6
5546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5549 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5550 if test "${enable_protocol_http+set}" = set; then
5551 enableval
="$enable_protocol_http"
5553 if test "$enableval" = yes; then
5554 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5556 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5561 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5562 if test "x$LINE" != x
; then
5563 eval "DEFAULT_$LINE"
5568 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5572 eval "$ac_cv_use_protocol_http"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5577 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5578 echo "$as_me:$LINENO: result: yes" >&5
5579 echo "${ECHO_T}yes" >&6
5581 echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6
5587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5590 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5591 if test "${enable_protocol_ftp+set}" = set; then
5592 enableval
="$enable_protocol_ftp"
5594 if test "$enableval" = yes; then
5595 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5597 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5602 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x
; then
5604 eval "DEFAULT_$LINE"
5609 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5613 eval "$ac_cv_use_protocol_ftp"
5614 if test "$no_cache" != 1; then
5615 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5618 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5619 echo "$as_me:$LINENO: result: yes" >&5
5620 echo "${ECHO_T}yes" >&6
5622 echo "$as_me:$LINENO: result: no" >&5
5623 echo "${ECHO_T}no" >&6
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5631 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5632 if test "${enable_protocol_file+set}" = set; then
5633 enableval
="$enable_protocol_file"
5635 if test "$enableval" = yes; then
5636 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5638 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5643 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x
; then
5645 eval "DEFAULT_$LINE"
5650 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5654 eval "$ac_cv_use_protocol_file"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5659 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5660 echo "$as_me:$LINENO: result: yes" >&5
5661 echo "${ECHO_T}yes" >&6
5663 echo "$as_me:$LINENO: result: no" >&5
5664 echo "${ECHO_T}no" >&6
5672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5675 # Check whether --enable-threads or --disable-threads was given.
5676 if test "${enable_threads+set}" = set; then
5677 enableval
="$enable_threads"
5679 if test "$enableval" = yes; then
5680 ac_cv_use_threads
='wxUSE_THREADS=yes'
5682 ac_cv_use_threads
='wxUSE_THREADS=no'
5687 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x
; then
5689 eval "DEFAULT_$LINE"
5694 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5698 eval "$ac_cv_use_threads"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5703 if test "$wxUSE_THREADS" = yes; then
5704 echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5712 if test "$wxUSE_GUI" = "yes"; then
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5720 # Check whether --enable-docview or --disable-docview was given.
5721 if test "${enable_docview+set}" = set; then
5722 enableval
="$enable_docview"
5724 if test "$enableval" = yes; then
5725 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5727 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5732 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x
; then
5734 eval "DEFAULT_$LINE"
5739 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5743 eval "$ac_cv_use_docview"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5761 # Check whether --enable-help or --disable-help was given.
5762 if test "${enable_help+set}" = set; then
5763 enableval
="$enable_help"
5765 if test "$enableval" = yes; then
5766 ac_cv_use_help
='wxUSE_HELP=yes'
5768 ac_cv_use_help
='wxUSE_HELP=no'
5773 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x
; then
5775 eval "DEFAULT_$LINE"
5780 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5784 eval "$ac_cv_use_help"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5789 if test "$wxUSE_HELP" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5802 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5803 if test "${enable_mshtmlhelp+set}" = set; then
5804 enableval
="$enable_mshtmlhelp"
5806 if test "$enableval" = yes; then
5807 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5809 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5814 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x
; then
5816 eval "DEFAULT_$LINE"
5821 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5825 eval "$ac_cv_use_mshtmlhelp"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5830 if test "$wxUSE_MS_HTML_HELP" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5843 # Check whether --enable-html or --disable-html was given.
5844 if test "${enable_html+set}" = set; then
5845 enableval
="$enable_html"
5847 if test "$enableval" = yes; then
5848 ac_cv_use_html
='wxUSE_HTML=yes'
5850 ac_cv_use_html
='wxUSE_HTML=no'
5855 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x
; then
5857 eval "DEFAULT_$LINE"
5862 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5866 eval "$ac_cv_use_html"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_HTML" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5884 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5885 if test "${enable_htmlhelp+set}" = set; then
5886 enableval
="$enable_htmlhelp"
5888 if test "$enableval" = yes; then
5889 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5891 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5896 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x
; then
5898 eval "DEFAULT_$LINE"
5903 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5907 eval "$ac_cv_use_htmlhelp"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5912 if test "$wxUSE_WXHTML_HELP" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5925 # Check whether --enable-constraints or --disable-constraints was given.
5926 if test "${enable_constraints+set}" = set; then
5927 enableval
="$enable_constraints"
5929 if test "$enableval" = yes; then
5930 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5932 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5937 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x
; then
5939 eval "DEFAULT_$LINE"
5944 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5948 eval "$ac_cv_use_constraints"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_CONSTRAINTS" = yes; then
5954 echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5966 # Check whether --enable-printarch or --disable-printarch was given.
5967 if test "${enable_printarch+set}" = set; then
5968 enableval
="$enable_printarch"
5970 if test "$enableval" = yes; then
5971 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5973 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5978 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x
; then
5980 eval "DEFAULT_$LINE"
5985 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5989 eval "$ac_cv_use_printarch"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5994 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5995 echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6
5998 echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6
6004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6007 # Check whether --enable-mdi or --disable-mdi was given.
6008 if test "${enable_mdi+set}" = set; then
6009 enableval
="$enable_mdi"
6011 if test "$enableval" = yes; then
6012 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6014 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6019 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x
; then
6021 eval "DEFAULT_$LINE"
6026 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6030 eval "$ac_cv_use_mdi"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6035 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6036 echo "$as_me:$LINENO: result: yes" >&5
6037 echo "${ECHO_T}yes" >&6
6039 echo "$as_me:$LINENO: result: no" >&5
6040 echo "${ECHO_T}no" >&6
6045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6048 # Check whether --enable-loggui or --disable-loggui was given.
6049 if test "${enable_loggui+set}" = set; then
6050 enableval
="$enable_loggui"
6052 if test "$enableval" = yes; then
6053 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6055 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6060 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x
; then
6062 eval "DEFAULT_$LINE"
6067 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6071 eval "$ac_cv_use_loggui"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6076 if test "$wxUSE_LOGGUI" = yes; then
6077 echo "$as_me:$LINENO: result: yes" >&5
6078 echo "${ECHO_T}yes" >&6
6080 echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6
6086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6087 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6089 # Check whether --enable-logwin or --disable-logwin was given.
6090 if test "${enable_logwin+set}" = set; then
6091 enableval
="$enable_logwin"
6093 if test "$enableval" = yes; then
6094 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6096 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6101 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x
; then
6103 eval "DEFAULT_$LINE"
6108 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6112 eval "$ac_cv_use_logwin"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6117 if test "$wxUSE_LOGWINDOW" = yes; then
6118 echo "$as_me:$LINENO: result: yes" >&5
6119 echo "${ECHO_T}yes" >&6
6121 echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6
6127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6130 # Check whether --enable-logdialog or --disable-logdialog was given.
6131 if test "${enable_logdialog+set}" = set; then
6132 enableval
="$enable_logdialog"
6134 if test "$enableval" = yes; then
6135 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6137 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6142 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x
; then
6144 eval "DEFAULT_$LINE"
6149 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6153 eval "$ac_cv_use_logdialog"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6158 if test "$wxUSE_LOGDIALOG" = yes; then
6159 echo "$as_me:$LINENO: result: yes" >&5
6160 echo "${ECHO_T}yes" >&6
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6172 # Check whether --enable-postscript or --disable-postscript was given.
6173 if test "${enable_postscript+set}" = set; then
6174 enableval
="$enable_postscript"
6176 if test "$enableval" = yes; then
6177 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6179 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6184 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x
; then
6186 eval "DEFAULT_$LINE"
6191 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6195 eval "$ac_cv_use_postscript"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6200 if test "$wxUSE_POSTSCRIPT" = yes; then
6201 echo "$as_me:$LINENO: result: yes" >&5
6202 echo "${ECHO_T}yes" >&6
6204 echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6216 # Check whether --enable-prologio or --disable-prologio was given.
6217 if test "${enable_prologio+set}" = set; then
6218 enableval
="$enable_prologio"
6220 if test "$enableval" = yes; then
6221 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6223 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6228 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x
; then
6230 eval "DEFAULT_$LINE"
6235 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6239 eval "$ac_cv_use_prologio"
6240 if test "$no_cache" != 1; then
6241 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6244 if test "$wxUSE_PROLOGIO" = yes; then
6245 echo "$as_me:$LINENO: result: yes" >&5
6246 echo "${ECHO_T}yes" >&6
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6257 # Check whether --enable-resources or --disable-resources was given.
6258 if test "${enable_resources+set}" = set; then
6259 enableval
="$enable_resources"
6261 if test "$enableval" = yes; then
6262 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6264 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6269 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6270 if test "x$LINE" != x
; then
6271 eval "DEFAULT_$LINE"
6276 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6280 eval "$ac_cv_use_resources"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6285 if test "$wxUSE_RESOURCES" = yes; then
6286 echo "$as_me:$LINENO: result: yes" >&5
6287 echo "${ECHO_T}yes" >&6
6289 echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6
6297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6298 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6300 # Check whether --enable-clipboard or --disable-clipboard was given.
6301 if test "${enable_clipboard+set}" = set; then
6302 enableval
="$enable_clipboard"
6304 if test "$enableval" = yes; then
6305 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6307 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6312 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x
; then
6314 eval "DEFAULT_$LINE"
6319 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6323 eval "$ac_cv_use_clipboard"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6328 if test "$wxUSE_CLIPBOARD" = yes; then
6329 echo "$as_me:$LINENO: result: yes" >&5
6330 echo "${ECHO_T}yes" >&6
6332 echo "$as_me:$LINENO: result: no" >&5
6333 echo "${ECHO_T}no" >&6
6338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6339 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6341 # Check whether --enable-dnd or --disable-dnd was given.
6342 if test "${enable_dnd+set}" = set; then
6343 enableval
="$enable_dnd"
6345 if test "$enableval" = yes; then
6346 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6348 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6353 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x
; then
6355 eval "DEFAULT_$LINE"
6360 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6364 eval "$ac_cv_use_dnd"
6365 if test "$no_cache" != 1; then
6366 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6369 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6370 echo "$as_me:$LINENO: result: yes" >&5
6371 echo "${ECHO_T}yes" >&6
6373 echo "$as_me:$LINENO: result: no" >&5
6374 echo "${ECHO_T}no" >&6
6379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6382 # Check whether --enable-metafile or --disable-metafile was given.
6383 if test "${enable_metafile+set}" = set; then
6384 enableval
="$enable_metafile"
6386 if test "$enableval" = yes; then
6387 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6389 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6394 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x
; then
6396 eval "DEFAULT_$LINE"
6401 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6405 eval "$ac_cv_use_metafile"
6406 if test "$no_cache" != 1; then
6407 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6410 if test "$wxUSE_METAFILE" = yes; then
6411 echo "$as_me:$LINENO: result: yes" >&5
6412 echo "${ECHO_T}yes" >&6
6414 echo "$as_me:$LINENO: result: no" >&5
6415 echo "${ECHO_T}no" >&6
6423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6424 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6426 # Check whether --enable-controls or --disable-controls was given.
6427 if test "${enable_controls+set}" = set; then
6428 enableval
="$enable_controls"
6430 if test "$enableval" = yes; then
6431 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6433 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6438 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6439 if test "x$LINE" != x
; then
6440 eval "DEFAULT_$LINE"
6445 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6449 eval "$ac_cv_use_controls"
6450 if test "$no_cache" != 1; then
6451 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6454 if test "$wxUSE_CONTROLS" = yes; then
6455 echo "$as_me:$LINENO: result: yes" >&5
6456 echo "${ECHO_T}yes" >&6
6458 echo "$as_me:$LINENO: result: no" >&5
6459 echo "${ECHO_T}no" >&6
6463 if test "$wxUSE_CONTROLS" = "yes"; then
6464 DEFAULT_wxUSE_ACCEL
=yes
6465 DEFAULT_wxUSE_BMPBUTTON
=yes
6466 DEFAULT_wxUSE_BUTTON
=yes
6467 DEFAULT_wxUSE_CALCTRL
=no
6468 DEFAULT_wxUSE_CARET
=yes
6469 DEFAULT_wxUSE_COMBOBOX
=yes
6470 DEFAULT_wxUSE_CHECKBOX
=yes
6471 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6472 DEFAULT_wxUSE_CHOICE
=yes
6473 DEFAULT_wxUSE_GAUGE
=yes
6474 DEFAULT_wxUSE_GRID
=yes
6475 DEFAULT_wxUSE_IMAGLIST
=yes
6476 DEFAULT_wxUSE_LISTBOX
=yes
6477 DEFAULT_wxUSE_LISTCTRL
=yes
6478 DEFAULT_wxUSE_NOTEBOOK
=yes
6479 DEFAULT_wxUSE_RADIOBOX
=yes
6480 DEFAULT_wxUSE_RADIOBTN
=yes
6481 DEFAULT_wxUSE_SASH
=yes
6482 DEFAULT_wxUSE_SCROLLBAR
=yes
6483 DEFAULT_wxUSE_SLIDER
=yes
6484 DEFAULT_wxUSE_SPINBTN
=yes
6485 DEFAULT_wxUSE_SPINCTRL
=yes
6486 DEFAULT_wxUSE_SPLITTER
=yes
6487 DEFAULT_wxUSE_STATBMP
=yes
6488 DEFAULT_wxUSE_STATBOX
=yes
6489 DEFAULT_wxUSE_STATLINE
=yes
6490 DEFAULT_wxUSE_STATUSBAR
=yes
6491 DEFAULT_wxUSE_TAB_DIALOG
=yes
6492 DEFAULT_wxUSE_TOGGLEBTN
=yes
6493 DEFAULT_wxUSE_TOOLBAR
=yes
6494 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6495 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6496 DEFAULT_wxUSE_TOOLTIPS
=yes
6497 DEFAULT_wxUSE_TREECTRL
=yes
6498 DEFAULT_wxUSE_POPUPWIN
=yes
6499 DEFAULT_wxUSE_TIPWINDOW
=yes
6500 elif test "$wxUSE_CONTROLS" = "no"; then
6501 DEFAULT_wxUSE_ACCEL
=no
6502 DEFAULT_wxUSE_BMPBUTTON
=no
6503 DEFAULT_wxUSE_BUTTON
=no
6504 DEFAULT_wxUSE_CALCTRL
=no
6505 DEFAULT_wxUSE_CARET
=no
6506 DEFAULT_wxUSE_COMBOBOX
=no
6507 DEFAULT_wxUSE_CHECKBOX
=no
6508 DEFAULT_wxUSE_CHECKLISTBOX
=no
6509 DEFAULT_wxUSE_CHOICE
=no
6510 DEFAULT_wxUSE_GAUGE
=no
6511 DEFAULT_wxUSE_GRID
=no
6512 DEFAULT_wxUSE_IMAGLIST
=no
6513 DEFAULT_wxUSE_LISTBOX
=no
6514 DEFAULT_wxUSE_LISTCTRL
=no
6515 DEFAULT_wxUSE_NOTEBOOK
=no
6516 DEFAULT_wxUSE_RADIOBOX
=no
6517 DEFAULT_wxUSE_RADIOBTN
=no
6518 DEFAULT_wxUSE_SASH
=no
6519 DEFAULT_wxUSE_SCROLLBAR
=no
6520 DEFAULT_wxUSE_SLIDER
=no
6521 DEFAULT_wxUSE_SPINBTN
=no
6522 DEFAULT_wxUSE_SPINCTRL
=no
6523 DEFAULT_wxUSE_SPLITTER
=no
6524 DEFAULT_wxUSE_STATBMP
=no
6525 DEFAULT_wxUSE_STATBOX
=no
6526 DEFAULT_wxUSE_STATLINE
=no
6527 DEFAULT_wxUSE_STATUSBAR
=no
6528 DEFAULT_wxUSE_TAB_DIALOG
=no
6529 DEFAULT_wxUSE_TOGGLEBTN
=no
6530 DEFAULT_wxUSE_TOOLBAR
=no
6531 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6532 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6533 DEFAULT_wxUSE_TOOLTIPS
=no
6534 DEFAULT_wxUSE_TREECTRL
=no
6535 DEFAULT_wxUSE_POPUPWIN
=no
6536 DEFAULT_wxUSE_TIPWINDOW
=no
6539 ## FIXME: This is a blatant hack
6540 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6541 wxUSE_PRINTING_ARCHITECTURE
=no
6544 wxUSE_DRAG_AND_DROP
=no
6546 # Generic notebook requires tab dialog
6547 DEFAULT_wxUSE_TABDIALOG
=yes
6548 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6549 DEFAULT_wxUSE_GAUGE
=no
6550 DEFAULT_wxUSE_SCROLLBAR
=no
6551 DEFAULT_wxUSE_COMBOBOX
=no
6552 DEFAULT_wxUSE_CALCTRL
=no
6553 DEFAULT_wxUSE_SPINBTN
=no
6554 DEFAULT_wxUSE_SPINCTRL
=no
6555 DEFAULT_wxUSE_TOOLTIPS
=no
6556 DEFAULT_wxUSE_DRAGIMAGE
=no
6557 DEFAULT_wxUSE_FINDREPLDLG
=no
6558 DEFAULT_wxUSE_FONTDLG
=no
6559 DEFAULT_wxUSE_GRID
=no
6560 DEFAULT_wxUSE_PROGRESSDLG
=no
6561 DEFAULT_wxUSE_SASH
=no
6562 DEFAULT_wxUSE_SPLITTER
=no
6563 DEFAULT_wxUSE_WIZARDDLG
=no
6564 DEFAULT_wxUSE_SPLITTER
=no
6565 DEFAULT_wxUSE_STARTUP_TIPS
=no
6570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6571 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6573 # Check whether --enable-accel or --disable-accel was given.
6574 if test "${enable_accel+set}" = set; then
6575 enableval
="$enable_accel"
6577 if test "$enableval" = yes; then
6578 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6580 ac_cv_use_accel
='wxUSE_ACCEL=no'
6585 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x
; then
6587 eval "DEFAULT_$LINE"
6592 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6596 eval "$ac_cv_use_accel"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6601 if test "$wxUSE_ACCEL" = yes; then
6602 echo "$as_me:$LINENO: result: yes" >&5
6603 echo "${ECHO_T}yes" >&6
6605 echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6
6611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6614 # Check whether --enable-button or --disable-button was given.
6615 if test "${enable_button+set}" = set; then
6616 enableval
="$enable_button"
6618 if test "$enableval" = yes; then
6619 ac_cv_use_button
='wxUSE_BUTTON=yes'
6621 ac_cv_use_button
='wxUSE_BUTTON=no'
6626 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x
; then
6628 eval "DEFAULT_$LINE"
6633 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6637 eval "$ac_cv_use_button"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6642 if test "$wxUSE_BUTTON" = yes; then
6643 echo "$as_me:$LINENO: result: yes" >&5
6644 echo "${ECHO_T}yes" >&6
6646 echo "$as_me:$LINENO: result: no" >&5
6647 echo "${ECHO_T}no" >&6
6652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6655 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6656 if test "${enable_bmpbutton+set}" = set; then
6657 enableval
="$enable_bmpbutton"
6659 if test "$enableval" = yes; then
6660 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6662 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6667 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6668 if test "x$LINE" != x
; then
6669 eval "DEFAULT_$LINE"
6674 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6678 eval "$ac_cv_use_bmpbutton"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6683 if test "$wxUSE_BMPBUTTON" = yes; then
6684 echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6
6687 echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6
6693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6696 # Check whether --enable-calendar or --disable-calendar was given.
6697 if test "${enable_calendar+set}" = set; then
6698 enableval
="$enable_calendar"
6700 if test "$enableval" = yes; then
6701 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6703 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6708 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x
; then
6710 eval "DEFAULT_$LINE"
6715 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6719 eval "$ac_cv_use_calendar"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6724 if test "$wxUSE_CALCTRL" = yes; then
6725 echo "$as_me:$LINENO: result: yes" >&5
6726 echo "${ECHO_T}yes" >&6
6728 echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6737 # Check whether --enable-caret or --disable-caret was given.
6738 if test "${enable_caret+set}" = set; then
6739 enableval
="$enable_caret"
6741 if test "$enableval" = yes; then
6742 ac_cv_use_caret
='wxUSE_CARET=yes'
6744 ac_cv_use_caret
='wxUSE_CARET=no'
6749 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x
; then
6751 eval "DEFAULT_$LINE"
6756 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6760 eval "$ac_cv_use_caret"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_CARET" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6
6769 echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6778 # Check whether --enable-checkbox or --disable-checkbox was given.
6779 if test "${enable_checkbox+set}" = set; then
6780 enableval
="$enable_checkbox"
6782 if test "$enableval" = yes; then
6783 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6785 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6790 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x
; then
6792 eval "DEFAULT_$LINE"
6797 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6801 eval "$ac_cv_use_checkbox"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6806 if test "$wxUSE_CHECKBOX" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6810 echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6819 # Check whether --enable-checklst or --disable-checklst was given.
6820 if test "${enable_checklst+set}" = set; then
6821 enableval
="$enable_checklst"
6823 if test "$enableval" = yes; then
6824 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6826 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6831 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x
; then
6833 eval "DEFAULT_$LINE"
6838 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6842 eval "$ac_cv_use_checklst"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6847 if test "$wxUSE_CHECKLST" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6860 # Check whether --enable-choice or --disable-choice was given.
6861 if test "${enable_choice+set}" = set; then
6862 enableval
="$enable_choice"
6864 if test "$enableval" = yes; then
6865 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6867 ac_cv_use_choice
='wxUSE_CHOICE=no'
6872 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x
; then
6874 eval "DEFAULT_$LINE"
6879 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6883 eval "$ac_cv_use_choice"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6888 if test "$wxUSE_CHOICE" = yes; then
6889 echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6
6892 echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6901 # Check whether --enable-combobox or --disable-combobox was given.
6902 if test "${enable_combobox+set}" = set; then
6903 enableval
="$enable_combobox"
6905 if test "$enableval" = yes; then
6906 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6908 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6913 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x
; then
6915 eval "DEFAULT_$LINE"
6920 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6924 eval "$ac_cv_use_combobox"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_COMBOBOX" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6942 # Check whether --enable-display or --disable-display was given.
6943 if test "${enable_display+set}" = set; then
6944 enableval
="$enable_display"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6949 ac_cv_use_display
='wxUSE_DISPLAY=no'
6954 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x
; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6965 eval "$ac_cv_use_display"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_DISPLAY" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6983 # Check whether --enable-gauge or --disable-gauge was given.
6984 if test "${enable_gauge+set}" = set; then
6985 enableval
="$enable_gauge"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6990 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6995 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7006 eval "$ac_cv_use_gauge"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7011 if test "$wxUSE_GAUGE" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7024 # Check whether --enable-grid or --disable-grid was given.
7025 if test "${enable_grid+set}" = set; then
7026 enableval
="$enable_grid"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_grid
='wxUSE_GRID=yes'
7031 ac_cv_use_grid
='wxUSE_GRID=no'
7036 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x
; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7047 eval "$ac_cv_use_grid"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_GRID" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7065 # Check whether --enable-imaglist or --disable-imaglist was given.
7066 if test "${enable_imaglist+set}" = set; then
7067 enableval
="$enable_imaglist"
7069 if test "$enableval" = yes; then
7070 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7072 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7077 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x
; then
7079 eval "DEFAULT_$LINE"
7084 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7088 eval "$ac_cv_use_imaglist"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7093 if test "$wxUSE_IMAGLIST" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7106 # Check whether --enable-listbox or --disable-listbox was given.
7107 if test "${enable_listbox+set}" = set; then
7108 enableval
="$enable_listbox"
7110 if test "$enableval" = yes; then
7111 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7113 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7118 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x
; then
7120 eval "DEFAULT_$LINE"
7125 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7129 eval "$ac_cv_use_listbox"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7134 if test "$wxUSE_LISTBOX" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7147 # Check whether --enable-listctrl or --disable-listctrl was given.
7148 if test "${enable_listctrl+set}" = set; then
7149 enableval
="$enable_listctrl"
7151 if test "$enableval" = yes; then
7152 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7154 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7159 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x
; then
7161 eval "DEFAULT_$LINE"
7166 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7170 eval "$ac_cv_use_listctrl"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7175 if test "$wxUSE_LISTCTRL" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7188 # Check whether --enable-notebook or --disable-notebook was given.
7189 if test "${enable_notebook+set}" = set; then
7190 enableval
="$enable_notebook"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7195 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7200 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x
; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7211 eval "$ac_cv_use_notebook"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_NOTEBOOK" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7229 # Check whether --enable-radiobox or --disable-radiobox was given.
7230 if test "${enable_radiobox+set}" = set; then
7231 enableval
="$enable_radiobox"
7233 if test "$enableval" = yes; then
7234 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7236 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7241 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x
; then
7243 eval "DEFAULT_$LINE"
7248 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7252 eval "$ac_cv_use_radiobox"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_RADIOBOX" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7270 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7271 if test "${enable_radiobtn+set}" = set; then
7272 enableval
="$enable_radiobtn"
7274 if test "$enableval" = yes; then
7275 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7277 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7282 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x
; then
7284 eval "DEFAULT_$LINE"
7289 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7293 eval "$ac_cv_use_radiobtn"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_RADIOBTN" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7311 # Check whether --enable-sash or --disable-sash was given.
7312 if test "${enable_sash+set}" = set; then
7313 enableval
="$enable_sash"
7315 if test "$enableval" = yes; then
7316 ac_cv_use_sash
='wxUSE_SASH=yes'
7318 ac_cv_use_sash
='wxUSE_SASH=no'
7323 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x
; then
7325 eval "DEFAULT_$LINE"
7330 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7334 eval "$ac_cv_use_sash"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7339 if test "$wxUSE_SASH" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7352 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7353 if test "${enable_scrollbar+set}" = set; then
7354 enableval
="$enable_scrollbar"
7356 if test "$enableval" = yes; then
7357 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7359 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7364 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x
; then
7366 eval "DEFAULT_$LINE"
7371 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7375 eval "$ac_cv_use_scrollbar"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7380 if test "$wxUSE_SCROLLBAR" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7393 # Check whether --enable-slider or --disable-slider was given.
7394 if test "${enable_slider+set}" = set; then
7395 enableval
="$enable_slider"
7397 if test "$enableval" = yes; then
7398 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7400 ac_cv_use_slider
='wxUSE_SLIDER=no'
7405 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x
; then
7407 eval "DEFAULT_$LINE"
7412 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7416 eval "$ac_cv_use_slider"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7421 if test "$wxUSE_SLIDER" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423 echo "${ECHO_T}yes" >&6
7425 echo "$as_me:$LINENO: result: no" >&5
7426 echo "${ECHO_T}no" >&6
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7434 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7435 if test "${enable_spinbtn+set}" = set; then
7436 enableval
="$enable_spinbtn"
7438 if test "$enableval" = yes; then
7439 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7441 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7446 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x
; then
7448 eval "DEFAULT_$LINE"
7453 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7457 eval "$ac_cv_use_spinbtn"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7462 if test "$wxUSE_SPINBTN" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464 echo "${ECHO_T}yes" >&6
7466 echo "$as_me:$LINENO: result: no" >&5
7467 echo "${ECHO_T}no" >&6
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7475 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7476 if test "${enable_spinctrl+set}" = set; then
7477 enableval
="$enable_spinctrl"
7479 if test "$enableval" = yes; then
7480 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7482 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7487 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x
; then
7489 eval "DEFAULT_$LINE"
7494 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7498 eval "$ac_cv_use_spinctrl"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7503 if test "$wxUSE_SPINCTRL" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505 echo "${ECHO_T}yes" >&6
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7516 # Check whether --enable-splitter or --disable-splitter was given.
7517 if test "${enable_splitter+set}" = set; then
7518 enableval
="$enable_splitter"
7520 if test "$enableval" = yes; then
7521 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7523 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7528 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x
; then
7530 eval "DEFAULT_$LINE"
7535 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7539 eval "$ac_cv_use_splitter"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7544 if test "$wxUSE_SPLITTER" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7557 # Check whether --enable-statbmp or --disable-statbmp was given.
7558 if test "${enable_statbmp+set}" = set; then
7559 enableval
="$enable_statbmp"
7561 if test "$enableval" = yes; then
7562 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7564 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7569 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x
; then
7571 eval "DEFAULT_$LINE"
7576 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7580 eval "$ac_cv_use_statbmp"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7585 if test "$wxUSE_STATBMP" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7598 # Check whether --enable-statbox or --disable-statbox was given.
7599 if test "${enable_statbox+set}" = set; then
7600 enableval
="$enable_statbox"
7602 if test "$enableval" = yes; then
7603 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7605 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7610 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x
; then
7612 eval "DEFAULT_$LINE"
7617 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7621 eval "$ac_cv_use_statbox"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7626 if test "$wxUSE_STATBOX" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628 echo "${ECHO_T}yes" >&6
7630 echo "$as_me:$LINENO: result: no" >&5
7631 echo "${ECHO_T}no" >&6
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7637 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7639 # Check whether --enable-statline or --disable-statline was given.
7640 if test "${enable_statline+set}" = set; then
7641 enableval
="$enable_statline"
7643 if test "$enableval" = yes; then
7644 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7646 ac_cv_use_statline
='wxUSE_STATLINE=no'
7651 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x
; then
7653 eval "DEFAULT_$LINE"
7658 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7662 eval "$ac_cv_use_statline"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7667 if test "$wxUSE_STATLINE" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669 echo "${ECHO_T}yes" >&6
7671 echo "$as_me:$LINENO: result: no" >&5
7672 echo "${ECHO_T}no" >&6
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7680 # Check whether --enable-stattext or --disable-stattext was given.
7681 if test "${enable_stattext+set}" = set; then
7682 enableval
="$enable_stattext"
7684 if test "$enableval" = yes; then
7685 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7687 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7692 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x
; then
7694 eval "DEFAULT_$LINE"
7699 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7703 eval "$ac_cv_use_stattext"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7708 if test "$wxUSE_STATTEXT" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710 echo "${ECHO_T}yes" >&6
7712 echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7719 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7721 # Check whether --enable-statusbar or --disable-statusbar was given.
7722 if test "${enable_statusbar+set}" = set; then
7723 enableval
="$enable_statusbar"
7725 if test "$enableval" = yes; then
7726 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7728 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7733 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x
; then
7735 eval "DEFAULT_$LINE"
7740 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7744 eval "$ac_cv_use_statusbar"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7749 if test "$wxUSE_STATUSBAR" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751 echo "${ECHO_T}yes" >&6
7753 echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7762 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7763 if test "${enable_tabdialog+set}" = set; then
7764 enableval
="$enable_tabdialog"
7766 if test "$enableval" = yes; then
7767 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7769 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7774 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x
; then
7776 eval "DEFAULT_$LINE"
7781 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7785 eval "$ac_cv_use_tabdialog"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7790 if test "$wxUSE_TABDIALOG" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792 echo "${ECHO_T}yes" >&6
7794 echo "$as_me:$LINENO: result: no" >&5
7795 echo "${ECHO_T}no" >&6
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7803 # Check whether --enable-textctrl or --disable-textctrl was given.
7804 if test "${enable_textctrl+set}" = set; then
7805 enableval
="$enable_textctrl"
7807 if test "$enableval" = yes; then
7808 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7810 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7815 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x
; then
7817 eval "DEFAULT_$LINE"
7822 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7826 eval "$ac_cv_use_textctrl"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7831 if test "$wxUSE_TEXTCTRL" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7844 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7845 if test "${enable_togglebtn+set}" = set; then
7846 enableval
="$enable_togglebtn"
7848 if test "$enableval" = yes; then
7849 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7851 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7856 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x
; then
7858 eval "DEFAULT_$LINE"
7863 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7867 eval "$ac_cv_use_togglebtn"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7872 if test "$wxUSE_TOGGLEBTN" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7885 # Check whether --enable-toolbar or --disable-toolbar was given.
7886 if test "${enable_toolbar+set}" = set; then
7887 enableval
="$enable_toolbar"
7889 if test "$enableval" = yes; then
7890 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7892 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7897 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x
; then
7899 eval "DEFAULT_$LINE"
7904 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7908 eval "$ac_cv_use_toolbar"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7913 if test "$wxUSE_TOOLBAR" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7924 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7926 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7927 if test "${enable_tbarnative+set}" = set; then
7928 enableval
="$enable_tbarnative"
7930 if test "$enableval" = yes; then
7931 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7933 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7938 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7939 if test "x$LINE" != x
; then
7940 eval "DEFAULT_$LINE"
7945 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7949 eval "$ac_cv_use_tbarnative"
7950 if test "$no_cache" != 1; then
7951 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7954 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7955 echo "$as_me:$LINENO: result: yes" >&5
7956 echo "${ECHO_T}yes" >&6
7958 echo "$as_me:$LINENO: result: no" >&5
7959 echo "${ECHO_T}no" >&6
7964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7965 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7967 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7968 if test "${enable_tbarsmpl+set}" = set; then
7969 enableval
="$enable_tbarsmpl"
7971 if test "$enableval" = yes; then
7972 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7974 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7979 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7980 if test "x$LINE" != x
; then
7981 eval "DEFAULT_$LINE"
7986 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7990 eval "$ac_cv_use_tbarsmpl"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7995 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7996 echo "$as_me:$LINENO: result: yes" >&5
7997 echo "${ECHO_T}yes" >&6
7999 echo "$as_me:$LINENO: result: no" >&5
8000 echo "${ECHO_T}no" >&6
8005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8008 # Check whether --enable-treectrl or --disable-treectrl was given.
8009 if test "${enable_treectrl+set}" = set; then
8010 enableval
="$enable_treectrl"
8012 if test "$enableval" = yes; then
8013 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8015 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8020 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8021 if test "x$LINE" != x
; then
8022 eval "DEFAULT_$LINE"
8027 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8031 eval "$ac_cv_use_treectrl"
8032 if test "$no_cache" != 1; then
8033 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8036 if test "$wxUSE_TREECTRL" = yes; then
8037 echo "$as_me:$LINENO: result: yes" >&5
8038 echo "${ECHO_T}yes" >&6
8040 echo "$as_me:$LINENO: result: no" >&5
8041 echo "${ECHO_T}no" >&6
8046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8047 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8049 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8050 if test "${enable_tipwindow+set}" = set; then
8051 enableval
="$enable_tipwindow"
8053 if test "$enableval" = yes; then
8054 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8056 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8061 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8062 if test "x$LINE" != x
; then
8063 eval "DEFAULT_$LINE"
8068 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8072 eval "$ac_cv_use_tipwindow"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8077 if test "$wxUSE_TIPWINDOW" = yes; then
8078 echo "$as_me:$LINENO: result: yes" >&5
8079 echo "${ECHO_T}yes" >&6
8081 echo "$as_me:$LINENO: result: no" >&5
8082 echo "${ECHO_T}no" >&6
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8088 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8090 # Check whether --enable-popupwin or --disable-popupwin was given.
8091 if test "${enable_popupwin+set}" = set; then
8092 enableval
="$enable_popupwin"
8094 if test "$enableval" = yes; then
8095 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8097 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8102 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x
; then
8104 eval "DEFAULT_$LINE"
8109 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8113 eval "$ac_cv_use_popupwin"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8118 if test "$wxUSE_POPUPWIN" = yes; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120 echo "${ECHO_T}yes" >&6
8122 echo "$as_me:$LINENO: result: no" >&5
8123 echo "${ECHO_T}no" >&6
8130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8133 # Check whether --enable-commondlg or --disable-commondlg was given.
8134 if test "${enable_commondlg+set}" = set; then
8135 enableval
="$enable_commondlg"
8137 if test "$enableval" = yes; then
8138 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8140 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8145 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x
; then
8147 eval "DEFAULT_$LINE"
8152 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8156 eval "$ac_cv_use_commondlg"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8161 if test "$wxUSE_COMMONDLGS" = yes; then
8162 echo "$as_me:$LINENO: result: yes" >&5
8163 echo "${ECHO_T}yes" >&6
8165 echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6
8171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8174 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8175 if test "${enable_choicedlg+set}" = set; then
8176 enableval
="$enable_choicedlg"
8178 if test "$enableval" = yes; then
8179 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8181 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8186 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x
; then
8188 eval "DEFAULT_$LINE"
8193 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8197 eval "$ac_cv_use_choicedlg"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8202 if test "$wxUSE_CHOICEDLG" = yes; then
8203 echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6
8206 echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8215 # Check whether --enable-coldlg or --disable-coldlg was given.
8216 if test "${enable_coldlg+set}" = set; then
8217 enableval
="$enable_coldlg"
8219 if test "$enableval" = yes; then
8220 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8222 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8227 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x
; then
8229 eval "DEFAULT_$LINE"
8234 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8238 eval "$ac_cv_use_coldlg"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8243 if test "$wxUSE_COLOURDLG" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6
8247 echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6
8253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8254 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8256 # Check whether --enable-filedlg or --disable-filedlg was given.
8257 if test "${enable_filedlg+set}" = set; then
8258 enableval
="$enable_filedlg"
8260 if test "$enableval" = yes; then
8261 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8263 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8268 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x
; then
8270 eval "DEFAULT_$LINE"
8275 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8279 eval "$ac_cv_use_filedlg"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8284 if test "$wxUSE_FILEDLG" = yes; then
8285 echo "$as_me:$LINENO: result: yes" >&5
8286 echo "${ECHO_T}yes" >&6
8288 echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6
8294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8297 # Check whether --enable-finddlg or --disable-finddlg was given.
8298 if test "${enable_finddlg+set}" = set; then
8299 enableval
="$enable_finddlg"
8301 if test "$enableval" = yes; then
8302 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8304 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8309 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x
; then
8311 eval "DEFAULT_$LINE"
8316 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8320 eval "$ac_cv_use_finddlg"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8325 if test "$wxUSE_FINDREPLDLG" = yes; then
8326 echo "$as_me:$LINENO: result: yes" >&5
8327 echo "${ECHO_T}yes" >&6
8329 echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6
8335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8338 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8339 if test "${enable_fontdlg+set}" = set; then
8340 enableval
="$enable_fontdlg"
8342 if test "$enableval" = yes; then
8343 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8345 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8350 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x
; then
8352 eval "DEFAULT_$LINE"
8357 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8361 eval "$ac_cv_use_fontdlg"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8366 if test "$wxUSE_FONTDLG" = yes; then
8367 echo "$as_me:$LINENO: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6
8370 echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6
8376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8379 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8380 if test "${enable_dirdlg+set}" = set; then
8381 enableval
="$enable_dirdlg"
8383 if test "$enableval" = yes; then
8384 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8386 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8391 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x
; then
8393 eval "DEFAULT_$LINE"
8398 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8402 eval "$ac_cv_use_dirdlg"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8407 if test "$wxUSE_DIRDLG" = yes; then
8408 echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6
8411 echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6
8417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8420 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8421 if test "${enable_msgdlg+set}" = set; then
8422 enableval
="$enable_msgdlg"
8424 if test "$enableval" = yes; then
8425 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8427 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8432 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x
; then
8434 eval "DEFAULT_$LINE"
8439 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8443 eval "$ac_cv_use_msgdlg"
8444 if test "$no_cache" != 1; then
8445 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8448 if test "$wxUSE_MSGDLG" = yes; then
8449 echo "$as_me:$LINENO: result: yes" >&5
8450 echo "${ECHO_T}yes" >&6
8452 echo "$as_me:$LINENO: result: no" >&5
8453 echo "${ECHO_T}no" >&6
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8461 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8462 if test "${enable_numberdlg+set}" = set; then
8463 enableval
="$enable_numberdlg"
8465 if test "$enableval" = yes; then
8466 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8468 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8473 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x
; then
8475 eval "DEFAULT_$LINE"
8480 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8484 eval "$ac_cv_use_numberdlg"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8489 if test "$wxUSE_NUMBERDLG" = yes; then
8490 echo "$as_me:$LINENO: result: yes" >&5
8491 echo "${ECHO_T}yes" >&6
8493 echo "$as_me:$LINENO: result: no" >&5
8494 echo "${ECHO_T}no" >&6
8499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8502 # Check whether --enable-splash or --disable-splash was given.
8503 if test "${enable_splash+set}" = set; then
8504 enableval
="$enable_splash"
8506 if test "$enableval" = yes; then
8507 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8509 ac_cv_use_splash
='wxUSE_SPLASH=no'
8514 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x
; then
8516 eval "DEFAULT_$LINE"
8521 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8525 eval "$ac_cv_use_splash"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8530 if test "$wxUSE_SPLASH" = yes; then
8531 echo "$as_me:$LINENO: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8534 echo "$as_me:$LINENO: result: no" >&5
8535 echo "${ECHO_T}no" >&6
8540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8543 # Check whether --enable-textdlg or --disable-textdlg was given.
8544 if test "${enable_textdlg+set}" = set; then
8545 enableval
="$enable_textdlg"
8547 if test "$enableval" = yes; then
8548 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8550 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8555 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x
; then
8557 eval "DEFAULT_$LINE"
8562 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8566 eval "$ac_cv_use_textdlg"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8571 if test "$wxUSE_TEXTDLG" = yes; then
8572 echo "$as_me:$LINENO: result: yes" >&5
8573 echo "${ECHO_T}yes" >&6
8575 echo "$as_me:$LINENO: result: no" >&5
8576 echo "${ECHO_T}no" >&6
8581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8584 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8585 if test "${enable_tipdlg+set}" = set; then
8586 enableval
="$enable_tipdlg"
8588 if test "$enableval" = yes; then
8589 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8591 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8596 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8597 if test "x$LINE" != x
; then
8598 eval "DEFAULT_$LINE"
8603 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8607 eval "$ac_cv_use_tipdlg"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8612 if test "$wxUSE_STARTUP_TIPS" = yes; then
8613 echo "$as_me:$LINENO: result: yes" >&5
8614 echo "${ECHO_T}yes" >&6
8616 echo "$as_me:$LINENO: result: no" >&5
8617 echo "${ECHO_T}no" >&6
8622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8623 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8625 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8626 if test "${enable_progressdlg+set}" = set; then
8627 enableval
="$enable_progressdlg"
8629 if test "$enableval" = yes; then
8630 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8632 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8637 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8638 if test "x$LINE" != x
; then
8639 eval "DEFAULT_$LINE"
8644 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8648 eval "$ac_cv_use_progressdlg"
8649 if test "$no_cache" != 1; then
8650 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8653 if test "$wxUSE_PROGRESSDLG" = yes; then
8654 echo "$as_me:$LINENO: result: yes" >&5
8655 echo "${ECHO_T}yes" >&6
8657 echo "$as_me:$LINENO: result: no" >&5
8658 echo "${ECHO_T}no" >&6
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8666 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8667 if test "${enable_wizarddlg+set}" = set; then
8668 enableval
="$enable_wizarddlg"
8670 if test "$enableval" = yes; then
8671 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8673 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8678 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x
; then
8680 eval "DEFAULT_$LINE"
8685 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8689 eval "$ac_cv_use_wizarddlg"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8694 if test "$wxUSE_WIZARDDLG" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696 echo "${ECHO_T}yes" >&6
8698 echo "$as_me:$LINENO: result: no" >&5
8699 echo "${ECHO_T}no" >&6
8706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8707 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8709 # Check whether --enable-menus or --disable-menus was given.
8710 if test "${enable_menus+set}" = set; then
8711 enableval
="$enable_menus"
8713 if test "$enableval" = yes; then
8714 ac_cv_use_menus
='wxUSE_MENUS=yes'
8716 ac_cv_use_menus
='wxUSE_MENUS=no'
8721 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8722 if test "x$LINE" != x
; then
8723 eval "DEFAULT_$LINE"
8728 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8732 eval "$ac_cv_use_menus"
8733 if test "$no_cache" != 1; then
8734 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8737 if test "$wxUSE_MENUS" = yes; then
8738 echo "$as_me:$LINENO: result: yes" >&5
8739 echo "${ECHO_T}yes" >&6
8741 echo "$as_me:$LINENO: result: no" >&5
8742 echo "${ECHO_T}no" >&6
8747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8748 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8750 # Check whether --enable-miniframe or --disable-miniframe was given.
8751 if test "${enable_miniframe+set}" = set; then
8752 enableval
="$enable_miniframe"
8754 if test "$enableval" = yes; then
8755 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8757 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8762 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8763 if test "x$LINE" != x
; then
8764 eval "DEFAULT_$LINE"
8769 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8773 eval "$ac_cv_use_miniframe"
8774 if test "$no_cache" != 1; then
8775 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8778 if test "$wxUSE_MINIFRAME" = yes; then
8779 echo "$as_me:$LINENO: result: yes" >&5
8780 echo "${ECHO_T}yes" >&6
8782 echo "$as_me:$LINENO: result: no" >&5
8783 echo "${ECHO_T}no" >&6
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8789 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8791 # Check whether --enable-tooltips or --disable-tooltips was given.
8792 if test "${enable_tooltips+set}" = set; then
8793 enableval
="$enable_tooltips"
8795 if test "$enableval" = yes; then
8796 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8798 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8803 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x
; then
8805 eval "DEFAULT_$LINE"
8810 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8814 eval "$ac_cv_use_tooltips"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8819 if test "$wxUSE_TOOLTIPS" = yes; then
8820 echo "$as_me:$LINENO: result: yes" >&5
8821 echo "${ECHO_T}yes" >&6
8823 echo "$as_me:$LINENO: result: no" >&5
8824 echo "${ECHO_T}no" >&6
8829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8830 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8832 # Check whether --enable-splines or --disable-splines was given.
8833 if test "${enable_splines+set}" = set; then
8834 enableval
="$enable_splines"
8836 if test "$enableval" = yes; then
8837 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8839 ac_cv_use_splines
='wxUSE_SPLINES=no'
8844 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8845 if test "x$LINE" != x
; then
8846 eval "DEFAULT_$LINE"
8851 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8855 eval "$ac_cv_use_splines"
8856 if test "$no_cache" != 1; then
8857 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8860 if test "$wxUSE_SPLINES" = yes; then
8861 echo "$as_me:$LINENO: result: yes" >&5
8862 echo "${ECHO_T}yes" >&6
8864 echo "$as_me:$LINENO: result: no" >&5
8865 echo "${ECHO_T}no" >&6
8870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8873 # Check whether --enable-validators or --disable-validators was given.
8874 if test "${enable_validators+set}" = set; then
8875 enableval
="$enable_validators"
8877 if test "$enableval" = yes; then
8878 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8880 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8885 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x
; then
8887 eval "DEFAULT_$LINE"
8892 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8896 eval "$ac_cv_use_validators"
8897 if test "$no_cache" != 1; then
8898 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8901 if test "$wxUSE_VALIDATORS" = yes; then
8902 echo "$as_me:$LINENO: result: yes" >&5
8903 echo "${ECHO_T}yes" >&6
8905 echo "$as_me:$LINENO: result: no" >&5
8906 echo "${ECHO_T}no" >&6
8911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8912 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8914 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8915 if test "${enable_busyinfo+set}" = set; then
8916 enableval
="$enable_busyinfo"
8918 if test "$enableval" = yes; then
8919 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8921 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8926 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x
; then
8928 eval "DEFAULT_$LINE"
8933 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8937 eval "$ac_cv_use_busyinfo"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8942 if test "$wxUSE_BUSYINFO" = yes; then
8943 echo "$as_me:$LINENO: result: yes" >&5
8944 echo "${ECHO_T}yes" >&6
8946 echo "$as_me:$LINENO: result: no" >&5
8947 echo "${ECHO_T}no" >&6
8952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8953 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8955 # Check whether --enable-joystick or --disable-joystick was given.
8956 if test "${enable_joystick+set}" = set; then
8957 enableval
="$enable_joystick"
8959 if test "$enableval" = yes; then
8960 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8962 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8967 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8968 if test "x$LINE" != x
; then
8969 eval "DEFAULT_$LINE"
8974 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8978 eval "$ac_cv_use_joystick"
8979 if test "$no_cache" != 1; then
8980 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8983 if test "$wxUSE_JOYSTICK" = yes; then
8984 echo "$as_me:$LINENO: result: yes" >&5
8985 echo "${ECHO_T}yes" >&6
8987 echo "$as_me:$LINENO: result: no" >&5
8988 echo "${ECHO_T}no" >&6
8993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8996 # Check whether --enable-metafile or --disable-metafile was given.
8997 if test "${enable_metafile+set}" = set; then
8998 enableval
="$enable_metafile"
9000 if test "$enableval" = yes; then
9001 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9003 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9008 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9009 if test "x$LINE" != x
; then
9010 eval "DEFAULT_$LINE"
9015 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9019 eval "$ac_cv_use_metafile"
9020 if test "$no_cache" != 1; then
9021 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9024 if test "$wxUSE_METAFILE" = yes; then
9025 echo "$as_me:$LINENO: result: yes" >&5
9026 echo "${ECHO_T}yes" >&6
9028 echo "$as_me:$LINENO: result: no" >&5
9029 echo "${ECHO_T}no" >&6
9034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9037 # Check whether --enable-dragimage or --disable-dragimage was given.
9038 if test "${enable_dragimage+set}" = set; then
9039 enableval
="$enable_dragimage"
9041 if test "$enableval" = yes; then
9042 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9044 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9049 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x
; then
9051 eval "DEFAULT_$LINE"
9056 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9060 eval "$ac_cv_use_dragimage"
9061 if test "$no_cache" != 1; then
9062 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9065 if test "$wxUSE_DRAGIMAGE" = yes; then
9066 echo "$as_me:$LINENO: result: yes" >&5
9067 echo "${ECHO_T}yes" >&6
9069 echo "$as_me:$LINENO: result: no" >&5
9070 echo "${ECHO_T}no" >&6
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9078 # Check whether --enable-accessibility or --disable-accessibility was given.
9079 if test "${enable_accessibility+set}" = set; then
9080 enableval
="$enable_accessibility"
9082 if test "$enableval" = yes; then
9083 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9085 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9090 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x
; then
9092 eval "DEFAULT_$LINE"
9097 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9101 eval "$ac_cv_use_accessibility"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9106 if test "$wxUSE_ACCESSIBILITY" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108 echo "${ECHO_T}yes" >&6
9110 echo "$as_me:$LINENO: result: no" >&5
9111 echo "${ECHO_T}no" >&6
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9121 # Check whether --enable-palette or --disable-palette was given.
9122 if test "${enable_palette+set}" = set; then
9123 enableval
="$enable_palette"
9125 if test "$enableval" = yes; then
9126 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9128 ac_cv_use_palette
='wxUSE_PALETTE=no'
9133 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x
; then
9135 eval "DEFAULT_$LINE"
9140 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9144 eval "$ac_cv_use_palette"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9149 if test "$wxUSE_PALETTE" = yes; then
9150 echo "$as_me:$LINENO: result: yes" >&5
9151 echo "${ECHO_T}yes" >&6
9153 echo "$as_me:$LINENO: result: no" >&5
9154 echo "${ECHO_T}no" >&6
9159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9162 # Check whether --enable-image or --disable-image was given.
9163 if test "${enable_image+set}" = set; then
9164 enableval
="$enable_image"
9166 if test "$enableval" = yes; then
9167 ac_cv_use_image
='wxUSE_IMAGE=yes'
9169 ac_cv_use_image
='wxUSE_IMAGE=no'
9174 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9175 if test "x$LINE" != x
; then
9176 eval "DEFAULT_$LINE"
9181 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9185 eval "$ac_cv_use_image"
9186 if test "$no_cache" != 1; then
9187 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9190 if test "$wxUSE_IMAGE" = yes; then
9191 echo "$as_me:$LINENO: result: yes" >&5
9192 echo "${ECHO_T}yes" >&6
9194 echo "$as_me:$LINENO: result: no" >&5
9195 echo "${ECHO_T}no" >&6
9200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9203 # Check whether --enable-gif or --disable-gif was given.
9204 if test "${enable_gif+set}" = set; then
9205 enableval
="$enable_gif"
9207 if test "$enableval" = yes; then
9208 ac_cv_use_gif
='wxUSE_GIF=yes'
9210 ac_cv_use_gif
='wxUSE_GIF=no'
9215 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x
; then
9217 eval "DEFAULT_$LINE"
9222 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9226 eval "$ac_cv_use_gif"
9227 if test "$no_cache" != 1; then
9228 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9231 if test "$wxUSE_GIF" = yes; then
9232 echo "$as_me:$LINENO: result: yes" >&5
9233 echo "${ECHO_T}yes" >&6
9235 echo "$as_me:$LINENO: result: no" >&5
9236 echo "${ECHO_T}no" >&6
9241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9242 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9244 # Check whether --enable-pcx or --disable-pcx was given.
9245 if test "${enable_pcx+set}" = set; then
9246 enableval
="$enable_pcx"
9248 if test "$enableval" = yes; then
9249 ac_cv_use_pcx
='wxUSE_PCX=yes'
9251 ac_cv_use_pcx
='wxUSE_PCX=no'
9256 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9257 if test "x$LINE" != x
; then
9258 eval "DEFAULT_$LINE"
9263 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9267 eval "$ac_cv_use_pcx"
9268 if test "$no_cache" != 1; then
9269 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9272 if test "$wxUSE_PCX" = yes; then
9273 echo "$as_me:$LINENO: result: yes" >&5
9274 echo "${ECHO_T}yes" >&6
9276 echo "$as_me:$LINENO: result: no" >&5
9277 echo "${ECHO_T}no" >&6
9282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9283 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9285 # Check whether --enable-iff or --disable-iff was given.
9286 if test "${enable_iff+set}" = set; then
9287 enableval
="$enable_iff"
9289 if test "$enableval" = yes; then
9290 ac_cv_use_iff
='wxUSE_IFF=yes'
9292 ac_cv_use_iff
='wxUSE_IFF=no'
9297 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9298 if test "x$LINE" != x
; then
9299 eval "DEFAULT_$LINE"
9304 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9308 eval "$ac_cv_use_iff"
9309 if test "$no_cache" != 1; then
9310 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9313 if test "$wxUSE_IFF" = yes; then
9314 echo "$as_me:$LINENO: result: yes" >&5
9315 echo "${ECHO_T}yes" >&6
9317 echo "$as_me:$LINENO: result: no" >&5
9318 echo "${ECHO_T}no" >&6
9323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9324 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9326 # Check whether --enable-pnm or --disable-pnm was given.
9327 if test "${enable_pnm+set}" = set; then
9328 enableval
="$enable_pnm"
9330 if test "$enableval" = yes; then
9331 ac_cv_use_pnm
='wxUSE_PNM=yes'
9333 ac_cv_use_pnm
='wxUSE_PNM=no'
9338 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9339 if test "x$LINE" != x
; then
9340 eval "DEFAULT_$LINE"
9345 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9349 eval "$ac_cv_use_pnm"
9350 if test "$no_cache" != 1; then
9351 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9354 if test "$wxUSE_PNM" = yes; then
9355 echo "$as_me:$LINENO: result: yes" >&5
9356 echo "${ECHO_T}yes" >&6
9358 echo "$as_me:$LINENO: result: no" >&5
9359 echo "${ECHO_T}no" >&6
9364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9365 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9367 # Check whether --enable-xpm or --disable-xpm was given.
9368 if test "${enable_xpm+set}" = set; then
9369 enableval
="$enable_xpm"
9371 if test "$enableval" = yes; then
9372 ac_cv_use_xpm
='wxUSE_XPM=yes'
9374 ac_cv_use_xpm
='wxUSE_XPM=no'
9379 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9380 if test "x$LINE" != x
; then
9381 eval "DEFAULT_$LINE"
9386 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9390 eval "$ac_cv_use_xpm"
9391 if test "$no_cache" != 1; then
9392 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9395 if test "$wxUSE_XPM" = yes; then
9396 echo "$as_me:$LINENO: result: yes" >&5
9397 echo "${ECHO_T}yes" >&6
9399 echo "$as_me:$LINENO: result: no" >&5
9400 echo "${ECHO_T}no" >&6
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9408 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9409 if test "${enable_ico_cur+set}" = set; then
9410 enableval
="$enable_ico_cur"
9412 if test "$enableval" = yes; then
9413 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9415 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9420 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x
; then
9422 eval "DEFAULT_$LINE"
9427 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9431 eval "$ac_cv_use_ico_cur"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9436 if test "$wxUSE_ICO_CUR" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438 echo "${ECHO_T}yes" >&6
9440 echo "$as_me:$LINENO: result: no" >&5
9441 echo "${ECHO_T}no" >&6
9448 *-pc-os2_emx | *-pc-os2-emx )
9460 echo "saving argument cache $wx_arg_cache_file"
9461 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9465 echo "$as_me:$LINENO: checking for toolkit" >&5
9466 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9468 # In Wine, we need to default to MSW, not GTK or MOTIF
9469 if test "$wxUSE_WINE" = "yes"; then
9470 DEFAULT_DEFAULT_wxUSE_GTK
=0
9471 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9472 DEFAULT_DEFAULT_wxUSE_MSW
=1
9475 if test "$wxUSE_GUI" = "yes"; then
9477 if test "$USE_BEOS" = 1; then
9478 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9479 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9480 { (exit 1); exit 1; }; }
9483 if test "$TOOLKIT_GIVEN" = 1; then
9484 for toolkit
in `echo $ALL_TOOLKITS`; do
9486 eval "value=\$${var}"
9487 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9490 for toolkit
in `echo $ALL_TOOLKITS`; do
9491 if test "$has_toolkit_in_cache" != 1; then
9492 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9494 var
=DEFAULT_wxUSE_
$toolkit
9496 eval "wxUSE_$toolkit=\$${var}"
9500 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9501 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9502 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9505 *-pc-os2_emx | *-pc-os2-emx )
9506 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9509 case "$NUM_TOOLKITS" in
9513 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9514 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9515 { (exit 1); exit 1; }; }
9518 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9519 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9520 { (exit 1); exit 1; }; }
9523 for toolkit
in `echo $ALL_TOOLKITS`; do
9525 eval "value=\$${var}"
9526 if test "x$value" != x
; then
9527 cache_var
=CACHE_
$toolkit
9528 eval "cache=\$${cache_var}"
9529 if test "$cache" = 1; then
9530 echo "$var=$value" >> ${wx_arg_cache_file}
9532 if test "$value" = 1; then
9533 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
9534 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9535 echo "${ECHO_T}$toolkit_echo" >&6
9540 if test "x$host_alias" != "x"; then
9541 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9542 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9544 echo "$as_me:$LINENO: result: base only" >&5
9545 echo "${ECHO_T}base only" >&6
9553 if test "$wxUSE_MSW" = 1 ; then
9564 if test "$wxUSE_WINE" = "yes"; then
9571 if test "$wants_win32" = 1 ; then
9574 cat >>confdefs.h
<<\_ACEOF
9578 cat >>confdefs.h
<<\_ACEOF
9582 cat >>confdefs.h
<<\_ACEOF
9583 #define __WINDOWS__ 1
9586 cat >>confdefs.h
<<\_ACEOF
9587 #define __GNUWIN32__ 1
9590 cat >>confdefs.h
<<\_ACEOF
9594 cat >>confdefs.h
<<\_ACEOF
9595 #define WINVER 0x0400
9599 if test "$doesnt_want_win32" = 1 ; then
9604 if test "$USE_UNIX" = 1 ; then
9606 cat >>confdefs.h
<<\_ACEOF
9613 cat >confcache
<<\_ACEOF
9614 # This file is a shell script that caches the results of configure
9615 # tests run on this system so they can be shared between configure
9616 # scripts and configure runs, see configure's option --config-cache.
9617 # It is not useful on other systems. If it contains results you don't
9618 # want to keep, you may remove or edit it.
9620 # config.status only pays attention to the cache file if you give it
9621 # the --recheck option to rerun configure.
9623 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9624 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9629 # The following way of writing the cache mishandles newlines in values,
9630 # but we know of no workaround that is simple, portable, and efficient.
9631 # So, don't put newlines in cache variables' values.
9632 # Ultrix sh set writes to stderr and can't be redirected directly,
9633 # and sets the high bit in the cache file unless we assign to the vars.
9636 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9638 # `set' does not quote correctly, so add quotes (double-quote
9639 # substitution turns \\\\ into \\, and sed turns \\ into \).
9642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9645 # `set' quotes correctly as required by POSIX, so do not add quotes.
9647 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9654 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9656 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9658 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9659 if test -w $cache_file; then
9660 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9661 cat confcache
>$cache_file
9663 echo "not updating unwritable cache $cache_file"
9668 if test "$build" != "$host" ; then
9669 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9673 RANLIB
=$host_alias-ranlib
9674 DLLTOOL
=$host_alias-dlltool
9675 RESCOMP
=$host_alias-windres
9678 STRIP
=$host_alias-strip
9680 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9681 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9682 { (exit 1); exit 1; }; }
9688 ac_cpp
='$CPP $CPPFLAGS'
9689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9692 if test -n "$ac_tool_prefix"; then
9693 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9694 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9695 echo "$as_me:$LINENO: checking for $ac_word" >&5
9696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9697 if test "${ac_cv_prog_CC+set}" = set; then
9698 echo $ECHO_N "(cached) $ECHO_C" >&6
9700 if test -n "$CC"; then
9701 ac_cv_prog_CC
="$CC" # Let the user override the test.
9703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9707 test -z "$as_dir" && as_dir
=.
9708 for ac_exec_ext
in '' $ac_executable_extensions; do
9709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9710 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9720 if test -n "$CC"; then
9721 echo "$as_me:$LINENO: result: $CC" >&5
9722 echo "${ECHO_T}$CC" >&6
9724 echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6
9729 if test -z "$ac_cv_prog_CC"; then
9731 # Extract the first word of "gcc", so it can be a program name with args.
9732 set dummy gcc
; ac_word
=$2
9733 echo "$as_me:$LINENO: checking for $ac_word" >&5
9734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 if test -n "$ac_ct_CC"; then
9739 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9745 test -z "$as_dir" && as_dir
=.
9746 for ac_exec_ext
in '' $ac_executable_extensions; do
9747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9748 ac_cv_prog_ac_ct_CC
="gcc"
9749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9757 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9758 if test -n "$ac_ct_CC"; then
9759 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9760 echo "${ECHO_T}$ac_ct_CC" >&6
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9771 if test -z "$CC"; then
9772 if test -n "$ac_tool_prefix"; then
9773 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9774 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9775 echo "$as_me:$LINENO: checking for $ac_word" >&5
9776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9777 if test "${ac_cv_prog_CC+set}" = set; then
9778 echo $ECHO_N "(cached) $ECHO_C" >&6
9780 if test -n "$CC"; then
9781 ac_cv_prog_CC
="$CC" # Let the user override the test.
9783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9787 test -z "$as_dir" && as_dir
=.
9788 for ac_exec_ext
in '' $ac_executable_extensions; do
9789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9790 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9800 if test -n "$CC"; then
9801 echo "$as_me:$LINENO: result: $CC" >&5
9802 echo "${ECHO_T}$CC" >&6
9804 echo "$as_me:$LINENO: result: no" >&5
9805 echo "${ECHO_T}no" >&6
9809 if test -z "$ac_cv_prog_CC"; then
9811 # Extract the first word of "cc", so it can be a program name with args.
9812 set dummy cc
; ac_word
=$2
9813 echo "$as_me:$LINENO: checking for $ac_word" >&5
9814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9815 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 if test -n "$ac_ct_CC"; then
9819 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9825 test -z "$as_dir" && as_dir
=.
9826 for ac_exec_ext
in '' $ac_executable_extensions; do
9827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9828 ac_cv_prog_ac_ct_CC
="cc"
9829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9837 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9838 if test -n "$ac_ct_CC"; then
9839 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9840 echo "${ECHO_T}$ac_ct_CC" >&6
9842 echo "$as_me:$LINENO: result: no" >&5
9843 echo "${ECHO_T}no" >&6
9852 if test -z "$CC"; then
9853 # Extract the first word of "cc", so it can be a program name with args.
9854 set dummy cc
; ac_word
=$2
9855 echo "$as_me:$LINENO: checking for $ac_word" >&5
9856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9857 if test "${ac_cv_prog_CC+set}" = set; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 if test -n "$CC"; then
9861 ac_cv_prog_CC
="$CC" # Let the user override the test.
9864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9868 test -z "$as_dir" && as_dir
=.
9869 for ac_exec_ext
in '' $ac_executable_extensions; do
9870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9871 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9872 ac_prog_rejected
=yes
9876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9882 if test $ac_prog_rejected = yes; then
9883 # We found a bogon in the path, so make sure we never use it.
9884 set dummy
$ac_cv_prog_CC
9886 if test $# != 0; then
9887 # We chose a different compiler from the bogus one.
9888 # However, it has the same basename, so the bogon will be chosen
9889 # first if we set CC to just the basename; use the full file name.
9891 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9897 if test -n "$CC"; then
9898 echo "$as_me:$LINENO: result: $CC" >&5
9899 echo "${ECHO_T}$CC" >&6
9901 echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6
9906 if test -z "$CC"; then
9907 if test -n "$ac_tool_prefix"; then
9910 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9911 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9912 echo "$as_me:$LINENO: checking for $ac_word" >&5
9913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9914 if test "${ac_cv_prog_CC+set}" = set; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9917 if test -n "$CC"; then
9918 ac_cv_prog_CC
="$CC" # Let the user override the test.
9920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9924 test -z "$as_dir" && as_dir
=.
9925 for ac_exec_ext
in '' $ac_executable_extensions; do
9926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9927 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9937 if test -n "$CC"; then
9938 echo "$as_me:$LINENO: result: $CC" >&5
9939 echo "${ECHO_T}$CC" >&6
9941 echo "$as_me:$LINENO: result: no" >&5
9942 echo "${ECHO_T}no" >&6
9945 test -n "$CC" && break
9948 if test -z "$CC"; then
9952 # Extract the first word of "$ac_prog", so it can be a program name with args.
9953 set dummy
$ac_prog; ac_word
=$2
9954 echo "$as_me:$LINENO: checking for $ac_word" >&5
9955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9956 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9957 echo $ECHO_N "(cached) $ECHO_C" >&6
9959 if test -n "$ac_ct_CC"; then
9960 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9966 test -z "$as_dir" && as_dir
=.
9967 for ac_exec_ext
in '' $ac_executable_extensions; do
9968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9969 ac_cv_prog_ac_ct_CC
="$ac_prog"
9970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9978 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9979 if test -n "$ac_ct_CC"; then
9980 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9981 echo "${ECHO_T}$ac_ct_CC" >&6
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9987 test -n "$ac_ct_CC" && break
9996 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9997 See \`config.log' for more details." >&5
9998 echo "$as_me: error: no acceptable C compiler found in \$PATH
9999 See \`config.log' for more details." >&2;}
10000 { (exit 1); exit 1; }; }
10002 # Provide some information about the compiler.
10003 echo "$as_me:$LINENO:" \
10004 "checking for C compiler version" >&5
10005 ac_compiler
=`set X $ac_compile; echo $2`
10006 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10007 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); }
10011 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10012 (eval $ac_compiler -v </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); }
10022 cat >conftest.
$ac_ext <<_ACEOF
10023 #line $LINENO "configure"
10026 cat confdefs.h
>>conftest.
$ac_ext
10027 cat >>conftest.
$ac_ext <<_ACEOF
10028 /* end confdefs.h. */
10038 ac_clean_files_save
=$ac_clean_files
10039 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10040 # Try to create an executable without -o first, disregard a.out.
10041 # It will help us diagnose broken compilers, and finding out an intuition
10043 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10044 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10045 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10046 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10047 (eval $ac_link_default) 2>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; then
10051 # Find the output, starting from the most likely. This scheme is
10052 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10055 # Be careful to initialize this variable, since it used to be cached.
10056 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10058 # b.out is created by i960 compilers.
10059 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10061 test -f "$ac_file" || continue
10063 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10066 # This is the source file.
10069 # We found the default executable, but exeext='' is most
10073 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10074 # FIXME: I believe we export ac_cv_exeext for Libtool,
10075 # but it would be cool to find out if it's true. Does anybody
10076 # maintain Libtool? --akim.
10077 export ac_cv_exeext
10084 echo "$as_me: failed program was:" >&5
10085 sed 's/^/| /' conftest.
$ac_ext >&5
10087 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10088 See \`config.log' for more details." >&5
10089 echo "$as_me: error: C compiler cannot create executables
10090 See \`config.log' for more details." >&2;}
10091 { (exit 77); exit 77; }; }
10094 ac_exeext
=$ac_cv_exeext
10095 echo "$as_me:$LINENO: result: $ac_file" >&5
10096 echo "${ECHO_T}$ac_file" >&6
10098 # Check the compiler produces executables we can run. If not, either
10099 # the compiler is broken, or we cross compile.
10100 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10101 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10102 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10103 # If not cross compiling, check that we can run a simple program.
10104 if test "$cross_compiling" != yes; then
10105 if { ac_try
='./$ac_file'
10106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10107 (eval $ac_try) 2>&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); }; }; then
10113 if test "$cross_compiling" = maybe
; then
10114 cross_compiling
=yes
10116 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10117 If you meant to cross compile, use \`--host'.
10118 See \`config.log' for more details." >&5
10119 echo "$as_me: error: cannot run C compiled programs.
10120 If you meant to cross compile, use \`--host'.
10121 See \`config.log' for more details." >&2;}
10122 { (exit 1); exit 1; }; }
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10129 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10130 ac_clean_files
=$ac_clean_files_save
10131 # Check the compiler produces executables we can run. If not, either
10132 # the compiler is broken, or we cross compile.
10133 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10134 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10135 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10136 echo "${ECHO_T}$cross_compiling" >&6
10138 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10139 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10141 (eval $ac_link) 2>&5
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); }; then
10145 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10146 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10147 # work properly (i.e., refer to `conftest.exe'), while it won't with
10149 for ac_file
in conftest.exe conftest conftest.
*; do
10150 test -f "$ac_file" || continue
10152 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10153 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10154 export ac_cv_exeext
10160 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10161 See \`config.log' for more details." >&5
10162 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10163 See \`config.log' for more details." >&2;}
10164 { (exit 1); exit 1; }; }
10167 rm -f conftest
$ac_cv_exeext
10168 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10169 echo "${ECHO_T}$ac_cv_exeext" >&6
10171 rm -f conftest.
$ac_ext
10172 EXEEXT
=$ac_cv_exeext
10174 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10175 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10176 if test "${ac_cv_objext+set}" = set; then
10177 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 cat >conftest.
$ac_ext <<_ACEOF
10180 #line $LINENO "configure"
10183 cat confdefs.h
>>conftest.
$ac_ext
10184 cat >>conftest.
$ac_ext <<_ACEOF
10185 /* end confdefs.h. */
10195 rm -f conftest.o conftest.obj
10196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10197 (eval $ac_compile) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; then
10201 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10203 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10204 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10209 echo "$as_me: failed program was:" >&5
10210 sed 's/^/| /' conftest.
$ac_ext >&5
10212 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10213 See \`config.log' for more details." >&5
10214 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10215 See \`config.log' for more details." >&2;}
10216 { (exit 1); exit 1; }; }
10219 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10221 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10222 echo "${ECHO_T}$ac_cv_objext" >&6
10223 OBJEXT
=$ac_cv_objext
10225 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10226 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10227 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10230 cat >conftest.
$ac_ext <<_ACEOF
10231 #line $LINENO "configure"
10234 cat confdefs.h
>>conftest.
$ac_ext
10235 cat >>conftest.
$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10249 rm -f conftest.
$ac_objext
10250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10251 (eval $ac_compile) 2>&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } &&
10255 { ac_try
='test -s conftest.$ac_objext'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; }; then
10261 ac_compiler_gnu
=yes
10263 echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.
$ac_ext >&5
10268 rm -f conftest.
$ac_objext conftest.
$ac_ext
10269 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10272 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10273 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10274 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10275 ac_test_CFLAGS
=${CFLAGS+set}
10276 ac_save_CFLAGS
=$CFLAGS
10278 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10279 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10280 if test "${ac_cv_prog_cc_g+set}" = set; then
10281 echo $ECHO_N "(cached) $ECHO_C" >&6
10283 cat >conftest.
$ac_ext <<_ACEOF
10284 #line $LINENO "configure"
10287 cat confdefs.h
>>conftest.
$ac_ext
10288 cat >>conftest.
$ac_ext <<_ACEOF
10289 /* end confdefs.h. */
10299 rm -f conftest.
$ac_objext
10300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10301 (eval $ac_compile) 2>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } &&
10305 { ac_try
='test -s conftest.$ac_objext'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; }; then
10311 ac_cv_prog_cc_g
=yes
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.
$ac_ext >&5
10318 rm -f conftest.
$ac_objext conftest.
$ac_ext
10320 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10321 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10322 if test "$ac_test_CFLAGS" = set; then
10323 CFLAGS
=$ac_save_CFLAGS
10324 elif test $ac_cv_prog_cc_g = yes; then
10325 if test "$GCC" = yes; then
10331 if test "$GCC" = yes; then
10337 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10338 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10339 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10340 echo $ECHO_N "(cached) $ECHO_C" >&6
10342 ac_cv_prog_cc_stdc
=no
10344 cat >conftest.
$ac_ext <<_ACEOF
10345 #line $LINENO "configure"
10348 cat confdefs.h
>>conftest.
$ac_ext
10349 cat >>conftest.
$ac_ext <<_ACEOF
10350 /* end confdefs.h. */
10351 #include <stdarg.h>
10353 #include <sys/types.h>
10354 #include <sys/stat.h>
10355 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10356 struct buf { int x; };
10357 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10358 static char *e (p, i)
10364 static char *f (char * (*g) (char **, int), char **p, ...)
10369 s = g (p, va_arg (v,int));
10373 int test (int i, double x);
10374 struct s1 {int (*f) (int a);};
10375 struct s2 {int (*f) (double a);};
10376 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10382 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10387 # Don't try gcc -ansi; that turns off useful extensions and
10388 # breaks some systems' header files.
10389 # AIX -qlanglvl=ansi
10390 # Ultrix and OSF/1 -std1
10391 # HP-UX 10.20 and later -Ae
10392 # HP-UX older versions -Aa -D_HPUX_SOURCE
10393 # SVR4 -Xc -D__EXTENSIONS__
10394 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10396 CC
="$ac_save_CC $ac_arg"
10397 rm -f conftest.
$ac_objext
10398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10399 (eval $ac_compile) 2>&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } &&
10403 { ac_try
='test -s conftest.$ac_objext'
10404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); }; }; then
10409 ac_cv_prog_cc_stdc
=$ac_arg
10412 echo "$as_me: failed program was:" >&5
10413 sed 's/^/| /' conftest.
$ac_ext >&5
10416 rm -f conftest.
$ac_objext
10418 rm -f conftest.
$ac_ext conftest.
$ac_objext
10423 case "x$ac_cv_prog_cc_stdc" in
10425 echo "$as_me:$LINENO: result: none needed" >&5
10426 echo "${ECHO_T}none needed" >&6 ;;
10428 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10429 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10430 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10433 # Some people use a C++ compiler to compile C. Since we use `exit',
10434 # in C++ we need to declare it. In case someone uses the same compiler
10435 # for both compiling C and C++ we need to have the C++ compiler decide
10436 # the declaration of exit, since it's the most demanding environment.
10437 cat >conftest.
$ac_ext <<_ACEOF
10438 #ifndef __cplusplus
10442 rm -f conftest.
$ac_objext
10443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10444 (eval $ac_compile) 2>&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); } &&
10448 { ac_try
='test -s conftest.$ac_objext'
10449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10450 (eval $ac_try) 2>&5
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); }; }; then
10454 for ac_declaration
in \
10456 '#include <stdlib.h>' \
10457 'extern "C" void std::exit (int) throw (); using std::exit;' \
10458 'extern "C" void std::exit (int); using std::exit;' \
10459 'extern "C" void exit (int) throw ();' \
10460 'extern "C" void exit (int);' \
10463 cat >conftest.
$ac_ext <<_ACEOF
10464 #line $LINENO "configure"
10467 cat confdefs.h
>>conftest.
$ac_ext
10468 cat >>conftest.
$ac_ext <<_ACEOF
10469 /* end confdefs.h. */
10470 #include <stdlib.h>
10480 rm -f conftest.
$ac_objext
10481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10482 (eval $ac_compile) 2>&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } &&
10486 { ac_try
='test -s conftest.$ac_objext'
10487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10488 (eval $ac_try) 2>&5
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); }; }; then
10494 echo "$as_me: failed program was:" >&5
10495 sed 's/^/| /' conftest.
$ac_ext >&5
10499 rm -f conftest.
$ac_objext conftest.
$ac_ext
10500 cat >conftest.
$ac_ext <<_ACEOF
10501 #line $LINENO "configure"
10504 cat confdefs.h
>>conftest.
$ac_ext
10505 cat >>conftest.
$ac_ext <<_ACEOF
10506 /* end confdefs.h. */
10516 rm -f conftest.
$ac_objext
10517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10518 (eval $ac_compile) 2>&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } &&
10522 { ac_try
='test -s conftest.$ac_objext'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; }; then
10530 echo "$as_me: failed program was:" >&5
10531 sed 's/^/| /' conftest.
$ac_ext >&5
10534 rm -f conftest.
$ac_objext conftest.
$ac_ext
10537 if test -n "$ac_declaration"; then
10538 echo '#ifdef __cplusplus' >>confdefs.h
10539 echo $ac_declaration >>confdefs.h
10540 echo '#endif' >>confdefs.h
10544 echo "$as_me: failed program was:" >&5
10545 sed 's/^/| /' conftest.
$ac_ext >&5
10548 rm -f conftest.
$ac_objext conftest.
$ac_ext
10550 ac_cpp
='$CPP $CPPFLAGS'
10551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10558 ac_cpp
='$CPP $CPPFLAGS'
10559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10562 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10563 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10564 # On Suns, sometimes $CPP names a directory.
10565 if test -n "$CPP" && test -d "$CPP"; then
10568 if test -z "$CPP"; then
10569 if test "${ac_cv_prog_CPP+set}" = set; then
10570 echo $ECHO_N "(cached) $ECHO_C" >&6
10572 # Double quotes because CPP needs to be expanded
10573 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10575 ac_preproc_ok
=false
10576 for ac_c_preproc_warn_flag
in '' yes
10578 # Use a header file that comes with gcc, so configuring glibc
10579 # with a fresh cross-compiler works.
10580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10581 # <limits.h> exists even on freestanding compilers.
10582 # On the NeXT, cc -E runs the code through the compiler's parser,
10583 # not just through cpp. "Syntax error" is here to catch this case.
10584 cat >conftest.
$ac_ext <<_ACEOF
10585 #line $LINENO "configure"
10588 cat confdefs.h
>>conftest.
$ac_ext
10589 cat >>conftest.
$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10592 # include <limits.h>
10594 # include <assert.h>
10598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10599 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10601 grep -v '^ *+' conftest.er1
>conftest.err
10603 cat conftest.err
>&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); } >/dev
/null
; then
10606 if test -s conftest.err
; then
10607 ac_cpp_err
=$ac_c_preproc_warn_flag
10614 if test -z "$ac_cpp_err"; then
10617 echo "$as_me: failed program was:" >&5
10618 sed 's/^/| /' conftest.
$ac_ext >&5
10620 # Broken: fails on valid input.
10623 rm -f conftest.err conftest.
$ac_ext
10625 # OK, works on sane cases. Now check whether non-existent headers
10626 # can be detected and how.
10627 cat >conftest.
$ac_ext <<_ACEOF
10628 #line $LINENO "configure"
10631 cat confdefs.h
>>conftest.
$ac_ext
10632 cat >>conftest.
$ac_ext <<_ACEOF
10633 /* end confdefs.h. */
10634 #include <ac_nonexistent.h>
10636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10639 grep -v '^ *+' conftest.er1
>conftest.err
10641 cat conftest.err
>&5
10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 (exit $ac_status); } >/dev
/null
; then
10644 if test -s conftest.err
; then
10645 ac_cpp_err
=$ac_c_preproc_warn_flag
10652 if test -z "$ac_cpp_err"; then
10653 # Broken: success on invalid input.
10656 echo "$as_me: failed program was:" >&5
10657 sed 's/^/| /' conftest.
$ac_ext >&5
10659 # Passes both tests.
10663 rm -f conftest.err conftest.
$ac_ext
10666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10667 rm -f conftest.err conftest.
$ac_ext
10668 if $ac_preproc_ok; then
10673 ac_cv_prog_CPP
=$CPP
10676 CPP
=$ac_cv_prog_CPP
10678 ac_cv_prog_CPP
=$CPP
10680 echo "$as_me:$LINENO: result: $CPP" >&5
10681 echo "${ECHO_T}$CPP" >&6
10682 ac_preproc_ok
=false
10683 for ac_c_preproc_warn_flag
in '' yes
10685 # Use a header file that comes with gcc, so configuring glibc
10686 # with a fresh cross-compiler works.
10687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10688 # <limits.h> exists even on freestanding compilers.
10689 # On the NeXT, cc -E runs the code through the compiler's parser,
10690 # not just through cpp. "Syntax error" is here to catch this case.
10691 cat >conftest.
$ac_ext <<_ACEOF
10692 #line $LINENO "configure"
10695 cat confdefs.h
>>conftest.
$ac_ext
10696 cat >>conftest.
$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10699 # include <limits.h>
10701 # include <assert.h>
10705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10708 grep -v '^ *+' conftest.er1
>conftest.err
10710 cat conftest.err
>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); } >/dev
/null
; then
10713 if test -s conftest.err
; then
10714 ac_cpp_err
=$ac_c_preproc_warn_flag
10721 if test -z "$ac_cpp_err"; then
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.
$ac_ext >&5
10727 # Broken: fails on valid input.
10730 rm -f conftest.err conftest.
$ac_ext
10732 # OK, works on sane cases. Now check whether non-existent headers
10733 # can be detected and how.
10734 cat >conftest.
$ac_ext <<_ACEOF
10735 #line $LINENO "configure"
10738 cat confdefs.h
>>conftest.
$ac_ext
10739 cat >>conftest.
$ac_ext <<_ACEOF
10740 /* end confdefs.h. */
10741 #include <ac_nonexistent.h>
10743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10744 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10746 grep -v '^ *+' conftest.er1
>conftest.err
10748 cat conftest.err
>&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } >/dev
/null
; then
10751 if test -s conftest.err
; then
10752 ac_cpp_err
=$ac_c_preproc_warn_flag
10759 if test -z "$ac_cpp_err"; then
10760 # Broken: success on invalid input.
10763 echo "$as_me: failed program was:" >&5
10764 sed 's/^/| /' conftest.
$ac_ext >&5
10766 # Passes both tests.
10770 rm -f conftest.err conftest.
$ac_ext
10773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10774 rm -f conftest.err conftest.
$ac_ext
10775 if $ac_preproc_ok; then
10778 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10779 See \`config.log' for more details." >&5
10780 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10781 See \`config.log' for more details." >&2;}
10782 { (exit 1); exit 1; }; }
10786 ac_cpp
='$CPP $CPPFLAGS'
10787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10792 echo "$as_me:$LINENO: checking for egrep" >&5
10793 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10794 if test "${ac_cv_prog_egrep+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10798 then ac_cv_prog_egrep
='grep -E'
10799 else ac_cv_prog_egrep
='egrep'
10802 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10803 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10804 EGREP
=$ac_cv_prog_egrep
10807 if test $ac_cv_c_compiler_gnu = yes; then
10808 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10809 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10810 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10811 echo $ECHO_N "(cached) $ECHO_C" >&6
10813 ac_pattern
="Autoconf.*'x'"
10814 cat >conftest.
$ac_ext <<_ACEOF
10815 #line $LINENO "configure"
10818 cat confdefs.h
>>conftest.
$ac_ext
10819 cat >>conftest.
$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10825 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10826 ac_cv_prog_gcc_traditional
=yes
10828 ac_cv_prog_gcc_traditional
=no
10833 if test $ac_cv_prog_gcc_traditional = no
; then
10834 cat >conftest.
$ac_ext <<_ACEOF
10835 #line $LINENO "configure"
10838 cat confdefs.h
>>conftest.
$ac_ext
10839 cat >>conftest.
$ac_ext <<_ACEOF
10840 /* end confdefs.h. */
10841 #include <termio.h>
10844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10845 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10846 ac_cv_prog_gcc_traditional
=yes
10852 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10853 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10854 if test $ac_cv_prog_gcc_traditional = yes; then
10855 CC
="$CC -traditional"
10863 ac_cpp
='$CXXCPP $CPPFLAGS'
10864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10869 CXXFLAGS
=${CXXFLAGS:=}
10871 ac_cpp
='$CXXCPP $CPPFLAGS'
10872 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10873 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10874 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10875 if test -n "$ac_tool_prefix"; then
10876 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10879 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10880 echo "$as_me:$LINENO: checking for $ac_word" >&5
10881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10882 if test "${ac_cv_prog_CXX+set}" = set; then
10883 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 if test -n "$CXX"; then
10886 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10889 for as_dir
in $PATH
10892 test -z "$as_dir" && as_dir
=.
10893 for ac_exec_ext
in '' $ac_executable_extensions; do
10894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10895 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10904 CXX
=$ac_cv_prog_CXX
10905 if test -n "$CXX"; then
10906 echo "$as_me:$LINENO: result: $CXX" >&5
10907 echo "${ECHO_T}$CXX" >&6
10909 echo "$as_me:$LINENO: result: no" >&5
10910 echo "${ECHO_T}no" >&6
10913 test -n "$CXX" && break
10916 if test -z "$CXX"; then
10918 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10920 # Extract the first word of "$ac_prog", so it can be a program name with args.
10921 set dummy
$ac_prog; ac_word
=$2
10922 echo "$as_me:$LINENO: checking for $ac_word" >&5
10923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10924 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 if test -n "$ac_ct_CXX"; then
10928 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10931 for as_dir
in $PATH
10934 test -z "$as_dir" && as_dir
=.
10935 for ac_exec_ext
in '' $ac_executable_extensions; do
10936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10937 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10946 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10947 if test -n "$ac_ct_CXX"; then
10948 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10949 echo "${ECHO_T}$ac_ct_CXX" >&6
10951 echo "$as_me:$LINENO: result: no" >&5
10952 echo "${ECHO_T}no" >&6
10955 test -n "$ac_ct_CXX" && break
10957 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
10963 # Provide some information about the compiler.
10964 echo "$as_me:$LINENO:" \
10965 "checking for C++ compiler version" >&5
10966 ac_compiler
=`set X $ac_compile; echo $2`
10967 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10968 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); }
10972 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10973 (eval $ac_compiler -v </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); }
10983 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10984 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10985 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 cat >conftest.
$ac_ext <<_ACEOF
10989 #line $LINENO "configure"
10992 cat confdefs.h
>>conftest.
$ac_ext
10993 cat >>conftest.
$ac_ext <<_ACEOF
10994 /* end confdefs.h. */
11007 rm -f conftest.
$ac_objext
11008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11009 (eval $ac_compile) 2>&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } &&
11013 { ac_try
='test -s conftest.$ac_objext'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; }; then
11019 ac_compiler_gnu
=yes
11021 echo "$as_me: failed program was:" >&5
11022 sed 's/^/| /' conftest.
$ac_ext >&5
11026 rm -f conftest.
$ac_objext conftest.
$ac_ext
11027 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11030 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11031 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11032 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11033 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11034 ac_save_CXXFLAGS
=$CXXFLAGS
11036 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11037 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11038 if test "${ac_cv_prog_cxx_g+set}" = set; then
11039 echo $ECHO_N "(cached) $ECHO_C" >&6
11041 cat >conftest.
$ac_ext <<_ACEOF
11042 #line $LINENO "configure"
11045 cat confdefs.h
>>conftest.
$ac_ext
11046 cat >>conftest.
$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11057 rm -f conftest.
$ac_objext
11058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11059 (eval $ac_compile) 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } &&
11063 { ac_try
='test -s conftest.$ac_objext'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; }; then
11069 ac_cv_prog_cxx_g
=yes
11071 echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.
$ac_ext >&5
11074 ac_cv_prog_cxx_g
=no
11076 rm -f conftest.
$ac_objext conftest.
$ac_ext
11078 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11079 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11080 if test "$ac_test_CXXFLAGS" = set; then
11081 CXXFLAGS
=$ac_save_CXXFLAGS
11082 elif test $ac_cv_prog_cxx_g = yes; then
11083 if test "$GXX" = yes; then
11089 if test "$GXX" = yes; then
11095 for ac_declaration
in \
11097 '#include <stdlib.h>' \
11098 'extern "C" void std::exit (int) throw (); using std::exit;' \
11099 'extern "C" void std::exit (int); using std::exit;' \
11100 'extern "C" void exit (int) throw ();' \
11101 'extern "C" void exit (int);' \
11104 cat >conftest.
$ac_ext <<_ACEOF
11105 #line $LINENO "configure"
11108 cat confdefs.h
>>conftest.
$ac_ext
11109 cat >>conftest.
$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11111 #include <stdlib.h>
11121 rm -f conftest.
$ac_objext
11122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11123 (eval $ac_compile) 2>&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } &&
11127 { ac_try
='test -s conftest.$ac_objext'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; }; then
11135 echo "$as_me: failed program was:" >&5
11136 sed 's/^/| /' conftest.
$ac_ext >&5
11140 rm -f conftest.
$ac_objext conftest.
$ac_ext
11141 cat >conftest.
$ac_ext <<_ACEOF
11142 #line $LINENO "configure"
11145 cat confdefs.h
>>conftest.
$ac_ext
11146 cat >>conftest.
$ac_ext <<_ACEOF
11147 /* end confdefs.h. */
11157 rm -f conftest.
$ac_objext
11158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11159 (eval $ac_compile) 2>&5
11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11162 (exit $ac_status); } &&
11163 { ac_try
='test -s conftest.$ac_objext'
11164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11165 (eval $ac_try) 2>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); }; }; then
11171 echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.
$ac_ext >&5
11175 rm -f conftest.
$ac_objext conftest.
$ac_ext
11178 if test -n "$ac_declaration"; then
11179 echo '#ifdef __cplusplus' >>confdefs.h
11180 echo $ac_declaration >>confdefs.h
11181 echo '#endif' >>confdefs.h
11185 ac_cpp
='$CXXCPP $CPPFLAGS'
11186 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11187 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11188 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11192 ac_cpp
='$CPP $CPPFLAGS'
11193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11198 if test -n "$ac_tool_prefix"; then
11199 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11200 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11201 echo "$as_me:$LINENO: checking for $ac_word" >&5
11202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11203 if test "${ac_cv_prog_RANLIB+set}" = set; then
11204 echo $ECHO_N "(cached) $ECHO_C" >&6
11206 if test -n "$RANLIB"; then
11207 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11210 for as_dir
in $PATH
11213 test -z "$as_dir" && as_dir
=.
11214 for ac_exec_ext
in '' $ac_executable_extensions; do
11215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11216 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11225 RANLIB
=$ac_cv_prog_RANLIB
11226 if test -n "$RANLIB"; then
11227 echo "$as_me:$LINENO: result: $RANLIB" >&5
11228 echo "${ECHO_T}$RANLIB" >&6
11230 echo "$as_me:$LINENO: result: no" >&5
11231 echo "${ECHO_T}no" >&6
11235 if test -z "$ac_cv_prog_RANLIB"; then
11236 ac_ct_RANLIB
=$RANLIB
11237 # Extract the first word of "ranlib", so it can be a program name with args.
11238 set dummy ranlib
; ac_word
=$2
11239 echo "$as_me:$LINENO: checking for $ac_word" >&5
11240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11241 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11244 if test -n "$ac_ct_RANLIB"; then
11245 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11248 for as_dir
in $PATH
11251 test -z "$as_dir" && as_dir
=.
11252 for ac_exec_ext
in '' $ac_executable_extensions; do
11253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11254 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11261 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11264 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11265 if test -n "$ac_ct_RANLIB"; then
11266 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11267 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11269 echo "$as_me:$LINENO: result: no" >&5
11270 echo "${ECHO_T}no" >&6
11273 RANLIB
=$ac_ct_RANLIB
11275 RANLIB
="$ac_cv_prog_RANLIB"
11279 # Extract the first word of "ar", so it can be a program name with args.
11280 set dummy
ar; ac_word
=$2
11281 echo "$as_me:$LINENO: checking for $ac_word" >&5
11282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11283 if test "${ac_cv_prog_AR+set}" = set; then
11284 echo $ECHO_N "(cached) $ECHO_C" >&6
11286 if test -n "$AR"; then
11287 ac_cv_prog_AR
="$AR" # Let the user override the test.
11289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11290 for as_dir
in $PATH
11293 test -z "$as_dir" && as_dir
=.
11294 for ac_exec_ext
in '' $ac_executable_extensions; do
11295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11303 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
11307 if test -n "$AR"; then
11308 echo "$as_me:$LINENO: result: $AR" >&5
11309 echo "${ECHO_T}$AR" >&6
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11316 # Find a good install program. We prefer a C program (faster),
11317 # so one script is as good as another. But avoid the broken or
11318 # incompatible versions:
11319 # SysV /etc/install, /usr/sbin/install
11320 # SunOS /usr/etc/install
11321 # IRIX /sbin/install
11323 # AmigaOS /C/install, which installs bootblocks on floppy discs
11324 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11325 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11326 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11327 # ./install, which can be erroneously created by make from ./install.sh.
11328 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11329 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11330 if test -z "$INSTALL"; then
11331 if test "${ac_cv_path_install+set}" = set; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11335 for as_dir
in $PATH
11338 test -z "$as_dir" && as_dir
=.
11339 # Account for people who put trailing slashes in PATH elements.
11341 .
/ | .
// | /cC
/* | \
11342 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11345 # OSF1 and SCO ODT 3.0 have their own names for install.
11346 # Don't use installbsd from OSF since it installs stuff as root
11348 for ac_prog
in ginstall scoinst
install; do
11349 for ac_exec_ext
in '' $ac_executable_extensions; do
11350 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11351 if test $ac_prog = install &&
11352 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11353 # AIX install. It has an incompatible calling convention.
11355 elif test $ac_prog = install &&
11356 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11357 # program-specific install script used by HP pwplus--don't use.
11360 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11372 if test "${ac_cv_path_install+set}" = set; then
11373 INSTALL
=$ac_cv_path_install
11375 # As a last resort, use the slow shell script. We don't cache a
11376 # path for INSTALL within a source directory, because that will
11377 # break other packages using the cache if that directory is
11378 # removed, or if the path is relative.
11379 INSTALL
=$ac_install_sh
11382 echo "$as_me:$LINENO: result: $INSTALL" >&5
11383 echo "${ECHO_T}$INSTALL" >&6
11385 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11386 # It thinks the first close brace ends the variable substitution.
11387 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11389 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11391 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11397 ?
:* ) # Drive letter, considered as absolute.
11400 INSTALL
=`pwd`/${INSTALL} ;;
11405 INSTALL_DIR
="mkdir"
11408 *) INSTALL_DIR
="$INSTALL -d"
11415 powerpc
-*-darwin* )
11416 INSTALL_PROGRAM
="cp -fp"
11417 INSTALL_DATA
="cp -fp"
11423 # Extract the first word of "strip", so it can be a program name with args.
11424 set dummy strip
; ac_word
=$2
11425 echo "$as_me:$LINENO: checking for $ac_word" >&5
11426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11427 if test "${ac_cv_prog_STRIP+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11430 if test -n "$STRIP"; then
11431 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11434 for as_dir
in $PATH
11437 test -z "$as_dir" && as_dir
=.
11438 for ac_exec_ext
in '' $ac_executable_extensions; do
11439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11440 ac_cv_prog_STRIP
="strip"
11441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11447 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11450 STRIP
=$ac_cv_prog_STRIP
11451 if test -n "$STRIP"; then
11452 echo "$as_me:$LINENO: result: $STRIP" >&5
11453 echo "${ECHO_T}$STRIP" >&6
11455 echo "$as_me:$LINENO: result: no" >&5
11456 echo "${ECHO_T}no" >&6
11460 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11461 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11462 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11463 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11467 egrep -s GNU
> /dev
/null
); then
11468 wx_cv_prog_makeisgnu
="yes"
11470 wx_cv_prog_makeisgnu
="no"
11474 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11475 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11477 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11485 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11486 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11487 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11488 if test "${wx_cv_prog_makevpath+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11492 cat - << EOF > confMake
11498 if test ! -d sub
; then
11501 echo dummy
> sub
/file
11502 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11504 rm -f sub
/file check final_file confMake
11506 if test "$RESULT" = 0; then
11507 wx_cv_prog_makevpath
="yes"
11509 wx_cv_prog_makevpath
="no"
11513 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11514 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11516 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11517 { { echo "$as_me:$LINENO: error:
11518 You need a make-utility that is able to use the variable
11520 If your version of make does not support VPATH correctly,
11521 please install GNU-make (possibly as gmake), and start
11522 configure with the following command:
11523 export MAKE=gmake; ./configure for sh-type shells
11524 setenv MAKE gmake; ./configure for csh-type shells
11525 Also please do remember to use gmake in this case every time
11526 you are trying to compile.
11528 echo "$as_me: error:
11529 You need a make-utility that is able to use the variable
11531 If your version of make does not support VPATH correctly,
11532 please install GNU-make (possibly as gmake), and start
11533 configure with the following command:
11534 export MAKE=gmake; ./configure for sh-type shells
11535 setenv MAKE gmake; ./configure for csh-type shells
11536 Also please do remember to use gmake in this case every time
11537 you are trying to compile.
11539 { (exit 1); exit 1; }; }
11541 for ac_prog
in 'bison -y' byacc
11543 # Extract the first word of "$ac_prog", so it can be a program name with args.
11544 set dummy
$ac_prog; ac_word
=$2
11545 echo "$as_me:$LINENO: checking for $ac_word" >&5
11546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11547 if test "${ac_cv_prog_YACC+set}" = set; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11550 if test -n "$YACC"; then
11551 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11554 for as_dir
in $PATH
11557 test -z "$as_dir" && as_dir
=.
11558 for ac_exec_ext
in '' $ac_executable_extensions; do
11559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11560 ac_cv_prog_YACC
="$ac_prog"
11561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11569 YACC
=$ac_cv_prog_YACC
11570 if test -n "$YACC"; then
11571 echo "$as_me:$LINENO: result: $YACC" >&5
11572 echo "${ECHO_T}$YACC" >&6
11574 echo "$as_me:$LINENO: result: no" >&5
11575 echo "${ECHO_T}no" >&6
11578 test -n "$YACC" && break
11580 test -n "$YACC" || YACC
="yacc"
11583 for ac_prog
in flex
lex
11585 # Extract the first word of "$ac_prog", so it can be a program name with args.
11586 set dummy
$ac_prog; ac_word
=$2
11587 echo "$as_me:$LINENO: checking for $ac_word" >&5
11588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11589 if test "${ac_cv_prog_LEX+set}" = set; then
11590 echo $ECHO_N "(cached) $ECHO_C" >&6
11592 if test -n "$LEX"; then
11593 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11596 for as_dir
in $PATH
11599 test -z "$as_dir" && as_dir
=.
11600 for ac_exec_ext
in '' $ac_executable_extensions; do
11601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11602 ac_cv_prog_LEX
="$ac_prog"
11603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11611 LEX
=$ac_cv_prog_LEX
11612 if test -n "$LEX"; then
11613 echo "$as_me:$LINENO: result: $LEX" >&5
11614 echo "${ECHO_T}$LEX" >&6
11616 echo "$as_me:$LINENO: result: no" >&5
11617 echo "${ECHO_T}no" >&6
11620 test -n "$LEX" && break
11622 test -n "$LEX" || LEX
=":"
11624 if test -z "$LEXLIB"
11626 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11627 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11628 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11631 ac_check_lib_save_LIBS
=$LIBS
11633 cat >conftest.
$ac_ext <<_ACEOF
11634 #line $LINENO "configure"
11637 cat confdefs.h
>>conftest.
$ac_ext
11638 cat >>conftest.
$ac_ext <<_ACEOF
11639 /* end confdefs.h. */
11641 /* Override any gcc2 internal prototype to avoid an error. */
11645 /* We use char because int might match the return type of a gcc2
11646 builtin and then its argument prototype would still apply. */
11656 rm -f conftest.
$ac_objext conftest
$ac_exeext
11657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11658 (eval $ac_link) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } &&
11662 { ac_try
='test -s conftest$ac_exeext'
11663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11664 (eval $ac_try) 2>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; }; then
11668 ac_cv_lib_fl_yywrap
=yes
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.
$ac_ext >&5
11673 ac_cv_lib_fl_yywrap
=no
11675 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11676 LIBS
=$ac_check_lib_save_LIBS
11678 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11679 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11680 if test $ac_cv_lib_fl_yywrap = yes; then
11683 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11684 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11685 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11686 echo $ECHO_N "(cached) $ECHO_C" >&6
11688 ac_check_lib_save_LIBS
=$LIBS
11690 cat >conftest.
$ac_ext <<_ACEOF
11691 #line $LINENO "configure"
11694 cat confdefs.h
>>conftest.
$ac_ext
11695 cat >>conftest.
$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11698 /* Override any gcc2 internal prototype to avoid an error. */
11702 /* We use char because int might match the return type of a gcc2
11703 builtin and then its argument prototype would still apply. */
11713 rm -f conftest.
$ac_objext conftest
$ac_exeext
11714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11715 (eval $ac_link) 2>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); } &&
11719 { ac_try
='test -s conftest$ac_exeext'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; }; then
11725 ac_cv_lib_l_yywrap
=yes
11727 echo "$as_me: failed program was:" >&5
11728 sed 's/^/| /' conftest.
$ac_ext >&5
11730 ac_cv_lib_l_yywrap
=no
11732 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11733 LIBS
=$ac_check_lib_save_LIBS
11735 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11736 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11737 if test $ac_cv_lib_l_yywrap = yes; then
11745 if test "x$LEX" != "x:"; then
11746 echo "$as_me:$LINENO: checking lex output file root" >&5
11747 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11748 if test "${ac_cv_prog_lex_root+set}" = set; then
11749 echo $ECHO_N "(cached) $ECHO_C" >&6
11751 # The minimal lex program is just a single line: %%. But some broken lexes
11752 # (Solaris, I think it was) want two %% lines, so accommodate them.
11753 cat >conftest.l
<<_ACEOF
11757 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11758 (eval $LEX conftest.l
) 2>&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }
11762 if test -f lex.yy.c
; then
11763 ac_cv_prog_lex_root
=lex.yy
11764 elif test -f lexyy.c
; then
11765 ac_cv_prog_lex_root
=lexyy
11767 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11768 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11769 { (exit 1); exit 1; }; }
11772 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11773 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11775 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11777 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11778 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11779 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 # POSIX says lex can declare yytext either as a pointer or an array; the
11783 # default is implementation-dependent. Figure out which it is, since
11784 # not all implementations provide the %pointer and %array declarations.
11785 ac_cv_prog_lex_yytext_pointer
=no
11786 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11788 LIBS
="$LIBS $LEXLIB"
11789 cat >conftest.
$ac_ext <<_ACEOF
11790 `cat $LEX_OUTPUT_ROOT.c`
11792 rm -f conftest.
$ac_objext conftest
$ac_exeext
11793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11794 (eval $ac_link) 2>&5
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); } &&
11798 { ac_try
='test -s conftest$ac_exeext'
11799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11800 (eval $ac_try) 2>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); }; }; then
11804 ac_cv_prog_lex_yytext_pointer
=yes
11806 echo "$as_me: failed program was:" >&5
11807 sed 's/^/| /' conftest.
$ac_ext >&5
11810 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11812 rm -f "${LEX_OUTPUT_ROOT}.c"
11815 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11816 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11817 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11819 cat >>confdefs.h
<<\_ACEOF
11820 #define YYTEXT_POINTER 1
11827 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11828 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11830 if test "$LN_S" = "ln -s"; then
11831 echo "$as_me:$LINENO: result: yes" >&5
11832 echo "${ECHO_T}yes" >&6
11834 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11835 echo "${ECHO_T}no, using $LN_S" >&6
11840 *-pc-os2_emx | *-pc-os2-emx )
11841 LIBS
="$LIBS -lstdcpp"
11842 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11843 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11844 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11845 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11848 ac_check_lib_save_LIBS
=$LIBS
11849 LIBS
="-lcExt $LIBS"
11850 cat >conftest.
$ac_ext <<_ACEOF
11851 #line $LINENO "configure"
11854 cat confdefs.h
>>conftest.
$ac_ext
11855 cat >>conftest.
$ac_ext <<_ACEOF
11856 /* end confdefs.h. */
11858 /* Override any gcc2 internal prototype to avoid an error. */
11862 /* We use char because int might match the return type of a gcc2
11863 builtin and then its argument prototype would still apply. */
11873 rm -f conftest.
$ac_objext conftest
$ac_exeext
11874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11875 (eval $ac_link) 2>&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } &&
11879 { ac_try
='test -s conftest$ac_exeext'
11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11881 (eval $ac_try) 2>&5
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); }; }; then
11885 ac_cv_lib_cExt_drand48
=yes
11887 echo "$as_me: failed program was:" >&5
11888 sed 's/^/| /' conftest.
$ac_ext >&5
11890 ac_cv_lib_cExt_drand48
=no
11892 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11893 LIBS
=$ac_check_lib_save_LIBS
11895 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11896 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11897 if test $ac_cv_lib_cExt_drand48 = yes; then
11898 LIBS
="$LIBS -lcExt"
11902 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11908 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11909 echo "$as_me:$LINENO: checking for strings.h" >&5
11910 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11911 if test "${ac_cv_header_strings_h+set}" = set; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 ac_cv_header_strings_h
=no
11916 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11917 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11918 if test "$ac_cv_header_strings_h" = "no"; then
11919 echo "$as_me:$LINENO: result: forced no into cache" >&5
11920 echo "${ECHO_T}forced no into cache" >&6
11922 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11923 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11926 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11927 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11928 if test "${ac_cv_header_stdc+set}" = set; then
11929 echo $ECHO_N "(cached) $ECHO_C" >&6
11931 cat >conftest.
$ac_ext <<_ACEOF
11932 #line $LINENO "configure"
11935 cat confdefs.h
>>conftest.
$ac_ext
11936 cat >>conftest.
$ac_ext <<_ACEOF
11937 /* end confdefs.h. */
11938 #include <stdlib.h>
11939 #include <stdarg.h>
11940 #include <string.h>
11951 rm -f conftest.
$ac_objext
11952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11953 (eval $ac_compile) 2>&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); } &&
11957 { ac_try
='test -s conftest.$ac_objext'
11958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11959 (eval $ac_try) 2>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; }; then
11963 ac_cv_header_stdc
=yes
11965 echo "$as_me: failed program was:" >&5
11966 sed 's/^/| /' conftest.
$ac_ext >&5
11968 ac_cv_header_stdc
=no
11970 rm -f conftest.
$ac_objext conftest.
$ac_ext
11972 if test $ac_cv_header_stdc = yes; then
11973 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11974 cat >conftest.
$ac_ext <<_ACEOF
11975 #line $LINENO "configure"
11978 cat confdefs.h
>>conftest.
$ac_ext
11979 cat >>conftest.
$ac_ext <<_ACEOF
11980 /* end confdefs.h. */
11981 #include <string.h>
11984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11985 $EGREP "memchr" >/dev
/null
2>&1; then
11988 ac_cv_header_stdc
=no
11994 if test $ac_cv_header_stdc = yes; then
11995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11996 cat >conftest.
$ac_ext <<_ACEOF
11997 #line $LINENO "configure"
12000 cat confdefs.h
>>conftest.
$ac_ext
12001 cat >>conftest.
$ac_ext <<_ACEOF
12002 /* end confdefs.h. */
12003 #include <stdlib.h>
12006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12007 $EGREP "free" >/dev
/null
2>&1; then
12010 ac_cv_header_stdc
=no
12016 if test $ac_cv_header_stdc = yes; then
12017 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12018 if test "$cross_compiling" = yes; then
12021 cat >conftest.
$ac_ext <<_ACEOF
12022 #line $LINENO "configure"
12025 cat confdefs.h
>>conftest.
$ac_ext
12026 cat >>conftest.
$ac_ext <<_ACEOF
12027 /* end confdefs.h. */
12029 #if ((' ' & 0x0FF) == 0x020)
12030 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12031 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12033 # define ISLOWER(c) \
12034 (('a' <= (c) && (c) <= 'i') \
12035 || ('j' <= (c) && (c) <= 'r') \
12036 || ('s' <= (c) && (c) <= 'z'))
12037 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12040 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12045 for (i = 0; i < 256; i++)
12046 if (XOR (islower (i), ISLOWER (i))
12047 || toupper (i) != TOUPPER (i))
12052 rm -f conftest
$ac_exeext
12053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12054 (eval $ac_link) 2>&5
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12059 (eval $ac_try) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); }; }; then
12065 echo "$as_me: program exited with status $ac_status" >&5
12066 echo "$as_me: failed program was:" >&5
12067 sed 's/^/| /' conftest.
$ac_ext >&5
12069 ( exit $ac_status )
12070 ac_cv_header_stdc
=no
12072 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12076 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12077 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12078 if test $ac_cv_header_stdc = yes; then
12080 cat >>confdefs.h
<<\_ACEOF
12081 #define STDC_HEADERS 1
12086 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12096 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12097 inttypes.h stdint.h unistd.h
12099 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12100 echo "$as_me:$LINENO: checking for $ac_header" >&5
12101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 cat >conftest.
$ac_ext <<_ACEOF
12106 #line $LINENO "configure"
12109 cat confdefs.h
>>conftest.
$ac_ext
12110 cat >>conftest.
$ac_ext <<_ACEOF
12111 /* end confdefs.h. */
12112 $ac_includes_default
12114 #include <$ac_header>
12116 rm -f conftest.
$ac_objext
12117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118 (eval $ac_compile) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); } &&
12122 { ac_try
='test -s conftest.$ac_objext'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; }; then
12128 eval "$as_ac_Header=yes"
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.
$ac_ext >&5
12133 eval "$as_ac_Header=no"
12135 rm -f conftest.
$ac_objext conftest.
$ac_ext
12137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12140 cat >>confdefs.h
<<_ACEOF
12141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12150 for ac_header
in strings.h
12152 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12154 echo "$as_me:$LINENO: checking for $ac_header" >&5
12155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12157 echo $ECHO_N "(cached) $ECHO_C" >&6
12159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12162 # Is the header compilable?
12163 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12165 cat >conftest.
$ac_ext <<_ACEOF
12166 #line $LINENO "configure"
12169 cat confdefs.h
>>conftest.
$ac_ext
12170 cat >>conftest.
$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12172 $ac_includes_default
12173 #include <$ac_header>
12175 rm -f conftest.
$ac_objext
12176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12177 (eval $ac_compile) 2>&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); } &&
12181 { ac_try
='test -s conftest.$ac_objext'
12182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12183 (eval $ac_try) 2>&5
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); }; }; then
12187 ac_header_compiler
=yes
12189 echo "$as_me: failed program was:" >&5
12190 sed 's/^/| /' conftest.
$ac_ext >&5
12192 ac_header_compiler
=no
12194 rm -f conftest.
$ac_objext conftest.
$ac_ext
12195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12196 echo "${ECHO_T}$ac_header_compiler" >&6
12198 # Is the header present?
12199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12201 cat >conftest.
$ac_ext <<_ACEOF
12202 #line $LINENO "configure"
12205 cat confdefs.h
>>conftest.
$ac_ext
12206 cat >>conftest.
$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12208 #include <$ac_header>
12210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12213 grep -v '^ *+' conftest.er1
>conftest.err
12215 cat conftest.err
>&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); } >/dev
/null
; then
12218 if test -s conftest.err
; then
12219 ac_cpp_err
=$ac_c_preproc_warn_flag
12226 if test -z "$ac_cpp_err"; then
12227 ac_header_preproc
=yes
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.
$ac_ext >&5
12232 ac_header_preproc
=no
12234 rm -f conftest.err conftest.
$ac_ext
12235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12236 echo "${ECHO_T}$ac_header_preproc" >&6
12238 # So? What about this header?
12239 case $ac_header_compiler:$ac_header_preproc in
12241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12247 ## ------------------------------------ ##
12248 ## Report this to bug-autoconf@gnu.org. ##
12249 ## ------------------------------------ ##
12252 sed "s/^/$as_me: WARNING: /" >&2
12255 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12257 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12258 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12260 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12263 ## ------------------------------------ ##
12264 ## Report this to bug-autoconf@gnu.org. ##
12265 ## ------------------------------------ ##
12268 sed "s/^/$as_me: WARNING: /" >&2
12271 echo "$as_me:$LINENO: checking for $ac_header" >&5
12272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12274 echo $ECHO_N "(cached) $ECHO_C" >&6
12276 eval "$as_ac_Header=$ac_header_preproc"
12278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12283 cat >>confdefs.h
<<_ACEOF
12284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12293 for ac_header
in stdlib.h
12295 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12297 echo "$as_me:$LINENO: checking for $ac_header" >&5
12298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12300 echo $ECHO_N "(cached) $ECHO_C" >&6
12302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12305 # Is the header compilable?
12306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12308 cat >conftest.
$ac_ext <<_ACEOF
12309 #line $LINENO "configure"
12312 cat confdefs.h
>>conftest.
$ac_ext
12313 cat >>conftest.
$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12315 $ac_includes_default
12316 #include <$ac_header>
12318 rm -f conftest.
$ac_objext
12319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12320 (eval $ac_compile) 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } &&
12324 { ac_try
='test -s conftest.$ac_objext'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; }; then
12330 ac_header_compiler
=yes
12332 echo "$as_me: failed program was:" >&5
12333 sed 's/^/| /' conftest.
$ac_ext >&5
12335 ac_header_compiler
=no
12337 rm -f conftest.
$ac_objext conftest.
$ac_ext
12338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12339 echo "${ECHO_T}$ac_header_compiler" >&6
12341 # Is the header present?
12342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12344 cat >conftest.
$ac_ext <<_ACEOF
12345 #line $LINENO "configure"
12348 cat confdefs.h
>>conftest.
$ac_ext
12349 cat >>conftest.
$ac_ext <<_ACEOF
12350 /* end confdefs.h. */
12351 #include <$ac_header>
12353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12356 grep -v '^ *+' conftest.er1
>conftest.err
12358 cat conftest.err
>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } >/dev
/null
; then
12361 if test -s conftest.err
; then
12362 ac_cpp_err
=$ac_c_preproc_warn_flag
12369 if test -z "$ac_cpp_err"; then
12370 ac_header_preproc
=yes
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.
$ac_ext >&5
12375 ac_header_preproc
=no
12377 rm -f conftest.err conftest.
$ac_ext
12378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12379 echo "${ECHO_T}$ac_header_preproc" >&6
12381 # So? What about this header?
12382 case $ac_header_compiler:$ac_header_preproc in
12384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12390 ## ------------------------------------ ##
12391 ## Report this to bug-autoconf@gnu.org. ##
12392 ## ------------------------------------ ##
12395 sed "s/^/$as_me: WARNING: /" >&2
12398 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12399 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12400 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12401 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12406 ## ------------------------------------ ##
12407 ## Report this to bug-autoconf@gnu.org. ##
12408 ## ------------------------------------ ##
12411 sed "s/^/$as_me: WARNING: /" >&2
12414 echo "$as_me:$LINENO: checking for $ac_header" >&5
12415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12419 eval "$as_ac_Header=$ac_header_preproc"
12421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12426 cat >>confdefs.h
<<_ACEOF
12427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12435 for ac_header
in malloc.h
12437 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12439 echo "$as_me:$LINENO: checking for $ac_header" >&5
12440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12447 # Is the header compilable?
12448 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12449 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12450 cat >conftest.
$ac_ext <<_ACEOF
12451 #line $LINENO "configure"
12454 cat confdefs.h
>>conftest.
$ac_ext
12455 cat >>conftest.
$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12457 $ac_includes_default
12458 #include <$ac_header>
12460 rm -f conftest.
$ac_objext
12461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12462 (eval $ac_compile) 2>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); } &&
12466 { ac_try
='test -s conftest.$ac_objext'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; }; then
12472 ac_header_compiler
=yes
12474 echo "$as_me: failed program was:" >&5
12475 sed 's/^/| /' conftest.
$ac_ext >&5
12477 ac_header_compiler
=no
12479 rm -f conftest.
$ac_objext conftest.
$ac_ext
12480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12481 echo "${ECHO_T}$ac_header_compiler" >&6
12483 # Is the header present?
12484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12486 cat >conftest.
$ac_ext <<_ACEOF
12487 #line $LINENO "configure"
12490 cat confdefs.h
>>conftest.
$ac_ext
12491 cat >>conftest.
$ac_ext <<_ACEOF
12492 /* end confdefs.h. */
12493 #include <$ac_header>
12495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12498 grep -v '^ *+' conftest.er1
>conftest.err
12500 cat conftest.err
>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } >/dev
/null
; then
12503 if test -s conftest.err
; then
12504 ac_cpp_err
=$ac_c_preproc_warn_flag
12511 if test -z "$ac_cpp_err"; then
12512 ac_header_preproc
=yes
12514 echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.
$ac_ext >&5
12517 ac_header_preproc
=no
12519 rm -f conftest.err conftest.
$ac_ext
12520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12521 echo "${ECHO_T}$ac_header_preproc" >&6
12523 # So? What about this header?
12524 case $ac_header_compiler:$ac_header_preproc in
12526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12532 ## ------------------------------------ ##
12533 ## Report this to bug-autoconf@gnu.org. ##
12534 ## ------------------------------------ ##
12537 sed "s/^/$as_me: WARNING: /" >&2
12540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12548 ## ------------------------------------ ##
12549 ## Report this to bug-autoconf@gnu.org. ##
12550 ## ------------------------------------ ##
12553 sed "s/^/$as_me: WARNING: /" >&2
12556 echo "$as_me:$LINENO: checking for $ac_header" >&5
12557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 eval "$as_ac_Header=$ac_header_preproc"
12563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12568 cat >>confdefs.h
<<_ACEOF
12569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12577 for ac_header
in unistd.h
12579 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12581 echo "$as_me:$LINENO: checking for $ac_header" >&5
12582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12584 echo $ECHO_N "(cached) $ECHO_C" >&6
12586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12589 # Is the header compilable?
12590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12592 cat >conftest.
$ac_ext <<_ACEOF
12593 #line $LINENO "configure"
12596 cat confdefs.h
>>conftest.
$ac_ext
12597 cat >>conftest.
$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12599 $ac_includes_default
12600 #include <$ac_header>
12602 rm -f conftest.
$ac_objext
12603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604 (eval $ac_compile) 2>&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); } &&
12608 { ac_try
='test -s conftest.$ac_objext'
12609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12610 (eval $ac_try) 2>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); }; }; then
12614 ac_header_compiler
=yes
12616 echo "$as_me: failed program was:" >&5
12617 sed 's/^/| /' conftest.
$ac_ext >&5
12619 ac_header_compiler
=no
12621 rm -f conftest.
$ac_objext conftest.
$ac_ext
12622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12623 echo "${ECHO_T}$ac_header_compiler" >&6
12625 # Is the header present?
12626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12628 cat >conftest.
$ac_ext <<_ACEOF
12629 #line $LINENO "configure"
12632 cat confdefs.h
>>conftest.
$ac_ext
12633 cat >>conftest.
$ac_ext <<_ACEOF
12634 /* end confdefs.h. */
12635 #include <$ac_header>
12637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12638 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12640 grep -v '^ *+' conftest.er1
>conftest.err
12642 cat conftest.err
>&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); } >/dev
/null
; then
12645 if test -s conftest.err
; then
12646 ac_cpp_err
=$ac_c_preproc_warn_flag
12653 if test -z "$ac_cpp_err"; then
12654 ac_header_preproc
=yes
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.
$ac_ext >&5
12659 ac_header_preproc
=no
12661 rm -f conftest.err conftest.
$ac_ext
12662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12663 echo "${ECHO_T}$ac_header_preproc" >&6
12665 # So? What about this header?
12666 case $ac_header_compiler:$ac_header_preproc in
12668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12674 ## ------------------------------------ ##
12675 ## Report this to bug-autoconf@gnu.org. ##
12676 ## ------------------------------------ ##
12679 sed "s/^/$as_me: WARNING: /" >&2
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12690 ## ------------------------------------ ##
12691 ## Report this to bug-autoconf@gnu.org. ##
12692 ## ------------------------------------ ##
12695 sed "s/^/$as_me: WARNING: /" >&2
12698 echo "$as_me:$LINENO: checking for $ac_header" >&5
12699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12701 echo $ECHO_N "(cached) $ECHO_C" >&6
12703 eval "$as_ac_Header=$ac_header_preproc"
12705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12710 cat >>confdefs.h
<<_ACEOF
12711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12719 for ac_header
in wchar.h
12721 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12723 echo "$as_me:$LINENO: checking for $ac_header" >&5
12724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12731 # Is the header compilable?
12732 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12734 cat >conftest.
$ac_ext <<_ACEOF
12735 #line $LINENO "configure"
12738 cat confdefs.h
>>conftest.
$ac_ext
12739 cat >>conftest.
$ac_ext <<_ACEOF
12740 /* end confdefs.h. */
12741 $ac_includes_default
12742 #include <$ac_header>
12744 rm -f conftest.
$ac_objext
12745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12746 (eval $ac_compile) 2>&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); } &&
12750 { ac_try
='test -s conftest.$ac_objext'
12751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12752 (eval $ac_try) 2>&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); }; }; then
12756 ac_header_compiler
=yes
12758 echo "$as_me: failed program was:" >&5
12759 sed 's/^/| /' conftest.
$ac_ext >&5
12761 ac_header_compiler
=no
12763 rm -f conftest.
$ac_objext conftest.
$ac_ext
12764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12765 echo "${ECHO_T}$ac_header_compiler" >&6
12767 # Is the header present?
12768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12770 cat >conftest.
$ac_ext <<_ACEOF
12771 #line $LINENO "configure"
12774 cat confdefs.h
>>conftest.
$ac_ext
12775 cat >>conftest.
$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12777 #include <$ac_header>
12779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12782 grep -v '^ *+' conftest.er1
>conftest.err
12784 cat conftest.err
>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } >/dev
/null
; then
12787 if test -s conftest.err
; then
12788 ac_cpp_err
=$ac_c_preproc_warn_flag
12795 if test -z "$ac_cpp_err"; then
12796 ac_header_preproc
=yes
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.
$ac_ext >&5
12801 ac_header_preproc
=no
12803 rm -f conftest.err conftest.
$ac_ext
12804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12805 echo "${ECHO_T}$ac_header_preproc" >&6
12807 # So? What about this header?
12808 case $ac_header_compiler:$ac_header_preproc in
12810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12813 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12816 ## ------------------------------------ ##
12817 ## Report this to bug-autoconf@gnu.org. ##
12818 ## ------------------------------------ ##
12821 sed "s/^/$as_me: WARNING: /" >&2
12824 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12825 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12826 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12827 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12832 ## ------------------------------------ ##
12833 ## Report this to bug-autoconf@gnu.org. ##
12834 ## ------------------------------------ ##
12837 sed "s/^/$as_me: WARNING: /" >&2
12840 echo "$as_me:$LINENO: checking for $ac_header" >&5
12841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 eval "$as_ac_Header=$ac_header_preproc"
12847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12852 cat >>confdefs.h
<<_ACEOF
12853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12861 if test "$ac_cv_header_wchar_h" != "yes"; then
12863 for ac_header
in wcstr.h
12865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12867 echo "$as_me:$LINENO: checking for $ac_header" >&5
12868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12875 # Is the header compilable?
12876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12878 cat >conftest.
$ac_ext <<_ACEOF
12879 #line $LINENO "configure"
12882 cat confdefs.h
>>conftest.
$ac_ext
12883 cat >>conftest.
$ac_ext <<_ACEOF
12884 /* end confdefs.h. */
12885 $ac_includes_default
12886 #include <$ac_header>
12888 rm -f conftest.
$ac_objext
12889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12890 (eval $ac_compile) 2>&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } &&
12894 { ac_try
='test -s conftest.$ac_objext'
12895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12896 (eval $ac_try) 2>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); }; }; then
12900 ac_header_compiler
=yes
12902 echo "$as_me: failed program was:" >&5
12903 sed 's/^/| /' conftest.
$ac_ext >&5
12905 ac_header_compiler
=no
12907 rm -f conftest.
$ac_objext conftest.
$ac_ext
12908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12909 echo "${ECHO_T}$ac_header_compiler" >&6
12911 # Is the header present?
12912 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12914 cat >conftest.
$ac_ext <<_ACEOF
12915 #line $LINENO "configure"
12918 cat confdefs.h
>>conftest.
$ac_ext
12919 cat >>conftest.
$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 #include <$ac_header>
12923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12926 grep -v '^ *+' conftest.er1
>conftest.err
12928 cat conftest.err
>&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); } >/dev
/null
; then
12931 if test -s conftest.err
; then
12932 ac_cpp_err
=$ac_c_preproc_warn_flag
12939 if test -z "$ac_cpp_err"; then
12940 ac_header_preproc
=yes
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.
$ac_ext >&5
12945 ac_header_preproc
=no
12947 rm -f conftest.err conftest.
$ac_ext
12948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12949 echo "${ECHO_T}$ac_header_preproc" >&6
12951 # So? What about this header?
12952 case $ac_header_compiler:$ac_header_preproc in
12954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12955 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12960 ## ------------------------------------ ##
12961 ## Report this to bug-autoconf@gnu.org. ##
12962 ## ------------------------------------ ##
12965 sed "s/^/$as_me: WARNING: /" >&2
12968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12973 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12976 ## ------------------------------------ ##
12977 ## Report this to bug-autoconf@gnu.org. ##
12978 ## ------------------------------------ ##
12981 sed "s/^/$as_me: WARNING: /" >&2
12984 echo "$as_me:$LINENO: checking for $ac_header" >&5
12985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12987 echo $ECHO_N "(cached) $ECHO_C" >&6
12989 eval "$as_ac_Header=$ac_header_preproc"
12991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12996 cat >>confdefs.h
<<_ACEOF
12997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13007 for ac_header
in fnmatch.h
13009 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13011 echo "$as_me:$LINENO: checking for $ac_header" >&5
13012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13014 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13019 # Is the header compilable?
13020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13022 cat >conftest.
$ac_ext <<_ACEOF
13023 #line $LINENO "configure"
13026 cat confdefs.h
>>conftest.
$ac_ext
13027 cat >>conftest.
$ac_ext <<_ACEOF
13028 /* end confdefs.h. */
13029 $ac_includes_default
13030 #include <$ac_header>
13032 rm -f conftest.
$ac_objext
13033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13034 (eval $ac_compile) 2>&5
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); } &&
13038 { ac_try
='test -s conftest.$ac_objext'
13039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13040 (eval $ac_try) 2>&5
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); }; }; then
13044 ac_header_compiler
=yes
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.
$ac_ext >&5
13049 ac_header_compiler
=no
13051 rm -f conftest.
$ac_objext conftest.
$ac_ext
13052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13053 echo "${ECHO_T}$ac_header_compiler" >&6
13055 # Is the header present?
13056 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13057 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13058 cat >conftest.
$ac_ext <<_ACEOF
13059 #line $LINENO "configure"
13062 cat confdefs.h
>>conftest.
$ac_ext
13063 cat >>conftest.
$ac_ext <<_ACEOF
13064 /* end confdefs.h. */
13065 #include <$ac_header>
13067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13068 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13070 grep -v '^ *+' conftest.er1
>conftest.err
13072 cat conftest.err
>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); } >/dev
/null
; then
13075 if test -s conftest.err
; then
13076 ac_cpp_err
=$ac_c_preproc_warn_flag
13083 if test -z "$ac_cpp_err"; then
13084 ac_header_preproc
=yes
13086 echo "$as_me: failed program was:" >&5
13087 sed 's/^/| /' conftest.
$ac_ext >&5
13089 ac_header_preproc
=no
13091 rm -f conftest.err conftest.
$ac_ext
13092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13093 echo "${ECHO_T}$ac_header_preproc" >&6
13095 # So? What about this header?
13096 case $ac_header_compiler:$ac_header_preproc in
13098 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13099 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13104 ## ------------------------------------ ##
13105 ## Report this to bug-autoconf@gnu.org. ##
13106 ## ------------------------------------ ##
13109 sed "s/^/$as_me: WARNING: /" >&2
13112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13120 ## ------------------------------------ ##
13121 ## Report this to bug-autoconf@gnu.org. ##
13122 ## ------------------------------------ ##
13125 sed "s/^/$as_me: WARNING: /" >&2
13128 echo "$as_me:$LINENO: checking for $ac_header" >&5
13129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13131 echo $ECHO_N "(cached) $ECHO_C" >&6
13133 eval "$as_ac_Header=$ac_header_preproc"
13135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13140 cat >>confdefs.h
<<_ACEOF
13141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13149 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13151 for ac_func
in fnmatch
13153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13154 echo "$as_me:$LINENO: checking for $ac_func" >&5
13155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13156 if eval "test \"\${$as_ac_var+set}\" = set"; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13159 cat >conftest.
$ac_ext <<_ACEOF
13160 #line $LINENO "configure"
13163 cat confdefs.h
>>conftest.
$ac_ext
13164 cat >>conftest.
$ac_ext <<_ACEOF
13165 /* end confdefs.h. */
13166 /* System header to define __stub macros and hopefully few prototypes,
13167 which can conflict with char $ac_func (); below.
13168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13169 <limits.h> exists even on freestanding compilers. */
13171 # include <limits.h>
13173 # include <assert.h>
13175 /* Override any gcc2 internal prototype to avoid an error. */
13180 /* We use char because int might match the return type of a gcc2
13181 builtin and then its argument prototype would still apply. */
13183 /* The GNU C library defines this for functions which it implements
13184 to always fail with ENOSYS. Some functions are actually named
13185 something starting with __ and the normal name is an alias. */
13186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13189 char (*f) () = $ac_func;
13198 return f != $ac_func;
13203 rm -f conftest.
$ac_objext conftest
$ac_exeext
13204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13205 (eval $ac_link) 2>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); } &&
13209 { ac_try
='test -s conftest$ac_exeext'
13210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211 (eval $ac_try) 2>&5
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; }; then
13215 eval "$as_ac_var=yes"
13217 echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.
$ac_ext >&5
13220 eval "$as_ac_var=no"
13222 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13226 if test `eval echo '${'$as_ac_var'}'` = yes; then
13227 cat >>confdefs.h
<<_ACEOF
13228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13237 for ac_header
in langinfo.h
13239 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13241 echo "$as_me:$LINENO: checking for $ac_header" >&5
13242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13244 echo $ECHO_N "(cached) $ECHO_C" >&6
13246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13249 # Is the header compilable?
13250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13252 cat >conftest.
$ac_ext <<_ACEOF
13253 #line $LINENO "configure"
13256 cat confdefs.h
>>conftest.
$ac_ext
13257 cat >>conftest.
$ac_ext <<_ACEOF
13258 /* end confdefs.h. */
13259 $ac_includes_default
13260 #include <$ac_header>
13262 rm -f conftest.
$ac_objext
13263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13264 (eval $ac_compile) 2>&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); } &&
13268 { ac_try
='test -s conftest.$ac_objext'
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; }; then
13274 ac_header_compiler
=yes
13276 echo "$as_me: failed program was:" >&5
13277 sed 's/^/| /' conftest.
$ac_ext >&5
13279 ac_header_compiler
=no
13281 rm -f conftest.
$ac_objext conftest.
$ac_ext
13282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13283 echo "${ECHO_T}$ac_header_compiler" >&6
13285 # Is the header present?
13286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13288 cat >conftest.
$ac_ext <<_ACEOF
13289 #line $LINENO "configure"
13292 cat confdefs.h
>>conftest.
$ac_ext
13293 cat >>conftest.
$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295 #include <$ac_header>
13297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13298 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13300 grep -v '^ *+' conftest.er1
>conftest.err
13302 cat conftest.err
>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } >/dev
/null
; then
13305 if test -s conftest.err
; then
13306 ac_cpp_err
=$ac_c_preproc_warn_flag
13313 if test -z "$ac_cpp_err"; then
13314 ac_header_preproc
=yes
13316 echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.
$ac_ext >&5
13319 ac_header_preproc
=no
13321 rm -f conftest.err conftest.
$ac_ext
13322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13323 echo "${ECHO_T}$ac_header_preproc" >&6
13325 # So? What about this header?
13326 case $ac_header_compiler:$ac_header_preproc in
13328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13334 ## ------------------------------------ ##
13335 ## Report this to bug-autoconf@gnu.org. ##
13336 ## ------------------------------------ ##
13339 sed "s/^/$as_me: WARNING: /" >&2
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13350 ## ------------------------------------ ##
13351 ## Report this to bug-autoconf@gnu.org. ##
13352 ## ------------------------------------ ##
13355 sed "s/^/$as_me: WARNING: /" >&2
13358 echo "$as_me:$LINENO: checking for $ac_header" >&5
13359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 eval "$as_ac_Header=$ac_header_preproc"
13365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13370 cat >>confdefs.h
<<_ACEOF
13371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13380 *-pc-os2_emx | *-pc-os2-emx )
13381 if test $ac_cv_header_langinfo_h = "yes"; then
13382 LIBS
="$LIBS -lintl"
13387 if test "$wxUSE_GUI" = "yes"; then
13388 if test "$wxUSE_UNIX" = "yes"; then
13390 for ac_header
in X
11/XKBlib.h
13392 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13394 echo "$as_me:$LINENO: checking for $ac_header" >&5
13395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13397 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13402 # Is the header compilable?
13403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13405 cat >conftest.
$ac_ext <<_ACEOF
13406 #line $LINENO "configure"
13409 cat confdefs.h
>>conftest.
$ac_ext
13410 cat >>conftest.
$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412 $ac_includes_default
13413 #include <$ac_header>
13415 rm -f conftest.
$ac_objext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } &&
13421 { ac_try
='test -s conftest.$ac_objext'
13422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13423 (eval $ac_try) 2>&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); }; }; then
13427 ac_header_compiler
=yes
13429 echo "$as_me: failed program was:" >&5
13430 sed 's/^/| /' conftest.
$ac_ext >&5
13432 ac_header_compiler
=no
13434 rm -f conftest.
$ac_objext conftest.
$ac_ext
13435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13436 echo "${ECHO_T}$ac_header_compiler" >&6
13438 # Is the header present?
13439 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13441 cat >conftest.
$ac_ext <<_ACEOF
13442 #line $LINENO "configure"
13445 cat confdefs.h
>>conftest.
$ac_ext
13446 cat >>conftest.
$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13448 #include <$ac_header>
13450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13453 grep -v '^ *+' conftest.er1
>conftest.err
13455 cat conftest.err
>&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); } >/dev
/null
; then
13458 if test -s conftest.err
; then
13459 ac_cpp_err
=$ac_c_preproc_warn_flag
13466 if test -z "$ac_cpp_err"; then
13467 ac_header_preproc
=yes
13469 echo "$as_me: failed program was:" >&5
13470 sed 's/^/| /' conftest.
$ac_ext >&5
13472 ac_header_preproc
=no
13474 rm -f conftest.err conftest.
$ac_ext
13475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13476 echo "${ECHO_T}$ac_header_preproc" >&6
13478 # So? What about this header?
13479 case $ac_header_compiler:$ac_header_preproc in
13481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13487 ## ------------------------------------ ##
13488 ## Report this to bug-autoconf@gnu.org. ##
13489 ## ------------------------------------ ##
13492 sed "s/^/$as_me: WARNING: /" >&2
13495 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13496 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13498 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13503 ## ------------------------------------ ##
13504 ## Report this to bug-autoconf@gnu.org. ##
13505 ## ------------------------------------ ##
13508 sed "s/^/$as_me: WARNING: /" >&2
13511 echo "$as_me:$LINENO: checking for $ac_header" >&5
13512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13516 eval "$as_ac_Header=$ac_header_preproc"
13518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13523 cat >>confdefs.h
<<_ACEOF
13524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13535 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13536 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13537 if test "${ac_cv_c_const+set}" = set; then
13538 echo $ECHO_N "(cached) $ECHO_C" >&6
13540 cat >conftest.
$ac_ext <<_ACEOF
13541 #line $LINENO "configure"
13544 cat confdefs.h
>>conftest.
$ac_ext
13545 cat >>conftest.
$ac_ext <<_ACEOF
13546 /* end confdefs.h. */
13551 /* FIXME: Include the comments suggested by Paul. */
13552 #ifndef __cplusplus
13553 /* Ultrix mips cc rejects this. */
13554 typedef int charset[2];
13556 /* SunOS 4.1.1 cc rejects this. */
13557 char const *const *ccp;
13559 /* NEC SVR4.0.2 mips cc rejects this. */
13560 struct point {int x, y;};
13561 static struct point const zero = {0,0};
13562 /* AIX XL C 1.02.0.0 rejects this.
13563 It does not let you subtract one const X* pointer from another in
13564 an arm of an if-expression whose if-part is not a constant
13566 const char *g = "string";
13567 ccp = &g + (g ? g-g : 0);
13568 /* HPUX 7.0 cc rejects these. */
13571 ccp = (char const *const *) p;
13572 { /* SCO 3.2v4 cc rejects this. */
13574 char const *s = 0 ? (char *) 0 : (char const *) 0;
13578 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13579 int x[] = {25, 17};
13580 const int *foo = &x[0];
13583 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13584 typedef const int *iptr;
13588 { /* AIX XL C 1.02.0.0 rejects this saying
13589 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13590 struct s { int j; const int *ap[3]; };
13591 struct s *b; b->j = 5;
13593 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13594 const int foo = 10;
13602 rm -f conftest.
$ac_objext
13603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13604 (eval $ac_compile) 2>&5
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); } &&
13608 { ac_try
='test -s conftest.$ac_objext'
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13610 (eval $ac_try) 2>&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; }; then
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.
$ac_ext >&5
13621 rm -f conftest.
$ac_objext conftest.
$ac_ext
13623 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13624 echo "${ECHO_T}$ac_cv_c_const" >&6
13625 if test $ac_cv_c_const = no
; then
13627 cat >>confdefs.h
<<\_ACEOF
13633 echo "$as_me:$LINENO: checking for inline" >&5
13634 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13635 if test "${ac_cv_c_inline+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13639 for ac_kw
in inline __inline__ __inline
; do
13640 cat >conftest.
$ac_ext <<_ACEOF
13641 #line $LINENO "configure"
13644 cat confdefs.h
>>conftest.
$ac_ext
13645 cat >>conftest.
$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 #ifndef __cplusplus
13649 static $ac_kw foo_t static_foo () {return 0; }
13650 $ac_kw foo_t foo () {return 0; }
13654 rm -f conftest.
$ac_objext
13655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13656 (eval $ac_compile) 2>&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); } &&
13660 { ac_try
='test -s conftest.$ac_objext'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 ac_cv_c_inline
=$ac_kw; break
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.
$ac_ext >&5
13672 rm -f conftest.
$ac_objext conftest.
$ac_ext
13676 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13677 echo "${ECHO_T}$ac_cv_c_inline" >&6
13678 case $ac_cv_c_inline in
13681 cat >>confdefs.h
<<\_ACEOF
13685 *) cat >>confdefs.h
<<_ACEOF
13686 #define inline $ac_cv_c_inline
13692 echo "$as_me:$LINENO: checking for char" >&5
13693 echo $ECHO_N "checking for char... $ECHO_C" >&6
13694 if test "${ac_cv_type_char+set}" = set; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13697 cat >conftest.
$ac_ext <<_ACEOF
13698 #line $LINENO "configure"
13701 cat confdefs.h
>>conftest.
$ac_ext
13702 cat >>conftest.
$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704 $ac_includes_default
13716 rm -f conftest.
$ac_objext
13717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13718 (eval $ac_compile) 2>&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try
='test -s conftest.$ac_objext'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; }; then
13728 ac_cv_type_char
=yes
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.
$ac_ext >&5
13735 rm -f conftest.
$ac_objext conftest.
$ac_ext
13737 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13738 echo "${ECHO_T}$ac_cv_type_char" >&6
13740 echo "$as_me:$LINENO: checking size of char" >&5
13741 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13742 if test "${ac_cv_sizeof_char+set}" = set; then
13743 echo $ECHO_N "(cached) $ECHO_C" >&6
13745 if test "$ac_cv_type_char" = yes; then
13746 # The cast to unsigned long works around a bug in the HP C Compiler
13747 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13748 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13749 # This bug is HP SR number 8606223364.
13750 if test "$cross_compiling" = yes; then
13751 # Depending upon the size, compute the lo and hi bounds.
13752 cat >conftest.
$ac_ext <<_ACEOF
13753 #line $LINENO "configure"
13756 cat confdefs.h
>>conftest.
$ac_ext
13757 cat >>conftest.
$ac_ext <<_ACEOF
13758 /* end confdefs.h. */
13759 $ac_includes_default
13763 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13770 rm -f conftest.
$ac_objext
13771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13772 (eval $ac_compile) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); } &&
13776 { ac_try
='test -s conftest.$ac_objext'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; }; then
13784 cat >conftest.
$ac_ext <<_ACEOF
13785 #line $LINENO "configure"
13788 cat confdefs.h
>>conftest.
$ac_ext
13789 cat >>conftest.
$ac_ext <<_ACEOF
13790 /* end confdefs.h. */
13791 $ac_includes_default
13795 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13802 rm -f conftest.
$ac_objext
13803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13804 (eval $ac_compile) 2>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } &&
13808 { ac_try
='test -s conftest.$ac_objext'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; }; then
13814 ac_hi
=$ac_mid; break
13816 echo "$as_me: failed program was:" >&5
13817 sed 's/^/| /' conftest.
$ac_ext >&5
13819 ac_lo
=`expr $ac_mid + 1`
13820 if test $ac_lo -le $ac_mid; then
13824 ac_mid
=`expr 2 '*' $ac_mid + 1`
13826 rm -f conftest.
$ac_objext conftest.
$ac_ext
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.
$ac_ext >&5
13832 cat >conftest.
$ac_ext <<_ACEOF
13833 #line $LINENO "configure"
13836 cat confdefs.h
>>conftest.
$ac_ext
13837 cat >>conftest.
$ac_ext <<_ACEOF
13838 /* end confdefs.h. */
13839 $ac_includes_default
13843 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13850 rm -f conftest.
$ac_objext
13851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13852 (eval $ac_compile) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); } &&
13856 { ac_try
='test -s conftest.$ac_objext'
13857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13858 (eval $ac_try) 2>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; }; then
13864 cat >conftest.
$ac_ext <<_ACEOF
13865 #line $LINENO "configure"
13868 cat confdefs.h
>>conftest.
$ac_ext
13869 cat >>conftest.
$ac_ext <<_ACEOF
13870 /* end confdefs.h. */
13871 $ac_includes_default
13875 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13882 rm -f conftest.
$ac_objext
13883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13884 (eval $ac_compile) 2>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } &&
13888 { ac_try
='test -s conftest.$ac_objext'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; }; then
13894 ac_lo
=$ac_mid; break
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.
$ac_ext >&5
13899 ac_hi
=`expr '(' $ac_mid ')' - 1`
13900 if test $ac_mid -le $ac_hi; then
13904 ac_mid
=`expr 2 '*' $ac_mid`
13906 rm -f conftest.
$ac_objext conftest.
$ac_ext
13909 echo "$as_me: failed program was:" >&5
13910 sed 's/^/| /' conftest.
$ac_ext >&5
13914 rm -f conftest.
$ac_objext conftest.
$ac_ext
13916 rm -f conftest.
$ac_objext conftest.
$ac_ext
13917 # Binary search between lo and hi bounds.
13918 while test "x$ac_lo" != "x$ac_hi"; do
13919 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13920 cat >conftest.
$ac_ext <<_ACEOF
13921 #line $LINENO "configure"
13924 cat confdefs.h
>>conftest.
$ac_ext
13925 cat >>conftest.
$ac_ext <<_ACEOF
13926 /* end confdefs.h. */
13927 $ac_includes_default
13931 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13938 rm -f conftest.
$ac_objext
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } &&
13944 { ac_try
='test -s conftest.$ac_objext'
13945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13946 (eval $ac_try) 2>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); }; }; then
13952 echo "$as_me: failed program was:" >&5
13953 sed 's/^/| /' conftest.
$ac_ext >&5
13955 ac_lo
=`expr '(' $ac_mid ')' + 1`
13957 rm -f conftest.
$ac_objext conftest.
$ac_ext
13960 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13961 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13962 See \`config.log' for more details." >&5
13963 echo "$as_me: error: cannot compute sizeof (char), 77
13964 See \`config.log' for more details." >&2;}
13965 { (exit 1); exit 1; }; } ;;
13968 if test "$cross_compiling" = yes; then
13969 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13970 See \`config.log' for more details." >&5
13971 echo "$as_me: error: cannot run test program while cross compiling
13972 See \`config.log' for more details." >&2;}
13973 { (exit 1); exit 1; }; }
13975 cat >conftest.
$ac_ext <<_ACEOF
13976 #line $LINENO "configure"
13979 cat confdefs.h
>>conftest.
$ac_ext
13980 cat >>conftest.
$ac_ext <<_ACEOF
13981 /* end confdefs.h. */
13982 $ac_includes_default
13983 long longval () { return (long) (sizeof (char)); }
13984 unsigned long ulongval () { return (long) (sizeof (char)); }
13986 #include <stdlib.h>
13991 FILE *f = fopen ("conftest.val", "w");
13994 if (((long) (sizeof (char))) < 0)
13996 long i = longval ();
13997 if (i != ((long) (sizeof (char))))
13999 fprintf (f, "%ld\n", i);
14003 unsigned long i = ulongval ();
14004 if (i != ((long) (sizeof (char))))
14006 fprintf (f, "%lu\n", i);
14008 exit (ferror (f) || fclose (f) != 0);
14014 rm -f conftest
$ac_exeext
14015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14016 (eval $ac_link) 2>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 ac_cv_sizeof_char
=`cat conftest.val`
14027 echo "$as_me: program exited with status $ac_status" >&5
14028 echo "$as_me: failed program was:" >&5
14029 sed 's/^/| /' conftest.
$ac_ext >&5
14031 ( exit $ac_status )
14032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14033 See \`config.log' for more details." >&5
14034 echo "$as_me: error: cannot compute sizeof (char), 77
14035 See \`config.log' for more details." >&2;}
14036 { (exit 1); exit 1; }; }
14038 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14043 ac_cv_sizeof_char
=0
14046 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14047 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14048 cat >>confdefs.h
<<_ACEOF
14049 #define SIZEOF_CHAR $ac_cv_sizeof_char
14053 echo "$as_me:$LINENO: checking for short" >&5
14054 echo $ECHO_N "checking for short... $ECHO_C" >&6
14055 if test "${ac_cv_type_short+set}" = set; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 cat >conftest.
$ac_ext <<_ACEOF
14059 #line $LINENO "configure"
14062 cat confdefs.h
>>conftest.
$ac_ext
14063 cat >>conftest.
$ac_ext <<_ACEOF
14064 /* end confdefs.h. */
14065 $ac_includes_default
14071 if (sizeof (short))
14077 rm -f conftest.
$ac_objext
14078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14079 (eval $ac_compile) 2>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } &&
14083 { ac_try
='test -s conftest.$ac_objext'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14089 ac_cv_type_short
=yes
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.
$ac_ext >&5
14094 ac_cv_type_short
=no
14096 rm -f conftest.
$ac_objext conftest.
$ac_ext
14098 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14099 echo "${ECHO_T}$ac_cv_type_short" >&6
14101 echo "$as_me:$LINENO: checking size of short" >&5
14102 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14103 if test "${ac_cv_sizeof_short+set}" = set; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14106 if test "$ac_cv_type_short" = yes; then
14107 # The cast to unsigned long works around a bug in the HP C Compiler
14108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14110 # This bug is HP SR number 8606223364.
14111 if test "$cross_compiling" = yes; then
14112 # Depending upon the size, compute the lo and hi bounds.
14113 cat >conftest.
$ac_ext <<_ACEOF
14114 #line $LINENO "configure"
14117 cat confdefs.h
>>conftest.
$ac_ext
14118 cat >>conftest.
$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14120 $ac_includes_default
14124 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14131 rm -f conftest.
$ac_objext
14132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14133 (eval $ac_compile) 2>&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); } &&
14137 { ac_try
='test -s conftest.$ac_objext'
14138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139 (eval $ac_try) 2>&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; }; then
14145 cat >conftest.
$ac_ext <<_ACEOF
14146 #line $LINENO "configure"
14149 cat confdefs.h
>>conftest.
$ac_ext
14150 cat >>conftest.
$ac_ext <<_ACEOF
14151 /* end confdefs.h. */
14152 $ac_includes_default
14156 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14163 rm -f conftest.
$ac_objext
14164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14165 (eval $ac_compile) 2>&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); } &&
14169 { ac_try
='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 ac_hi
=$ac_mid; break
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.
$ac_ext >&5
14180 ac_lo
=`expr $ac_mid + 1`
14181 if test $ac_lo -le $ac_mid; then
14185 ac_mid
=`expr 2 '*' $ac_mid + 1`
14187 rm -f conftest.
$ac_objext conftest.
$ac_ext
14190 echo "$as_me: failed program was:" >&5
14191 sed 's/^/| /' conftest.
$ac_ext >&5
14193 cat >conftest.
$ac_ext <<_ACEOF
14194 #line $LINENO "configure"
14197 cat confdefs.h
>>conftest.
$ac_ext
14198 cat >>conftest.
$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 $ac_includes_default
14204 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14211 rm -f conftest.
$ac_objext
14212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14213 (eval $ac_compile) 2>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); } &&
14217 { ac_try
='test -s conftest.$ac_objext'
14218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219 (eval $ac_try) 2>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); }; }; then
14225 cat >conftest.
$ac_ext <<_ACEOF
14226 #line $LINENO "configure"
14229 cat confdefs.h
>>conftest.
$ac_ext
14230 cat >>conftest.
$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232 $ac_includes_default
14236 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14243 rm -f conftest.
$ac_objext
14244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14245 (eval $ac_compile) 2>&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); } &&
14249 { ac_try
='test -s conftest.$ac_objext'
14250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14251 (eval $ac_try) 2>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); }; }; then
14255 ac_lo
=$ac_mid; break
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.
$ac_ext >&5
14260 ac_hi
=`expr '(' $ac_mid ')' - 1`
14261 if test $ac_mid -le $ac_hi; then
14265 ac_mid
=`expr 2 '*' $ac_mid`
14267 rm -f conftest.
$ac_objext conftest.
$ac_ext
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.
$ac_ext >&5
14275 rm -f conftest.
$ac_objext conftest.
$ac_ext
14277 rm -f conftest.
$ac_objext conftest.
$ac_ext
14278 # Binary search between lo and hi bounds.
14279 while test "x$ac_lo" != "x$ac_hi"; do
14280 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14281 cat >conftest.
$ac_ext <<_ACEOF
14282 #line $LINENO "configure"
14285 cat confdefs.h
>>conftest.
$ac_ext
14286 cat >>conftest.
$ac_ext <<_ACEOF
14287 /* end confdefs.h. */
14288 $ac_includes_default
14292 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14299 rm -f conftest.
$ac_objext
14300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14301 (eval $ac_compile) 2>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } &&
14305 { ac_try
='test -s conftest.$ac_objext'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; }; then
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.
$ac_ext >&5
14316 ac_lo
=`expr '(' $ac_mid ')' + 1`
14318 rm -f conftest.
$ac_objext conftest.
$ac_ext
14321 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14322 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14323 See \`config.log' for more details." >&5
14324 echo "$as_me: error: cannot compute sizeof (short), 77
14325 See \`config.log' for more details." >&2;}
14326 { (exit 1); exit 1; }; } ;;
14329 if test "$cross_compiling" = yes; then
14330 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14331 See \`config.log' for more details." >&5
14332 echo "$as_me: error: cannot run test program while cross compiling
14333 See \`config.log' for more details." >&2;}
14334 { (exit 1); exit 1; }; }
14336 cat >conftest.
$ac_ext <<_ACEOF
14337 #line $LINENO "configure"
14340 cat confdefs.h
>>conftest.
$ac_ext
14341 cat >>conftest.
$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 $ac_includes_default
14344 long longval () { return (long) (sizeof (short)); }
14345 unsigned long ulongval () { return (long) (sizeof (short)); }
14347 #include <stdlib.h>
14352 FILE *f = fopen ("conftest.val", "w");
14355 if (((long) (sizeof (short))) < 0)
14357 long i = longval ();
14358 if (i != ((long) (sizeof (short))))
14360 fprintf (f, "%ld\n", i);
14364 unsigned long i = ulongval ();
14365 if (i != ((long) (sizeof (short))))
14367 fprintf (f, "%lu\n", i);
14369 exit (ferror (f) || fclose (f) != 0);
14375 rm -f conftest
$ac_exeext
14376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14377 (eval $ac_link) 2>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14382 (eval $ac_try) 2>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); }; }; then
14386 ac_cv_sizeof_short
=`cat conftest.val`
14388 echo "$as_me: program exited with status $ac_status" >&5
14389 echo "$as_me: failed program was:" >&5
14390 sed 's/^/| /' conftest.
$ac_ext >&5
14392 ( exit $ac_status )
14393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14394 See \`config.log' for more details." >&5
14395 echo "$as_me: error: cannot compute sizeof (short), 77
14396 See \`config.log' for more details." >&2;}
14397 { (exit 1); exit 1; }; }
14399 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14404 ac_cv_sizeof_short
=0
14407 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14408 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14409 cat >>confdefs.h
<<_ACEOF
14410 #define SIZEOF_SHORT $ac_cv_sizeof_short
14414 echo "$as_me:$LINENO: checking for void *" >&5
14415 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14416 if test "${ac_cv_type_void_p+set}" = set; then
14417 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 cat >conftest.
$ac_ext <<_ACEOF
14420 #line $LINENO "configure"
14423 cat confdefs.h
>>conftest.
$ac_ext
14424 cat >>conftest.
$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426 $ac_includes_default
14432 if (sizeof (void *))
14438 rm -f conftest.
$ac_objext
14439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14440 (eval $ac_compile) 2>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } &&
14444 { ac_try
='test -s conftest.$ac_objext'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; }; then
14450 ac_cv_type_void_p
=yes
14452 echo "$as_me: failed program was:" >&5
14453 sed 's/^/| /' conftest.
$ac_ext >&5
14455 ac_cv_type_void_p
=no
14457 rm -f conftest.
$ac_objext conftest.
$ac_ext
14459 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14460 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14462 echo "$as_me:$LINENO: checking size of void *" >&5
14463 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14464 if test "${ac_cv_sizeof_void_p+set}" = set; then
14465 echo $ECHO_N "(cached) $ECHO_C" >&6
14467 if test "$ac_cv_type_void_p" = yes; then
14468 # The cast to unsigned long works around a bug in the HP C Compiler
14469 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14470 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14471 # This bug is HP SR number 8606223364.
14472 if test "$cross_compiling" = yes; then
14473 # Depending upon the size, compute the lo and hi bounds.
14474 cat >conftest.
$ac_ext <<_ACEOF
14475 #line $LINENO "configure"
14478 cat confdefs.h
>>conftest.
$ac_ext
14479 cat >>conftest.
$ac_ext <<_ACEOF
14480 /* end confdefs.h. */
14481 $ac_includes_default
14485 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14492 rm -f conftest.
$ac_objext
14493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14494 (eval $ac_compile) 2>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); } &&
14498 { ac_try
='test -s conftest.$ac_objext'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; }; then
14506 cat >conftest.
$ac_ext <<_ACEOF
14507 #line $LINENO "configure"
14510 cat confdefs.h
>>conftest.
$ac_ext
14511 cat >>conftest.
$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513 $ac_includes_default
14517 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14524 rm -f conftest.
$ac_objext
14525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14526 (eval $ac_compile) 2>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); } &&
14530 { ac_try
='test -s conftest.$ac_objext'
14531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532 (eval $ac_try) 2>&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; }; then
14536 ac_hi
=$ac_mid; break
14538 echo "$as_me: failed program was:" >&5
14539 sed 's/^/| /' conftest.
$ac_ext >&5
14541 ac_lo
=`expr $ac_mid + 1`
14542 if test $ac_lo -le $ac_mid; then
14546 ac_mid
=`expr 2 '*' $ac_mid + 1`
14548 rm -f conftest.
$ac_objext conftest.
$ac_ext
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.
$ac_ext >&5
14554 cat >conftest.
$ac_ext <<_ACEOF
14555 #line $LINENO "configure"
14558 cat confdefs.h
>>conftest.
$ac_ext
14559 cat >>conftest.
$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14561 $ac_includes_default
14565 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14572 rm -f conftest.
$ac_objext
14573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14574 (eval $ac_compile) 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); } &&
14578 { ac_try
='test -s conftest.$ac_objext'
14579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580 (eval $ac_try) 2>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; }; then
14586 cat >conftest.
$ac_ext <<_ACEOF
14587 #line $LINENO "configure"
14590 cat confdefs.h
>>conftest.
$ac_ext
14591 cat >>conftest.
$ac_ext <<_ACEOF
14592 /* end confdefs.h. */
14593 $ac_includes_default
14597 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14604 rm -f conftest.
$ac_objext
14605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14606 (eval $ac_compile) 2>&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); } &&
14610 { ac_try
='test -s conftest.$ac_objext'
14611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14612 (eval $ac_try) 2>&5
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); }; }; then
14616 ac_lo
=$ac_mid; break
14618 echo "$as_me: failed program was:" >&5
14619 sed 's/^/| /' conftest.
$ac_ext >&5
14621 ac_hi
=`expr '(' $ac_mid ')' - 1`
14622 if test $ac_mid -le $ac_hi; then
14626 ac_mid
=`expr 2 '*' $ac_mid`
14628 rm -f conftest.
$ac_objext conftest.
$ac_ext
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.
$ac_ext >&5
14636 rm -f conftest.
$ac_objext conftest.
$ac_ext
14638 rm -f conftest.
$ac_objext conftest.
$ac_ext
14639 # Binary search between lo and hi bounds.
14640 while test "x$ac_lo" != "x$ac_hi"; do
14641 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14642 cat >conftest.
$ac_ext <<_ACEOF
14643 #line $LINENO "configure"
14646 cat confdefs.h
>>conftest.
$ac_ext
14647 cat >>conftest.
$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14649 $ac_includes_default
14653 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14660 rm -f conftest.
$ac_objext
14661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14662 (eval $ac_compile) 2>&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); } &&
14666 { ac_try
='test -s conftest.$ac_objext'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; }; then
14674 echo "$as_me: failed program was:" >&5
14675 sed 's/^/| /' conftest.
$ac_ext >&5
14677 ac_lo
=`expr '(' $ac_mid ')' + 1`
14679 rm -f conftest.
$ac_objext conftest.
$ac_ext
14682 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14683 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14684 See \`config.log' for more details." >&5
14685 echo "$as_me: error: cannot compute sizeof (void *), 77
14686 See \`config.log' for more details." >&2;}
14687 { (exit 1); exit 1; }; } ;;
14690 if test "$cross_compiling" = yes; then
14691 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14692 See \`config.log' for more details." >&5
14693 echo "$as_me: error: cannot run test program while cross compiling
14694 See \`config.log' for more details." >&2;}
14695 { (exit 1); exit 1; }; }
14697 cat >conftest.
$ac_ext <<_ACEOF
14698 #line $LINENO "configure"
14701 cat confdefs.h
>>conftest.
$ac_ext
14702 cat >>conftest.
$ac_ext <<_ACEOF
14703 /* end confdefs.h. */
14704 $ac_includes_default
14705 long longval () { return (long) (sizeof (void *)); }
14706 unsigned long ulongval () { return (long) (sizeof (void *)); }
14708 #include <stdlib.h>
14713 FILE *f = fopen ("conftest.val", "w");
14716 if (((long) (sizeof (void *))) < 0)
14718 long i = longval ();
14719 if (i != ((long) (sizeof (void *))))
14721 fprintf (f, "%ld\n", i);
14725 unsigned long i = ulongval ();
14726 if (i != ((long) (sizeof (void *))))
14728 fprintf (f, "%lu\n", i);
14730 exit (ferror (f) || fclose (f) != 0);
14736 rm -f conftest
$ac_exeext
14737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14738 (eval $ac_link) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14743 (eval $ac_try) 2>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); }; }; then
14747 ac_cv_sizeof_void_p
=`cat conftest.val`
14749 echo "$as_me: program exited with status $ac_status" >&5
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.
$ac_ext >&5
14753 ( exit $ac_status )
14754 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14755 See \`config.log' for more details." >&5
14756 echo "$as_me: error: cannot compute sizeof (void *), 77
14757 See \`config.log' for more details." >&2;}
14758 { (exit 1); exit 1; }; }
14760 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14765 ac_cv_sizeof_void_p
=0
14768 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14769 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14770 cat >>confdefs.h
<<_ACEOF
14771 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14775 echo "$as_me:$LINENO: checking for int" >&5
14776 echo $ECHO_N "checking for int... $ECHO_C" >&6
14777 if test "${ac_cv_type_int+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 cat >conftest.
$ac_ext <<_ACEOF
14781 #line $LINENO "configure"
14784 cat confdefs.h
>>conftest.
$ac_ext
14785 cat >>conftest.
$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14787 $ac_includes_default
14799 rm -f conftest.
$ac_objext
14800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14801 (eval $ac_compile) 2>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } &&
14805 { ac_try
='test -s conftest.$ac_objext'
14806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14807 (eval $ac_try) 2>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; }; then
14813 echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.
$ac_ext >&5
14818 rm -f conftest.
$ac_objext conftest.
$ac_ext
14820 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14821 echo "${ECHO_T}$ac_cv_type_int" >&6
14823 echo "$as_me:$LINENO: checking size of int" >&5
14824 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14825 if test "${ac_cv_sizeof_int+set}" = set; then
14826 echo $ECHO_N "(cached) $ECHO_C" >&6
14828 if test "$ac_cv_type_int" = yes; then
14829 # The cast to unsigned long works around a bug in the HP C Compiler
14830 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14831 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14832 # This bug is HP SR number 8606223364.
14833 if test "$cross_compiling" = yes; then
14834 # Depending upon the size, compute the lo and hi bounds.
14835 cat >conftest.
$ac_ext <<_ACEOF
14836 #line $LINENO "configure"
14839 cat confdefs.h
>>conftest.
$ac_ext
14840 cat >>conftest.
$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14842 $ac_includes_default
14846 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14853 rm -f conftest.
$ac_objext
14854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14855 (eval $ac_compile) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } &&
14859 { ac_try
='test -s conftest.$ac_objext'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; }; then
14867 cat >conftest.
$ac_ext <<_ACEOF
14868 #line $LINENO "configure"
14871 cat confdefs.h
>>conftest.
$ac_ext
14872 cat >>conftest.
$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14874 $ac_includes_default
14878 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14885 rm -f conftest.
$ac_objext
14886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14887 (eval $ac_compile) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } &&
14891 { ac_try
='test -s conftest.$ac_objext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_hi
=$ac_mid; break
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.
$ac_ext >&5
14902 ac_lo
=`expr $ac_mid + 1`
14903 if test $ac_lo -le $ac_mid; then
14907 ac_mid
=`expr 2 '*' $ac_mid + 1`
14909 rm -f conftest.
$ac_objext conftest.
$ac_ext
14912 echo "$as_me: failed program was:" >&5
14913 sed 's/^/| /' conftest.
$ac_ext >&5
14915 cat >conftest.
$ac_ext <<_ACEOF
14916 #line $LINENO "configure"
14919 cat confdefs.h
>>conftest.
$ac_ext
14920 cat >>conftest.
$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14922 $ac_includes_default
14926 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14933 rm -f conftest.
$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try
='test -s conftest.$ac_objext'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14947 cat >conftest.
$ac_ext <<_ACEOF
14948 #line $LINENO "configure"
14951 cat confdefs.h
>>conftest.
$ac_ext
14952 cat >>conftest.
$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 $ac_includes_default
14958 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14965 rm -f conftest.
$ac_objext
14966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14967 (eval $ac_compile) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } &&
14971 { ac_try
='test -s conftest.$ac_objext'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; }; then
14977 ac_lo
=$ac_mid; break
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.
$ac_ext >&5
14982 ac_hi
=`expr '(' $ac_mid ')' - 1`
14983 if test $ac_mid -le $ac_hi; then
14987 ac_mid
=`expr 2 '*' $ac_mid`
14989 rm -f conftest.
$ac_objext conftest.
$ac_ext
14992 echo "$as_me: failed program was:" >&5
14993 sed 's/^/| /' conftest.
$ac_ext >&5
14997 rm -f conftest.
$ac_objext conftest.
$ac_ext
14999 rm -f conftest.
$ac_objext conftest.
$ac_ext
15000 # Binary search between lo and hi bounds.
15001 while test "x$ac_lo" != "x$ac_hi"; do
15002 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15003 cat >conftest.
$ac_ext <<_ACEOF
15004 #line $LINENO "configure"
15007 cat confdefs.h
>>conftest.
$ac_ext
15008 cat >>conftest.
$ac_ext <<_ACEOF
15009 /* end confdefs.h. */
15010 $ac_includes_default
15014 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15021 rm -f conftest.
$ac_objext
15022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15023 (eval $ac_compile) 2>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); } &&
15027 { ac_try
='test -s conftest.$ac_objext'
15028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15029 (eval $ac_try) 2>&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; }; then
15035 echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.
$ac_ext >&5
15038 ac_lo
=`expr '(' $ac_mid ')' + 1`
15040 rm -f conftest.
$ac_objext conftest.
$ac_ext
15043 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15044 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15045 See \`config.log' for more details." >&5
15046 echo "$as_me: error: cannot compute sizeof (int), 77
15047 See \`config.log' for more details." >&2;}
15048 { (exit 1); exit 1; }; } ;;
15051 if test "$cross_compiling" = yes; then
15052 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15053 See \`config.log' for more details." >&5
15054 echo "$as_me: error: cannot run test program while cross compiling
15055 See \`config.log' for more details." >&2;}
15056 { (exit 1); exit 1; }; }
15058 cat >conftest.
$ac_ext <<_ACEOF
15059 #line $LINENO "configure"
15062 cat confdefs.h
>>conftest.
$ac_ext
15063 cat >>conftest.
$ac_ext <<_ACEOF
15064 /* end confdefs.h. */
15065 $ac_includes_default
15066 long longval () { return (long) (sizeof (int)); }
15067 unsigned long ulongval () { return (long) (sizeof (int)); }
15069 #include <stdlib.h>
15074 FILE *f = fopen ("conftest.val", "w");
15077 if (((long) (sizeof (int))) < 0)
15079 long i = longval ();
15080 if (i != ((long) (sizeof (int))))
15082 fprintf (f, "%ld\n", i);
15086 unsigned long i = ulongval ();
15087 if (i != ((long) (sizeof (int))))
15089 fprintf (f, "%lu\n", i);
15091 exit (ferror (f) || fclose (f) != 0);
15097 rm -f conftest
$ac_exeext
15098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15099 (eval $ac_link) 2>&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; }; then
15108 ac_cv_sizeof_int
=`cat conftest.val`
15110 echo "$as_me: program exited with status $ac_status" >&5
15111 echo "$as_me: failed program was:" >&5
15112 sed 's/^/| /' conftest.
$ac_ext >&5
15114 ( exit $ac_status )
15115 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15116 See \`config.log' for more details." >&5
15117 echo "$as_me: error: cannot compute sizeof (int), 77
15118 See \`config.log' for more details." >&2;}
15119 { (exit 1); exit 1; }; }
15121 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15129 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15130 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15131 cat >>confdefs.h
<<_ACEOF
15132 #define SIZEOF_INT $ac_cv_sizeof_int
15136 echo "$as_me:$LINENO: checking for long" >&5
15137 echo $ECHO_N "checking for long... $ECHO_C" >&6
15138 if test "${ac_cv_type_long+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15141 cat >conftest.
$ac_ext <<_ACEOF
15142 #line $LINENO "configure"
15145 cat confdefs.h
>>conftest.
$ac_ext
15146 cat >>conftest.
$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15148 $ac_includes_default
15160 rm -f conftest.
$ac_objext
15161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15162 (eval $ac_compile) 2>&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); } &&
15166 { ac_try
='test -s conftest.$ac_objext'
15167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15168 (eval $ac_try) 2>&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); }; }; then
15172 ac_cv_type_long
=yes
15174 echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.
$ac_ext >&5
15179 rm -f conftest.
$ac_objext conftest.
$ac_ext
15181 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15182 echo "${ECHO_T}$ac_cv_type_long" >&6
15184 echo "$as_me:$LINENO: checking size of long" >&5
15185 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15186 if test "${ac_cv_sizeof_long+set}" = set; then
15187 echo $ECHO_N "(cached) $ECHO_C" >&6
15189 if test "$ac_cv_type_long" = yes; then
15190 # The cast to unsigned long works around a bug in the HP C Compiler
15191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15193 # This bug is HP SR number 8606223364.
15194 if test "$cross_compiling" = yes; then
15195 # Depending upon the size, compute the lo and hi bounds.
15196 cat >conftest.
$ac_ext <<_ACEOF
15197 #line $LINENO "configure"
15200 cat confdefs.h
>>conftest.
$ac_ext
15201 cat >>conftest.
$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15203 $ac_includes_default
15207 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15214 rm -f conftest.
$ac_objext
15215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15216 (eval $ac_compile) 2>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try
='test -s conftest.$ac_objext'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; }; then
15228 cat >conftest.
$ac_ext <<_ACEOF
15229 #line $LINENO "configure"
15232 cat confdefs.h
>>conftest.
$ac_ext
15233 cat >>conftest.
$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15235 $ac_includes_default
15239 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15246 rm -f conftest.
$ac_objext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248 (eval $ac_compile) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try
='test -s conftest.$ac_objext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_hi
=$ac_mid; break
15260 echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.
$ac_ext >&5
15263 ac_lo
=`expr $ac_mid + 1`
15264 if test $ac_lo -le $ac_mid; then
15268 ac_mid
=`expr 2 '*' $ac_mid + 1`
15270 rm -f conftest.
$ac_objext conftest.
$ac_ext
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.
$ac_ext >&5
15276 cat >conftest.
$ac_ext <<_ACEOF
15277 #line $LINENO "configure"
15280 cat confdefs.h
>>conftest.
$ac_ext
15281 cat >>conftest.
$ac_ext <<_ACEOF
15282 /* end confdefs.h. */
15283 $ac_includes_default
15287 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15294 rm -f conftest.
$ac_objext
15295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15296 (eval $ac_compile) 2>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try
='test -s conftest.$ac_objext'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; }; then
15308 cat >conftest.
$ac_ext <<_ACEOF
15309 #line $LINENO "configure"
15312 cat confdefs.h
>>conftest.
$ac_ext
15313 cat >>conftest.
$ac_ext <<_ACEOF
15314 /* end confdefs.h. */
15315 $ac_includes_default
15319 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15326 rm -f conftest.
$ac_objext
15327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15328 (eval $ac_compile) 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } &&
15332 { ac_try
='test -s conftest.$ac_objext'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; }; then
15338 ac_lo
=$ac_mid; break
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.
$ac_ext >&5
15343 ac_hi
=`expr '(' $ac_mid ')' - 1`
15344 if test $ac_mid -le $ac_hi; then
15348 ac_mid
=`expr 2 '*' $ac_mid`
15350 rm -f conftest.
$ac_objext conftest.
$ac_ext
15353 echo "$as_me: failed program was:" >&5
15354 sed 's/^/| /' conftest.
$ac_ext >&5
15358 rm -f conftest.
$ac_objext conftest.
$ac_ext
15360 rm -f conftest.
$ac_objext conftest.
$ac_ext
15361 # Binary search between lo and hi bounds.
15362 while test "x$ac_lo" != "x$ac_hi"; do
15363 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15364 cat >conftest.
$ac_ext <<_ACEOF
15365 #line $LINENO "configure"
15368 cat confdefs.h
>>conftest.
$ac_ext
15369 cat >>conftest.
$ac_ext <<_ACEOF
15370 /* end confdefs.h. */
15371 $ac_includes_default
15375 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15382 rm -f conftest.
$ac_objext
15383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15384 (eval $ac_compile) 2>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try
='test -s conftest.$ac_objext'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; }; then
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.
$ac_ext >&5
15399 ac_lo
=`expr '(' $ac_mid ')' + 1`
15401 rm -f conftest.
$ac_objext conftest.
$ac_ext
15404 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15405 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15406 See \`config.log' for more details." >&5
15407 echo "$as_me: error: cannot compute sizeof (long), 77
15408 See \`config.log' for more details." >&2;}
15409 { (exit 1); exit 1; }; } ;;
15412 if test "$cross_compiling" = yes; then
15413 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15414 See \`config.log' for more details." >&5
15415 echo "$as_me: error: cannot run test program while cross compiling
15416 See \`config.log' for more details." >&2;}
15417 { (exit 1); exit 1; }; }
15419 cat >conftest.
$ac_ext <<_ACEOF
15420 #line $LINENO "configure"
15423 cat confdefs.h
>>conftest.
$ac_ext
15424 cat >>conftest.
$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426 $ac_includes_default
15427 long longval () { return (long) (sizeof (long)); }
15428 unsigned long ulongval () { return (long) (sizeof (long)); }
15430 #include <stdlib.h>
15435 FILE *f = fopen ("conftest.val", "w");
15438 if (((long) (sizeof (long))) < 0)
15440 long i = longval ();
15441 if (i != ((long) (sizeof (long))))
15443 fprintf (f, "%ld\n", i);
15447 unsigned long i = ulongval ();
15448 if (i != ((long) (sizeof (long))))
15450 fprintf (f, "%lu\n", i);
15452 exit (ferror (f) || fclose (f) != 0);
15458 rm -f conftest
$ac_exeext
15459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15460 (eval $ac_link) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15465 (eval $ac_try) 2>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); }; }; then
15469 ac_cv_sizeof_long
=`cat conftest.val`
15471 echo "$as_me: program exited with status $ac_status" >&5
15472 echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.
$ac_ext >&5
15475 ( exit $ac_status )
15476 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15477 See \`config.log' for more details." >&5
15478 echo "$as_me: error: cannot compute sizeof (long), 77
15479 See \`config.log' for more details." >&2;}
15480 { (exit 1); exit 1; }; }
15482 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15487 ac_cv_sizeof_long
=0
15490 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15491 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15492 cat >>confdefs.h
<<_ACEOF
15493 #define SIZEOF_LONG $ac_cv_sizeof_long
15500 echo "$as_me:$LINENO: checking for long long" >&5
15501 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15502 if test "${ac_cv_type_long_long+set}" = set; then
15503 echo $ECHO_N "(cached) $ECHO_C" >&6
15505 cat >conftest.
$ac_ext <<_ACEOF
15506 #line $LINENO "configure"
15509 cat confdefs.h
>>conftest.
$ac_ext
15510 cat >>conftest.
$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512 $ac_includes_default
15516 if ((long long *) 0)
15518 if (sizeof (long long))
15524 rm -f conftest.
$ac_objext
15525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15526 (eval $ac_compile) 2>&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } &&
15530 { ac_try
='test -s conftest.$ac_objext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15536 ac_cv_type_long_long
=yes
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.
$ac_ext >&5
15541 ac_cv_type_long_long
=no
15543 rm -f conftest.
$ac_objext conftest.
$ac_ext
15545 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15546 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15548 echo "$as_me:$LINENO: checking size of long long" >&5
15549 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15550 if test "${ac_cv_sizeof_long_long+set}" = set; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15553 if test "$ac_cv_type_long_long" = yes; then
15554 # The cast to unsigned long works around a bug in the HP C Compiler
15555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15557 # This bug is HP SR number 8606223364.
15558 if test "$cross_compiling" = yes; then
15559 # Depending upon the size, compute the lo and hi bounds.
15560 cat >conftest.
$ac_ext <<_ACEOF
15561 #line $LINENO "configure"
15564 cat confdefs.h
>>conftest.
$ac_ext
15565 cat >>conftest.
$ac_ext <<_ACEOF
15566 /* end confdefs.h. */
15567 $ac_includes_default
15571 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15578 rm -f conftest.
$ac_objext
15579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15580 (eval $ac_compile) 2>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } &&
15584 { ac_try
='test -s conftest.$ac_objext'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; }; then
15592 cat >conftest.
$ac_ext <<_ACEOF
15593 #line $LINENO "configure"
15596 cat confdefs.h
>>conftest.
$ac_ext
15597 cat >>conftest.
$ac_ext <<_ACEOF
15598 /* end confdefs.h. */
15599 $ac_includes_default
15603 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15610 rm -f conftest.
$ac_objext
15611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15612 (eval $ac_compile) 2>&5
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); } &&
15616 { ac_try
='test -s conftest.$ac_objext'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; }; then
15622 ac_hi
=$ac_mid; break
15624 echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.
$ac_ext >&5
15627 ac_lo
=`expr $ac_mid + 1`
15628 if test $ac_lo -le $ac_mid; then
15632 ac_mid
=`expr 2 '*' $ac_mid + 1`
15634 rm -f conftest.
$ac_objext conftest.
$ac_ext
15637 echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.
$ac_ext >&5
15640 cat >conftest.
$ac_ext <<_ACEOF
15641 #line $LINENO "configure"
15644 cat confdefs.h
>>conftest.
$ac_ext
15645 cat >>conftest.
$ac_ext <<_ACEOF
15646 /* end confdefs.h. */
15647 $ac_includes_default
15651 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15658 rm -f conftest.
$ac_objext
15659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15660 (eval $ac_compile) 2>&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } &&
15664 { ac_try
='test -s conftest.$ac_objext'
15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15666 (eval $ac_try) 2>&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); }; }; then
15672 cat >conftest.
$ac_ext <<_ACEOF
15673 #line $LINENO "configure"
15676 cat confdefs.h
>>conftest.
$ac_ext
15677 cat >>conftest.
$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679 $ac_includes_default
15683 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15690 rm -f conftest.
$ac_objext
15691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15692 (eval $ac_compile) 2>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try
='test -s conftest.$ac_objext'
15697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698 (eval $ac_try) 2>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); }; }; then
15702 ac_lo
=$ac_mid; break
15704 echo "$as_me: failed program was:" >&5
15705 sed 's/^/| /' conftest.
$ac_ext >&5
15707 ac_hi
=`expr '(' $ac_mid ')' - 1`
15708 if test $ac_mid -le $ac_hi; then
15712 ac_mid
=`expr 2 '*' $ac_mid`
15714 rm -f conftest.
$ac_objext conftest.
$ac_ext
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.
$ac_ext >&5
15722 rm -f conftest.
$ac_objext conftest.
$ac_ext
15724 rm -f conftest.
$ac_objext conftest.
$ac_ext
15725 # Binary search between lo and hi bounds.
15726 while test "x$ac_lo" != "x$ac_hi"; do
15727 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15728 cat >conftest.
$ac_ext <<_ACEOF
15729 #line $LINENO "configure"
15732 cat confdefs.h
>>conftest.
$ac_ext
15733 cat >>conftest.
$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15735 $ac_includes_default
15739 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15746 rm -f conftest.
$ac_objext
15747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15748 (eval $ac_compile) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } &&
15752 { ac_try
='test -s conftest.$ac_objext'
15753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754 (eval $ac_try) 2>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); }; }; then
15760 echo "$as_me: failed program was:" >&5
15761 sed 's/^/| /' conftest.
$ac_ext >&5
15763 ac_lo
=`expr '(' $ac_mid ')' + 1`
15765 rm -f conftest.
$ac_objext conftest.
$ac_ext
15768 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15769 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15770 See \`config.log' for more details." >&5
15771 echo "$as_me: error: cannot compute sizeof (long long), 77
15772 See \`config.log' for more details." >&2;}
15773 { (exit 1); exit 1; }; } ;;
15776 if test "$cross_compiling" = yes; then
15777 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15778 See \`config.log' for more details." >&5
15779 echo "$as_me: error: cannot run test program while cross compiling
15780 See \`config.log' for more details." >&2;}
15781 { (exit 1); exit 1; }; }
15783 cat >conftest.
$ac_ext <<_ACEOF
15784 #line $LINENO "configure"
15787 cat confdefs.h
>>conftest.
$ac_ext
15788 cat >>conftest.
$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 $ac_includes_default
15791 long longval () { return (long) (sizeof (long long)); }
15792 unsigned long ulongval () { return (long) (sizeof (long long)); }
15794 #include <stdlib.h>
15799 FILE *f = fopen ("conftest.val", "w");
15802 if (((long) (sizeof (long long))) < 0)
15804 long i = longval ();
15805 if (i != ((long) (sizeof (long long))))
15807 fprintf (f, "%ld\n", i);
15811 unsigned long i = ulongval ();
15812 if (i != ((long) (sizeof (long long))))
15814 fprintf (f, "%lu\n", i);
15816 exit (ferror (f) || fclose (f) != 0);
15822 rm -f conftest
$ac_exeext
15823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15824 (eval $ac_link) 2>&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 ac_cv_sizeof_long_long
=`cat conftest.val`
15835 echo "$as_me: program exited with status $ac_status" >&5
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.
$ac_ext >&5
15839 ( exit $ac_status )
15840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15841 See \`config.log' for more details." >&5
15842 echo "$as_me: error: cannot compute sizeof (long long), 77
15843 See \`config.log' for more details." >&2;}
15844 { (exit 1); exit 1; }; }
15846 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15851 ac_cv_sizeof_long_long
=0
15854 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15855 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15856 cat >>confdefs.h
<<_ACEOF
15857 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15863 echo "$as_me:$LINENO: checking for long long" >&5
15864 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15865 if test "${ac_cv_type_long_long+set}" = set; then
15866 echo $ECHO_N "(cached) $ECHO_C" >&6
15868 cat >conftest.
$ac_ext <<_ACEOF
15869 #line $LINENO "configure"
15872 cat confdefs.h
>>conftest.
$ac_ext
15873 cat >>conftest.
$ac_ext <<_ACEOF
15874 /* end confdefs.h. */
15875 $ac_includes_default
15879 if ((long long *) 0)
15881 if (sizeof (long long))
15887 rm -f conftest.
$ac_objext
15888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15889 (eval $ac_compile) 2>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); } &&
15893 { ac_try
='test -s conftest.$ac_objext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15899 ac_cv_type_long_long
=yes
15901 echo "$as_me: failed program was:" >&5
15902 sed 's/^/| /' conftest.
$ac_ext >&5
15904 ac_cv_type_long_long
=no
15906 rm -f conftest.
$ac_objext conftest.
$ac_ext
15908 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15909 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15911 echo "$as_me:$LINENO: checking size of long long" >&5
15912 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15913 if test "${ac_cv_sizeof_long_long+set}" = set; then
15914 echo $ECHO_N "(cached) $ECHO_C" >&6
15916 if test "$ac_cv_type_long_long" = yes; then
15917 # The cast to unsigned long works around a bug in the HP C Compiler
15918 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15919 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15920 # This bug is HP SR number 8606223364.
15921 if test "$cross_compiling" = yes; then
15922 # Depending upon the size, compute the lo and hi bounds.
15923 cat >conftest.
$ac_ext <<_ACEOF
15924 #line $LINENO "configure"
15927 cat confdefs.h
>>conftest.
$ac_ext
15928 cat >>conftest.
$ac_ext <<_ACEOF
15929 /* end confdefs.h. */
15930 $ac_includes_default
15934 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15941 rm -f conftest.
$ac_objext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15943 (eval $ac_compile) 2>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } &&
15947 { ac_try
='test -s conftest.$ac_objext'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; }; then
15955 cat >conftest.
$ac_ext <<_ACEOF
15956 #line $LINENO "configure"
15959 cat confdefs.h
>>conftest.
$ac_ext
15960 cat >>conftest.
$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15962 $ac_includes_default
15966 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15973 rm -f conftest.
$ac_objext
15974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15975 (eval $ac_compile) 2>&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); } &&
15979 { ac_try
='test -s conftest.$ac_objext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15985 ac_hi
=$ac_mid; break
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.
$ac_ext >&5
15990 ac_lo
=`expr $ac_mid + 1`
15991 if test $ac_lo -le $ac_mid; then
15995 ac_mid
=`expr 2 '*' $ac_mid + 1`
15997 rm -f conftest.
$ac_objext conftest.
$ac_ext
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.
$ac_ext >&5
16003 cat >conftest.
$ac_ext <<_ACEOF
16004 #line $LINENO "configure"
16007 cat confdefs.h
>>conftest.
$ac_ext
16008 cat >>conftest.
$ac_ext <<_ACEOF
16009 /* end confdefs.h. */
16010 $ac_includes_default
16014 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16021 rm -f conftest.
$ac_objext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16023 (eval $ac_compile) 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); } &&
16027 { ac_try
='test -s conftest.$ac_objext'
16028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16029 (eval $ac_try) 2>&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); }; }; then
16035 cat >conftest.
$ac_ext <<_ACEOF
16036 #line $LINENO "configure"
16039 cat confdefs.h
>>conftest.
$ac_ext
16040 cat >>conftest.
$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16042 $ac_includes_default
16046 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16053 rm -f conftest.
$ac_objext
16054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16055 (eval $ac_compile) 2>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); } &&
16059 { ac_try
='test -s conftest.$ac_objext'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16061 (eval $ac_try) 2>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; }; then
16065 ac_lo
=$ac_mid; break
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.
$ac_ext >&5
16070 ac_hi
=`expr '(' $ac_mid ')' - 1`
16071 if test $ac_mid -le $ac_hi; then
16075 ac_mid
=`expr 2 '*' $ac_mid`
16077 rm -f conftest.
$ac_objext conftest.
$ac_ext
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.
$ac_ext >&5
16085 rm -f conftest.
$ac_objext conftest.
$ac_ext
16087 rm -f conftest.
$ac_objext conftest.
$ac_ext
16088 # Binary search between lo and hi bounds.
16089 while test "x$ac_lo" != "x$ac_hi"; do
16090 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16091 cat >conftest.
$ac_ext <<_ACEOF
16092 #line $LINENO "configure"
16095 cat confdefs.h
>>conftest.
$ac_ext
16096 cat >>conftest.
$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098 $ac_includes_default
16102 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16109 rm -f conftest.
$ac_objext
16110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16111 (eval $ac_compile) 2>&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); } &&
16115 { ac_try
='test -s conftest.$ac_objext'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; }; then
16123 echo "$as_me: failed program was:" >&5
16124 sed 's/^/| /' conftest.
$ac_ext >&5
16126 ac_lo
=`expr '(' $ac_mid ')' + 1`
16128 rm -f conftest.
$ac_objext conftest.
$ac_ext
16131 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16132 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16133 See \`config.log' for more details." >&5
16134 echo "$as_me: error: cannot compute sizeof (long long), 77
16135 See \`config.log' for more details." >&2;}
16136 { (exit 1); exit 1; }; } ;;
16139 if test "$cross_compiling" = yes; then
16140 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16141 See \`config.log' for more details." >&5
16142 echo "$as_me: error: cannot run test program while cross compiling
16143 See \`config.log' for more details." >&2;}
16144 { (exit 1); exit 1; }; }
16146 cat >conftest.
$ac_ext <<_ACEOF
16147 #line $LINENO "configure"
16150 cat confdefs.h
>>conftest.
$ac_ext
16151 cat >>conftest.
$ac_ext <<_ACEOF
16152 /* end confdefs.h. */
16153 $ac_includes_default
16154 long longval () { return (long) (sizeof (long long)); }
16155 unsigned long ulongval () { return (long) (sizeof (long long)); }
16157 #include <stdlib.h>
16162 FILE *f = fopen ("conftest.val", "w");
16165 if (((long) (sizeof (long long))) < 0)
16167 long i = longval ();
16168 if (i != ((long) (sizeof (long long))))
16170 fprintf (f, "%ld\n", i);
16174 unsigned long i = ulongval ();
16175 if (i != ((long) (sizeof (long long))))
16177 fprintf (f, "%lu\n", i);
16179 exit (ferror (f) || fclose (f) != 0);
16185 rm -f conftest
$ac_exeext
16186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16187 (eval $ac_link) 2>&5
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; }; then
16196 ac_cv_sizeof_long_long
=`cat conftest.val`
16198 echo "$as_me: program exited with status $ac_status" >&5
16199 echo "$as_me: failed program was:" >&5
16200 sed 's/^/| /' conftest.
$ac_ext >&5
16202 ( exit $ac_status )
16203 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16204 See \`config.log' for more details." >&5
16205 echo "$as_me: error: cannot compute sizeof (long long), 77
16206 See \`config.log' for more details." >&2;}
16207 { (exit 1); exit 1; }; }
16209 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16214 ac_cv_sizeof_long_long
=0
16217 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16218 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16219 cat >>confdefs.h
<<_ACEOF
16220 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16224 if test "$ac_cv_sizeof_long_long" != "0"; then
16225 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16229 echo "$as_me:$LINENO: checking for long long" >&5
16230 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16231 if test "${ac_cv_type_long_long+set}" = set; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16234 cat >conftest.
$ac_ext <<_ACEOF
16235 #line $LINENO "configure"
16238 cat confdefs.h
>>conftest.
$ac_ext
16239 cat >>conftest.
$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16241 $ac_includes_default
16245 if ((long long *) 0)
16247 if (sizeof (long long))
16253 rm -f conftest.
$ac_objext
16254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16255 (eval $ac_compile) 2>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); } &&
16259 { ac_try
='test -s conftest.$ac_objext'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 ac_cv_type_long_long
=yes
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.
$ac_ext >&5
16270 ac_cv_type_long_long
=no
16272 rm -f conftest.
$ac_objext conftest.
$ac_ext
16274 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16275 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16277 echo "$as_me:$LINENO: checking size of long long" >&5
16278 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16279 if test "${ac_cv_sizeof_long_long+set}" = set; then
16280 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 if test "$ac_cv_type_long_long" = yes; then
16283 # The cast to unsigned long works around a bug in the HP C Compiler
16284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16286 # This bug is HP SR number 8606223364.
16287 if test "$cross_compiling" = yes; then
16288 # Depending upon the size, compute the lo and hi bounds.
16289 cat >conftest.
$ac_ext <<_ACEOF
16290 #line $LINENO "configure"
16293 cat confdefs.h
>>conftest.
$ac_ext
16294 cat >>conftest.
$ac_ext <<_ACEOF
16295 /* end confdefs.h. */
16296 $ac_includes_default
16300 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16307 rm -f conftest.
$ac_objext
16308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16309 (eval $ac_compile) 2>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); } &&
16313 { ac_try
='test -s conftest.$ac_objext'
16314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16315 (eval $ac_try) 2>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); }; }; then
16321 cat >conftest.
$ac_ext <<_ACEOF
16322 #line $LINENO "configure"
16325 cat confdefs.h
>>conftest.
$ac_ext
16326 cat >>conftest.
$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 $ac_includes_default
16332 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16339 rm -f conftest.
$ac_objext
16340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16341 (eval $ac_compile) 2>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try
='test -s conftest.$ac_objext'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; }; then
16351 ac_hi
=$ac_mid; break
16353 echo "$as_me: failed program was:" >&5
16354 sed 's/^/| /' conftest.
$ac_ext >&5
16356 ac_lo
=`expr $ac_mid + 1`
16357 if test $ac_lo -le $ac_mid; then
16361 ac_mid
=`expr 2 '*' $ac_mid + 1`
16363 rm -f conftest.
$ac_objext conftest.
$ac_ext
16366 echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.
$ac_ext >&5
16369 cat >conftest.
$ac_ext <<_ACEOF
16370 #line $LINENO "configure"
16373 cat confdefs.h
>>conftest.
$ac_ext
16374 cat >>conftest.
$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 $ac_includes_default
16380 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16387 rm -f conftest.
$ac_objext
16388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16389 (eval $ac_compile) 2>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); } &&
16393 { ac_try
='test -s conftest.$ac_objext'
16394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 (eval $ac_try) 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; }; then
16401 cat >conftest.
$ac_ext <<_ACEOF
16402 #line $LINENO "configure"
16405 cat confdefs.h
>>conftest.
$ac_ext
16406 cat >>conftest.
$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16408 $ac_includes_default
16412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16419 rm -f conftest.
$ac_objext
16420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16421 (eval $ac_compile) 2>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } &&
16425 { ac_try
='test -s conftest.$ac_objext'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; }; then
16431 ac_lo
=$ac_mid; break
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.
$ac_ext >&5
16436 ac_hi
=`expr '(' $ac_mid ')' - 1`
16437 if test $ac_mid -le $ac_hi; then
16441 ac_mid
=`expr 2 '*' $ac_mid`
16443 rm -f conftest.
$ac_objext conftest.
$ac_ext
16446 echo "$as_me: failed program was:" >&5
16447 sed 's/^/| /' conftest.
$ac_ext >&5
16451 rm -f conftest.
$ac_objext conftest.
$ac_ext
16453 rm -f conftest.
$ac_objext conftest.
$ac_ext
16454 # Binary search between lo and hi bounds.
16455 while test "x$ac_lo" != "x$ac_hi"; do
16456 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16457 cat >conftest.
$ac_ext <<_ACEOF
16458 #line $LINENO "configure"
16461 cat confdefs.h
>>conftest.
$ac_ext
16462 cat >>conftest.
$ac_ext <<_ACEOF
16463 /* end confdefs.h. */
16464 $ac_includes_default
16468 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16475 rm -f conftest.
$ac_objext
16476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16477 (eval $ac_compile) 2>&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); } &&
16481 { ac_try
='test -s conftest.$ac_objext'
16482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16483 (eval $ac_try) 2>&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); }; }; then
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.
$ac_ext >&5
16492 ac_lo
=`expr '(' $ac_mid ')' + 1`
16494 rm -f conftest.
$ac_objext conftest.
$ac_ext
16497 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16498 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16499 See \`config.log' for more details." >&5
16500 echo "$as_me: error: cannot compute sizeof (long long), 77
16501 See \`config.log' for more details." >&2;}
16502 { (exit 1); exit 1; }; } ;;
16505 if test "$cross_compiling" = yes; then
16506 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16507 See \`config.log' for more details." >&5
16508 echo "$as_me: error: cannot run test program while cross compiling
16509 See \`config.log' for more details." >&2;}
16510 { (exit 1); exit 1; }; }
16512 cat >conftest.
$ac_ext <<_ACEOF
16513 #line $LINENO "configure"
16516 cat confdefs.h
>>conftest.
$ac_ext
16517 cat >>conftest.
$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 $ac_includes_default
16520 long longval () { return (long) (sizeof (long long)); }
16521 unsigned long ulongval () { return (long) (sizeof (long long)); }
16523 #include <stdlib.h>
16528 FILE *f = fopen ("conftest.val", "w");
16531 if (((long) (sizeof (long long))) < 0)
16533 long i = longval ();
16534 if (i != ((long) (sizeof (long long))))
16536 fprintf (f, "%ld\n", i);
16540 unsigned long i = ulongval ();
16541 if (i != ((long) (sizeof (long long))))
16543 fprintf (f, "%lu\n", i);
16545 exit (ferror (f) || fclose (f) != 0);
16551 rm -f conftest
$ac_exeext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16553 (eval $ac_link) 2>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; }; then
16562 ac_cv_sizeof_long_long
=`cat conftest.val`
16564 echo "$as_me: program exited with status $ac_status" >&5
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.
$ac_ext >&5
16568 ( exit $ac_status )
16569 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16570 See \`config.log' for more details." >&5
16571 echo "$as_me: error: cannot compute sizeof (long long), 77
16572 See \`config.log' for more details." >&2;}
16573 { (exit 1); exit 1; }; }
16575 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16580 ac_cv_sizeof_long_long
=0
16583 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16584 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16585 cat >>confdefs.h
<<_ACEOF
16586 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16592 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16593 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16594 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16595 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 if test "$cross_compiling" = yes; then
16602 wx_cv_sizeof_wchar_t
=0
16605 wx_cv_sizeof_wchar_t
=4
16611 cat >conftest.
$ac_ext <<_ACEOF
16612 #line $LINENO "configure"
16615 cat confdefs.h
>>conftest.
$ac_ext
16616 cat >>conftest.
$ac_ext <<_ACEOF
16617 /* end confdefs.h. */
16619 /* DJGPP only has fake wchar_t: */
16621 # error "fake wchar_t"
16623 #ifdef HAVE_WCHAR_H
16625 # include <stddef.h>
16627 # include <wchar.h>
16629 #ifdef HAVE_STDLIB_H
16630 # include <stdlib.h>
16635 FILE *f=fopen("conftestval", "w");
16637 fprintf(f, "%i", sizeof(wchar_t));
16642 rm -f conftest
$ac_exeext
16643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16644 (eval $ac_link) 2>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; }; then
16653 wx_cv_sizeof_wchar_t
=`cat conftestval`
16655 echo "$as_me: program exited with status $ac_status" >&5
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.
$ac_ext >&5
16659 ( exit $ac_status )
16660 wx_cv_sizeof_wchar_t
=0
16662 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16666 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16667 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16669 cat >>confdefs.h
<<_ACEOF
16670 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16674 # Check whether --enable-largefile or --disable-largefile was given.
16675 if test "${enable_largefile+set}" = set; then
16676 enableval
="$enable_largefile"
16679 if test "$enable_largefile" != no
; then
16682 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16683 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16684 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 cat >conftest.
$ac_ext <<_ACEOF
16689 #line $LINENO "configure"
16692 cat confdefs.h
>>conftest.
$ac_ext
16693 cat >>conftest.
$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 #define _FILE_OFFSET_BITS 64
16696 #include <sys/types.h>
16701 unsigned int field: sizeof(off_t) == 8;
16708 rm -f conftest.
$ac_objext
16709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16710 (eval $ac_compile) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } &&
16714 { ac_try
='test -s conftest.$ac_objext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 ac_cv_sys_file_offset_bits
=64
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.
$ac_ext >&5
16725 ac_cv_sys_file_offset_bits
=no
16727 rm -f conftest.
$ac_objext conftest.
$ac_ext
16731 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16732 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16734 if test "$ac_cv_sys_file_offset_bits" != no
; then
16736 cat >>confdefs.h
<<_ACEOF
16737 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16742 if test "x$wx_largefile" != "xyes"; then
16744 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16745 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16746 if test "${ac_cv_sys_large_files+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16750 cat >conftest.
$ac_ext <<_ACEOF
16751 #line $LINENO "configure"
16754 cat confdefs.h
>>conftest.
$ac_ext
16755 cat >>conftest.
$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16757 #define _LARGE_FILES 1
16758 #include <sys/types.h>
16763 unsigned int field: sizeof(off_t) == 8;
16770 rm -f conftest.
$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>&5
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); } &&
16776 { ac_try
='test -s conftest.$ac_objext'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16782 ac_cv_sys_large_files
=1
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.
$ac_ext >&5
16787 ac_cv_sys_large_files
=no
16789 rm -f conftest.
$ac_objext conftest.
$ac_ext
16793 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16794 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16796 if test "$ac_cv_sys_large_files" != no
; then
16798 cat >>confdefs.h
<<_ACEOF
16799 #define _LARGE_FILES $ac_cv_sys_large_files
16806 echo "$as_me:$LINENO: checking if large file support is available" >&5
16807 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16808 if test "x$wx_largefile" = "xyes"; then
16809 cat >>confdefs.h
<<\_ACEOF
16810 #define HAVE_LARGEFILE_SUPPORT 1
16814 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16815 echo "${ECHO_T}$wx_largefile" >&6
16819 if test "x$wx_largefile" = "xyes"; then
16820 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16821 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16823 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16825 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16828 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16829 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16830 if test "${ac_cv_c_bigendian+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 ac_cv_c_bigendian
=unknown
16834 # See if sys/param.h defines the BYTE_ORDER macro.
16835 cat >conftest.
$ac_ext <<_ACEOF
16836 #line $LINENO "configure"
16839 cat confdefs.h
>>conftest.
$ac_ext
16840 cat >>conftest.
$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842 #include <sys/types.h>
16843 #include <sys/param.h>
16848 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16849 bogus endian macros
16855 rm -f conftest.
$ac_objext
16856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16857 (eval $ac_compile) 2>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try
='test -s conftest.$ac_objext'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; }; then
16867 # It does; now see whether it defined to BIG_ENDIAN or not.
16868 cat >conftest.
$ac_ext <<_ACEOF
16869 #line $LINENO "configure"
16872 cat confdefs.h
>>conftest.
$ac_ext
16873 cat >>conftest.
$ac_ext <<_ACEOF
16874 /* end confdefs.h. */
16875 #include <sys/types.h>
16876 #include <sys/param.h>
16881 #if BYTE_ORDER != BIG_ENDIAN
16888 rm -f conftest.
$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890 (eval $ac_compile) 2>&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } &&
16894 { ac_try
='test -s conftest.$ac_objext'
16895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896 (eval $ac_try) 2>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); }; }; then
16900 ac_cv_c_bigendian
=yes
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.
$ac_ext >&5
16905 ac_cv_c_bigendian
=no
16907 rm -f conftest.
$ac_objext conftest.
$ac_ext
16909 echo "$as_me: failed program was:" >&5
16910 sed 's/^/| /' conftest.
$ac_ext >&5
16913 rm -f conftest.
$ac_objext conftest.
$ac_ext
16914 if test $ac_cv_c_bigendian = unknown
; then
16915 if test "$cross_compiling" = yes; then
16916 ac_cv_c_bigendian
=unknown
16918 cat >conftest.
$ac_ext <<_ACEOF
16919 #line $LINENO "configure"
16922 cat confdefs.h
>>conftest.
$ac_ext
16923 cat >>conftest.
$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16926 /* Are we little or big endian? From Harbison&Steele. */
16930 char c[sizeof (long)];
16933 exit (u.c[sizeof (long) - 1] == 1);
16936 rm -f conftest
$ac_exeext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16938 (eval $ac_link) 2>&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; }; then
16947 ac_cv_c_bigendian
=no
16949 echo "$as_me: program exited with status $ac_status" >&5
16950 echo "$as_me: failed program was:" >&5
16951 sed 's/^/| /' conftest.
$ac_ext >&5
16953 ( exit $ac_status )
16954 ac_cv_c_bigendian
=yes
16956 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16960 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16961 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16962 if test $ac_cv_c_bigendian = unknown
; then
16963 { 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
16964 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;}
16966 if test $ac_cv_c_bigendian = yes; then
16967 cat >>confdefs.h
<<\_ACEOF
16968 #define WORDS_BIGENDIAN 1
16976 ac_cpp
='$CXXCPP $CPPFLAGS'
16977 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16978 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16979 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16980 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16981 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16982 if test -z "$CXXCPP"; then
16983 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16986 # Double quotes because CXXCPP needs to be expanded
16987 for CXXCPP
in "$CXX -E" "/lib/cpp"
16989 ac_preproc_ok
=false
16990 for ac_cxx_preproc_warn_flag
in '' yes
16992 # Use a header file that comes with gcc, so configuring glibc
16993 # with a fresh cross-compiler works.
16994 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16995 # <limits.h> exists even on freestanding compilers.
16996 # On the NeXT, cc -E runs the code through the compiler's parser,
16997 # not just through cpp. "Syntax error" is here to catch this case.
16998 cat >conftest.
$ac_ext <<_ACEOF
16999 #line $LINENO "configure"
17002 cat confdefs.h
>>conftest.
$ac_ext
17003 cat >>conftest.
$ac_ext <<_ACEOF
17004 /* end confdefs.h. */
17006 # include <limits.h>
17008 # include <assert.h>
17012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17013 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17015 grep -v '^ *+' conftest.er1
>conftest.err
17017 cat conftest.err
>&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); } >/dev
/null
; then
17020 if test -s conftest.err
; then
17021 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17028 if test -z "$ac_cpp_err"; then
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.
$ac_ext >&5
17034 # Broken: fails on valid input.
17037 rm -f conftest.err conftest.
$ac_ext
17039 # OK, works on sane cases. Now check whether non-existent headers
17040 # can be detected and how.
17041 cat >conftest.
$ac_ext <<_ACEOF
17042 #line $LINENO "configure"
17045 cat confdefs.h
>>conftest.
$ac_ext
17046 cat >>conftest.
$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 #include <ac_nonexistent.h>
17050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17051 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17053 grep -v '^ *+' conftest.er1
>conftest.err
17055 cat conftest.err
>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } >/dev
/null
; then
17058 if test -s conftest.err
; then
17059 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17066 if test -z "$ac_cpp_err"; then
17067 # Broken: success on invalid input.
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.
$ac_ext >&5
17073 # Passes both tests.
17077 rm -f conftest.err conftest.
$ac_ext
17080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17081 rm -f conftest.err conftest.
$ac_ext
17082 if $ac_preproc_ok; then
17087 ac_cv_prog_CXXCPP
=$CXXCPP
17090 CXXCPP
=$ac_cv_prog_CXXCPP
17092 ac_cv_prog_CXXCPP
=$CXXCPP
17094 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17095 echo "${ECHO_T}$CXXCPP" >&6
17096 ac_preproc_ok
=false
17097 for ac_cxx_preproc_warn_flag
in '' yes
17099 # Use a header file that comes with gcc, so configuring glibc
17100 # with a fresh cross-compiler works.
17101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17102 # <limits.h> exists even on freestanding compilers.
17103 # On the NeXT, cc -E runs the code through the compiler's parser,
17104 # not just through cpp. "Syntax error" is here to catch this case.
17105 cat >conftest.
$ac_ext <<_ACEOF
17106 #line $LINENO "configure"
17109 cat confdefs.h
>>conftest.
$ac_ext
17110 cat >>conftest.
$ac_ext <<_ACEOF
17111 /* end confdefs.h. */
17113 # include <limits.h>
17115 # include <assert.h>
17119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17120 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17122 grep -v '^ *+' conftest.er1
>conftest.err
17124 cat conftest.err
>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } >/dev
/null
; then
17127 if test -s conftest.err
; then
17128 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17135 if test -z "$ac_cpp_err"; then
17138 echo "$as_me: failed program was:" >&5
17139 sed 's/^/| /' conftest.
$ac_ext >&5
17141 # Broken: fails on valid input.
17144 rm -f conftest.err conftest.
$ac_ext
17146 # OK, works on sane cases. Now check whether non-existent headers
17147 # can be detected and how.
17148 cat >conftest.
$ac_ext <<_ACEOF
17149 #line $LINENO "configure"
17152 cat confdefs.h
>>conftest.
$ac_ext
17153 cat >>conftest.
$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155 #include <ac_nonexistent.h>
17157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17160 grep -v '^ *+' conftest.er1
>conftest.err
17162 cat conftest.err
>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } >/dev
/null
; then
17165 if test -s conftest.err
; then
17166 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17173 if test -z "$ac_cpp_err"; then
17174 # Broken: success on invalid input.
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.
$ac_ext >&5
17180 # Passes both tests.
17184 rm -f conftest.err conftest.
$ac_ext
17187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17188 rm -f conftest.err conftest.
$ac_ext
17189 if $ac_preproc_ok; then
17192 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17193 See \`config.log' for more details." >&5
17194 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17195 See \`config.log' for more details." >&2;}
17196 { (exit 1); exit 1; }; }
17200 ac_cpp
='$CXXCPP $CPPFLAGS'
17201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17207 if test "$cross_compiling" = "yes"; then
17208 cat >>confdefs.h
<<\_ACEOF
17209 #define wxUSE_IOSTREAMH 1
17216 ac_cpp
='$CXXCPP $CPPFLAGS'
17217 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17218 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17219 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17223 for ac_header
in iostream
17225 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17227 echo "$as_me:$LINENO: checking for $ac_header" >&5
17228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17235 # Is the header compilable?
17236 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17238 cat >conftest.
$ac_ext <<_ACEOF
17239 #line $LINENO "configure"
17242 cat confdefs.h
>>conftest.
$ac_ext
17243 cat >>conftest.
$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 $ac_includes_default
17246 #include <$ac_header>
17248 rm -f conftest.
$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } &&
17254 { ac_try
='test -s conftest.$ac_objext'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; }; then
17260 ac_header_compiler
=yes
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.
$ac_ext >&5
17265 ac_header_compiler
=no
17267 rm -f conftest.
$ac_objext conftest.
$ac_ext
17268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17269 echo "${ECHO_T}$ac_header_compiler" >&6
17271 # Is the header present?
17272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17274 cat >conftest.
$ac_ext <<_ACEOF
17275 #line $LINENO "configure"
17278 cat confdefs.h
>>conftest.
$ac_ext
17279 cat >>conftest.
$ac_ext <<_ACEOF
17280 /* end confdefs.h. */
17281 #include <$ac_header>
17283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17284 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17286 grep -v '^ *+' conftest.er1
>conftest.err
17288 cat conftest.err
>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } >/dev
/null
; then
17291 if test -s conftest.err
; then
17292 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17299 if test -z "$ac_cpp_err"; then
17300 ac_header_preproc
=yes
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.
$ac_ext >&5
17305 ac_header_preproc
=no
17307 rm -f conftest.err conftest.
$ac_ext
17308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17309 echo "${ECHO_T}$ac_header_preproc" >&6
17311 # So? What about this header?
17312 case $ac_header_compiler:$ac_header_preproc in
17314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17320 ## ------------------------------------ ##
17321 ## Report this to bug-autoconf@gnu.org. ##
17322 ## ------------------------------------ ##
17325 sed "s/^/$as_me: WARNING: /" >&2
17328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17336 ## ------------------------------------ ##
17337 ## Report this to bug-autoconf@gnu.org. ##
17338 ## ------------------------------------ ##
17341 sed "s/^/$as_me: WARNING: /" >&2
17344 echo "$as_me:$LINENO: checking for $ac_header" >&5
17345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17347 echo $ECHO_N "(cached) $ECHO_C" >&6
17349 eval "$as_ac_Header=$ac_header_preproc"
17351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17356 cat >>confdefs.h
<<_ACEOF
17357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17365 if test "$ac_cv_header_iostream" = "yes" ; then
17368 cat >>confdefs.h
<<\_ACEOF
17369 #define wxUSE_IOSTREAMH 1
17375 ac_cpp
='$CPP $CPPFLAGS'
17376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17384 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17385 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17386 if test "${wx_cv_cpp_bool+set}" = set; then
17387 echo $ECHO_N "(cached) $ECHO_C" >&6
17393 ac_cpp
='$CXXCPP $CPPFLAGS'
17394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17399 cat >conftest.
$ac_ext <<_ACEOF
17400 #line $LINENO "configure"
17403 cat confdefs.h
>>conftest.
$ac_ext
17404 cat >>conftest.
$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17420 rm -f conftest.
$ac_objext
17421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17422 (eval $ac_compile) 2>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } &&
17426 { ac_try
='test -s conftest.$ac_objext'
17427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17428 (eval $ac_try) 2>&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); }; }; then
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.
$ac_ext >&5
17444 rm -f conftest.
$ac_objext conftest.
$ac_ext
17447 ac_cpp
='$CPP $CPPFLAGS'
17448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17454 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17455 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17457 if test "$wx_cv_cpp_bool" = "yes"; then
17458 cat >>confdefs.h
<<\_ACEOF
17459 #define HAVE_BOOL 1
17466 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17467 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17468 if test "${wx_cv_explicit+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 ac_cpp
='$CXXCPP $CPPFLAGS'
17476 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17477 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17478 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17481 cat >conftest.
$ac_ext <<_ACEOF
17482 #line $LINENO "configure"
17485 cat confdefs.h
>>conftest.
$ac_ext
17486 cat >>conftest.
$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17489 class Foo { public: explicit Foo(int) {} };
17501 rm -f conftest.
$ac_objext
17502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17503 (eval $ac_compile) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } &&
17507 { ac_try
='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17514 cat >conftest.
$ac_ext <<_ACEOF
17515 #line $LINENO "configure"
17518 cat confdefs.h
>>conftest.
$ac_ext
17519 cat >>conftest.
$ac_ext <<_ACEOF
17520 /* end confdefs.h. */
17522 class Foo { public: explicit Foo(int) {} };
17523 static void TakeFoo(const Foo& foo) { }
17536 rm -f conftest.
$ac_objext
17537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17538 (eval $ac_compile) 2>&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } &&
17542 { ac_try
='test -s conftest.$ac_objext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.
$ac_ext >&5
17556 rm -f conftest.
$ac_objext conftest.
$ac_ext
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.
$ac_ext >&5
17565 rm -f conftest.
$ac_objext conftest.
$ac_ext
17568 ac_cpp
='$CPP $CPPFLAGS'
17569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17575 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17576 echo "${ECHO_T}$wx_cv_explicit" >&6
17578 if test "$wx_cv_explicit" = "yes"; then
17579 cat >>confdefs.h
<<\_ACEOF
17580 #define HAVE_EXPLICIT 1
17586 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17587 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17588 if test "${ac_cv_cxx_const_cast+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17594 ac_cpp
='$CXXCPP $CPPFLAGS'
17595 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17596 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17597 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17599 cat >conftest.
$ac_ext <<_ACEOF
17600 #line $LINENO "configure"
17603 cat confdefs.h
>>conftest.
$ac_ext
17604 cat >>conftest.
$ac_ext <<_ACEOF
17605 /* end confdefs.h. */
17610 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17615 rm -f conftest.
$ac_objext
17616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17617 (eval $ac_compile) 2>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } &&
17621 { ac_try
='test -s conftest.$ac_objext'
17622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17623 (eval $ac_try) 2>&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); }; }; then
17627 ac_cv_cxx_const_cast
=yes
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.
$ac_ext >&5
17632 ac_cv_cxx_const_cast
=no
17634 rm -f conftest.
$ac_objext conftest.
$ac_ext
17636 ac_cpp
='$CPP $CPPFLAGS'
17637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17643 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17644 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17645 if test "$ac_cv_cxx_const_cast" = yes; then
17647 cat >>confdefs.h
<<\_ACEOF
17648 #define HAVE_CONST_CAST
17656 /usr/local/include \
17658 /usr/Motif-1.2/include \
17659 /usr/Motif-2.1/include \
17661 /usr/include/Motif1.2 \
17662 /opt/xpm/include/X11 \
17663 /opt/GBxpm/include/ \
17664 /opt/GBxpm/X11/include/ \
17666 /usr/Motif1.2/include \
17668 /usr/openwin/include \
17672 /usr/X11R6/include \
17673 /usr/X11R6.4/include \
17674 /usr/X11R5/include \
17675 /usr/X11R4/include \
17677 /usr/include/X11R6 \
17678 /usr/include/X11R5 \
17679 /usr/include/X11R4 \
17681 /usr/local/X11R6/include \
17682 /usr/local/X11R5/include \
17683 /usr/local/X11R4/include \
17685 /usr/local/include/X11R6 \
17686 /usr/local/include/X11R5 \
17687 /usr/local/include/X11R4 \
17691 /usr/local/X11/include \
17692 /usr/local/include/X11 \
17694 /usr/X386/include \
17695 /usr/x386/include \
17696 /usr/XFree86/include/X11 \
17698 X:/XFree86/include \
17699 X:/XFree86/include/X11 \
17702 /usr/local/include/gtk \
17703 /usr/include/glib \
17704 /usr/local/include/glib \
17707 /usr/local/include/qt \
17709 /usr/include/windows \
17710 /usr/include/wine \
17711 /usr/local/include/wine \
17713 /usr/unsupported/include \
17714 /usr/athena/include \
17715 /usr/local/x11r5/include \
17716 /usr/lpp/Xamples/include \
17718 /usr/openwin/share/include"
17720 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17723 cat >confcache
<<\_ACEOF
17724 # This file is a shell script that caches the results of configure
17725 # tests run on this system so they can be shared between configure
17726 # scripts and configure runs, see configure's option --config-cache.
17727 # It is not useful on other systems. If it contains results you don't
17728 # want to keep, you may remove or edit it.
17730 # config.status only pays attention to the cache file if you give it
17731 # the --recheck option to rerun configure.
17733 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17734 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17735 # following values.
17739 # The following way of writing the cache mishandles newlines in values,
17740 # but we know of no workaround that is simple, portable, and efficient.
17741 # So, don't put newlines in cache variables' values.
17742 # Ultrix sh set writes to stderr and can't be redirected directly,
17743 # and sets the high bit in the cache file unless we assign to the vars.
17746 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17748 # `set' does not quote correctly, so add quotes (double-quote
17749 # substitution turns \\\\ into \\, and sed turns \\ into \).
17752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17755 # `set' quotes correctly as required by POSIX, so do not add quotes.
17757 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17766 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17768 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17769 if test -w $cache_file; then
17770 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17771 cat confcache
>$cache_file
17773 echo "not updating unwritable cache $cache_file"
17778 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17779 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17780 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17781 if test "${wx_cv_lib_glibc21+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17785 cat >conftest.
$ac_ext <<_ACEOF
17786 #line $LINENO "configure"
17789 cat confdefs.h
>>conftest.
$ac_ext
17790 cat >>conftest.
$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 #include <features.h>
17797 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17798 #error not glibc2.1
17805 rm -f conftest.
$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try
='test -s conftest.$ac_objext'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; }; then
17818 wx_cv_lib_glibc21
=yes
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.
$ac_ext >&5
17825 wx_cv_lib_glibc21
=no
17829 rm -f conftest.
$ac_objext conftest.
$ac_ext
17832 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17833 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17834 if test "$wx_cv_lib_glibc21" = "yes"; then
17835 cat >>confdefs.h
<<\_ACEOF
17836 #define wxHAVE_GLIBC2 1
17842 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17843 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17844 cat >>confdefs.h
<<\_ACEOF
17845 #define _GNU_SOURCE 1
17854 if test "$wxUSE_REGEX" != "no"; then
17855 cat >>confdefs.h
<<\_ACEOF
17856 #define wxUSE_REGEX 1
17860 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17861 if test "${ac_cv_header_regex_h+set}" = set; then
17862 echo "$as_me:$LINENO: checking for regex.h" >&5
17863 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17864 if test "${ac_cv_header_regex_h+set}" = set; then
17865 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17868 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17870 # Is the header compilable?
17871 echo "$as_me:$LINENO: checking regex.h usability" >&5
17872 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17873 cat >conftest.
$ac_ext <<_ACEOF
17874 #line $LINENO "configure"
17877 cat confdefs.h
>>conftest.
$ac_ext
17878 cat >>conftest.
$ac_ext <<_ACEOF
17879 /* end confdefs.h. */
17880 $ac_includes_default
17883 rm -f conftest.
$ac_objext
17884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17885 (eval $ac_compile) 2>&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } &&
17889 { ac_try
='test -s conftest.$ac_objext'
17890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891 (eval $ac_try) 2>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; }; then
17895 ac_header_compiler
=yes
17897 echo "$as_me: failed program was:" >&5
17898 sed 's/^/| /' conftest.
$ac_ext >&5
17900 ac_header_compiler
=no
17902 rm -f conftest.
$ac_objext conftest.
$ac_ext
17903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17904 echo "${ECHO_T}$ac_header_compiler" >&6
17906 # Is the header present?
17907 echo "$as_me:$LINENO: checking regex.h presence" >&5
17908 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17909 cat >conftest.
$ac_ext <<_ACEOF
17910 #line $LINENO "configure"
17913 cat confdefs.h
>>conftest.
$ac_ext
17914 cat >>conftest.
$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17919 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17921 grep -v '^ *+' conftest.er1
>conftest.err
17923 cat conftest.err
>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } >/dev
/null
; then
17926 if test -s conftest.err
; then
17927 ac_cpp_err
=$ac_c_preproc_warn_flag
17934 if test -z "$ac_cpp_err"; then
17935 ac_header_preproc
=yes
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.
$ac_ext >&5
17940 ac_header_preproc
=no
17942 rm -f conftest.err conftest.
$ac_ext
17943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17944 echo "${ECHO_T}$ac_header_preproc" >&6
17946 # So? What about this header?
17947 case $ac_header_compiler:$ac_header_preproc in
17949 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17950 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17951 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17952 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17955 ## ------------------------------------ ##
17956 ## Report this to bug-autoconf@gnu.org. ##
17957 ## ------------------------------------ ##
17960 sed "s/^/$as_me: WARNING: /" >&2
17963 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17964 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17965 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17966 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17967 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17968 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17971 ## ------------------------------------ ##
17972 ## Report this to bug-autoconf@gnu.org. ##
17973 ## ------------------------------------ ##
17976 sed "s/^/$as_me: WARNING: /" >&2
17979 echo "$as_me:$LINENO: checking for regex.h" >&5
17980 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17981 if test "${ac_cv_header_regex_h+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 ac_cv_header_regex_h
=$ac_header_preproc
17986 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17987 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17990 if test $ac_cv_header_regex_h = yes; then
17992 for ac_func
in regcomp
17994 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17995 echo "$as_me:$LINENO: checking for $ac_func" >&5
17996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17997 if eval "test \"\${$as_ac_var+set}\" = set"; then
17998 echo $ECHO_N "(cached) $ECHO_C" >&6
18000 cat >conftest.
$ac_ext <<_ACEOF
18001 #line $LINENO "configure"
18004 cat confdefs.h
>>conftest.
$ac_ext
18005 cat >>conftest.
$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 /* System header to define __stub macros and hopefully few prototypes,
18008 which can conflict with char $ac_func (); below.
18009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18010 <limits.h> exists even on freestanding compilers. */
18012 # include <limits.h>
18014 # include <assert.h>
18016 /* Override any gcc2 internal prototype to avoid an error. */
18021 /* We use char because int might match the return type of a gcc2
18022 builtin and then its argument prototype would still apply. */
18024 /* The GNU C library defines this for functions which it implements
18025 to always fail with ENOSYS. Some functions are actually named
18026 something starting with __ and the normal name is an alias. */
18027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18030 char (*f) () = $ac_func;
18039 return f != $ac_func;
18044 rm -f conftest.
$ac_objext conftest
$ac_exeext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18046 (eval $ac_link) 2>&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); } &&
18050 { ac_try
='test -s conftest$ac_exeext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 eval "$as_ac_var=yes"
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.
$ac_ext >&5
18061 eval "$as_ac_var=no"
18063 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18067 if test `eval echo '${'$as_ac_var'}'` = yes; then
18068 cat >>confdefs.h
<<_ACEOF
18069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18079 if test "x$ac_cv_func_regcomp" != "xyes"; then
18080 if test "$wxUSE_REGEX" = "sys" ; then
18081 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18082 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18083 { (exit 1); exit 1; }; }
18085 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18086 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18087 wxUSE_REGEX
=builtin
18094 if test "$wxUSE_REGEX" = "builtin" ; then
18095 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18102 if test "$wxUSE_ZLIB" != "no" ; then
18103 cat >>confdefs.h
<<\_ACEOF
18104 #define wxUSE_ZLIB 1
18108 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18109 if test "$USE_DARWIN" = 1; then
18110 system_zlib_h_ok
="yes"
18112 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18113 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18114 if test "${ac_cv_header_zlib_h+set}" = set; then
18115 echo $ECHO_N "(cached) $ECHO_C" >&6
18117 if test "$cross_compiling" = yes; then
18118 unset ac_cv_header_zlib_h
18121 cat >conftest.
$ac_ext <<_ACEOF
18122 #line $LINENO "configure"
18125 cat confdefs.h
>>conftest.
$ac_ext
18126 cat >>conftest.
$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18134 FILE *f=fopen("conftestval", "w");
18137 ZLIB_VERSION[0] == '1' &&
18138 (ZLIB_VERSION[2] > '1' ||
18139 (ZLIB_VERSION[2] == '1' &&
18140 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18145 rm -f conftest
$ac_exeext
18146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18147 (eval $ac_link) 2>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18152 (eval $ac_try) 2>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }; }; then
18156 ac_cv_header_zlib_h
=`cat conftestval`
18158 echo "$as_me: program exited with status $ac_status" >&5
18159 echo "$as_me: failed program was:" >&5
18160 sed 's/^/| /' conftest.
$ac_ext >&5
18162 ( exit $ac_status )
18163 ac_cv_header_zlib_h
=no
18165 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18169 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18170 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18171 if test "${ac_cv_header_zlib_h+set}" = set; then
18172 echo "$as_me:$LINENO: checking for zlib.h" >&5
18173 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18174 if test "${ac_cv_header_zlib_h+set}" = set; then
18175 echo $ECHO_N "(cached) $ECHO_C" >&6
18177 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18178 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18180 # Is the header compilable?
18181 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18182 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18183 cat >conftest.
$ac_ext <<_ACEOF
18184 #line $LINENO "configure"
18187 cat confdefs.h
>>conftest.
$ac_ext
18188 cat >>conftest.
$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18190 $ac_includes_default
18193 rm -f conftest.
$ac_objext
18194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18195 (eval $ac_compile) 2>&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); } &&
18199 { ac_try
='test -s conftest.$ac_objext'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; }; then
18205 ac_header_compiler
=yes
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.
$ac_ext >&5
18210 ac_header_compiler
=no
18212 rm -f conftest.
$ac_objext conftest.
$ac_ext
18213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18214 echo "${ECHO_T}$ac_header_compiler" >&6
18216 # Is the header present?
18217 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18218 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18219 cat >conftest.
$ac_ext <<_ACEOF
18220 #line $LINENO "configure"
18223 cat confdefs.h
>>conftest.
$ac_ext
18224 cat >>conftest.
$ac_ext <<_ACEOF
18225 /* end confdefs.h. */
18228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18229 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18231 grep -v '^ *+' conftest.er1
>conftest.err
18233 cat conftest.err
>&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); } >/dev
/null
; then
18236 if test -s conftest.err
; then
18237 ac_cpp_err
=$ac_c_preproc_warn_flag
18244 if test -z "$ac_cpp_err"; then
18245 ac_header_preproc
=yes
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.
$ac_ext >&5
18250 ac_header_preproc
=no
18252 rm -f conftest.err conftest.
$ac_ext
18253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18254 echo "${ECHO_T}$ac_header_preproc" >&6
18256 # So? What about this header?
18257 case $ac_header_compiler:$ac_header_preproc in
18259 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18260 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18261 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18262 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18265 ## ------------------------------------ ##
18266 ## Report this to bug-autoconf@gnu.org. ##
18267 ## ------------------------------------ ##
18270 sed "s/^/$as_me: WARNING: /" >&2
18273 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18274 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18275 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18276 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18277 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18278 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18281 ## ------------------------------------ ##
18282 ## Report this to bug-autoconf@gnu.org. ##
18283 ## ------------------------------------ ##
18286 sed "s/^/$as_me: WARNING: /" >&2
18289 echo "$as_me:$LINENO: checking for zlib.h" >&5
18290 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18291 if test "${ac_cv_header_zlib_h+set}" = set; then
18292 echo $ECHO_N "(cached) $ECHO_C" >&6
18294 ac_cv_header_zlib_h
=$ac_header_preproc
18296 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18297 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18303 system_zlib_h_ok
=$ac_cv_header_zlib_h
18306 if test "$system_zlib_h_ok" = "yes"; then
18307 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18308 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18309 if test "${ac_cv_lib_z_deflate+set}" = set; then
18310 echo $ECHO_N "(cached) $ECHO_C" >&6
18312 ac_check_lib_save_LIBS
=$LIBS
18314 cat >conftest.
$ac_ext <<_ACEOF
18315 #line $LINENO "configure"
18318 cat confdefs.h
>>conftest.
$ac_ext
18319 cat >>conftest.
$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18322 /* Override any gcc2 internal prototype to avoid an error. */
18326 /* We use char because int might match the return type of a gcc2
18327 builtin and then its argument prototype would still apply. */
18337 rm -f conftest.
$ac_objext conftest
$ac_exeext
18338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18339 (eval $ac_link) 2>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } &&
18343 { ac_try
='test -s conftest$ac_exeext'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; }; then
18349 ac_cv_lib_z_deflate
=yes
18351 echo "$as_me: failed program was:" >&5
18352 sed 's/^/| /' conftest.
$ac_ext >&5
18354 ac_cv_lib_z_deflate
=no
18356 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18357 LIBS
=$ac_check_lib_save_LIBS
18359 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18360 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18361 if test $ac_cv_lib_z_deflate = yes; then
18367 if test "x$ZLIB_LINK" = "x" ; then
18368 if test "$wxUSE_ZLIB" = "sys" ; then
18369 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18370 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18371 { (exit 1); exit 1; }; }
18373 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18374 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18382 if test "$wxUSE_ZLIB" = "builtin" ; then
18383 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18390 if test "$wxUSE_LIBPNG" != "no" ; then
18391 cat >>confdefs.h
<<\_ACEOF
18392 #define wxUSE_LIBPNG 1
18396 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18397 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18398 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18402 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18403 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18404 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18405 wxUSE_LIBPNG
=builtin
18408 if test "$wxUSE_MGL" != 1 ; then
18409 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18410 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18411 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18412 if test "${ac_cv_header_png_h+set}" = set; then
18413 echo $ECHO_N "(cached) $ECHO_C" >&6
18415 if test "$cross_compiling" = yes; then
18416 unset ac_cv_header_png_h
18419 cat >conftest.
$ac_ext <<_ACEOF
18420 #line $LINENO "configure"
18423 cat confdefs.h
>>conftest.
$ac_ext
18424 cat >>conftest.
$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18432 FILE *f=fopen("conftestval", "w");
18435 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18440 rm -f conftest
$ac_exeext
18441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18442 (eval $ac_link) 2>&5
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; }; then
18451 ac_cv_header_png_h
=`cat conftestval`
18453 echo "$as_me: program exited with status $ac_status" >&5
18454 echo "$as_me: failed program was:" >&5
18455 sed 's/^/| /' conftest.
$ac_ext >&5
18457 ( exit $ac_status )
18458 ac_cv_header_png_h
=no
18460 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18464 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18465 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18466 if test "${ac_cv_header_png_h+set}" = set; then
18467 echo "$as_me:$LINENO: checking for png.h" >&5
18468 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18469 if test "${ac_cv_header_png_h+set}" = set; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18472 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18473 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18475 # Is the header compilable?
18476 echo "$as_me:$LINENO: checking png.h usability" >&5
18477 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18478 cat >conftest.
$ac_ext <<_ACEOF
18479 #line $LINENO "configure"
18482 cat confdefs.h
>>conftest.
$ac_ext
18483 cat >>conftest.
$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18485 $ac_includes_default
18488 rm -f conftest.
$ac_objext
18489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18490 (eval $ac_compile) 2>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } &&
18494 { ac_try
='test -s conftest.$ac_objext'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; }; then
18500 ac_header_compiler
=yes
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.
$ac_ext >&5
18505 ac_header_compiler
=no
18507 rm -f conftest.
$ac_objext conftest.
$ac_ext
18508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18509 echo "${ECHO_T}$ac_header_compiler" >&6
18511 # Is the header present?
18512 echo "$as_me:$LINENO: checking png.h presence" >&5
18513 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18514 cat >conftest.
$ac_ext <<_ACEOF
18515 #line $LINENO "configure"
18518 cat confdefs.h
>>conftest.
$ac_ext
18519 cat >>conftest.
$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18524 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18526 grep -v '^ *+' conftest.er1
>conftest.err
18528 cat conftest.err
>&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); } >/dev
/null
; then
18531 if test -s conftest.err
; then
18532 ac_cpp_err
=$ac_c_preproc_warn_flag
18539 if test -z "$ac_cpp_err"; then
18540 ac_header_preproc
=yes
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.
$ac_ext >&5
18545 ac_header_preproc
=no
18547 rm -f conftest.err conftest.
$ac_ext
18548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18549 echo "${ECHO_T}$ac_header_preproc" >&6
18551 # So? What about this header?
18552 case $ac_header_compiler:$ac_header_preproc in
18554 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18555 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18556 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18557 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18560 ## ------------------------------------ ##
18561 ## Report this to bug-autoconf@gnu.org. ##
18562 ## ------------------------------------ ##
18565 sed "s/^/$as_me: WARNING: /" >&2
18568 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18569 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18570 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18571 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18572 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18573 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18576 ## ------------------------------------ ##
18577 ## Report this to bug-autoconf@gnu.org. ##
18578 ## ------------------------------------ ##
18581 sed "s/^/$as_me: WARNING: /" >&2
18584 echo "$as_me:$LINENO: checking for png.h" >&5
18585 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18586 if test "${ac_cv_header_png_h+set}" = set; then
18587 echo $ECHO_N "(cached) $ECHO_C" >&6
18589 ac_cv_header_png_h
=$ac_header_preproc
18591 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18592 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18598 if test "$ac_cv_header_png_h" = "yes"; then
18599 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18600 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18601 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18604 ac_check_lib_save_LIBS
=$LIBS
18605 LIBS
="-lpng -lz -lm $LIBS"
18606 cat >conftest.
$ac_ext <<_ACEOF
18607 #line $LINENO "configure"
18610 cat confdefs.h
>>conftest.
$ac_ext
18611 cat >>conftest.
$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18614 /* Override any gcc2 internal prototype to avoid an error. */
18618 /* We use char because int might match the return type of a gcc2
18619 builtin and then its argument prototype would still apply. */
18620 char png_check_sig ();
18629 rm -f conftest.
$ac_objext conftest
$ac_exeext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18631 (eval $ac_link) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } &&
18635 { ac_try
='test -s conftest$ac_exeext'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; }; then
18641 ac_cv_lib_png_png_check_sig
=yes
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.
$ac_ext >&5
18646 ac_cv_lib_png_png_check_sig
=no
18648 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18649 LIBS
=$ac_check_lib_save_LIBS
18651 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18652 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18653 if test $ac_cv_lib_png_png_check_sig = yes; then
18659 if test "x$PNG_LINK" = "x" ; then
18660 if test "$wxUSE_LIBPNG" = "sys" ; then
18661 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18662 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18663 { (exit 1); exit 1; }; }
18665 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18666 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18667 wxUSE_LIBPNG
=builtin
18675 if test "$wxUSE_LIBPNG" = "builtin" ; then
18676 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18685 if test "$wxUSE_LIBJPEG" != "no" ; then
18686 cat >>confdefs.h
<<\_ACEOF
18687 #define wxUSE_LIBJPEG 1
18691 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18692 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18693 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18697 if test "$wxUSE_MGL" != 1 ; then
18698 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18699 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18700 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18701 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18702 echo $ECHO_N "(cached) $ECHO_C" >&6
18704 cat >conftest.
$ac_ext <<_ACEOF
18705 #line $LINENO "configure"
18708 cat confdefs.h
>>conftest.
$ac_ext
18709 cat >>conftest.
$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18712 #undef HAVE_STDLIB_H
18714 #include <jpeglib.h>
18725 rm -f conftest.
$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } &&
18731 { ac_try
='test -s conftest.$ac_objext'
18732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733 (eval $ac_try) 2>&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; }; then
18737 ac_cv_header_jpeglib_h
=yes
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.
$ac_ext >&5
18742 ac_cv_header_jpeglib_h
=no
18745 rm -f conftest.
$ac_objext conftest.
$ac_ext
18749 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18750 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18752 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18753 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18754 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18755 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18758 ac_check_lib_save_LIBS
=$LIBS
18759 LIBS
="-ljpeg $LIBS"
18760 cat >conftest.
$ac_ext <<_ACEOF
18761 #line $LINENO "configure"
18764 cat confdefs.h
>>conftest.
$ac_ext
18765 cat >>conftest.
$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18768 /* Override any gcc2 internal prototype to avoid an error. */
18772 /* We use char because int might match the return type of a gcc2
18773 builtin and then its argument prototype would still apply. */
18774 char jpeg_read_header ();
18778 jpeg_read_header ();
18783 rm -f conftest.
$ac_objext conftest
$ac_exeext
18784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18785 (eval $ac_link) 2>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try
='test -s conftest$ac_exeext'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; }; then
18795 ac_cv_lib_jpeg_jpeg_read_header
=yes
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.
$ac_ext >&5
18800 ac_cv_lib_jpeg_jpeg_read_header
=no
18802 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18803 LIBS
=$ac_check_lib_save_LIBS
18805 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18806 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18807 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18808 JPEG_LINK
=" -ljpeg"
18813 if test "x$JPEG_LINK" = "x" ; then
18814 if test "$wxUSE_LIBJPEG" = "sys" ; then
18815 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18816 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18817 { (exit 1); exit 1; }; }
18819 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18820 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18821 wxUSE_LIBJPEG
=builtin
18829 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18830 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18837 TIFF_PREREQ_LINKS
=-lm
18838 if test "$wxUSE_LIBTIFF" != "no" ; then
18839 cat >>confdefs.h
<<\_ACEOF
18840 #define wxUSE_LIBTIFF 1
18844 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18845 if test "$wxUSE_LIBJPEG" = "sys"; then
18846 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18848 if test "$wxUSE_ZLIB" = "sys"; then
18849 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18851 if test "${ac_cv_header_tiffio_h+set}" = set; then
18852 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18853 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18854 if test "${ac_cv_header_tiffio_h+set}" = set; then
18855 echo $ECHO_N "(cached) $ECHO_C" >&6
18857 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18858 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18860 # Is the header compilable?
18861 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18862 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18863 cat >conftest.
$ac_ext <<_ACEOF
18864 #line $LINENO "configure"
18867 cat confdefs.h
>>conftest.
$ac_ext
18868 cat >>conftest.
$ac_ext <<_ACEOF
18869 /* end confdefs.h. */
18870 $ac_includes_default
18871 #include <tiffio.h>
18873 rm -f conftest.
$ac_objext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18875 (eval $ac_compile) 2>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } &&
18879 { ac_try
='test -s conftest.$ac_objext'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; }; then
18885 ac_header_compiler
=yes
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.
$ac_ext >&5
18890 ac_header_compiler
=no
18892 rm -f conftest.
$ac_objext conftest.
$ac_ext
18893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18894 echo "${ECHO_T}$ac_header_compiler" >&6
18896 # Is the header present?
18897 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18898 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18899 cat >conftest.
$ac_ext <<_ACEOF
18900 #line $LINENO "configure"
18903 cat confdefs.h
>>conftest.
$ac_ext
18904 cat >>conftest.
$ac_ext <<_ACEOF
18905 /* end confdefs.h. */
18906 #include <tiffio.h>
18908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18909 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18911 grep -v '^ *+' conftest.er1
>conftest.err
18913 cat conftest.err
>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); } >/dev
/null
; then
18916 if test -s conftest.err
; then
18917 ac_cpp_err
=$ac_c_preproc_warn_flag
18924 if test -z "$ac_cpp_err"; then
18925 ac_header_preproc
=yes
18927 echo "$as_me: failed program was:" >&5
18928 sed 's/^/| /' conftest.
$ac_ext >&5
18930 ac_header_preproc
=no
18932 rm -f conftest.err conftest.
$ac_ext
18933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18934 echo "${ECHO_T}$ac_header_preproc" >&6
18936 # So? What about this header?
18937 case $ac_header_compiler:$ac_header_preproc in
18939 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18940 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18941 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18942 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18945 ## ------------------------------------ ##
18946 ## Report this to bug-autoconf@gnu.org. ##
18947 ## ------------------------------------ ##
18950 sed "s/^/$as_me: WARNING: /" >&2
18953 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18954 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18955 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18956 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18957 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18958 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18961 ## ------------------------------------ ##
18962 ## Report this to bug-autoconf@gnu.org. ##
18963 ## ------------------------------------ ##
18966 sed "s/^/$as_me: WARNING: /" >&2
18969 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18970 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18971 if test "${ac_cv_header_tiffio_h+set}" = set; then
18972 echo $ECHO_N "(cached) $ECHO_C" >&6
18974 ac_cv_header_tiffio_h
=$ac_header_preproc
18976 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18977 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18980 if test $ac_cv_header_tiffio_h = yes; then
18981 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18982 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18983 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18986 ac_check_lib_save_LIBS
=$LIBS
18987 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18988 cat >conftest.
$ac_ext <<_ACEOF
18989 #line $LINENO "configure"
18992 cat confdefs.h
>>conftest.
$ac_ext
18993 cat >>conftest.
$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18996 /* Override any gcc2 internal prototype to avoid an error. */
19000 /* We use char because int might match the return type of a gcc2
19001 builtin and then its argument prototype would still apply. */
19011 rm -f conftest.
$ac_objext conftest
$ac_exeext
19012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19013 (eval $ac_link) 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); } &&
19017 { ac_try
='test -s conftest$ac_exeext'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; }; then
19023 ac_cv_lib_tiff_TIFFError
=yes
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.
$ac_ext >&5
19028 ac_cv_lib_tiff_TIFFError
=no
19030 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19031 LIBS
=$ac_check_lib_save_LIBS
19033 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19034 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19035 if test $ac_cv_lib_tiff_TIFFError = yes; then
19036 TIFF_LINK
=" -ltiff"
19044 if test "x$TIFF_LINK" = "x" ; then
19045 if test "$wxUSE_LIBTIFF" = "sys" ; then
19046 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19047 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19048 { (exit 1); exit 1; }; }
19050 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19051 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19052 wxUSE_LIBTIFF
=builtin
19059 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19060 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19072 if test "$USE_WIN32" = 1 ; then
19074 for ac_header
in w32api.h
19076 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19078 echo "$as_me:$LINENO: checking for $ac_header" >&5
19079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19086 # Is the header compilable?
19087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19089 cat >conftest.
$ac_ext <<_ACEOF
19090 #line $LINENO "configure"
19093 cat confdefs.h
>>conftest.
$ac_ext
19094 cat >>conftest.
$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096 $ac_includes_default
19097 #include <$ac_header>
19099 rm -f conftest.
$ac_objext
19100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19101 (eval $ac_compile) 2>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } &&
19105 { ac_try
='test -s conftest.$ac_objext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 ac_header_compiler
=yes
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.
$ac_ext >&5
19116 ac_header_compiler
=no
19118 rm -f conftest.
$ac_objext conftest.
$ac_ext
19119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19120 echo "${ECHO_T}$ac_header_compiler" >&6
19122 # Is the header present?
19123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19125 cat >conftest.
$ac_ext <<_ACEOF
19126 #line $LINENO "configure"
19129 cat confdefs.h
>>conftest.
$ac_ext
19130 cat >>conftest.
$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19132 #include <$ac_header>
19134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19137 grep -v '^ *+' conftest.er1
>conftest.err
19139 cat conftest.err
>&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } >/dev
/null
; then
19142 if test -s conftest.err
; then
19143 ac_cpp_err
=$ac_c_preproc_warn_flag
19150 if test -z "$ac_cpp_err"; then
19151 ac_header_preproc
=yes
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.
$ac_ext >&5
19156 ac_header_preproc
=no
19158 rm -f conftest.err conftest.
$ac_ext
19159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19160 echo "${ECHO_T}$ac_header_preproc" >&6
19162 # So? What about this header?
19163 case $ac_header_compiler:$ac_header_preproc in
19165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19171 ## ------------------------------------ ##
19172 ## Report this to bug-autoconf@gnu.org. ##
19173 ## ------------------------------------ ##
19176 sed "s/^/$as_me: WARNING: /" >&2
19179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19187 ## ------------------------------------ ##
19188 ## Report this to bug-autoconf@gnu.org. ##
19189 ## ------------------------------------ ##
19192 sed "s/^/$as_me: WARNING: /" >&2
19195 echo "$as_me:$LINENO: checking for $ac_header" >&5
19196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19200 eval "$as_ac_Header=$ac_header_preproc"
19202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19207 cat >>confdefs.h
<<_ACEOF
19208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19215 if test "${ac_cv_header_windows_h+set}" = set; then
19216 echo "$as_me:$LINENO: checking for windows.h" >&5
19217 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19218 if test "${ac_cv_header_windows_h+set}" = set; then
19219 echo $ECHO_N "(cached) $ECHO_C" >&6
19221 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19222 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19224 # Is the header compilable?
19225 echo "$as_me:$LINENO: checking windows.h usability" >&5
19226 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19227 cat >conftest.
$ac_ext <<_ACEOF
19228 #line $LINENO "configure"
19231 cat confdefs.h
>>conftest.
$ac_ext
19232 cat >>conftest.
$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 $ac_includes_default
19235 #include <windows.h>
19237 rm -f conftest.
$ac_objext
19238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19239 (eval $ac_compile) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try
='test -s conftest.$ac_objext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 ac_header_compiler
=yes
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.
$ac_ext >&5
19254 ac_header_compiler
=no
19256 rm -f conftest.
$ac_objext conftest.
$ac_ext
19257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19258 echo "${ECHO_T}$ac_header_compiler" >&6
19260 # Is the header present?
19261 echo "$as_me:$LINENO: checking windows.h presence" >&5
19262 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19263 cat >conftest.
$ac_ext <<_ACEOF
19264 #line $LINENO "configure"
19267 cat confdefs.h
>>conftest.
$ac_ext
19268 cat >>conftest.
$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19270 #include <windows.h>
19272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19273 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19275 grep -v '^ *+' conftest.er1
>conftest.err
19277 cat conftest.err
>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); } >/dev
/null
; then
19280 if test -s conftest.err
; then
19281 ac_cpp_err
=$ac_c_preproc_warn_flag
19288 if test -z "$ac_cpp_err"; then
19289 ac_header_preproc
=yes
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.
$ac_ext >&5
19294 ac_header_preproc
=no
19296 rm -f conftest.err conftest.
$ac_ext
19297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19298 echo "${ECHO_T}$ac_header_preproc" >&6
19300 # So? What about this header?
19301 case $ac_header_compiler:$ac_header_preproc in
19303 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19304 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19305 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19306 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19309 ## ------------------------------------ ##
19310 ## Report this to bug-autoconf@gnu.org. ##
19311 ## ------------------------------------ ##
19314 sed "s/^/$as_me: WARNING: /" >&2
19317 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19318 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19319 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19320 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19321 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19322 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19325 ## ------------------------------------ ##
19326 ## Report this to bug-autoconf@gnu.org. ##
19327 ## ------------------------------------ ##
19330 sed "s/^/$as_me: WARNING: /" >&2
19333 echo "$as_me:$LINENO: checking for windows.h" >&5
19334 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19335 if test "${ac_cv_header_windows_h+set}" = set; then
19336 echo $ECHO_N "(cached) $ECHO_C" >&6
19338 ac_cv_header_windows_h
=$ac_header_preproc
19340 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19341 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19344 if test $ac_cv_header_windows_h = yes; then
19348 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19349 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19350 { (exit 1); exit 1; }; }
19356 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19357 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19358 if test "${wx_cv_w32api_win32_ie+set}" = set; then
19359 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 cat >conftest.
$ac_ext <<_ACEOF
19363 #line $LINENO "configure"
19366 cat confdefs.h
>>conftest.
$ac_ext
19367 cat >>conftest.
$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 #include <w32api.h>
19374 #define wxCHECK_W32API_VERSION( major, minor ) \
19375 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19376 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19377 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19379 #if !wxCHECK_W32API_VERSION(1,1)
19380 #error You need w32api 1.1 or newer
19387 rm -f conftest.
$ac_objext
19388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19389 (eval $ac_compile) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); } &&
19393 { ac_try
='test -s conftest.$ac_objext'
19394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395 (eval $ac_try) 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; }; then
19400 wx_cv_w32api_win32_ie
=yes
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.
$ac_ext >&5
19407 wx_cv_w32api_win32_ie
=no
19410 rm -f conftest.
$ac_objext conftest.
$ac_ext
19413 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19414 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19415 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19416 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
19419 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19421 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19422 LIBS
="$LIBS -loleacc"
19427 LIBS
="$LIBS -lkernel32 -luser32"
19428 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19431 if test "$wxUSE_ODBC" = "sys" ; then
19434 if test "$wxUSE_ODBC" = "yes" ; then
19435 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19436 cat >>confdefs.h
<<\_ACEOF
19437 #define wxUSE_ODBC 1
19442 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19443 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19445 WIN32INSTALL
=win32install
19448 if test "$USE_DARWIN" = 1; then
19449 if test "$wxUSE_PRECOMP" = "yes"; then
19450 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
19452 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
19456 if test "$wxUSE_GUI" = "yes"; then
19465 if test "$wxUSE_MSW" = 1 ; then
19470 if test "$wxUSE_GTK" = 1; then
19471 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19472 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19474 gtk_version_cached
=1
19475 if test "${wx_cv_lib_gtk+set}" = set; then
19476 echo $ECHO_N "(cached) $ECHO_C" >&6
19479 gtk_version_cached
=0
19480 echo "$as_me:$LINENO: result: " >&5
19481 echo "${ECHO_T}" >&6
19484 if test "$wxUSE_THREADS" = "yes"; then
19485 GTK_MODULES
=gthread
19489 if test "x$wxUSE_GTK2" = "xyes"; then
19490 # Check whether --enable-gtktest or --disable-gtktest was given.
19491 if test "${enable_gtktest+set}" = set; then
19492 enableval
="$enable_gtktest"
19498 pkg_config_args
=gtk
+-2.0
19499 for module
in .
$GTK_MODULES
19503 pkg_config_args
="$pkg_config_args gthread-2.0"
19510 # Extract the first word of "pkg-config", so it can be a program name with args.
19511 set dummy pkg
-config; ac_word
=$2
19512 echo "$as_me:$LINENO: checking for $ac_word" >&5
19513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19514 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19515 echo $ECHO_N "(cached) $ECHO_C" >&6
19517 case $PKG_CONFIG in
19519 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19523 for as_dir
in $PATH
19526 test -z "$as_dir" && as_dir
=.
19527 for ac_exec_ext
in '' $ac_executable_extensions; do
19528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19529 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19536 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19540 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19542 if test -n "$PKG_CONFIG"; then
19543 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19544 echo "${ECHO_T}$PKG_CONFIG" >&6
19546 echo "$as_me:$LINENO: result: no" >&5
19547 echo "${ECHO_T}no" >&6
19551 if test x
$PKG_CONFIG != xno
; then
19552 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19555 echo *** pkg
-config too old
; version
0.7 or better required.
19563 min_gtk_version
=2.0.0
19564 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19565 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19567 if test x
$PKG_CONFIG != xno
; then
19568 ## don't try to run the test against uninstalled libtool libs
19569 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19570 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19574 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19581 if test x
"$no_gtk" = x
; then
19582 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19583 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19584 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19585 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19586 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19587 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19588 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19589 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19590 if test "x$enable_gtktest" = "xyes" ; then
19591 ac_save_CFLAGS
="$CFLAGS"
19592 ac_save_LIBS
="$LIBS"
19593 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19594 LIBS
="$GTK_LIBS $LIBS"
19596 if test "$cross_compiling" = yes; then
19597 echo $ac_n "cross compiling; assumed OK... $ac_c"
19599 cat >conftest.
$ac_ext <<_ACEOF
19600 #line $LINENO "configure"
19603 cat confdefs.h
>>conftest.
$ac_ext
19604 cat >>conftest.
$ac_ext <<_ACEOF
19605 /* end confdefs.h. */
19607 #include <gtk/gtk.h>
19609 #include <stdlib.h>
19614 int major, minor, micro;
19617 system ("touch conf.gtktest");
19619 /* HP/UX 9 (%@#!) writes to sscanf strings */
19620 tmp_version = g_strdup("$min_gtk_version");
19621 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19622 printf("%s, bad version string\n", "$min_gtk_version");
19626 if ((gtk_major_version != $gtk_config_major_version) ||
19627 (gtk_minor_version != $gtk_config_minor_version) ||
19628 (gtk_micro_version != $gtk_config_micro_version))
19630 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19631 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19632 gtk_major_version, gtk_minor_version, gtk_micro_version);
19633 printf ("*** was found! If pkg-config was correct, then it is best\n");
19634 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19635 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19636 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19637 printf("*** required on your system.\n");
19638 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19639 printf("*** to point to the correct configuration files\n");
19641 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19642 (gtk_minor_version != GTK_MINOR_VERSION) ||
19643 (gtk_micro_version != GTK_MICRO_VERSION))
19645 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19646 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19647 printf("*** library (version %d.%d.%d)\n",
19648 gtk_major_version, gtk_minor_version, gtk_micro_version);
19652 if ((gtk_major_version > major) ||
19653 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19654 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19660 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19661 gtk_major_version, gtk_minor_version, gtk_micro_version);
19662 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19663 major, minor, micro);
19664 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19666 printf("*** If you have already installed a sufficiently new version, this error\n");
19667 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19668 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19669 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19670 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19671 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19672 printf("*** so that the correct libraries are found at run-time))\n");
19679 rm -f conftest
$ac_exeext
19680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19681 (eval $ac_link) 2>&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; }; then
19692 echo "$as_me: program exited with status $ac_status" >&5
19693 echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.
$ac_ext >&5
19696 ( exit $ac_status )
19699 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19701 CFLAGS
="$ac_save_CFLAGS"
19702 LIBS
="$ac_save_LIBS"
19705 if test "x$no_gtk" = x
; then
19706 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19707 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19710 echo "$as_me:$LINENO: result: no" >&5
19711 echo "${ECHO_T}no" >&6
19712 if test "$PKG_CONFIG" = "no" ; then
19713 echo "*** A new enough version of pkg-config was not found."
19714 echo "*** See http://pkgconfig.sourceforge.net"
19716 if test -f conf.gtktest
; then
19719 echo "*** Could not run GTK+ test program, checking why..."
19720 ac_save_CFLAGS
="$CFLAGS"
19721 ac_save_LIBS
="$LIBS"
19722 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19723 LIBS
="$LIBS $GTK_LIBS"
19724 cat >conftest.
$ac_ext <<_ACEOF
19725 #line $LINENO "configure"
19728 cat confdefs.h
>>conftest.
$ac_ext
19729 cat >>conftest.
$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19732 #include <gtk/gtk.h>
19738 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19743 rm -f conftest.
$ac_objext conftest
$ac_exeext
19744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19745 (eval $ac_link) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); } &&
19749 { ac_try
='test -s conftest$ac_exeext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 echo "*** The test program compiled, but did not run. This usually means"
19756 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19757 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19758 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19759 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19760 echo "*** is required on your system"
19762 echo "*** If you have an old version installed, it is best to remove it, although"
19763 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19765 echo "$as_me: failed program was:" >&5
19766 sed 's/^/| /' conftest.
$ac_ext >&5
19768 echo "*** The test program failed to compile or link. See the file config.log for the"
19769 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19771 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19772 CFLAGS
="$ac_save_CFLAGS"
19773 LIBS
="$ac_save_LIBS"
19786 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19787 if test "${with_gtk_prefix+set}" = set; then
19788 withval
="$with_gtk_prefix"
19789 gtk_config_prefix
="$withval"
19791 gtk_config_prefix
=""
19794 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19795 if test "${with_gtk_exec_prefix+set}" = set; then
19796 withval
="$with_gtk_exec_prefix"
19797 gtk_config_exec_prefix
="$withval"
19799 gtk_config_exec_prefix
=""
19801 # Check whether --enable-gtktest or --disable-gtktest was given.
19802 if test "${enable_gtktest+set}" = set; then
19803 enableval
="$enable_gtktest"
19809 for module
in .
$GTK_MODULES
19813 gtk_config_args
="$gtk_config_args gthread"
19818 if test x
$gtk_config_exec_prefix != x
; then
19819 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19820 if test x
${GTK_CONFIG+set} != xset
; then
19821 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
19824 if test x
$gtk_config_prefix != x
; then
19825 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
19826 if test x
${GTK_CONFIG+set} != xset
; then
19827 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
19831 # Extract the first word of "gtk-config", so it can be a program name with args.
19832 set dummy gtk
-config; ac_word
=$2
19833 echo "$as_me:$LINENO: checking for $ac_word" >&5
19834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19835 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19838 case $GTK_CONFIG in
19840 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
19843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19844 for as_dir
in $PATH
19847 test -z "$as_dir" && as_dir
=.
19848 for ac_exec_ext
in '' $ac_executable_extensions; do
19849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19850 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19857 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
19861 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
19863 if test -n "$GTK_CONFIG"; then
19864 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19865 echo "${ECHO_T}$GTK_CONFIG" >&6
19867 echo "$as_me:$LINENO: result: no" >&5
19868 echo "${ECHO_T}no" >&6
19871 min_gtk_version
=1.2.7
19872 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19873 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19875 if test "$GTK_CONFIG" = "no" ; then
19878 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
19879 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
19880 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
19881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19882 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
19883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19884 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
19885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19886 if test "x$enable_gtktest" = "xyes" ; then
19887 ac_save_CFLAGS
="$CFLAGS"
19888 ac_save_LIBS
="$LIBS"
19889 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19890 LIBS
="$GTK_LIBS $LIBS"
19892 if test "$cross_compiling" = yes; then
19893 echo $ac_n "cross compiling; assumed OK... $ac_c"
19895 cat >conftest.
$ac_ext <<_ACEOF
19896 #line $LINENO "configure"
19899 cat confdefs.h
>>conftest.
$ac_ext
19900 cat >>conftest.
$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19903 #include <gtk/gtk.h>
19905 #include <stdlib.h>
19910 int major, minor, micro;
19913 system ("touch conf.gtktest");
19915 /* HP/UX 9 (%@#!) writes to sscanf strings */
19916 tmp_version = g_strdup("$min_gtk_version");
19917 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19918 printf("%s, bad version string\n", "$min_gtk_version");
19922 if ((gtk_major_version != $gtk_config_major_version) ||
19923 (gtk_minor_version != $gtk_config_minor_version) ||
19924 (gtk_micro_version != $gtk_config_micro_version))
19926 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19927 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19928 gtk_major_version, gtk_minor_version, gtk_micro_version);
19929 printf ("*** was found! If gtk-config was correct, then it is best\n");
19930 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19931 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19932 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19933 printf("*** required on your system.\n");
19934 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19935 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19936 printf("*** before re-running configure\n");
19938 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19939 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19940 (gtk_minor_version != GTK_MINOR_VERSION) ||
19941 (gtk_micro_version != GTK_MICRO_VERSION))
19943 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19944 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19945 printf("*** library (version %d.%d.%d)\n",
19946 gtk_major_version, gtk_minor_version, gtk_micro_version);
19948 #endif /* defined (GTK_MAJOR_VERSION) ... */
19951 if ((gtk_major_version > major) ||
19952 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19953 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19959 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19960 gtk_major_version, gtk_minor_version, gtk_micro_version);
19961 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19962 major, minor, micro);
19963 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19965 printf("*** If you have already installed a sufficiently new version, this error\n");
19966 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19967 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19968 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19969 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19970 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19971 printf("*** so that the correct libraries are found at run-time))\n");
19978 rm -f conftest
$ac_exeext
19979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19980 (eval $ac_link) 2>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19985 (eval $ac_try) 2>&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; }; then
19991 echo "$as_me: program exited with status $ac_status" >&5
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.
$ac_ext >&5
19995 ( exit $ac_status )
19998 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20000 CFLAGS
="$ac_save_CFLAGS"
20001 LIBS
="$ac_save_LIBS"
20004 if test "x$no_gtk" = x
; then
20005 echo "$as_me:$LINENO: result: yes" >&5
20006 echo "${ECHO_T}yes" >&6
20007 wx_cv_lib_gtk
=1.2.7
20009 echo "$as_me:$LINENO: result: no" >&5
20010 echo "${ECHO_T}no" >&6
20011 if test "$GTK_CONFIG" = "no" ; then
20012 echo "*** The gtk-config script installed by GTK could not be found"
20013 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20014 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20015 echo "*** full path to gtk-config."
20017 if test -f conf.gtktest
; then
20020 echo "*** Could not run GTK test program, checking why..."
20021 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20022 LIBS
="$LIBS $GTK_LIBS"
20023 cat >conftest.
$ac_ext <<_ACEOF
20024 #line $LINENO "configure"
20027 cat confdefs.h
>>conftest.
$ac_ext
20028 cat >>conftest.
$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20031 #include <gtk/gtk.h>
20037 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20042 rm -f conftest.
$ac_objext conftest
$ac_exeext
20043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20044 (eval $ac_link) 2>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } &&
20048 { ac_try
='test -s conftest$ac_exeext'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; }; then
20054 echo "*** The test program compiled, but did not run. This usually means"
20055 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20056 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20057 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20058 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20059 echo "*** is required on your system"
20061 echo "*** If you have an old version installed, it is best to remove it, although"
20062 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20064 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20065 echo "*** came with the system with the command"
20067 echo "*** rpm --erase --nodeps gtk gtk-devel"
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.
$ac_ext >&5
20072 echo "*** The test program failed to compile or link. See the file config.log for the"
20073 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20074 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20075 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20077 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20078 CFLAGS
="$ac_save_CFLAGS"
20079 LIBS
="$ac_save_LIBS"
20091 if test -z "$wx_cv_lib_gtk"; then
20093 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20094 if test "${with_gtk_prefix+set}" = set; then
20095 withval
="$with_gtk_prefix"
20096 gtk_config_prefix
="$withval"
20098 gtk_config_prefix
=""
20101 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20102 if test "${with_gtk_exec_prefix+set}" = set; then
20103 withval
="$with_gtk_exec_prefix"
20104 gtk_config_exec_prefix
="$withval"
20106 gtk_config_exec_prefix
=""
20108 # Check whether --enable-gtktest or --disable-gtktest was given.
20109 if test "${enable_gtktest+set}" = set; then
20110 enableval
="$enable_gtktest"
20116 for module
in .
$GTK_MODULES
20120 gtk_config_args
="$gtk_config_args gthread"
20125 if test x
$gtk_config_exec_prefix != x
; then
20126 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20127 if test x
${GTK_CONFIG+set} != xset
; then
20128 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20131 if test x
$gtk_config_prefix != x
; then
20132 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20133 if test x
${GTK_CONFIG+set} != xset
; then
20134 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20138 # Extract the first word of "gtk-config", so it can be a program name with args.
20139 set dummy gtk
-config; ac_word
=$2
20140 echo "$as_me:$LINENO: checking for $ac_word" >&5
20141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20142 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20143 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 case $GTK_CONFIG in
20147 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20151 for as_dir
in $PATH
20154 test -z "$as_dir" && as_dir
=.
20155 for ac_exec_ext
in '' $ac_executable_extensions; do
20156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20157 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20164 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20168 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20170 if test -n "$GTK_CONFIG"; then
20171 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20172 echo "${ECHO_T}$GTK_CONFIG" >&6
20174 echo "$as_me:$LINENO: result: no" >&5
20175 echo "${ECHO_T}no" >&6
20178 min_gtk_version
=1.2.3
20179 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20180 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20182 if test "$GTK_CONFIG" = "no" ; then
20185 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20186 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20187 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20189 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20191 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20193 if test "x$enable_gtktest" = "xyes" ; then
20194 ac_save_CFLAGS
="$CFLAGS"
20195 ac_save_LIBS
="$LIBS"
20196 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20197 LIBS
="$GTK_LIBS $LIBS"
20199 if test "$cross_compiling" = yes; then
20200 echo $ac_n "cross compiling; assumed OK... $ac_c"
20202 cat >conftest.
$ac_ext <<_ACEOF
20203 #line $LINENO "configure"
20206 cat confdefs.h
>>conftest.
$ac_ext
20207 cat >>conftest.
$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20210 #include <gtk/gtk.h>
20212 #include <stdlib.h>
20217 int major, minor, micro;
20220 system ("touch conf.gtktest");
20222 /* HP/UX 9 (%@#!) writes to sscanf strings */
20223 tmp_version = g_strdup("$min_gtk_version");
20224 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20225 printf("%s, bad version string\n", "$min_gtk_version");
20229 if ((gtk_major_version != $gtk_config_major_version) ||
20230 (gtk_minor_version != $gtk_config_minor_version) ||
20231 (gtk_micro_version != $gtk_config_micro_version))
20233 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20234 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20235 gtk_major_version, gtk_minor_version, gtk_micro_version);
20236 printf ("*** was found! If gtk-config was correct, then it is best\n");
20237 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20238 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20239 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20240 printf("*** required on your system.\n");
20241 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20242 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20243 printf("*** before re-running configure\n");
20245 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20246 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20247 (gtk_minor_version != GTK_MINOR_VERSION) ||
20248 (gtk_micro_version != GTK_MICRO_VERSION))
20250 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20251 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20252 printf("*** library (version %d.%d.%d)\n",
20253 gtk_major_version, gtk_minor_version, gtk_micro_version);
20255 #endif /* defined (GTK_MAJOR_VERSION) ... */
20258 if ((gtk_major_version > major) ||
20259 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20260 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20266 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20267 gtk_major_version, gtk_minor_version, gtk_micro_version);
20268 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20269 major, minor, micro);
20270 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20272 printf("*** If you have already installed a sufficiently new version, this error\n");
20273 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20274 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20275 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20276 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20277 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20278 printf("*** so that the correct libraries are found at run-time))\n");
20285 rm -f conftest
$ac_exeext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20287 (eval $ac_link) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; }; then
20298 echo "$as_me: program exited with status $ac_status" >&5
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.
$ac_ext >&5
20302 ( exit $ac_status )
20305 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20307 CFLAGS
="$ac_save_CFLAGS"
20308 LIBS
="$ac_save_LIBS"
20311 if test "x$no_gtk" = x
; then
20312 echo "$as_me:$LINENO: result: yes" >&5
20313 echo "${ECHO_T}yes" >&6
20314 wx_cv_lib_gtk
=1.2.3
20316 echo "$as_me:$LINENO: result: no" >&5
20317 echo "${ECHO_T}no" >&6
20318 if test "$GTK_CONFIG" = "no" ; then
20319 echo "*** The gtk-config script installed by GTK could not be found"
20320 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20321 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20322 echo "*** full path to gtk-config."
20324 if test -f conf.gtktest
; then
20327 echo "*** Could not run GTK test program, checking why..."
20328 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20329 LIBS
="$LIBS $GTK_LIBS"
20330 cat >conftest.
$ac_ext <<_ACEOF
20331 #line $LINENO "configure"
20334 cat confdefs.h
>>conftest.
$ac_ext
20335 cat >>conftest.
$ac_ext <<_ACEOF
20336 /* end confdefs.h. */
20338 #include <gtk/gtk.h>
20344 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20349 rm -f conftest.
$ac_objext conftest
$ac_exeext
20350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20351 (eval $ac_link) 2>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try
='test -s conftest$ac_exeext'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; }; then
20361 echo "*** The test program compiled, but did not run. This usually means"
20362 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20363 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20364 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20365 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20366 echo "*** is required on your system"
20368 echo "*** If you have an old version installed, it is best to remove it, although"
20369 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20371 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20372 echo "*** came with the system with the command"
20374 echo "*** rpm --erase --nodeps gtk gtk-devel"
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.
$ac_ext >&5
20379 echo "*** The test program failed to compile or link. See the file config.log for the"
20380 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20381 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20382 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20384 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20385 CFLAGS
="$ac_save_CFLAGS"
20386 LIBS
="$ac_save_LIBS"
20400 if test -z "$wx_cv_lib_gtk"; then
20403 wx_cv_cflags_gtk
=$GTK_CFLAGS
20404 wx_cv_libs_gtk
=$GTK_LIBS
20411 if test "$gtk_version_cached" = 1; then
20412 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20413 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20416 case "$wx_cv_lib_gtk" in
20425 *) { { echo "$as_me:$LINENO: error:
20426 Please check that gtk-config is in path, the directory
20427 where GTK+ libraries are installed (returned by
20428 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20429 equivalent variable and GTK+ is version 1.2.3 or above.
20431 echo "$as_me: error:
20432 Please check that gtk-config is in path, the directory
20433 where GTK+ libraries are installed (returned by
20434 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20435 equivalent variable and GTK+ is version 1.2.3 or above.
20437 { (exit 1); exit 1; }; }
20441 if test "$WXGTK20" = 1; then
20442 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20446 if test -z "$PKG_CONFIG"; then
20447 # Extract the first word of "pkg-config", so it can be a program name with args.
20448 set dummy pkg
-config; ac_word
=$2
20449 echo "$as_me:$LINENO: checking for $ac_word" >&5
20450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20451 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20454 case $PKG_CONFIG in
20456 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20460 for as_dir
in $PATH
20463 test -z "$as_dir" && as_dir
=.
20464 for ac_exec_ext
in '' $ac_executable_extensions; do
20465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20466 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20473 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20477 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20479 if test -n "$PKG_CONFIG"; then
20480 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20481 echo "${ECHO_T}$PKG_CONFIG" >&6
20483 echo "$as_me:$LINENO: result: no" >&5
20484 echo "${ECHO_T}no" >&6
20489 if test "$PKG_CONFIG" = "no" ; then
20490 echo "*** The pkg-config script could not be found. Make sure it is"
20491 echo "*** in your path, or set the PKG_CONFIG environment variable"
20492 echo "*** to the full path to pkg-config."
20493 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20495 PKG_CONFIG_MIN_VERSION
=0.9.0
20496 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20497 echo "$as_me:$LINENO: checking for pangoft2" >&5
20498 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20500 if $PKG_CONFIG --exists "pangoft2" ; then
20501 echo "$as_me:$LINENO: result: yes" >&5
20502 echo "${ECHO_T}yes" >&6
20505 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20506 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20507 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20508 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20509 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20511 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20512 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20513 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20514 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20515 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20519 ## If we have a custom action on failure, don't print errors, but
20520 ## do set a variable so people can do so.
20521 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20528 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20529 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20533 if test $succeeded = yes; then
20535 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20536 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20540 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20541 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20542 wxUSE_PRINTING_ARCHITECTURE
="no"
20549 if test "$wxUSE_UNICODE" = "yes"; then
20550 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20551 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20556 if test "$USE_DARWIN" != 1; then
20558 for ac_func
in poll
20560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20561 echo "$as_me:$LINENO: checking for $ac_func" >&5
20562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20563 if eval "test \"\${$as_ac_var+set}\" = set"; then
20564 echo $ECHO_N "(cached) $ECHO_C" >&6
20566 cat >conftest.
$ac_ext <<_ACEOF
20567 #line $LINENO "configure"
20570 cat confdefs.h
>>conftest.
$ac_ext
20571 cat >>conftest.
$ac_ext <<_ACEOF
20572 /* end confdefs.h. */
20573 /* System header to define __stub macros and hopefully few prototypes,
20574 which can conflict with char $ac_func (); below.
20575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20576 <limits.h> exists even on freestanding compilers. */
20578 # include <limits.h>
20580 # include <assert.h>
20582 /* Override any gcc2 internal prototype to avoid an error. */
20587 /* We use char because int might match the return type of a gcc2
20588 builtin and then its argument prototype would still apply. */
20590 /* The GNU C library defines this for functions which it implements
20591 to always fail with ENOSYS. Some functions are actually named
20592 something starting with __ and the normal name is an alias. */
20593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20596 char (*f) () = $ac_func;
20605 return f != $ac_func;
20610 rm -f conftest.
$ac_objext conftest
$ac_exeext
20611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20612 (eval $ac_link) 2>&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); } &&
20616 { ac_try
='test -s conftest$ac_exeext'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; }; then
20622 eval "$as_ac_var=yes"
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.
$ac_ext >&5
20627 eval "$as_ac_var=no"
20629 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20633 if test `eval echo '${'$as_ac_var'}'` = yes; then
20634 cat >>confdefs.h
<<_ACEOF
20635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20643 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20644 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20646 AFMINSTALL
=afminstall
20650 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20651 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20652 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20653 echo $ECHO_N "(cached) $ECHO_C" >&6
20655 ac_check_lib_save_LIBS
=$LIBS
20657 cat >conftest.
$ac_ext <<_ACEOF
20658 #line $LINENO "configure"
20661 cat confdefs.h
>>conftest.
$ac_ext
20662 cat >>conftest.
$ac_ext <<_ACEOF
20663 /* end confdefs.h. */
20665 /* Override any gcc2 internal prototype to avoid an error. */
20669 /* We use char because int might match the return type of a gcc2
20670 builtin and then its argument prototype would still apply. */
20671 char gdk_im_open ();
20680 rm -f conftest.
$ac_objext conftest
$ac_exeext
20681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20682 (eval $ac_link) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try
='test -s conftest$ac_exeext'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; }; then
20692 ac_cv_lib_gdk_gdk_im_open
=yes
20694 echo "$as_me: failed program was:" >&5
20695 sed 's/^/| /' conftest.
$ac_ext >&5
20697 ac_cv_lib_gdk_gdk_im_open
=no
20699 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20700 LIBS
=$ac_check_lib_save_LIBS
20702 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20703 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20704 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20705 cat >>confdefs.h
<<\_ACEOF
20713 if test "$wxUSE_MGL" = 1; then
20714 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20715 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20716 if test "x$MGL_ROOT" = x
; then
20717 echo "$as_me:$LINENO: result: not found" >&5
20718 echo "${ECHO_T}not found" >&6
20719 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20720 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20721 { (exit 1); exit 1; }; }
20723 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20724 echo "${ECHO_T}$MGL_ROOT" >&6
20727 echo "$as_me:$LINENO: checking for libmgl location" >&5
20728 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20731 if test "x$wxUSE_SHARED" = xyes
; then
20732 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20734 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20738 mgl_os_candidates
="dos32/dj2"
20741 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20742 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20743 { (exit 1); exit 1; }; }
20749 for mgl_os_i
in $mgl_os_candidates ; do
20750 if test "x$mgl_os" = x
; then
20751 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20752 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
20753 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
20758 if test "x$mgl_lib_type" = x
; then
20759 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
20760 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
20761 mgl_lib_type
=release
20768 if test "x$mgl_os" = x
; then
20769 echo "$as_me:$LINENO: result: not found" >&5
20770 echo "${ECHO_T}not found" >&6
20771 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20772 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20773 { (exit 1); exit 1; }; }
20775 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20776 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20778 wxUSE_UNIVERSAL
="yes"
20780 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
20781 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20783 AFMINSTALL
=afminstall
20788 if test "$wxUSE_MICROWIN" = 1; then
20789 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20790 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20791 if test "x$MICROWINDOWS" = x
; then
20792 echo "$as_me:$LINENO: result: not found" >&5
20793 echo "${ECHO_T}not found" >&6
20794 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20795 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20796 { (exit 1); exit 1; }; }
20798 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20799 echo "${ECHO_T}$MICROWINDOWS" >&6
20802 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
20803 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20804 echo "${ECHO_T}MicroWindows' libraries found." >&6
20806 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20807 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20808 { (exit 1); exit 1; }; }
20811 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
20812 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20814 wxUSE_UNIVERSAL
="yes"
20816 AFMINSTALL
=afminstall
20818 GUIDIST
=MICROWIN_DIST
20820 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20823 if test "$wxUSE_X11" = 1; then
20824 echo "$as_me:$LINENO: checking for X" >&5
20825 echo $ECHO_N "checking for X... $ECHO_C" >&6
20828 # Check whether --with-x or --without-x was given.
20829 if test "${with_x+set}" = set; then
20833 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20834 if test "x$with_x" = xno
; then
20835 # The user explicitly disabled X.
20838 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
20839 # Both variables are already set.
20842 if test "${ac_cv_have_x+set}" = set; then
20843 echo $ECHO_N "(cached) $ECHO_C" >&6
20845 # One or both of the vars are not set, and there is no cached value.
20846 ac_x_includes
=no ac_x_libraries
=no
20847 rm -fr conftest.dir
20848 if mkdir conftest.dir
; then
20850 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20851 cat >Imakefile
<<'_ACEOF'
20853 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20855 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
20856 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20857 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20858 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20859 for ac_extension
in a so sl
; do
20860 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
20861 test -f $ac_im_libdir/libX11.
$ac_extension; then
20862 ac_im_usrlibdir
=$ac_im_libdir; break
20865 # Screen out bogus values from the imake configuration. They are
20866 # bogus both because they are the default anyway, and because
20867 # using them would break gcc on systems where it needs fixed includes.
20868 case $ac_im_incroot in
20870 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
20872 case $ac_im_usrlibdir in
20873 /usr
/lib
| /lib
) ;;
20874 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
20878 rm -fr conftest.dir
20881 # Standard set of common directories for X headers.
20882 # Check X11 before X11Rn because it is often a symlink to the current release.
20894 /usr/local/X11/include
20895 /usr/local/X11R6/include
20896 /usr/local/X11R5/include
20897 /usr/local/X11R4/include
20899 /usr/local/include/X11
20900 /usr/local/include/X11R6
20901 /usr/local/include/X11R5
20902 /usr/local/include/X11R4
20906 /usr/XFree86/include/X11
20910 /usr/unsupported/include
20911 /usr/athena/include
20912 /usr/local/x11r5/include
20913 /usr/lpp/Xamples/include
20915 /usr/openwin/include
20916 /usr/openwin/share/include'
20918 if test "$ac_x_includes" = no
; then
20919 # Guess where to find include files, by looking for Intrinsic.h.
20920 # First, try using that file with no special directory specified.
20921 cat >conftest.
$ac_ext <<_ACEOF
20922 #line $LINENO "configure"
20925 cat confdefs.h
>>conftest.
$ac_ext
20926 cat >>conftest.
$ac_ext <<_ACEOF
20927 /* end confdefs.h. */
20928 #include <X11/Intrinsic.h>
20930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20931 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20933 grep -v '^ *+' conftest.er1
>conftest.err
20935 cat conftest.err
>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } >/dev
/null
; then
20938 if test -s conftest.err
; then
20939 ac_cpp_err
=$ac_c_preproc_warn_flag
20946 if test -z "$ac_cpp_err"; then
20947 # We can compile using X headers with no special include directory.
20950 echo "$as_me: failed program was:" >&5
20951 sed 's/^/| /' conftest.
$ac_ext >&5
20953 for ac_dir
in $ac_x_header_dirs; do
20954 if test -r "$ac_dir/X11/Intrinsic.h"; then
20955 ac_x_includes
=$ac_dir
20960 rm -f conftest.err conftest.
$ac_ext
20961 fi # $ac_x_includes = no
20963 if test "$ac_x_libraries" = no
; then
20964 # Check for the libraries.
20965 # See if we find them without any special options.
20966 # Don't add to $LIBS permanently.
20969 cat >conftest.
$ac_ext <<_ACEOF
20970 #line $LINENO "configure"
20973 cat confdefs.h
>>conftest.
$ac_ext
20974 cat >>conftest.
$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 #include <X11/Intrinsic.h>
20985 rm -f conftest.
$ac_objext conftest
$ac_exeext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20987 (eval $ac_link) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); } &&
20991 { ac_try
='test -s conftest$ac_exeext'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20998 # We can link X programs with no special library path.
21001 echo "$as_me: failed program was:" >&5
21002 sed 's/^/| /' conftest.
$ac_ext >&5
21005 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21007 # Don't even attempt the hair of trying to link an X program!
21008 for ac_extension
in a so sl
; do
21009 if test -r $ac_dir/libXt.
$ac_extension; then
21010 ac_x_libraries
=$ac_dir
21016 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21017 fi # $ac_x_libraries = no
21019 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21020 # Didn't find X anywhere. Cache the known absence of X.
21021 ac_cv_have_x
="have_x=no"
21023 # Record where we found X for the cache.
21024 ac_cv_have_x
="have_x=yes \
21025 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21030 eval "$ac_cv_have_x"
21033 if test "$have_x" != yes; then
21034 echo "$as_me:$LINENO: result: $have_x" >&5
21035 echo "${ECHO_T}$have_x" >&6
21038 # If each of the values was on the command line, it overrides each guess.
21039 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21040 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21041 # Update the cache value to reflect the command line values.
21042 ac_cv_have_x
="have_x=yes \
21043 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21044 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21045 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21048 if test "$no_x" = yes; then
21049 # Not all programs may use this symbol, but it does not hurt to define it.
21051 cat >>confdefs.h
<<\_ACEOF
21052 #define X_DISPLAY_MISSING 1
21055 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21057 if test -n "$x_includes"; then
21058 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21061 # It would also be nice to do this for all -L options, not just this one.
21062 if test -n "$x_libraries"; then
21063 X_LIBS
="$X_LIBS -L$x_libraries"
21064 # For Solaris; some versions of Sun CC require a space after -R and
21065 # others require no space. Words are not sufficient . . . .
21066 case `(uname -sr) 2>/dev/null` in
21068 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21069 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21070 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21071 cat >conftest.
$ac_ext <<_ACEOF
21072 #line $LINENO "configure"
21075 cat confdefs.h
>>conftest.
$ac_ext
21076 cat >>conftest.
$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21087 rm -f conftest.
$ac_objext conftest
$ac_exeext
21088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21089 (eval $ac_link) 2>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); } &&
21093 { ac_try
='test -s conftest$ac_exeext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.
$ac_ext >&5
21106 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21107 if test $ac_R_nospace = yes; then
21108 echo "$as_me:$LINENO: result: no" >&5
21109 echo "${ECHO_T}no" >&6
21110 X_LIBS
="$X_LIBS -R$x_libraries"
21112 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21113 cat >conftest.
$ac_ext <<_ACEOF
21114 #line $LINENO "configure"
21117 cat confdefs.h
>>conftest.
$ac_ext
21118 cat >>conftest.
$ac_ext <<_ACEOF
21119 /* end confdefs.h. */
21129 rm -f conftest.
$ac_objext conftest
$ac_exeext
21130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21131 (eval $ac_link) 2>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try
='test -s conftest$ac_exeext'
21136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137 (eval $ac_try) 2>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; }; then
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.
$ac_ext >&5
21148 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21149 if test $ac_R_space = yes; then
21150 echo "$as_me:$LINENO: result: yes" >&5
21151 echo "${ECHO_T}yes" >&6
21152 X_LIBS
="$X_LIBS -R $x_libraries"
21154 echo "$as_me:$LINENO: result: neither works" >&5
21155 echo "${ECHO_T}neither works" >&6
21158 LIBS
=$ac_xsave_LIBS
21162 # Check for system-dependent libraries X programs must link with.
21163 # Do this before checking for the system-independent R6 libraries
21164 # (-lICE), since we may need -lsocket or whatever for X linking.
21166 if test "$ISC" = yes; then
21167 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21169 # Martyn Johnson says this is needed for Ultrix, if the X
21170 # libraries were built with DECnet support. And Karl Berry says
21171 # the Alpha needs dnet_stub (dnet does not exist).
21172 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21173 cat >conftest.
$ac_ext <<_ACEOF
21174 #line $LINENO "configure"
21177 cat confdefs.h
>>conftest.
$ac_ext
21178 cat >>conftest.
$ac_ext <<_ACEOF
21179 /* end confdefs.h. */
21181 /* Override any gcc2 internal prototype to avoid an error. */
21185 /* We use char because int might match the return type of a gcc2
21186 builtin and then its argument prototype would still apply. */
21187 char XOpenDisplay ();
21196 rm -f conftest.
$ac_objext conftest
$ac_exeext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21198 (eval $ac_link) 2>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try
='test -s conftest$ac_exeext'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; }; then
21210 echo "$as_me: failed program was:" >&5
21211 sed 's/^/| /' conftest.
$ac_ext >&5
21213 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21214 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21215 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21216 echo $ECHO_N "(cached) $ECHO_C" >&6
21218 ac_check_lib_save_LIBS
=$LIBS
21219 LIBS
="-ldnet $LIBS"
21220 cat >conftest.
$ac_ext <<_ACEOF
21221 #line $LINENO "configure"
21224 cat confdefs.h
>>conftest.
$ac_ext
21225 cat >>conftest.
$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21228 /* Override any gcc2 internal prototype to avoid an error. */
21232 /* We use char because int might match the return type of a gcc2
21233 builtin and then its argument prototype would still apply. */
21243 rm -f conftest.
$ac_objext conftest
$ac_exeext
21244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21245 (eval $ac_link) 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } &&
21249 { ac_try
='test -s conftest$ac_exeext'
21250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21251 (eval $ac_try) 2>&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_lib_dnet_dnet_ntoa
=yes
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.
$ac_ext >&5
21260 ac_cv_lib_dnet_dnet_ntoa
=no
21262 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21263 LIBS
=$ac_check_lib_save_LIBS
21265 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21266 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21267 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21268 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21271 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21272 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21273 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21274 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21275 echo $ECHO_N "(cached) $ECHO_C" >&6
21277 ac_check_lib_save_LIBS
=$LIBS
21278 LIBS
="-ldnet_stub $LIBS"
21279 cat >conftest.
$ac_ext <<_ACEOF
21280 #line $LINENO "configure"
21283 cat confdefs.h
>>conftest.
$ac_ext
21284 cat >>conftest.
$ac_ext <<_ACEOF
21285 /* end confdefs.h. */
21287 /* Override any gcc2 internal prototype to avoid an error. */
21291 /* We use char because int might match the return type of a gcc2
21292 builtin and then its argument prototype would still apply. */
21302 rm -f conftest.
$ac_objext conftest
$ac_exeext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21304 (eval $ac_link) 2>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } &&
21308 { ac_try
='test -s conftest$ac_exeext'
21309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21310 (eval $ac_try) 2>&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); }; }; then
21314 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21316 echo "$as_me: failed program was:" >&5
21317 sed 's/^/| /' conftest.
$ac_ext >&5
21319 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21321 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21322 LIBS
=$ac_check_lib_save_LIBS
21324 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21325 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21326 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21327 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21332 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21333 LIBS
="$ac_xsave_LIBS"
21335 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21336 # to get the SysV transport functions.
21337 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21339 # The nsl library prevents programs from opening the X display
21340 # on Irix 5.2, according to T.E. Dickey.
21341 # The functions gethostbyname, getservbyname, and inet_addr are
21342 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21343 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21344 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21345 if test "${ac_cv_func_gethostbyname+set}" = set; then
21346 echo $ECHO_N "(cached) $ECHO_C" >&6
21348 cat >conftest.
$ac_ext <<_ACEOF
21349 #line $LINENO "configure"
21352 cat confdefs.h
>>conftest.
$ac_ext
21353 cat >>conftest.
$ac_ext <<_ACEOF
21354 /* end confdefs.h. */
21355 /* System header to define __stub macros and hopefully few prototypes,
21356 which can conflict with char gethostbyname (); below.
21357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21358 <limits.h> exists even on freestanding compilers. */
21360 # include <limits.h>
21362 # include <assert.h>
21364 /* Override any gcc2 internal prototype to avoid an error. */
21369 /* We use char because int might match the return type of a gcc2
21370 builtin and then its argument prototype would still apply. */
21371 char gethostbyname ();
21372 /* The GNU C library defines this for functions which it implements
21373 to always fail with ENOSYS. Some functions are actually named
21374 something starting with __ and the normal name is an alias. */
21375 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21378 char (*f) () = gethostbyname;
21387 return f != gethostbyname;
21392 rm -f conftest.
$ac_objext conftest
$ac_exeext
21393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21394 (eval $ac_link) 2>&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); } &&
21398 { ac_try
='test -s conftest$ac_exeext'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; }; then
21404 ac_cv_func_gethostbyname
=yes
21406 echo "$as_me: failed program was:" >&5
21407 sed 's/^/| /' conftest.
$ac_ext >&5
21409 ac_cv_func_gethostbyname
=no
21411 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21413 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21414 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21416 if test $ac_cv_func_gethostbyname = no
; then
21417 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21418 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21419 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21422 ac_check_lib_save_LIBS
=$LIBS
21424 cat >conftest.
$ac_ext <<_ACEOF
21425 #line $LINENO "configure"
21428 cat confdefs.h
>>conftest.
$ac_ext
21429 cat >>conftest.
$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21432 /* Override any gcc2 internal prototype to avoid an error. */
21436 /* We use char because int might match the return type of a gcc2
21437 builtin and then its argument prototype would still apply. */
21438 char gethostbyname ();
21447 rm -f conftest.
$ac_objext conftest
$ac_exeext
21448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21449 (eval $ac_link) 2>&5
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); } &&
21453 { ac_try
='test -s conftest$ac_exeext'
21454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21455 (eval $ac_try) 2>&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); }; }; then
21459 ac_cv_lib_nsl_gethostbyname
=yes
21461 echo "$as_me: failed program was:" >&5
21462 sed 's/^/| /' conftest.
$ac_ext >&5
21464 ac_cv_lib_nsl_gethostbyname
=no
21466 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21467 LIBS
=$ac_check_lib_save_LIBS
21469 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21470 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21471 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21472 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21475 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21476 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21477 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21478 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21479 echo $ECHO_N "(cached) $ECHO_C" >&6
21481 ac_check_lib_save_LIBS
=$LIBS
21483 cat >conftest.
$ac_ext <<_ACEOF
21484 #line $LINENO "configure"
21487 cat confdefs.h
>>conftest.
$ac_ext
21488 cat >>conftest.
$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21491 /* Override any gcc2 internal prototype to avoid an error. */
21495 /* We use char because int might match the return type of a gcc2
21496 builtin and then its argument prototype would still apply. */
21497 char gethostbyname ();
21506 rm -f conftest.
$ac_objext conftest
$ac_exeext
21507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21508 (eval $ac_link) 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } &&
21512 { ac_try
='test -s conftest$ac_exeext'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_lib_bsd_gethostbyname
=yes
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.
$ac_ext >&5
21523 ac_cv_lib_bsd_gethostbyname
=no
21525 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21526 LIBS
=$ac_check_lib_save_LIBS
21528 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21529 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21530 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21531 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21537 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21538 # socket/setsockopt and other routines are undefined under SCO ODT
21539 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21540 # on later versions), says Simon Leinen: it contains gethostby*
21541 # variants that don't use the name server (or something). -lsocket
21542 # must be given before -lnsl if both are needed. We assume that
21543 # if connect needs -lnsl, so does gethostbyname.
21544 echo "$as_me:$LINENO: checking for connect" >&5
21545 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21546 if test "${ac_cv_func_connect+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21549 cat >conftest.
$ac_ext <<_ACEOF
21550 #line $LINENO "configure"
21553 cat confdefs.h
>>conftest.
$ac_ext
21554 cat >>conftest.
$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21556 /* System header to define __stub macros and hopefully few prototypes,
21557 which can conflict with char connect (); below.
21558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21559 <limits.h> exists even on freestanding compilers. */
21561 # include <limits.h>
21563 # include <assert.h>
21565 /* Override any gcc2 internal prototype to avoid an error. */
21570 /* We use char because int might match the return type of a gcc2
21571 builtin and then its argument prototype would still apply. */
21573 /* The GNU C library defines this for functions which it implements
21574 to always fail with ENOSYS. Some functions are actually named
21575 something starting with __ and the normal name is an alias. */
21576 #if defined (__stub_connect) || defined (__stub___connect)
21579 char (*f) () = connect;
21588 return f != connect;
21593 rm -f conftest.
$ac_objext conftest
$ac_exeext
21594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21595 (eval $ac_link) 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } &&
21599 { ac_try
='test -s conftest$ac_exeext'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 ac_cv_func_connect
=yes
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.
$ac_ext >&5
21610 ac_cv_func_connect
=no
21612 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21614 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21615 echo "${ECHO_T}$ac_cv_func_connect" >&6
21617 if test $ac_cv_func_connect = no
; then
21618 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21619 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21620 if test "${ac_cv_lib_socket_connect+set}" = set; then
21621 echo $ECHO_N "(cached) $ECHO_C" >&6
21623 ac_check_lib_save_LIBS
=$LIBS
21624 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21625 cat >conftest.
$ac_ext <<_ACEOF
21626 #line $LINENO "configure"
21629 cat confdefs.h
>>conftest.
$ac_ext
21630 cat >>conftest.
$ac_ext <<_ACEOF
21631 /* end confdefs.h. */
21633 /* Override any gcc2 internal prototype to avoid an error. */
21637 /* We use char because int might match the return type of a gcc2
21638 builtin and then its argument prototype would still apply. */
21648 rm -f conftest.
$ac_objext conftest
$ac_exeext
21649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21650 (eval $ac_link) 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); } &&
21654 { ac_try
='test -s conftest$ac_exeext'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; }; then
21660 ac_cv_lib_socket_connect
=yes
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.
$ac_ext >&5
21665 ac_cv_lib_socket_connect
=no
21667 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21668 LIBS
=$ac_check_lib_save_LIBS
21670 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21671 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21672 if test $ac_cv_lib_socket_connect = yes; then
21673 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21678 # Guillermo Gomez says -lposix is necessary on A/UX.
21679 echo "$as_me:$LINENO: checking for remove" >&5
21680 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21681 if test "${ac_cv_func_remove+set}" = set; then
21682 echo $ECHO_N "(cached) $ECHO_C" >&6
21684 cat >conftest.
$ac_ext <<_ACEOF
21685 #line $LINENO "configure"
21688 cat confdefs.h
>>conftest.
$ac_ext
21689 cat >>conftest.
$ac_ext <<_ACEOF
21690 /* end confdefs.h. */
21691 /* System header to define __stub macros and hopefully few prototypes,
21692 which can conflict with char remove (); below.
21693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21694 <limits.h> exists even on freestanding compilers. */
21696 # include <limits.h>
21698 # include <assert.h>
21700 /* Override any gcc2 internal prototype to avoid an error. */
21705 /* We use char because int might match the return type of a gcc2
21706 builtin and then its argument prototype would still apply. */
21708 /* The GNU C library defines this for functions which it implements
21709 to always fail with ENOSYS. Some functions are actually named
21710 something starting with __ and the normal name is an alias. */
21711 #if defined (__stub_remove) || defined (__stub___remove)
21714 char (*f) () = remove;
21723 return f != remove;
21728 rm -f conftest.
$ac_objext conftest
$ac_exeext
21729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21730 (eval $ac_link) 2>&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } &&
21734 { ac_try
='test -s conftest$ac_exeext'
21735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21736 (eval $ac_try) 2>&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); }; }; then
21740 ac_cv_func_remove
=yes
21742 echo "$as_me: failed program was:" >&5
21743 sed 's/^/| /' conftest.
$ac_ext >&5
21745 ac_cv_func_remove
=no
21747 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21749 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21750 echo "${ECHO_T}$ac_cv_func_remove" >&6
21752 if test $ac_cv_func_remove = no
; then
21753 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21754 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21755 if test "${ac_cv_lib_posix_remove+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21758 ac_check_lib_save_LIBS
=$LIBS
21759 LIBS
="-lposix $LIBS"
21760 cat >conftest.
$ac_ext <<_ACEOF
21761 #line $LINENO "configure"
21764 cat confdefs.h
>>conftest.
$ac_ext
21765 cat >>conftest.
$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21768 /* Override any gcc2 internal prototype to avoid an error. */
21772 /* We use char because int might match the return type of a gcc2
21773 builtin and then its argument prototype would still apply. */
21783 rm -f conftest.
$ac_objext conftest
$ac_exeext
21784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21785 (eval $ac_link) 2>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); } &&
21789 { ac_try
='test -s conftest$ac_exeext'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21795 ac_cv_lib_posix_remove
=yes
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.
$ac_ext >&5
21800 ac_cv_lib_posix_remove
=no
21802 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21803 LIBS
=$ac_check_lib_save_LIBS
21805 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21806 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21807 if test $ac_cv_lib_posix_remove = yes; then
21808 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
21813 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21814 echo "$as_me:$LINENO: checking for shmat" >&5
21815 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21816 if test "${ac_cv_func_shmat+set}" = set; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21819 cat >conftest.
$ac_ext <<_ACEOF
21820 #line $LINENO "configure"
21823 cat confdefs.h
>>conftest.
$ac_ext
21824 cat >>conftest.
$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 /* System header to define __stub macros and hopefully few prototypes,
21827 which can conflict with char shmat (); below.
21828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21829 <limits.h> exists even on freestanding compilers. */
21831 # include <limits.h>
21833 # include <assert.h>
21835 /* Override any gcc2 internal prototype to avoid an error. */
21840 /* We use char because int might match the return type of a gcc2
21841 builtin and then its argument prototype would still apply. */
21843 /* The GNU C library defines this for functions which it implements
21844 to always fail with ENOSYS. Some functions are actually named
21845 something starting with __ and the normal name is an alias. */
21846 #if defined (__stub_shmat) || defined (__stub___shmat)
21849 char (*f) () = shmat;
21863 rm -f conftest.
$ac_objext conftest
$ac_exeext
21864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21865 (eval $ac_link) 2>&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } &&
21869 { ac_try
='test -s conftest$ac_exeext'
21870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21871 (eval $ac_try) 2>&5
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21875 ac_cv_func_shmat
=yes
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.
$ac_ext >&5
21880 ac_cv_func_shmat
=no
21882 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21884 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21885 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21887 if test $ac_cv_func_shmat = no
; then
21888 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21889 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21890 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21893 ac_check_lib_save_LIBS
=$LIBS
21895 cat >conftest.
$ac_ext <<_ACEOF
21896 #line $LINENO "configure"
21899 cat confdefs.h
>>conftest.
$ac_ext
21900 cat >>conftest.
$ac_ext <<_ACEOF
21901 /* end confdefs.h. */
21903 /* Override any gcc2 internal prototype to avoid an error. */
21907 /* We use char because int might match the return type of a gcc2
21908 builtin and then its argument prototype would still apply. */
21918 rm -f conftest.
$ac_objext conftest
$ac_exeext
21919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21920 (eval $ac_link) 2>&5
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); } &&
21924 { ac_try
='test -s conftest$ac_exeext'
21925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21926 (eval $ac_try) 2>&5
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); }; }; then
21930 ac_cv_lib_ipc_shmat
=yes
21932 echo "$as_me: failed program was:" >&5
21933 sed 's/^/| /' conftest.
$ac_ext >&5
21935 ac_cv_lib_ipc_shmat
=no
21937 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21938 LIBS
=$ac_check_lib_save_LIBS
21940 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21941 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21942 if test $ac_cv_lib_ipc_shmat = yes; then
21943 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
21949 # Check for libraries that X11R6 Xt/Xaw programs need.
21950 ac_save_LDFLAGS
=$LDFLAGS
21951 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
21952 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21953 # check for ICE first), but we must link in the order -lSM -lICE or
21954 # we get undefined symbols. So assume we have SM if we have ICE.
21955 # These have to be linked with before -lX11, unlike the other
21956 # libraries we check for below, so use a different variable.
21957 # John Interrante, Karl Berry
21958 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21959 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21960 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21961 echo $ECHO_N "(cached) $ECHO_C" >&6
21963 ac_check_lib_save_LIBS
=$LIBS
21964 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
21965 cat >conftest.
$ac_ext <<_ACEOF
21966 #line $LINENO "configure"
21969 cat confdefs.h
>>conftest.
$ac_ext
21970 cat >>conftest.
$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21973 /* Override any gcc2 internal prototype to avoid an error. */
21977 /* We use char because int might match the return type of a gcc2
21978 builtin and then its argument prototype would still apply. */
21979 char IceConnectionNumber ();
21983 IceConnectionNumber ();
21988 rm -f conftest.
$ac_objext conftest
$ac_exeext
21989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21990 (eval $ac_link) 2>&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } &&
21994 { ac_try
='test -s conftest$ac_exeext'
21995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21996 (eval $ac_try) 2>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22000 ac_cv_lib_ICE_IceConnectionNumber
=yes
22002 echo "$as_me: failed program was:" >&5
22003 sed 's/^/| /' conftest.
$ac_ext >&5
22005 ac_cv_lib_ICE_IceConnectionNumber
=no
22007 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22008 LIBS
=$ac_check_lib_save_LIBS
22010 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22011 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22012 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22013 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22016 LDFLAGS
=$ac_save_LDFLAGS
22021 if test "$no_x" = "yes"; then
22022 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22023 echo "$as_me: error: X11 not found" >&2;}
22024 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22027 GUI_TK_LIBRARY
="$X_LIBS"
22028 TOOLKIT_INCLUDE
="$X_CFLAGS"
22029 AFMINSTALL
=afminstall
22030 COMPILED_X_PROGRAM
=0
22032 if test "$wxUSE_NANOX" = "yes"; then
22033 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22034 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22035 if test "x$MICROWIN" = x
; then
22036 echo "$as_me:$LINENO: result: not found" >&5
22037 echo "${ECHO_T}not found" >&6
22038 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22039 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22040 { (exit 1); exit 1; }; }
22042 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22043 echo "${ECHO_T}$MICROWIN" >&6
22044 cat >>confdefs.h
<<\_ACEOF
22045 #define wxUSE_NANOX 1
22052 echo "$as_me:$LINENO: checking for Xpm library" >&5
22053 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22056 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22058 for ac_extension
in a so sl dylib
; do
22059 if test -f "$ac_dir/libXpm.$ac_extension"; then
22060 ac_find_libraries
=$ac_dir
22066 if test "$ac_find_libraries" != "" ; then
22068 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22070 if test $result = 0; then
22073 ac_path_to_link
=" -L$ac_find_libraries"
22076 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22078 cat >>confdefs.h
<<\_ACEOF
22079 #define wxHAVE_LIB_XPM 1
22082 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22083 echo "${ECHO_T}found at $ac_find_libraries" >&6
22085 cat >conftest.
$ac_ext <<_ACEOF
22086 #line $LINENO "configure"
22089 cat confdefs.h
>>conftest.
$ac_ext
22090 cat >>conftest.
$ac_ext <<_ACEOF
22091 /* end confdefs.h. */
22093 #include <X11/xpm.h>
22100 version = XpmLibraryVersion();
22106 rm -f conftest.
$ac_objext
22107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22108 (eval $ac_compile) 2>&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } &&
22112 { ac_try
='test -s conftest.$ac_objext'
22113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22114 (eval $ac_try) 2>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; }; then
22120 cat >>confdefs.h
<<\_ACEOF
22121 #define wxHAVE_LIB_XPM 1
22124 echo "$as_me:$LINENO: result: found in default search path" >&5
22125 echo "${ECHO_T}found in default search path" >&6
22126 COMPILED_X_PROGRAM
=0
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.
$ac_ext >&5
22133 echo "$as_me:$LINENO: result: no" >&5
22134 echo "${ECHO_T}no" >&6
22135 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22136 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22140 rm -f conftest.
$ac_objext conftest.
$ac_ext
22143 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22144 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22145 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22148 ac_check_lib_save_LIBS
=$LIBS
22149 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22150 cat >conftest.
$ac_ext <<_ACEOF
22151 #line $LINENO "configure"
22154 cat confdefs.h
>>conftest.
$ac_ext
22155 cat >>conftest.
$ac_ext <<_ACEOF
22156 /* end confdefs.h. */
22158 /* Override any gcc2 internal prototype to avoid an error. */
22162 /* We use char because int might match the return type of a gcc2
22163 builtin and then its argument prototype would still apply. */
22164 char XShapeQueryExtension ();
22168 XShapeQueryExtension ();
22173 rm -f conftest.
$ac_objext conftest
$ac_exeext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175 (eval $ac_link) 2>&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } &&
22179 { ac_try
='test -s conftest$ac_exeext'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; }; then
22185 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.
$ac_ext >&5
22190 ac_cv_lib_Xext_XShapeQueryExtension
=no
22192 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22193 LIBS
=$ac_check_lib_save_LIBS
22195 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22196 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22197 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22199 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22205 if test "$wxUSE_UNICODE" = "yes"; then
22209 if test -z "$PKG_CONFIG"; then
22210 # Extract the first word of "pkg-config", so it can be a program name with args.
22211 set dummy pkg
-config; ac_word
=$2
22212 echo "$as_me:$LINENO: checking for $ac_word" >&5
22213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22214 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22215 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 case $PKG_CONFIG in
22219 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22223 for as_dir
in $PATH
22226 test -z "$as_dir" && as_dir
=.
22227 for ac_exec_ext
in '' $ac_executable_extensions; do
22228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22229 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22236 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22240 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22242 if test -n "$PKG_CONFIG"; then
22243 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22244 echo "${ECHO_T}$PKG_CONFIG" >&6
22246 echo "$as_me:$LINENO: result: no" >&5
22247 echo "${ECHO_T}no" >&6
22252 if test "$PKG_CONFIG" = "no" ; then
22253 echo "*** The pkg-config script could not be found. Make sure it is"
22254 echo "*** in your path, or set the PKG_CONFIG environment variable"
22255 echo "*** to the full path to pkg-config."
22256 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22258 PKG_CONFIG_MIN_VERSION
=0.9.0
22259 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22260 echo "$as_me:$LINENO: checking for pangox" >&5
22261 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22263 if $PKG_CONFIG --exists "pangox" ; then
22264 echo "$as_me:$LINENO: result: yes" >&5
22265 echo "${ECHO_T}yes" >&6
22268 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22269 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22270 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22271 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22272 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22274 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22275 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22276 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22277 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22278 echo "${ECHO_T}$PANGOX_LIBS" >&6
22282 ## If we have a custom action on failure, don't print errors, but
22283 ## do set a variable so people can do so.
22284 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22291 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22292 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22296 if test $succeeded = yes; then
22298 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22299 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22303 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22304 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22305 { (exit 1); exit 1; }; }
22313 if test -z "$PKG_CONFIG"; then
22314 # Extract the first word of "pkg-config", so it can be a program name with args.
22315 set dummy pkg
-config; ac_word
=$2
22316 echo "$as_me:$LINENO: checking for $ac_word" >&5
22317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22318 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22321 case $PKG_CONFIG in
22323 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22327 for as_dir
in $PATH
22330 test -z "$as_dir" && as_dir
=.
22331 for ac_exec_ext
in '' $ac_executable_extensions; do
22332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22333 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22340 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22344 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22346 if test -n "$PKG_CONFIG"; then
22347 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22348 echo "${ECHO_T}$PKG_CONFIG" >&6
22350 echo "$as_me:$LINENO: result: no" >&5
22351 echo "${ECHO_T}no" >&6
22356 if test "$PKG_CONFIG" = "no" ; then
22357 echo "*** The pkg-config script could not be found. Make sure it is"
22358 echo "*** in your path, or set the PKG_CONFIG environment variable"
22359 echo "*** to the full path to pkg-config."
22360 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22362 PKG_CONFIG_MIN_VERSION
=0.9.0
22363 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22364 echo "$as_me:$LINENO: checking for pangoft2" >&5
22365 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22367 if $PKG_CONFIG --exists "pangoft2" ; then
22368 echo "$as_me:$LINENO: result: yes" >&5
22369 echo "${ECHO_T}yes" >&6
22372 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22373 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22374 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22375 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22376 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22378 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22379 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22380 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22381 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22382 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22386 ## If we have a custom action on failure, don't print errors, but
22387 ## do set a variable so people can do so.
22388 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22395 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22396 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22400 if test $succeeded = yes; then
22402 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22403 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22407 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22408 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22409 wxUSE_PRINTING_ARCHITECTURE
="no"
22417 if test -z "$PKG_CONFIG"; then
22418 # Extract the first word of "pkg-config", so it can be a program name with args.
22419 set dummy pkg
-config; ac_word
=$2
22420 echo "$as_me:$LINENO: checking for $ac_word" >&5
22421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22422 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6
22425 case $PKG_CONFIG in
22427 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22431 for as_dir
in $PATH
22434 test -z "$as_dir" && as_dir
=.
22435 for ac_exec_ext
in '' $ac_executable_extensions; do
22436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22437 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22444 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22448 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22450 if test -n "$PKG_CONFIG"; then
22451 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22452 echo "${ECHO_T}$PKG_CONFIG" >&6
22454 echo "$as_me:$LINENO: result: no" >&5
22455 echo "${ECHO_T}no" >&6
22460 if test "$PKG_CONFIG" = "no" ; then
22461 echo "*** The pkg-config script could not be found. Make sure it is"
22462 echo "*** in your path, or set the PKG_CONFIG environment variable"
22463 echo "*** to the full path to pkg-config."
22464 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22466 PKG_CONFIG_MIN_VERSION
=0.9.0
22467 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22468 echo "$as_me:$LINENO: checking for pangoxft" >&5
22469 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22471 if $PKG_CONFIG --exists "pangoxft" ; then
22472 echo "$as_me:$LINENO: result: yes" >&5
22473 echo "${ECHO_T}yes" >&6
22476 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22477 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22478 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22479 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22480 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22482 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22483 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22484 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22485 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22486 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22490 ## If we have a custom action on failure, don't print errors, but
22491 ## do set a variable so people can do so.
22492 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22499 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22500 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22504 if test $succeeded = yes; then
22506 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22507 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22511 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22512 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22519 wxUSE_UNIVERSAL
="yes"
22521 if test "$wxUSE_NANOX" = "yes"; then
22522 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22523 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"
22524 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22526 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22529 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22534 if test "$wxUSE_MOTIF" = 1; then
22535 if test "$no_x" = yes; then
22536 # Not all programs may use this symbol, but it does not hurt to define it.
22538 cat >>confdefs.h
<<\_ACEOF
22539 #define X_DISPLAY_MISSING 1
22542 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22544 if test -n "$x_includes"; then
22545 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22548 # It would also be nice to do this for all -L options, not just this one.
22549 if test -n "$x_libraries"; then
22550 X_LIBS
="$X_LIBS -L$x_libraries"
22551 # For Solaris; some versions of Sun CC require a space after -R and
22552 # others require no space. Words are not sufficient . . . .
22553 case `(uname -sr) 2>/dev/null` in
22555 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22556 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22557 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22558 cat >conftest.
$ac_ext <<_ACEOF
22559 #line $LINENO "configure"
22562 cat confdefs.h
>>conftest.
$ac_ext
22563 cat >>conftest.
$ac_ext <<_ACEOF
22564 /* end confdefs.h. */
22574 rm -f conftest.
$ac_objext conftest
$ac_exeext
22575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22576 (eval $ac_link) 2>&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); } &&
22580 { ac_try
='test -s conftest$ac_exeext'
22581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22582 (eval $ac_try) 2>&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; }; then
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.
$ac_ext >&5
22593 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22594 if test $ac_R_nospace = yes; then
22595 echo "$as_me:$LINENO: result: no" >&5
22596 echo "${ECHO_T}no" >&6
22597 X_LIBS
="$X_LIBS -R$x_libraries"
22599 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22600 cat >conftest.
$ac_ext <<_ACEOF
22601 #line $LINENO "configure"
22604 cat confdefs.h
>>conftest.
$ac_ext
22605 cat >>conftest.
$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22616 rm -f conftest.
$ac_objext conftest
$ac_exeext
22617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22618 (eval $ac_link) 2>&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } &&
22622 { ac_try
='test -s conftest$ac_exeext'
22623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22624 (eval $ac_try) 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; }; then
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.
$ac_ext >&5
22635 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22636 if test $ac_R_space = yes; then
22637 echo "$as_me:$LINENO: result: yes" >&5
22638 echo "${ECHO_T}yes" >&6
22639 X_LIBS
="$X_LIBS -R $x_libraries"
22641 echo "$as_me:$LINENO: result: neither works" >&5
22642 echo "${ECHO_T}neither works" >&6
22645 LIBS
=$ac_xsave_LIBS
22649 # Check for system-dependent libraries X programs must link with.
22650 # Do this before checking for the system-independent R6 libraries
22651 # (-lICE), since we may need -lsocket or whatever for X linking.
22653 if test "$ISC" = yes; then
22654 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22656 # Martyn Johnson says this is needed for Ultrix, if the X
22657 # libraries were built with DECnet support. And Karl Berry says
22658 # the Alpha needs dnet_stub (dnet does not exist).
22659 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22660 cat >conftest.
$ac_ext <<_ACEOF
22661 #line $LINENO "configure"
22664 cat confdefs.h
>>conftest.
$ac_ext
22665 cat >>conftest.
$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22668 /* Override any gcc2 internal prototype to avoid an error. */
22672 /* We use char because int might match the return type of a gcc2
22673 builtin and then its argument prototype would still apply. */
22674 char XOpenDisplay ();
22683 rm -f conftest.
$ac_objext conftest
$ac_exeext
22684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22685 (eval $ac_link) 2>&5
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); } &&
22689 { ac_try
='test -s conftest$ac_exeext'
22690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22691 (eval $ac_try) 2>&5
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); }; }; then
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.
$ac_ext >&5
22700 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22701 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22702 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22703 echo $ECHO_N "(cached) $ECHO_C" >&6
22705 ac_check_lib_save_LIBS
=$LIBS
22706 LIBS
="-ldnet $LIBS"
22707 cat >conftest.
$ac_ext <<_ACEOF
22708 #line $LINENO "configure"
22711 cat confdefs.h
>>conftest.
$ac_ext
22712 cat >>conftest.
$ac_ext <<_ACEOF
22713 /* end confdefs.h. */
22715 /* Override any gcc2 internal prototype to avoid an error. */
22719 /* We use char because int might match the return type of a gcc2
22720 builtin and then its argument prototype would still apply. */
22730 rm -f conftest.
$ac_objext conftest
$ac_exeext
22731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22732 (eval $ac_link) 2>&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } &&
22736 { ac_try
='test -s conftest$ac_exeext'
22737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22738 (eval $ac_try) 2>&5
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); }; }; then
22742 ac_cv_lib_dnet_dnet_ntoa
=yes
22744 echo "$as_me: failed program was:" >&5
22745 sed 's/^/| /' conftest.
$ac_ext >&5
22747 ac_cv_lib_dnet_dnet_ntoa
=no
22749 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22750 LIBS
=$ac_check_lib_save_LIBS
22752 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22753 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22754 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22755 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22758 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22759 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22760 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22761 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22762 echo $ECHO_N "(cached) $ECHO_C" >&6
22764 ac_check_lib_save_LIBS
=$LIBS
22765 LIBS
="-ldnet_stub $LIBS"
22766 cat >conftest.
$ac_ext <<_ACEOF
22767 #line $LINENO "configure"
22770 cat confdefs.h
>>conftest.
$ac_ext
22771 cat >>conftest.
$ac_ext <<_ACEOF
22772 /* end confdefs.h. */
22774 /* Override any gcc2 internal prototype to avoid an error. */
22778 /* We use char because int might match the return type of a gcc2
22779 builtin and then its argument prototype would still apply. */
22789 rm -f conftest.
$ac_objext conftest
$ac_exeext
22790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22791 (eval $ac_link) 2>&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } &&
22795 { ac_try
='test -s conftest$ac_exeext'
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; }; then
22801 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
22803 echo "$as_me: failed program was:" >&5
22804 sed 's/^/| /' conftest.
$ac_ext >&5
22806 ac_cv_lib_dnet_stub_dnet_ntoa
=no
22808 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22809 LIBS
=$ac_check_lib_save_LIBS
22811 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22812 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22813 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22814 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22819 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22820 LIBS
="$ac_xsave_LIBS"
22822 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22823 # to get the SysV transport functions.
22824 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22826 # The nsl library prevents programs from opening the X display
22827 # on Irix 5.2, according to T.E. Dickey.
22828 # The functions gethostbyname, getservbyname, and inet_addr are
22829 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22830 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22831 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22832 if test "${ac_cv_func_gethostbyname+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 cat >conftest.
$ac_ext <<_ACEOF
22836 #line $LINENO "configure"
22839 cat confdefs.h
>>conftest.
$ac_ext
22840 cat >>conftest.
$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22842 /* System header to define __stub macros and hopefully few prototypes,
22843 which can conflict with char gethostbyname (); below.
22844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22845 <limits.h> exists even on freestanding compilers. */
22847 # include <limits.h>
22849 # include <assert.h>
22851 /* Override any gcc2 internal prototype to avoid an error. */
22856 /* We use char because int might match the return type of a gcc2
22857 builtin and then its argument prototype would still apply. */
22858 char gethostbyname ();
22859 /* The GNU C library defines this for functions which it implements
22860 to always fail with ENOSYS. Some functions are actually named
22861 something starting with __ and the normal name is an alias. */
22862 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22865 char (*f) () = gethostbyname;
22874 return f != gethostbyname;
22879 rm -f conftest.
$ac_objext conftest
$ac_exeext
22880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22881 (eval $ac_link) 2>&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } &&
22885 { ac_try
='test -s conftest$ac_exeext'
22886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22887 (eval $ac_try) 2>&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; }; then
22891 ac_cv_func_gethostbyname
=yes
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.
$ac_ext >&5
22896 ac_cv_func_gethostbyname
=no
22898 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22900 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22901 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22903 if test $ac_cv_func_gethostbyname = no
; then
22904 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22905 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22906 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22907 echo $ECHO_N "(cached) $ECHO_C" >&6
22909 ac_check_lib_save_LIBS
=$LIBS
22911 cat >conftest.
$ac_ext <<_ACEOF
22912 #line $LINENO "configure"
22915 cat confdefs.h
>>conftest.
$ac_ext
22916 cat >>conftest.
$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22919 /* Override any gcc2 internal prototype to avoid an error. */
22923 /* We use char because int might match the return type of a gcc2
22924 builtin and then its argument prototype would still apply. */
22925 char gethostbyname ();
22934 rm -f conftest.
$ac_objext conftest
$ac_exeext
22935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22936 (eval $ac_link) 2>&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); } &&
22940 { ac_try
='test -s conftest$ac_exeext'
22941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22942 (eval $ac_try) 2>&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; }; then
22946 ac_cv_lib_nsl_gethostbyname
=yes
22948 echo "$as_me: failed program was:" >&5
22949 sed 's/^/| /' conftest.
$ac_ext >&5
22951 ac_cv_lib_nsl_gethostbyname
=no
22953 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22954 LIBS
=$ac_check_lib_save_LIBS
22956 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22957 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22958 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22959 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22962 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22963 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22964 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22965 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22966 echo $ECHO_N "(cached) $ECHO_C" >&6
22968 ac_check_lib_save_LIBS
=$LIBS
22970 cat >conftest.
$ac_ext <<_ACEOF
22971 #line $LINENO "configure"
22974 cat confdefs.h
>>conftest.
$ac_ext
22975 cat >>conftest.
$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22978 /* Override any gcc2 internal prototype to avoid an error. */
22982 /* We use char because int might match the return type of a gcc2
22983 builtin and then its argument prototype would still apply. */
22984 char gethostbyname ();
22993 rm -f conftest.
$ac_objext conftest
$ac_exeext
22994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22995 (eval $ac_link) 2>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } &&
22999 { ac_try
='test -s conftest$ac_exeext'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 ac_cv_lib_bsd_gethostbyname
=yes
23007 echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.
$ac_ext >&5
23010 ac_cv_lib_bsd_gethostbyname
=no
23012 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23013 LIBS
=$ac_check_lib_save_LIBS
23015 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23016 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23017 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23018 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23024 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23025 # socket/setsockopt and other routines are undefined under SCO ODT
23026 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23027 # on later versions), says Simon Leinen: it contains gethostby*
23028 # variants that don't use the name server (or something). -lsocket
23029 # must be given before -lnsl if both are needed. We assume that
23030 # if connect needs -lnsl, so does gethostbyname.
23031 echo "$as_me:$LINENO: checking for connect" >&5
23032 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23033 if test "${ac_cv_func_connect+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23036 cat >conftest.
$ac_ext <<_ACEOF
23037 #line $LINENO "configure"
23040 cat confdefs.h
>>conftest.
$ac_ext
23041 cat >>conftest.
$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 /* System header to define __stub macros and hopefully few prototypes,
23044 which can conflict with char connect (); below.
23045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23046 <limits.h> exists even on freestanding compilers. */
23048 # include <limits.h>
23050 # include <assert.h>
23052 /* Override any gcc2 internal prototype to avoid an error. */
23057 /* We use char because int might match the return type of a gcc2
23058 builtin and then its argument prototype would still apply. */
23060 /* The GNU C library defines this for functions which it implements
23061 to always fail with ENOSYS. Some functions are actually named
23062 something starting with __ and the normal name is an alias. */
23063 #if defined (__stub_connect) || defined (__stub___connect)
23066 char (*f) () = connect;
23075 return f != connect;
23080 rm -f conftest.
$ac_objext conftest
$ac_exeext
23081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23082 (eval $ac_link) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } &&
23086 { ac_try
='test -s conftest$ac_exeext'
23087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23088 (eval $ac_try) 2>&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); }; }; then
23092 ac_cv_func_connect
=yes
23094 echo "$as_me: failed program was:" >&5
23095 sed 's/^/| /' conftest.
$ac_ext >&5
23097 ac_cv_func_connect
=no
23099 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23101 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23102 echo "${ECHO_T}$ac_cv_func_connect" >&6
23104 if test $ac_cv_func_connect = no
; then
23105 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23106 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23107 if test "${ac_cv_lib_socket_connect+set}" = set; then
23108 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 ac_check_lib_save_LIBS
=$LIBS
23111 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23112 cat >conftest.
$ac_ext <<_ACEOF
23113 #line $LINENO "configure"
23116 cat confdefs.h
>>conftest.
$ac_ext
23117 cat >>conftest.
$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23120 /* Override any gcc2 internal prototype to avoid an error. */
23124 /* We use char because int might match the return type of a gcc2
23125 builtin and then its argument prototype would still apply. */
23135 rm -f conftest.
$ac_objext conftest
$ac_exeext
23136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23137 (eval $ac_link) 2>&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } &&
23141 { ac_try
='test -s conftest$ac_exeext'
23142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23143 (eval $ac_try) 2>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); }; }; then
23147 ac_cv_lib_socket_connect
=yes
23149 echo "$as_me: failed program was:" >&5
23150 sed 's/^/| /' conftest.
$ac_ext >&5
23152 ac_cv_lib_socket_connect
=no
23154 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23155 LIBS
=$ac_check_lib_save_LIBS
23157 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23158 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23159 if test $ac_cv_lib_socket_connect = yes; then
23160 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23165 # Guillermo Gomez says -lposix is necessary on A/UX.
23166 echo "$as_me:$LINENO: checking for remove" >&5
23167 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23168 if test "${ac_cv_func_remove+set}" = set; then
23169 echo $ECHO_N "(cached) $ECHO_C" >&6
23171 cat >conftest.
$ac_ext <<_ACEOF
23172 #line $LINENO "configure"
23175 cat confdefs.h
>>conftest.
$ac_ext
23176 cat >>conftest.
$ac_ext <<_ACEOF
23177 /* end confdefs.h. */
23178 /* System header to define __stub macros and hopefully few prototypes,
23179 which can conflict with char remove (); below.
23180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23181 <limits.h> exists even on freestanding compilers. */
23183 # include <limits.h>
23185 # include <assert.h>
23187 /* Override any gcc2 internal prototype to avoid an error. */
23192 /* We use char because int might match the return type of a gcc2
23193 builtin and then its argument prototype would still apply. */
23195 /* The GNU C library defines this for functions which it implements
23196 to always fail with ENOSYS. Some functions are actually named
23197 something starting with __ and the normal name is an alias. */
23198 #if defined (__stub_remove) || defined (__stub___remove)
23201 char (*f) () = remove;
23210 return f != remove;
23215 rm -f conftest.
$ac_objext conftest
$ac_exeext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217 (eval $ac_link) 2>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } &&
23221 { ac_try
='test -s conftest$ac_exeext'
23222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23223 (eval $ac_try) 2>&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); }; }; then
23227 ac_cv_func_remove
=yes
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.
$ac_ext >&5
23232 ac_cv_func_remove
=no
23234 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23236 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23237 echo "${ECHO_T}$ac_cv_func_remove" >&6
23239 if test $ac_cv_func_remove = no
; then
23240 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23241 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23242 if test "${ac_cv_lib_posix_remove+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23245 ac_check_lib_save_LIBS
=$LIBS
23246 LIBS
="-lposix $LIBS"
23247 cat >conftest.
$ac_ext <<_ACEOF
23248 #line $LINENO "configure"
23251 cat confdefs.h
>>conftest.
$ac_ext
23252 cat >>conftest.
$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23255 /* Override any gcc2 internal prototype to avoid an error. */
23259 /* We use char because int might match the return type of a gcc2
23260 builtin and then its argument prototype would still apply. */
23270 rm -f conftest.
$ac_objext conftest
$ac_exeext
23271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23272 (eval $ac_link) 2>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try
='test -s conftest$ac_exeext'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; }; then
23282 ac_cv_lib_posix_remove
=yes
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.
$ac_ext >&5
23287 ac_cv_lib_posix_remove
=no
23289 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23290 LIBS
=$ac_check_lib_save_LIBS
23292 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23293 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23294 if test $ac_cv_lib_posix_remove = yes; then
23295 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23300 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23301 echo "$as_me:$LINENO: checking for shmat" >&5
23302 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23303 if test "${ac_cv_func_shmat+set}" = set; then
23304 echo $ECHO_N "(cached) $ECHO_C" >&6
23306 cat >conftest.
$ac_ext <<_ACEOF
23307 #line $LINENO "configure"
23310 cat confdefs.h
>>conftest.
$ac_ext
23311 cat >>conftest.
$ac_ext <<_ACEOF
23312 /* end confdefs.h. */
23313 /* System header to define __stub macros and hopefully few prototypes,
23314 which can conflict with char shmat (); below.
23315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23316 <limits.h> exists even on freestanding compilers. */
23318 # include <limits.h>
23320 # include <assert.h>
23322 /* Override any gcc2 internal prototype to avoid an error. */
23327 /* We use char because int might match the return type of a gcc2
23328 builtin and then its argument prototype would still apply. */
23330 /* The GNU C library defines this for functions which it implements
23331 to always fail with ENOSYS. Some functions are actually named
23332 something starting with __ and the normal name is an alias. */
23333 #if defined (__stub_shmat) || defined (__stub___shmat)
23336 char (*f) () = shmat;
23350 rm -f conftest.
$ac_objext conftest
$ac_exeext
23351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23352 (eval $ac_link) 2>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } &&
23356 { ac_try
='test -s conftest$ac_exeext'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 ac_cv_func_shmat
=yes
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.
$ac_ext >&5
23367 ac_cv_func_shmat
=no
23369 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23371 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23372 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23374 if test $ac_cv_func_shmat = no
; then
23375 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23376 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23377 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23378 echo $ECHO_N "(cached) $ECHO_C" >&6
23380 ac_check_lib_save_LIBS
=$LIBS
23382 cat >conftest.
$ac_ext <<_ACEOF
23383 #line $LINENO "configure"
23386 cat confdefs.h
>>conftest.
$ac_ext
23387 cat >>conftest.
$ac_ext <<_ACEOF
23388 /* end confdefs.h. */
23390 /* Override any gcc2 internal prototype to avoid an error. */
23394 /* We use char because int might match the return type of a gcc2
23395 builtin and then its argument prototype would still apply. */
23405 rm -f conftest.
$ac_objext conftest
$ac_exeext
23406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23407 (eval $ac_link) 2>&5
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); } &&
23411 { ac_try
='test -s conftest$ac_exeext'
23412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413 (eval $ac_try) 2>&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; }; then
23417 ac_cv_lib_ipc_shmat
=yes
23419 echo "$as_me: failed program was:" >&5
23420 sed 's/^/| /' conftest.
$ac_ext >&5
23422 ac_cv_lib_ipc_shmat
=no
23424 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23425 LIBS
=$ac_check_lib_save_LIBS
23427 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23428 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23429 if test $ac_cv_lib_ipc_shmat = yes; then
23430 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23436 # Check for libraries that X11R6 Xt/Xaw programs need.
23437 ac_save_LDFLAGS
=$LDFLAGS
23438 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23439 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23440 # check for ICE first), but we must link in the order -lSM -lICE or
23441 # we get undefined symbols. So assume we have SM if we have ICE.
23442 # These have to be linked with before -lX11, unlike the other
23443 # libraries we check for below, so use a different variable.
23444 # John Interrante, Karl Berry
23445 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23446 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23447 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23448 echo $ECHO_N "(cached) $ECHO_C" >&6
23450 ac_check_lib_save_LIBS
=$LIBS
23451 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23452 cat >conftest.
$ac_ext <<_ACEOF
23453 #line $LINENO "configure"
23456 cat confdefs.h
>>conftest.
$ac_ext
23457 cat >>conftest.
$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23460 /* Override any gcc2 internal prototype to avoid an error. */
23464 /* We use char because int might match the return type of a gcc2
23465 builtin and then its argument prototype would still apply. */
23466 char IceConnectionNumber ();
23470 IceConnectionNumber ();
23475 rm -f conftest.
$ac_objext conftest
$ac_exeext
23476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23477 (eval $ac_link) 2>&5
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); } &&
23481 { ac_try
='test -s conftest$ac_exeext'
23482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23483 (eval $ac_try) 2>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; }; then
23487 ac_cv_lib_ICE_IceConnectionNumber
=yes
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.
$ac_ext >&5
23492 ac_cv_lib_ICE_IceConnectionNumber
=no
23494 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23495 LIBS
=$ac_check_lib_save_LIBS
23497 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23498 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23499 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23500 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23503 LDFLAGS
=$ac_save_LDFLAGS
23508 if test "$no_x" = "yes"; then
23509 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23510 echo "$as_me: error: X11 not found" >&2;}
23511 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23514 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23515 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23516 AFMINSTALL
=afminstall
23517 COMPILED_X_PROGRAM
=0
23519 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23520 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23523 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23525 if test -f "$ac_dir/Xm/Xm.h"; then
23526 ac_find_includes
=$ac_dir
23531 if test "$ac_find_includes" != "" ; then
23532 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23533 echo "${ECHO_T}found in $ac_find_includes" >&6
23535 if test "x$ac_find_includes" = "x/usr/include"; then
23536 ac_path_to_include
=""
23538 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23540 if test $result = 0; then
23541 ac_path_to_include
=""
23543 ac_path_to_include
=" -I$ac_find_includes"
23547 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23549 cat >conftest.
$ac_ext <<_ACEOF
23550 #line $LINENO "configure"
23553 cat confdefs.h
>>conftest.
$ac_ext
23554 cat >>conftest.
$ac_ext <<_ACEOF
23555 /* end confdefs.h. */
23564 version = xmUseVersion;
23570 rm -f conftest.
$ac_objext
23571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23572 (eval $ac_compile) 2>&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } &&
23576 { ac_try
='test -s conftest.$ac_objext'
23577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578 (eval $ac_try) 2>&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); }; }; then
23583 echo "$as_me:$LINENO: result: found in default search path" >&5
23584 echo "${ECHO_T}found in default search path" >&6
23585 COMPILED_X_PROGRAM
=1
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.
$ac_ext >&5
23592 echo "$as_me:$LINENO: result: no" >&5
23593 echo "${ECHO_T}no" >&6
23594 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23595 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23596 { (exit 1); exit 1; }; }
23600 rm -f conftest.
$ac_objext conftest.
$ac_ext
23603 if test "$COMPILED_X_PROGRAM" = 0; then
23604 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23605 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23608 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23610 for ac_extension
in a so sl dylib
; do
23611 if test -f "$ac_dir/libXm.$ac_extension"; then
23612 ac_find_libraries
=$ac_dir
23618 if test "$ac_find_libraries" != "" ; then
23619 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23620 echo "${ECHO_T}found at $ac_find_libraries" >&6
23623 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23625 if test $result = 0; then
23628 ac_path_to_link
=" -L$ac_find_libraries"
23631 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23633 save_CFLAGS
=$CFLAGS
23634 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23636 cat >conftest.
$ac_ext <<_ACEOF
23637 #line $LINENO "configure"
23640 cat confdefs.h
>>conftest.
$ac_ext
23641 cat >>conftest.
$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23651 version = xmUseVersion;
23657 rm -f conftest.
$ac_objext
23658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23659 (eval $ac_compile) 2>&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); } &&
23663 { ac_try
='test -s conftest.$ac_objext'
23664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665 (eval $ac_try) 2>&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); }; }; then
23670 echo "$as_me:$LINENO: result: found in default search path" >&5
23671 echo "${ECHO_T}found in default search path" >&6
23672 COMPILED_X_PROGRAM
=1
23675 echo "$as_me: failed program was:" >&5
23676 sed 's/^/| /' conftest.
$ac_ext >&5
23679 echo "$as_me:$LINENO: result: no" >&5
23680 echo "${ECHO_T}no" >&6
23681 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23682 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23683 { (exit 1); exit 1; }; }
23687 rm -f conftest.
$ac_objext conftest.
$ac_ext
23689 CFLAGS
=$save_CFLAGS
23694 echo "$as_me:$LINENO: checking for Xpm library" >&5
23695 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23698 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23700 for ac_extension
in a so sl dylib
; do
23701 if test -f "$ac_dir/libXpm.$ac_extension"; then
23702 ac_find_libraries
=$ac_dir
23708 if test "$ac_find_libraries" != "" ; then
23710 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23712 if test $result = 0; then
23715 ac_path_to_link
=" -L$ac_find_libraries"
23718 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23721 cat >>confdefs.h
<<\_ACEOF
23722 #define wxHAVE_LIB_XPM 1
23725 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23726 echo "${ECHO_T}found at $ac_find_libraries" >&6
23728 save_CFLAGS
=$CFLAGS
23729 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23731 cat >conftest.
$ac_ext <<_ACEOF
23732 #line $LINENO "configure"
23735 cat confdefs.h
>>conftest.
$ac_ext
23736 cat >>conftest.
$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23739 #include <X11/xpm.h>
23746 version = XpmLibraryVersion();
23752 rm -f conftest.
$ac_objext
23753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23754 (eval $ac_compile) 2>&5
23756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757 (exit $ac_status); } &&
23758 { ac_try
='test -s conftest.$ac_objext'
23759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23760 (eval $ac_try) 2>&5
23762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763 (exit $ac_status); }; }; then
23766 cat >>confdefs.h
<<\_ACEOF
23767 #define wxHAVE_LIB_XPM 1
23770 echo "$as_me:$LINENO: result: found in default search path" >&5
23771 echo "${ECHO_T}found in default search path" >&6
23772 COMPILED_X_PROGRAM
=0
23775 echo "$as_me: failed program was:" >&5
23776 sed 's/^/| /' conftest.
$ac_ext >&5
23779 echo "$as_me:$LINENO: result: no" >&5
23780 echo "${ECHO_T}no" >&6
23781 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23782 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23786 rm -f conftest.
$ac_objext conftest.
$ac_ext
23788 CFLAGS
=$save_CFLAGS
23791 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23792 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23796 for libp
in "" " -lXp"; do
23797 if test "$libs_found" = "0"; then
23798 for libsm_ice
in " -lSM -lICE"; do
23799 if test "$libs_found" = "0"; then
23801 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23802 save_CFLAGS
=$CFLAGS
23803 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23805 cat >conftest.
$ac_ext <<_ACEOF
23806 #line $LINENO "configure"
23809 cat confdefs.h
>>conftest.
$ac_ext
23810 cat >>conftest.
$ac_ext <<_ACEOF
23811 /* end confdefs.h. */
23814 #include <Xm/List.h>
23820 XmString string = NULL;
23823 XmListAddItem(w, string, position);
23829 rm -f conftest.
$ac_objext conftest
$ac_exeext
23830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23831 (eval $ac_link) 2>&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } &&
23835 { ac_try
='test -s conftest$ac_exeext'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; }; then
23843 libsm_ice_link
="$libsm_ice"
23844 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23845 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.
$ac_ext >&5
23855 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23858 CFLAGS
=$save_CFLAGS
23864 if test "$libs_found" = "0"; then
23865 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23866 echo "${ECHO_T}can't find the right libraries" >&6
23867 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23868 echo "$as_me: error: can't link a simple motif program" >&2;}
23869 { (exit 1); exit 1; }; }
23872 save_CFLAGS
=$CFLAGS
23873 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23874 echo "$as_me:$LINENO: checking for Motif 2" >&5
23875 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23876 cat >conftest.
$ac_ext <<_ACEOF
23877 #line $LINENO "configure"
23880 cat confdefs.h
>>conftest.
$ac_ext
23881 cat >>conftest.
$ac_ext <<_ACEOF
23882 /* end confdefs.h. */
23890 #if XmVersion < 2000
23891 #error "Not Motif 2"
23898 rm -f conftest.
$ac_objext
23899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23900 (eval $ac_compile) 2>&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); } &&
23904 { ac_try
='test -s conftest.$ac_objext'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; }; then
23911 cat >>confdefs.h
<<\_ACEOF
23912 #define __WXMOTIF20__ 1
23915 echo "$as_me:$LINENO: result: found" >&5
23916 echo "${ECHO_T}found" >&6
23919 echo "$as_me: failed program was:" >&5
23920 sed 's/^/| /' conftest.
$ac_ext >&5
23923 cat >>confdefs.h
<<\_ACEOF
23924 #define __WXMOTIF20__ 0
23927 echo "$as_me:$LINENO: result: not found" >&5
23928 echo "${ECHO_T}not found" >&6
23931 rm -f conftest.
$ac_objext conftest.
$ac_ext
23932 CFLAGS
=$save_CFLAGS
23934 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23935 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23941 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23942 test "$wxHAVE_XEXT_LIB" = 1; then
23943 save_CFLAGS
="$CFLAGS"
23944 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23946 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23947 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23948 cat >conftest.
$ac_ext <<_ACEOF
23949 #line $LINENO "configure"
23952 cat confdefs.h
>>conftest.
$ac_ext
23953 cat >>conftest.
$ac_ext <<_ACEOF
23954 /* end confdefs.h. */
23956 #include <X11/Xlib.h>
23957 #include <X11/extensions/shape.h>
23963 int dummy1, dummy2;
23964 XShapeQueryExtension((Display*)NULL,
23965 (int*)NULL, (int*)NULL);
23971 rm -f conftest.
$ac_objext
23972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23973 (eval $ac_compile) 2>&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } &&
23977 { ac_try
='test -s conftest.$ac_objext'
23978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979 (eval $ac_try) 2>&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; }; then
23984 cat >>confdefs.h
<<\_ACEOF
23985 #define HAVE_XSHAPE 1
23988 echo "$as_me:$LINENO: result: found" >&5
23989 echo "${ECHO_T}found" >&6
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.
$ac_ext >&5
23996 echo "$as_me:$LINENO: result: not found" >&5
23997 echo "${ECHO_T}not found" >&6
24000 rm -f conftest.
$ac_objext conftest.
$ac_ext
24001 CFLAGS
="$save_CFLAGS"
24004 if test "$wxUSE_MAC" = 1; then
24005 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24007 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24012 if test "$wxUSE_COCOA" = 1; then
24013 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24018 if test "$wxUSE_PM" = 1; then
24021 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24022 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24026 if test "$TOOLKIT" = "PM" ; then
24029 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24032 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24034 if test "$wxUSE_UNIVERSAL" = "yes"; then
24035 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24037 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24038 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24040 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24041 if test "$wxUSE_X11" = 1; then
24042 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24044 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24046 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24049 ALL_OBJECTS
="\$(GUIOBJS)"
24050 ALL_SOURCES
="\$(ALL_SOURCES)"
24051 ALL_HEADERS
="\$(ALL_HEADERS)"
24054 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24056 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24057 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24060 if test "$wxUSE_HTML" = "yes"; then
24061 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24064 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24065 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24067 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24068 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24070 if test "$wxUSE_LIBPNG" = "builtin" ; then
24071 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24074 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24075 DISTDIR
="wx\$(TOOLKIT)"
24081 if test "$USE_WIN32" = 1 ; then
24082 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24083 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24087 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24088 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24091 ALL_SOURCES
="\$(ALL_SOURCES)"
24092 ALL_HEADERS
="\$(ALL_HEADERS)"
24094 PORT_FILES
="\${top_srcdir}/src/files.lst"
24096 GUIDIST
="BASE_DIST"
24106 if test "$TOOLKIT" != "MSW" ; then
24108 if test "$wxUSE_ODBC" != "no" ; then
24109 cat >>confdefs.h
<<\_ACEOF
24110 #define wxUSE_ODBC 1
24113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24115 WXODBCFLAG
="-D_IODBC_"
24118 if test "$wxUSE_ODBC" = "sys" ; then
24120 if test "${ac_cv_header_sql_h+set}" = set; then
24121 echo "$as_me:$LINENO: checking for sql.h" >&5
24122 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24123 if test "${ac_cv_header_sql_h+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24126 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24127 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24129 # Is the header compilable?
24130 echo "$as_me:$LINENO: checking sql.h usability" >&5
24131 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24132 cat >conftest.
$ac_ext <<_ACEOF
24133 #line $LINENO "configure"
24136 cat confdefs.h
>>conftest.
$ac_ext
24137 cat >>conftest.
$ac_ext <<_ACEOF
24138 /* end confdefs.h. */
24139 $ac_includes_default
24142 rm -f conftest.
$ac_objext
24143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24144 (eval $ac_compile) 2>&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } &&
24148 { ac_try
='test -s conftest.$ac_objext'
24149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150 (eval $ac_try) 2>&5
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); }; }; then
24154 ac_header_compiler
=yes
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.
$ac_ext >&5
24159 ac_header_compiler
=no
24161 rm -f conftest.
$ac_objext conftest.
$ac_ext
24162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24163 echo "${ECHO_T}$ac_header_compiler" >&6
24165 # Is the header present?
24166 echo "$as_me:$LINENO: checking sql.h presence" >&5
24167 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24168 cat >conftest.
$ac_ext <<_ACEOF
24169 #line $LINENO "configure"
24172 cat confdefs.h
>>conftest.
$ac_ext
24173 cat >>conftest.
$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24178 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24180 grep -v '^ *+' conftest.er1
>conftest.err
24182 cat conftest.err
>&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } >/dev
/null
; then
24185 if test -s conftest.err
; then
24186 ac_cpp_err
=$ac_c_preproc_warn_flag
24193 if test -z "$ac_cpp_err"; then
24194 ac_header_preproc
=yes
24196 echo "$as_me: failed program was:" >&5
24197 sed 's/^/| /' conftest.
$ac_ext >&5
24199 ac_header_preproc
=no
24201 rm -f conftest.err conftest.
$ac_ext
24202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24203 echo "${ECHO_T}$ac_header_preproc" >&6
24205 # So? What about this header?
24206 case $ac_header_compiler:$ac_header_preproc in
24208 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24209 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24210 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24211 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24214 ## ------------------------------------ ##
24215 ## Report this to bug-autoconf@gnu.org. ##
24216 ## ------------------------------------ ##
24219 sed "s/^/$as_me: WARNING: /" >&2
24222 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24223 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24225 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24226 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24227 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24230 ## ------------------------------------ ##
24231 ## Report this to bug-autoconf@gnu.org. ##
24232 ## ------------------------------------ ##
24235 sed "s/^/$as_me: WARNING: /" >&2
24238 echo "$as_me:$LINENO: checking for sql.h" >&5
24239 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24240 if test "${ac_cv_header_sql_h+set}" = set; then
24241 echo $ECHO_N "(cached) $ECHO_C" >&6
24243 ac_cv_header_sql_h
=$ac_header_preproc
24245 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24246 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24251 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24252 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24253 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24254 echo $ECHO_N "(cached) $ECHO_C" >&6
24256 ac_func_search_save_LIBS
=$LIBS
24257 ac_cv_search_SQLAllocEnv
=no
24258 cat >conftest.
$ac_ext <<_ACEOF
24259 #line $LINENO "configure"
24262 cat confdefs.h
>>conftest.
$ac_ext
24263 cat >>conftest.
$ac_ext <<_ACEOF
24264 /* end confdefs.h. */
24266 /* Override any gcc2 internal prototype to avoid an error. */
24270 /* We use char because int might match the return type of a gcc2
24271 builtin and then its argument prototype would still apply. */
24272 char SQLAllocEnv ();
24281 rm -f conftest.
$ac_objext conftest
$ac_exeext
24282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24283 (eval $ac_link) 2>&5
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); } &&
24287 { ac_try
='test -s conftest$ac_exeext'
24288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24289 (eval $ac_try) 2>&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); }; }; then
24293 ac_cv_search_SQLAllocEnv
="none required"
24295 echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.
$ac_ext >&5
24299 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24300 if test "$ac_cv_search_SQLAllocEnv" = no
; then
24301 for ac_lib
in iodbc unixodbc odbc
; do
24302 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24303 cat >conftest.
$ac_ext <<_ACEOF
24304 #line $LINENO "configure"
24307 cat confdefs.h
>>conftest.
$ac_ext
24308 cat >>conftest.
$ac_ext <<_ACEOF
24309 /* end confdefs.h. */
24311 /* Override any gcc2 internal prototype to avoid an error. */
24315 /* We use char because int might match the return type of a gcc2
24316 builtin and then its argument prototype would still apply. */
24317 char SQLAllocEnv ();
24326 rm -f conftest.
$ac_objext conftest
$ac_exeext
24327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24328 (eval $ac_link) 2>&5
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); } &&
24332 { ac_try
='test -s conftest$ac_exeext'
24333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24334 (eval $ac_try) 2>&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); }; }; then
24338 ac_cv_search_SQLAllocEnv
="-l$ac_lib"
24341 echo "$as_me: failed program was:" >&5
24342 sed 's/^/| /' conftest.
$ac_ext >&5
24345 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24348 LIBS
=$ac_func_search_save_LIBS
24350 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24351 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24352 if test "$ac_cv_search_SQLAllocEnv" != no
; then
24353 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS
="$ac_cv_search_SQLAllocEnv $LIBS"
24357 wxUSE_ODBC
=builtin;
24358 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24359 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24364 if test "$wxUSE_ODBC" != "sys" ; then
24365 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
24372 if test "$wxUSE_REGEX" = "builtin" ; then
24373 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24375 if test "$wxUSE_ZLIB" = "builtin" ; then
24376 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24380 if test "$wxUSE_OPENGL" = "yes"; then
24381 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24382 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24383 elif test "$wxUSE_MSW" = 1; then
24384 OPENGL_LIBS
="-lopengl32 -lglu32"
24389 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24391 if test -f "$ac_dir/GL/gl.h"; then
24392 ac_find_includes
=$ac_dir
24397 if test "$ac_find_includes" != "" ; then
24398 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24399 echo "${ECHO_T}found in $ac_find_includes" >&6
24402 if test "x$ac_find_includes" = "x/usr/include"; then
24403 ac_path_to_include
=""
24405 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24407 if test $result = 0; then
24408 ac_path_to_include
=""
24410 ac_path_to_include
=" -I$ac_find_includes"
24414 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24418 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24419 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24420 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24421 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24425 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24427 # Is the header compilable?
24428 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24429 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24430 cat >conftest.
$ac_ext <<_ACEOF
24431 #line $LINENO "configure"
24434 cat confdefs.h
>>conftest.
$ac_ext
24435 cat >>conftest.
$ac_ext <<_ACEOF
24436 /* end confdefs.h. */
24437 $ac_includes_default
24440 rm -f conftest.
$ac_objext
24441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24442 (eval $ac_compile) 2>&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); } &&
24446 { ac_try
='test -s conftest.$ac_objext'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; }; then
24452 ac_header_compiler
=yes
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.
$ac_ext >&5
24457 ac_header_compiler
=no
24459 rm -f conftest.
$ac_objext conftest.
$ac_ext
24460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24461 echo "${ECHO_T}$ac_header_compiler" >&6
24463 # Is the header present?
24464 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24465 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24466 cat >conftest.
$ac_ext <<_ACEOF
24467 #line $LINENO "configure"
24470 cat confdefs.h
>>conftest.
$ac_ext
24471 cat >>conftest.
$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24476 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24478 grep -v '^ *+' conftest.er1
>conftest.err
24480 cat conftest.err
>&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); } >/dev
/null
; then
24483 if test -s conftest.err
; then
24484 ac_cpp_err
=$ac_c_preproc_warn_flag
24491 if test -z "$ac_cpp_err"; then
24492 ac_header_preproc
=yes
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.
$ac_ext >&5
24497 ac_header_preproc
=no
24499 rm -f conftest.err conftest.
$ac_ext
24500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24501 echo "${ECHO_T}$ac_header_preproc" >&6
24503 # So? What about this header?
24504 case $ac_header_compiler:$ac_header_preproc in
24506 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24507 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24508 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24509 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24512 ## ------------------------------------ ##
24513 ## Report this to bug-autoconf@gnu.org. ##
24514 ## ------------------------------------ ##
24517 sed "s/^/$as_me: WARNING: /" >&2
24520 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24521 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24522 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24523 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24524 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24525 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24528 ## ------------------------------------ ##
24529 ## Report this to bug-autoconf@gnu.org. ##
24530 ## ------------------------------------ ##
24533 sed "s/^/$as_me: WARNING: /" >&2
24536 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24537 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24538 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24539 echo $ECHO_N "(cached) $ECHO_C" >&6
24541 ac_cv_header_GL_gl_h
=$ac_header_preproc
24543 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24544 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24547 if test $ac_cv_header_GL_gl_h = yes; then
24551 echo "$as_me:$LINENO: checking for -lGL" >&5
24552 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24555 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24557 for ac_extension
in a so sl dylib
; do
24558 if test -f "$ac_dir/libGL.$ac_extension"; then
24559 ac_find_libraries
=$ac_dir
24565 if test "$ac_find_libraries" != "" ; then
24567 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24569 if test $result = 0; then
24572 ac_path_to_link
=" -L$ac_find_libraries"
24575 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24576 LDFLAGS_GL
="$ac_path_to_link"
24581 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24583 for ac_extension
in a so sl dylib
; do
24584 if test -f "$ac_dir/libGLU.$ac_extension"; then
24585 ac_find_libraries
=$ac_dir
24591 if test "$ac_find_libraries" != "" ; then
24593 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24595 if test $result = 0; then
24598 ac_path_to_link
=" -L$ac_find_libraries"
24601 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24602 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24603 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24607 OPENGL_LIBS
="-lGL -lGLU"
24608 echo "$as_me:$LINENO: result: yes" >&5
24609 echo "${ECHO_T}yes" >&6
24613 if "$found_gl" != 1; then
24614 echo "$as_me:$LINENO: result: no" >&5
24615 echo "${ECHO_T}no" >&6
24616 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24617 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24620 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24622 for ac_extension
in a so sl dylib
; do
24623 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24624 ac_find_libraries
=$ac_dir
24630 if test "$ac_find_libraries" != "" ; then
24632 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24634 if test $result = 0; then
24637 ac_path_to_link
=" -L$ac_find_libraries"
24640 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24641 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24642 echo "$as_me:$LINENO: result: yes" >&5
24643 echo "${ECHO_T}yes" >&6
24645 echo "$as_me:$LINENO: result: no" >&5
24646 echo "${ECHO_T}no" >&6
24654 if test "x$OPENGL_LIBS" = "x"; then
24655 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24656 echo "$as_me: error: OpenGL libraries not available" >&2;}
24657 { (exit 1); exit 1; }; }
24661 if test "$wxUSE_OPENGL" = "yes"; then
24662 cat >>confdefs.h
<<\_ACEOF
24663 #define wxUSE_OPENGL 1
24666 cat >>confdefs.h
<<\_ACEOF
24667 #define wxUSE_GLCANVAS 1
24670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
24674 if test -z "$TOOLKIT_VPATH" ; then
24675 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
24678 if test -n "$TOOLKIT" ; then
24679 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24683 lib_unicode_suffix
=
24684 if test "$wxUSE_UNICODE" = "yes"; then
24685 lib_unicode_suffix
=u
24691 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24696 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24698 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24699 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24701 if test "$cross_compiling" = "yes"; then
24702 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
24703 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
24706 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
24707 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
24708 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24710 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24711 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24713 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24714 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24715 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24716 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24719 *-*-cygwin* | *-*-mingw32* )
24723 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24724 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24725 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24726 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
24727 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24729 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24730 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24736 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24737 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24739 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24740 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24741 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24742 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24744 if test "$wxUSE_MAC" = 1; then
24745 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24746 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24751 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
24752 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
24754 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
24755 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
24757 if test "$wxUSE_OPENGL" = "yes"; then
24758 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24759 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24764 if test "$wxUSE_SHARED" = "yes"; then
24766 *-pc-os2_emx | *-pc-os2-emx | \
24769 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24770 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24776 if test "$wxUSE_SHARED" = "yes"; then
24780 found_versioning
=no
24783 if test $found_versioning = no
; then
24784 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24785 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24786 if test "${wx_cv_version_script+set}" = set; then
24787 echo $ECHO_N "(cached) $ECHO_C" >&6
24790 echo "VER_1 { *; };" >conftest.sym
24791 echo "int main() { return 0; }" >conftest.cpp
24794 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24795 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797 (eval $ac_try) 2>&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); }; } ; then
24801 if test -s conftest.stderr
; then
24802 wx_cv_version_script
=no
24804 wx_cv_version_script
=yes
24807 wx_cv_version_script
=no
24809 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24812 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24813 echo "${ECHO_T}$wx_cv_version_script" >&6
24814 if test $wx_cv_version_script = yes ; then
24815 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
24821 *-*-linux* | *-*-gnu* )
24822 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
24826 if test "$GCC" = yes ; then
24827 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
24829 saveLdflags
="$LDFLAGS"
24830 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
24831 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24832 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24833 cat >conftest.
$ac_ext <<_ACEOF
24834 #line $LINENO "configure"
24837 cat confdefs.h
>>conftest.
$ac_ext
24838 cat >>conftest.
$ac_ext <<_ACEOF
24839 /* end confdefs.h. */
24849 rm -f conftest.
$ac_objext conftest
$ac_exeext
24850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24851 (eval $ac_link) 2>&5
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); } &&
24855 { ac_try
='test -s conftest$ac_exeext'
24856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24857 (eval $ac_try) 2>&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); }; }; then
24862 echo "$as_me:$LINENO: result: yes" >&5
24863 echo "${ECHO_T}yes" >&6
24864 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.
$ac_ext >&5
24871 echo "$as_me:$LINENO: result: no" >&5
24872 echo "${ECHO_T}no" >&6
24873 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24874 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24875 LDFLAGS
="$saveLdflags -Wl,-R,/"
24876 cat >conftest.
$ac_ext <<_ACEOF
24877 #line $LINENO "configure"
24880 cat confdefs.h
>>conftest.
$ac_ext
24881 cat >>conftest.
$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24892 rm -f conftest.
$ac_objext conftest
$ac_exeext
24893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24894 (eval $ac_link) 2>&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } &&
24898 { ac_try
='test -s conftest$ac_exeext'
24899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900 (eval $ac_try) 2>&5
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; }; then
24905 echo "$as_me:$LINENO: result: yes" >&5
24906 echo "${ECHO_T}yes" >&6
24907 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
24909 echo "$as_me: failed program was:" >&5
24910 sed 's/^/| /' conftest.
$ac_ext >&5
24913 echo "$as_me:$LINENO: result: no" >&5
24914 echo "${ECHO_T}no" >&6
24917 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24920 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24921 LDFLAGS
="$saveLdflags"
24923 SHARED_LD
="${CXX} -G -o"
24925 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
24929 *-*-cygwin* | *-*-mingw32* )
24930 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24931 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
24933 if test "$wxUSE_OPENGL" = "yes"; then
24934 LIBS
="${LIBS} ${OPENGL_LIBS}"
24939 if test "x$WX_TARGET_LIBRARY" = "x"; then
24940 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
24941 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
24944 WX_TARGET_LIBRARY_TYPE
="so"
24945 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
24948 if test "$wxUSE_SHARED" = "no"; then
24950 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
24951 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
24954 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
24955 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
24958 if test "$wxUSE_OPENGL" = "yes"; then
24959 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
24960 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
24962 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
24965 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
24966 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
24968 WX_TARGET_LIBRARY_TYPE
="a"
24969 INSTALL_LIBRARY
='$(INSTALL_DATA)'
24979 if test "$wxUSE_MAC" = 1; then
24980 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
24981 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
24982 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
24983 # Extract the first word of "Rez", so it can be a program name with args.
24984 set dummy Rez
; ac_word
=$2
24985 echo "$as_me:$LINENO: checking for $ac_word" >&5
24986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24987 if test "${ac_cv_prog_RESCOMP+set}" = set; then
24988 echo $ECHO_N "(cached) $ECHO_C" >&6
24990 if test -n "$RESCOMP"; then
24991 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
24993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24994 for as_dir
in $PATH
24997 test -z "$as_dir" && as_dir
=.
24998 for ac_exec_ext
in '' $ac_executable_extensions; do
24999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25000 ac_cv_prog_RESCOMP
="Rez"
25001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25007 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25010 RESCOMP
=$ac_cv_prog_RESCOMP
25011 if test -n "$RESCOMP"; then
25012 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25013 echo "${ECHO_T}$RESCOMP" >&6
25015 echo "$as_me:$LINENO: result: no" >&5
25016 echo "${ECHO_T}no" >&6
25019 # Extract the first word of "DeRez", so it can be a program name with args.
25020 set dummy DeRez
; ac_word
=$2
25021 echo "$as_me:$LINENO: checking for $ac_word" >&5
25022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25023 if test "${ac_cv_prog_DEREZ+set}" = set; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25026 if test -n "$DEREZ"; then
25027 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25030 for as_dir
in $PATH
25033 test -z "$as_dir" && as_dir
=.
25034 for ac_exec_ext
in '' $ac_executable_extensions; do
25035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25036 ac_cv_prog_DEREZ
="DeRez"
25037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25043 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25046 DEREZ
=$ac_cv_prog_DEREZ
25047 if test -n "$DEREZ"; then
25048 echo "$as_me:$LINENO: result: $DEREZ" >&5
25049 echo "${ECHO_T}$DEREZ" >&6
25051 echo "$as_me:$LINENO: result: no" >&5
25052 echo "${ECHO_T}no" >&6
25055 # Extract the first word of "SetFile", so it can be a program name with args.
25056 set dummy SetFile
; ac_word
=$2
25057 echo "$as_me:$LINENO: checking for $ac_word" >&5
25058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25059 if test "${ac_cv_prog_SETFILE+set}" = set; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25062 if test -n "$SETFILE"; then
25063 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25066 for as_dir
in $PATH
25069 test -z "$as_dir" && as_dir
=.
25070 for ac_exec_ext
in '' $ac_executable_extensions; do
25071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25072 ac_cv_prog_SETFILE
="SetFile"
25073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25079 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25082 SETFILE
=$ac_cv_prog_SETFILE
25083 if test -n "$SETFILE"; then
25084 echo "$as_me:$LINENO: result: $SETFILE" >&5
25085 echo "${ECHO_T}$SETFILE" >&6
25087 echo "$as_me:$LINENO: result: no" >&5
25088 echo "${ECHO_T}no" >&6
25091 MACOSX_BUNDLE
="bundle"
25092 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25093 MACSETFILE
="\$(SETFILE)"
25094 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25095 elif test "$wxUSE_COCOA" = 1; then
25096 # Extract the first word of "Rez", so it can be a program name with args.
25097 set dummy Rez
; ac_word
=$2
25098 echo "$as_me:$LINENO: checking for $ac_word" >&5
25099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25100 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 if test -n "$RESCOMP"; then
25104 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25107 for as_dir
in $PATH
25110 test -z "$as_dir" && as_dir
=.
25111 for ac_exec_ext
in '' $ac_executable_extensions; do
25112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25113 ac_cv_prog_RESCOMP
="Rez"
25114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25120 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25123 RESCOMP
=$ac_cv_prog_RESCOMP
25124 if test -n "$RESCOMP"; then
25125 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25126 echo "${ECHO_T}$RESCOMP" >&6
25128 echo "$as_me:$LINENO: result: no" >&5
25129 echo "${ECHO_T}no" >&6
25132 # Extract the first word of "DeRez", so it can be a program name with args.
25133 set dummy DeRez
; ac_word
=$2
25134 echo "$as_me:$LINENO: checking for $ac_word" >&5
25135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25136 if test "${ac_cv_prog_DEREZ+set}" = set; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 if test -n "$DEREZ"; then
25140 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25143 for as_dir
in $PATH
25146 test -z "$as_dir" && as_dir
=.
25147 for ac_exec_ext
in '' $ac_executable_extensions; do
25148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25149 ac_cv_prog_DEREZ
="DeRez"
25150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25156 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25159 DEREZ
=$ac_cv_prog_DEREZ
25160 if test -n "$DEREZ"; then
25161 echo "$as_me:$LINENO: result: $DEREZ" >&5
25162 echo "${ECHO_T}$DEREZ" >&6
25164 echo "$as_me:$LINENO: result: no" >&5
25165 echo "${ECHO_T}no" >&6
25168 # Extract the first word of "SetFile", so it can be a program name with args.
25169 set dummy SetFile
; ac_word
=$2
25170 echo "$as_me:$LINENO: checking for $ac_word" >&5
25171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25172 if test "${ac_cv_prog_SETFILE+set}" = set; then
25173 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 if test -n "$SETFILE"; then
25176 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25179 for as_dir
in $PATH
25182 test -z "$as_dir" && as_dir
=.
25183 for ac_exec_ext
in '' $ac_executable_extensions; do
25184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25185 ac_cv_prog_SETFILE
="SetFile"
25186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25192 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25195 SETFILE
=$ac_cv_prog_SETFILE
25196 if test -n "$SETFILE"; then
25197 echo "$as_me:$LINENO: result: $SETFILE" >&5
25198 echo "${ECHO_T}$SETFILE" >&6
25200 echo "$as_me:$LINENO: result: no" >&5
25201 echo "${ECHO_T}no" >&6
25204 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25205 MACSETFILE
="\$(SETFILE)"
25206 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25208 if test "$wxUSE_PM" = 1; then
25209 MACRESCOMP
="emxbind -ep"
25214 echo "$as_me:$LINENO: checking for mode_t" >&5
25215 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25216 if test "${ac_cv_type_mode_t+set}" = set; then
25217 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 cat >conftest.
$ac_ext <<_ACEOF
25220 #line $LINENO "configure"
25223 cat confdefs.h
>>conftest.
$ac_ext
25224 cat >>conftest.
$ac_ext <<_ACEOF
25225 /* end confdefs.h. */
25226 $ac_includes_default
25232 if (sizeof (mode_t))
25238 rm -f conftest.
$ac_objext
25239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25240 (eval $ac_compile) 2>&5
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); } &&
25244 { ac_try
='test -s conftest.$ac_objext'
25245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25246 (eval $ac_try) 2>&5
25248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25249 (exit $ac_status); }; }; then
25250 ac_cv_type_mode_t
=yes
25252 echo "$as_me: failed program was:" >&5
25253 sed 's/^/| /' conftest.
$ac_ext >&5
25255 ac_cv_type_mode_t
=no
25257 rm -f conftest.
$ac_objext conftest.
$ac_ext
25259 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25260 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25261 if test $ac_cv_type_mode_t = yes; then
25265 cat >>confdefs.h
<<_ACEOF
25271 echo "$as_me:$LINENO: checking for off_t" >&5
25272 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25273 if test "${ac_cv_type_off_t+set}" = set; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25276 cat >conftest.
$ac_ext <<_ACEOF
25277 #line $LINENO "configure"
25280 cat confdefs.h
>>conftest.
$ac_ext
25281 cat >>conftest.
$ac_ext <<_ACEOF
25282 /* end confdefs.h. */
25283 $ac_includes_default
25289 if (sizeof (off_t))
25295 rm -f conftest.
$ac_objext
25296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25297 (eval $ac_compile) 2>&5
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); } &&
25301 { ac_try
='test -s conftest.$ac_objext'
25302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25303 (eval $ac_try) 2>&5
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); }; }; then
25307 ac_cv_type_off_t
=yes
25309 echo "$as_me: failed program was:" >&5
25310 sed 's/^/| /' conftest.
$ac_ext >&5
25312 ac_cv_type_off_t
=no
25314 rm -f conftest.
$ac_objext conftest.
$ac_ext
25316 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25317 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25318 if test $ac_cv_type_off_t = yes; then
25322 cat >>confdefs.h
<<_ACEOF
25328 echo "$as_me:$LINENO: checking for pid_t" >&5
25329 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25330 if test "${ac_cv_type_pid_t+set}" = set; then
25331 echo $ECHO_N "(cached) $ECHO_C" >&6
25333 cat >conftest.
$ac_ext <<_ACEOF
25334 #line $LINENO "configure"
25337 cat confdefs.h
>>conftest.
$ac_ext
25338 cat >>conftest.
$ac_ext <<_ACEOF
25339 /* end confdefs.h. */
25340 $ac_includes_default
25346 if (sizeof (pid_t))
25352 rm -f conftest.
$ac_objext
25353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25354 (eval $ac_compile) 2>&5
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } &&
25358 { ac_try
='test -s conftest.$ac_objext'
25359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25360 (eval $ac_try) 2>&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); }; }; then
25364 ac_cv_type_pid_t
=yes
25366 echo "$as_me: failed program was:" >&5
25367 sed 's/^/| /' conftest.
$ac_ext >&5
25369 ac_cv_type_pid_t
=no
25371 rm -f conftest.
$ac_objext conftest.
$ac_ext
25373 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25374 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25375 if test $ac_cv_type_pid_t = yes; then
25379 cat >>confdefs.h
<<_ACEOF
25385 echo "$as_me:$LINENO: checking for size_t" >&5
25386 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25387 if test "${ac_cv_type_size_t+set}" = set; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 cat >conftest.
$ac_ext <<_ACEOF
25391 #line $LINENO "configure"
25394 cat confdefs.h
>>conftest.
$ac_ext
25395 cat >>conftest.
$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397 $ac_includes_default
25403 if (sizeof (size_t))
25409 rm -f conftest.
$ac_objext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25411 (eval $ac_compile) 2>&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } &&
25415 { ac_try
='test -s conftest.$ac_objext'
25416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25417 (eval $ac_try) 2>&5
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); }; }; then
25421 ac_cv_type_size_t
=yes
25423 echo "$as_me: failed program was:" >&5
25424 sed 's/^/| /' conftest.
$ac_ext >&5
25426 ac_cv_type_size_t
=no
25428 rm -f conftest.
$ac_objext conftest.
$ac_ext
25430 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25431 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25432 if test $ac_cv_type_size_t = yes; then
25436 cat >>confdefs.h
<<_ACEOF
25437 #define size_t unsigned
25442 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25443 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25444 if test "${ac_cv_type_uid_t+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25447 cat >conftest.
$ac_ext <<_ACEOF
25448 #line $LINENO "configure"
25451 cat confdefs.h
>>conftest.
$ac_ext
25452 cat >>conftest.
$ac_ext <<_ACEOF
25453 /* end confdefs.h. */
25454 #include <sys/types.h>
25457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25458 $EGREP "uid_t" >/dev
/null
2>&1; then
25459 ac_cv_type_uid_t
=yes
25461 ac_cv_type_uid_t
=no
25466 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25467 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25468 if test $ac_cv_type_uid_t = no
; then
25470 cat >>confdefs.h
<<\_ACEOF
25475 cat >>confdefs.h
<<\_ACEOF
25485 ac_cpp
='$CXXCPP $CPPFLAGS'
25486 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25487 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25488 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25490 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25491 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25492 if test "${wx_cv_size_t_is_uint+set}" = set; then
25493 echo $ECHO_N "(cached) $ECHO_C" >&6
25496 cat >conftest.
$ac_ext <<_ACEOF
25497 #line $LINENO "configure"
25500 cat confdefs.h
>>conftest.
$ac_ext
25501 cat >>conftest.
$ac_ext <<_ACEOF
25502 /* end confdefs.h. */
25503 #include <stddef.h>
25510 struct Foo { void foo(size_t); void foo(unsigned int); };
25518 rm -f conftest.
$ac_objext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25520 (eval $ac_compile) 2>&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } &&
25524 { ac_try
='test -s conftest.$ac_objext'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; }; then
25530 wx_cv_size_t_is_uint
=no
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.
$ac_ext >&5
25535 wx_cv_size_t_is_uint
=yes
25538 rm -f conftest.
$ac_objext conftest.
$ac_ext
25542 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25543 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25545 if test "$wx_cv_size_t_is_uint" = "yes"; then
25546 cat >>confdefs.h
<<\_ACEOF
25547 #define wxSIZE_T_IS_UINT 1
25551 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25552 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25553 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25554 echo $ECHO_N "(cached) $ECHO_C" >&6
25556 cat >conftest.
$ac_ext <<_ACEOF
25557 #line $LINENO "configure"
25560 cat confdefs.h
>>conftest.
$ac_ext
25561 cat >>conftest.
$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25563 #include <stddef.h>
25570 struct Foo { void foo(size_t); void foo(unsigned long); };
25578 rm -f conftest.
$ac_objext
25579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25580 (eval $ac_compile) 2>&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try
='test -s conftest.$ac_objext'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; }; then
25590 wx_cv_size_t_is_ulong
=no
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.
$ac_ext >&5
25595 wx_cv_size_t_is_ulong
=yes
25598 rm -f conftest.
$ac_objext conftest.
$ac_ext
25601 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25602 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25604 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25605 cat >>confdefs.h
<<\_ACEOF
25606 #define wxSIZE_T_IS_ULONG 1
25613 ac_cpp
='$CPP $CPPFLAGS'
25614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25620 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25621 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25622 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 cat >conftest.
$ac_ext <<_ACEOF
25627 #line $LINENO "configure"
25630 cat confdefs.h
>>conftest.
$ac_ext
25631 cat >>conftest.
$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25646 rm -f conftest.
$ac_objext
25647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25648 (eval $ac_compile) 2>&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } &&
25652 { ac_try
='test -s conftest.$ac_objext'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; }; then
25659 wx_cv_struct_pw_gecos
=yes
25662 echo "$as_me: failed program was:" >&5
25663 sed 's/^/| /' conftest.
$ac_ext >&5
25666 wx_cv_struct_pw_gecos
=no
25670 rm -f conftest.
$ac_objext conftest.
$ac_ext
25674 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25675 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25677 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25678 cat >>confdefs.h
<<\_ACEOF
25679 #define HAVE_PW_GECOS 1
25685 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25686 cat >>confdefs.h
<<\_ACEOF
25687 #define wxUSE_WCHAR_T 1
25694 for ac_func
in wcslen
25696 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25697 echo "$as_me:$LINENO: checking for $ac_func" >&5
25698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25699 if eval "test \"\${$as_ac_var+set}\" = set"; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25702 cat >conftest.
$ac_ext <<_ACEOF
25703 #line $LINENO "configure"
25706 cat confdefs.h
>>conftest.
$ac_ext
25707 cat >>conftest.
$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25709 /* System header to define __stub macros and hopefully few prototypes,
25710 which can conflict with char $ac_func (); below.
25711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25712 <limits.h> exists even on freestanding compilers. */
25714 # include <limits.h>
25716 # include <assert.h>
25718 /* Override any gcc2 internal prototype to avoid an error. */
25723 /* We use char because int might match the return type of a gcc2
25724 builtin and then its argument prototype would still apply. */
25726 /* The GNU C library defines this for functions which it implements
25727 to always fail with ENOSYS. Some functions are actually named
25728 something starting with __ and the normal name is an alias. */
25729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25732 char (*f) () = $ac_func;
25741 return f != $ac_func;
25746 rm -f conftest.
$ac_objext conftest
$ac_exeext
25747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25748 (eval $ac_link) 2>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } &&
25752 { ac_try
='test -s conftest$ac_exeext'
25753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25754 (eval $ac_try) 2>&5
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); }; }; then
25758 eval "$as_ac_var=yes"
25760 echo "$as_me: failed program was:" >&5
25761 sed 's/^/| /' conftest.
$ac_ext >&5
25763 eval "$as_ac_var=no"
25765 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25769 if test `eval echo '${'$as_ac_var'}'` = yes; then
25770 cat >>confdefs.h
<<_ACEOF
25771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25778 if test "$WCSLEN_FOUND" = 0; then
25779 if test "$TOOLKIT" = "MSW"; then
25780 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25781 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25782 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 ac_check_lib_save_LIBS
=$LIBS
25786 LIBS
="-lmsvcrt $LIBS"
25787 cat >conftest.
$ac_ext <<_ACEOF
25788 #line $LINENO "configure"
25791 cat confdefs.h
>>conftest.
$ac_ext
25792 cat >>conftest.
$ac_ext <<_ACEOF
25793 /* end confdefs.h. */
25795 /* Override any gcc2 internal prototype to avoid an error. */
25799 /* We use char because int might match the return type of a gcc2
25800 builtin and then its argument prototype would still apply. */
25810 rm -f conftest.
$ac_objext conftest
$ac_exeext
25811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25812 (eval $ac_link) 2>&5
25814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815 (exit $ac_status); } &&
25816 { ac_try
='test -s conftest$ac_exeext'
25817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25818 (eval $ac_try) 2>&5
25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821 (exit $ac_status); }; }; then
25822 ac_cv_lib_msvcrt_wcslen
=yes
25824 echo "$as_me: failed program was:" >&5
25825 sed 's/^/| /' conftest.
$ac_ext >&5
25827 ac_cv_lib_msvcrt_wcslen
=no
25829 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25830 LIBS
=$ac_check_lib_save_LIBS
25832 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25833 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25834 if test $ac_cv_lib_msvcrt_wcslen = yes; then
25839 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25840 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25841 if test "${ac_cv_lib_w_wcslen+set}" = set; then
25842 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 ac_check_lib_save_LIBS
=$LIBS
25846 cat >conftest.
$ac_ext <<_ACEOF
25847 #line $LINENO "configure"
25850 cat confdefs.h
>>conftest.
$ac_ext
25851 cat >>conftest.
$ac_ext <<_ACEOF
25852 /* end confdefs.h. */
25854 /* Override any gcc2 internal prototype to avoid an error. */
25858 /* We use char because int might match the return type of a gcc2
25859 builtin and then its argument prototype would still apply. */
25869 rm -f conftest.
$ac_objext conftest
$ac_exeext
25870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25871 (eval $ac_link) 2>&5
25873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25874 (exit $ac_status); } &&
25875 { ac_try
='test -s conftest$ac_exeext'
25876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25877 (eval $ac_try) 2>&5
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); }; }; then
25881 ac_cv_lib_w_wcslen
=yes
25883 echo "$as_me: failed program was:" >&5
25884 sed 's/^/| /' conftest.
$ac_ext >&5
25886 ac_cv_lib_w_wcslen
=no
25888 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25889 LIBS
=$ac_check_lib_save_LIBS
25891 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
25892 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
25893 if test $ac_cv_lib_w_wcslen = yes; then
25903 if test "$WCSLEN_FOUND" = 1; then
25904 cat >>confdefs.h
<<\_ACEOF
25905 #define HAVE_WCSLEN 1
25911 for ac_func
in wcsrtombs
25913 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25914 echo "$as_me:$LINENO: checking for $ac_func" >&5
25915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25916 if eval "test \"\${$as_ac_var+set}\" = set"; then
25917 echo $ECHO_N "(cached) $ECHO_C" >&6
25919 cat >conftest.
$ac_ext <<_ACEOF
25920 #line $LINENO "configure"
25923 cat confdefs.h
>>conftest.
$ac_ext
25924 cat >>conftest.
$ac_ext <<_ACEOF
25925 /* end confdefs.h. */
25926 /* System header to define __stub macros and hopefully few prototypes,
25927 which can conflict with char $ac_func (); below.
25928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25929 <limits.h> exists even on freestanding compilers. */
25931 # include <limits.h>
25933 # include <assert.h>
25935 /* Override any gcc2 internal prototype to avoid an error. */
25940 /* We use char because int might match the return type of a gcc2
25941 builtin and then its argument prototype would still apply. */
25943 /* The GNU C library defines this for functions which it implements
25944 to always fail with ENOSYS. Some functions are actually named
25945 something starting with __ and the normal name is an alias. */
25946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25949 char (*f) () = $ac_func;
25958 return f != $ac_func;
25963 rm -f conftest.
$ac_objext conftest
$ac_exeext
25964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25965 (eval $ac_link) 2>&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); } &&
25969 { ac_try
='test -s conftest$ac_exeext'
25970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25971 (eval $ac_try) 2>&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); }; }; then
25975 eval "$as_ac_var=yes"
25977 echo "$as_me: failed program was:" >&5
25978 sed 's/^/| /' conftest.
$ac_ext >&5
25980 eval "$as_ac_var=no"
25982 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25986 if test `eval echo '${'$as_ac_var'}'` = yes; then
25987 cat >>confdefs.h
<<_ACEOF
25988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25995 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
25996 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26002 ac_cpp
='$CXXCPP $CPPFLAGS'
26003 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26009 for ac_func
in vsnprintf
26011 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26012 echo "$as_me:$LINENO: checking for $ac_func" >&5
26013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26014 if eval "test \"\${$as_ac_var+set}\" = set"; then
26015 echo $ECHO_N "(cached) $ECHO_C" >&6
26017 cat >conftest.
$ac_ext <<_ACEOF
26018 #line $LINENO "configure"
26021 cat confdefs.h
>>conftest.
$ac_ext
26022 cat >>conftest.
$ac_ext <<_ACEOF
26023 /* end confdefs.h. */
26024 /* System header to define __stub macros and hopefully few prototypes,
26025 which can conflict with char $ac_func (); below.
26026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26027 <limits.h> exists even on freestanding compilers. */
26029 # include <limits.h>
26031 # include <assert.h>
26033 /* Override any gcc2 internal prototype to avoid an error. */
26038 /* We use char because int might match the return type of a gcc2
26039 builtin and then its argument prototype would still apply. */
26041 /* The GNU C library defines this for functions which it implements
26042 to always fail with ENOSYS. Some functions are actually named
26043 something starting with __ and the normal name is an alias. */
26044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26047 char (*f) () = $ac_func;
26056 return f != $ac_func;
26061 rm -f conftest.
$ac_objext conftest
$ac_exeext
26062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26063 (eval $ac_link) 2>&5
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); } &&
26067 { ac_try
='test -s conftest$ac_exeext'
26068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26069 (eval $ac_try) 2>&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); }; }; then
26073 eval "$as_ac_var=yes"
26075 echo "$as_me: failed program was:" >&5
26076 sed 's/^/| /' conftest.
$ac_ext >&5
26078 eval "$as_ac_var=no"
26080 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26084 if test `eval echo '${'$as_ac_var'}'` = yes; then
26085 cat >>confdefs.h
<<_ACEOF
26086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26093 if test "$ac_cv_func_vsnprintf" = "yes"; then
26094 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26095 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26096 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26097 echo $ECHO_N "(cached) $ECHO_C" >&6
26100 cat >conftest.
$ac_ext <<_ACEOF
26101 #line $LINENO "configure"
26104 cat confdefs.h
>>conftest.
$ac_ext
26105 cat >>conftest.
$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26109 #include <stdarg.h>
26117 vsnprintf(buf, 10u, "%s", ap);
26123 rm -f conftest.
$ac_objext
26124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26125 (eval $ac_compile) 2>&5
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); } &&
26129 { ac_try
='test -s conftest.$ac_objext'
26130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26131 (eval $ac_try) 2>&5
26133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26134 (exit $ac_status); }; }; then
26135 wx_cv_func_vsnprintf_decl
=yes
26137 echo "$as_me: failed program was:" >&5
26138 sed 's/^/| /' conftest.
$ac_ext >&5
26140 wx_cv_func_vsnprintf_decl
=no
26143 rm -f conftest.
$ac_objext conftest.
$ac_ext
26147 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26148 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26150 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26151 cat >>confdefs.h
<<\_ACEOF
26152 #define HAVE_VSNPRINTF_DECL 1
26158 if test "$wxUSE_UNICODE" = yes; then
26162 for ac_func
in fputwc wprintf vswprintf
26164 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26165 echo "$as_me:$LINENO: checking for $ac_func" >&5
26166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26167 if eval "test \"\${$as_ac_var+set}\" = set"; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 cat >conftest.
$ac_ext <<_ACEOF
26171 #line $LINENO "configure"
26174 cat confdefs.h
>>conftest.
$ac_ext
26175 cat >>conftest.
$ac_ext <<_ACEOF
26176 /* end confdefs.h. */
26177 /* System header to define __stub macros and hopefully few prototypes,
26178 which can conflict with char $ac_func (); below.
26179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26180 <limits.h> exists even on freestanding compilers. */
26182 # include <limits.h>
26184 # include <assert.h>
26186 /* Override any gcc2 internal prototype to avoid an error. */
26191 /* We use char because int might match the return type of a gcc2
26192 builtin and then its argument prototype would still apply. */
26194 /* The GNU C library defines this for functions which it implements
26195 to always fail with ENOSYS. Some functions are actually named
26196 something starting with __ and the normal name is an alias. */
26197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26200 char (*f) () = $ac_func;
26209 return f != $ac_func;
26214 rm -f conftest.
$ac_objext conftest
$ac_exeext
26215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26216 (eval $ac_link) 2>&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } &&
26220 { ac_try
='test -s conftest$ac_exeext'
26221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26222 (eval $ac_try) 2>&5
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); }; }; then
26226 eval "$as_ac_var=yes"
26228 echo "$as_me: failed program was:" >&5
26229 sed 's/^/| /' conftest.
$ac_ext >&5
26231 eval "$as_ac_var=no"
26233 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26237 if test `eval echo '${'$as_ac_var'}'` = yes; then
26238 cat >>confdefs.h
<<_ACEOF
26239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26246 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26247 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26248 cat >conftest.
$ac_ext <<_ACEOF
26249 #line $LINENO "configure"
26252 cat confdefs.h
>>conftest.
$ac_ext
26253 cat >>conftest.
$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26264 rm -f conftest.
$ac_objext
26265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26266 (eval $ac_compile) 2>&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } &&
26270 { ac_try
='test -s conftest.$ac_objext'
26271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26272 (eval $ac_try) 2>&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); }; }; then
26276 echo "$as_me:$LINENO: result: yes" >&5
26277 echo "${ECHO_T}yes" >&6
26278 cat >>confdefs.h
<<\_ACEOF
26279 #define HAVE__VSNWPRINTF 1
26283 echo "$as_me: failed program was:" >&5
26284 sed 's/^/| /' conftest.
$ac_ext >&5
26286 echo "$as_me:$LINENO: result: no" >&5
26287 echo "${ECHO_T}no" >&6
26289 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26293 ac_cpp
='$CPP $CPPFLAGS'
26294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26301 if test "$TOOLKIT" != "MSW"; then
26307 ac_cpp
='$CXXCPP $CPPFLAGS'
26308 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26309 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26310 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26315 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26316 if test "${with_libiconv_prefix+set}" = set; then
26317 withval
="$with_libiconv_prefix"
26319 for dir
in `echo "$withval" | tr : ' '`; do
26320 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26321 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26326 echo "$as_me:$LINENO: checking for iconv" >&5
26327 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26328 if test "${am_cv_func_iconv+set}" = set; then
26329 echo $ECHO_N "(cached) $ECHO_C" >&6
26332 am_cv_func_iconv
="no, consider installing GNU libiconv"
26334 cat >conftest.
$ac_ext <<_ACEOF
26335 #line $LINENO "configure"
26338 cat confdefs.h
>>conftest.
$ac_ext
26339 cat >>conftest.
$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26341 #include <stdlib.h>
26346 iconv_t cd = iconv_open("","");
26347 iconv(cd,NULL,NULL,NULL,NULL);
26353 rm -f conftest.
$ac_objext conftest
$ac_exeext
26354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26355 (eval $ac_link) 2>&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); } &&
26359 { ac_try
='test -s conftest$ac_exeext'
26360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26361 (eval $ac_try) 2>&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); }; }; then
26365 am_cv_func_iconv
=yes
26367 echo "$as_me: failed program was:" >&5
26368 sed 's/^/| /' conftest.
$ac_ext >&5
26371 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26372 if test "$am_cv_func_iconv" != yes; then
26373 am_save_LIBS
="$LIBS"
26374 LIBS
="$LIBS -liconv"
26375 cat >conftest.
$ac_ext <<_ACEOF
26376 #line $LINENO "configure"
26379 cat confdefs.h
>>conftest.
$ac_ext
26380 cat >>conftest.
$ac_ext <<_ACEOF
26381 /* end confdefs.h. */
26382 #include <stdlib.h>
26387 iconv_t cd = iconv_open("","");
26388 iconv(cd,NULL,NULL,NULL,NULL);
26394 rm -f conftest.
$ac_objext conftest
$ac_exeext
26395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26396 (eval $ac_link) 2>&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } &&
26400 { ac_try
='test -s conftest$ac_exeext'
26401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26402 (eval $ac_try) 2>&5
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); }; }; then
26406 am_cv_lib_iconv
=yes
26407 am_cv_func_iconv
=yes
26409 echo "$as_me: failed program was:" >&5
26410 sed 's/^/| /' conftest.
$ac_ext >&5
26413 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26414 LIBS
="$am_save_LIBS"
26418 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26419 echo "${ECHO_T}$am_cv_func_iconv" >&6
26420 if test "$am_cv_func_iconv" = yes; then
26422 cat >>confdefs.h
<<\_ACEOF
26423 #define HAVE_ICONV 1
26426 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26427 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26428 if test "${wx_cv_func_iconv_const+set}" = set; then
26429 echo $ECHO_N "(cached) $ECHO_C" >&6
26431 cat >conftest.
$ac_ext <<_ACEOF
26432 #line $LINENO "configure"
26435 cat confdefs.h
>>conftest.
$ac_ext
26436 cat >>conftest.
$ac_ext <<_ACEOF
26437 /* end confdefs.h. */
26439 #include <stdlib.h>
26445 #if defined(__STDC__) || defined(__cplusplus)
26446 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26459 rm -f conftest.
$ac_objext
26460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26461 (eval $ac_compile) 2>&5
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); } &&
26465 { ac_try
='test -s conftest.$ac_objext'
26466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26467 (eval $ac_try) 2>&5
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; }; then
26471 wx_cv_func_iconv_const
="no"
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.
$ac_ext >&5
26476 wx_cv_func_iconv_const
="yes"
26479 rm -f conftest.
$ac_objext conftest.
$ac_ext
26482 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26483 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26486 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26487 iconv_const
="const"
26491 cat >>confdefs.h
<<_ACEOF
26492 #define ICONV_CONST $iconv_const
26497 if test "$am_cv_lib_iconv" = yes; then
26502 LIBS
="$LIBICONV $LIBS"
26504 ac_cpp
='$CPP $CPPFLAGS'
26505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26510 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26512 for ac_func
in sigaction
26514 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26515 echo "$as_me:$LINENO: checking for $ac_func" >&5
26516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26517 if eval "test \"\${$as_ac_var+set}\" = set"; then
26518 echo $ECHO_N "(cached) $ECHO_C" >&6
26520 cat >conftest.
$ac_ext <<_ACEOF
26521 #line $LINENO "configure"
26524 cat confdefs.h
>>conftest.
$ac_ext
26525 cat >>conftest.
$ac_ext <<_ACEOF
26526 /* end confdefs.h. */
26527 /* System header to define __stub macros and hopefully few prototypes,
26528 which can conflict with char $ac_func (); below.
26529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26530 <limits.h> exists even on freestanding compilers. */
26532 # include <limits.h>
26534 # include <assert.h>
26536 /* Override any gcc2 internal prototype to avoid an error. */
26541 /* We use char because int might match the return type of a gcc2
26542 builtin and then its argument prototype would still apply. */
26544 /* The GNU C library defines this for functions which it implements
26545 to always fail with ENOSYS. Some functions are actually named
26546 something starting with __ and the normal name is an alias. */
26547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26550 char (*f) () = $ac_func;
26559 return f != $ac_func;
26564 rm -f conftest.
$ac_objext conftest
$ac_exeext
26565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26566 (eval $ac_link) 2>&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); } &&
26570 { ac_try
='test -s conftest$ac_exeext'
26571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26572 (eval $ac_try) 2>&5
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); }; }; then
26576 eval "$as_ac_var=yes"
26578 echo "$as_me: failed program was:" >&5
26579 sed 's/^/| /' conftest.
$ac_ext >&5
26581 eval "$as_ac_var=no"
26583 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26587 if test `eval echo '${'$as_ac_var'}'` = yes; then
26588 cat >>confdefs.h
<<_ACEOF
26589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26596 if test "$ac_cv_func_sigaction" = "no"; then
26597 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26598 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26599 wxUSE_ON_FATAL_EXCEPTION
=no
26602 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26606 ac_cpp
='$CXXCPP $CPPFLAGS'
26607 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26608 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26609 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26612 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26613 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26614 if test "${wx_cv_type_sa_handler+set}" = set; then
26615 echo $ECHO_N "(cached) $ECHO_C" >&6
26618 cat >conftest.
$ac_ext <<_ACEOF
26619 #line $LINENO "configure"
26622 cat confdefs.h
>>conftest.
$ac_ext
26623 cat >>conftest.
$ac_ext <<_ACEOF
26624 /* end confdefs.h. */
26625 #include <signal.h>
26630 extern void testSigHandler(int);
26632 struct sigaction sa;
26633 sa.sa_handler = testSigHandler;
26639 rm -f conftest.
$ac_objext
26640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26641 (eval $ac_compile) 2>&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } &&
26645 { ac_try
='test -s conftest.$ac_objext'
26646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26647 (eval $ac_try) 2>&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); }; }; then
26652 wx_cv_type_sa_handler
=int
26655 echo "$as_me: failed program was:" >&5
26656 sed 's/^/| /' conftest.
$ac_ext >&5
26659 wx_cv_type_sa_handler
=void
26662 rm -f conftest.
$ac_objext conftest.
$ac_ext
26665 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26666 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26669 ac_cpp
='$CPP $CPPFLAGS'
26670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26675 cat >>confdefs.h
<<_ACEOF
26676 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26684 for ac_func
in mkstemp mktemp
26686 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26687 echo "$as_me:$LINENO: checking for $ac_func" >&5
26688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26689 if eval "test \"\${$as_ac_var+set}\" = set"; then
26690 echo $ECHO_N "(cached) $ECHO_C" >&6
26692 cat >conftest.
$ac_ext <<_ACEOF
26693 #line $LINENO "configure"
26696 cat confdefs.h
>>conftest.
$ac_ext
26697 cat >>conftest.
$ac_ext <<_ACEOF
26698 /* end confdefs.h. */
26699 /* System header to define __stub macros and hopefully few prototypes,
26700 which can conflict with char $ac_func (); below.
26701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26702 <limits.h> exists even on freestanding compilers. */
26704 # include <limits.h>
26706 # include <assert.h>
26708 /* Override any gcc2 internal prototype to avoid an error. */
26713 /* We use char because int might match the return type of a gcc2
26714 builtin and then its argument prototype would still apply. */
26716 /* The GNU C library defines this for functions which it implements
26717 to always fail with ENOSYS. Some functions are actually named
26718 something starting with __ and the normal name is an alias. */
26719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26722 char (*f) () = $ac_func;
26731 return f != $ac_func;
26736 rm -f conftest.
$ac_objext conftest
$ac_exeext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26738 (eval $ac_link) 2>&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try
='test -s conftest$ac_exeext'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; }; then
26748 eval "$as_ac_var=yes"
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.
$ac_ext >&5
26753 eval "$as_ac_var=no"
26755 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26759 if test `eval echo '${'$as_ac_var'}'` = yes; then
26760 cat >>confdefs.h
<<_ACEOF
26761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26768 echo "$as_me:$LINENO: checking for statfs" >&5
26769 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26770 if test "${wx_cv_func_statfs+set}" = set; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26773 cat >conftest.
$ac_ext <<_ACEOF
26774 #line $LINENO "configure"
26777 cat confdefs.h
>>conftest.
$ac_ext
26778 cat >>conftest.
$ac_ext <<_ACEOF
26779 /* end confdefs.h. */
26781 #if defined(__BSD__)
26782 #include <sys/param.h>
26783 #include <sys/mount.h>
26785 #include <sys/vfs.h>
26803 rm -f conftest.
$ac_objext
26804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26805 (eval $ac_compile) 2>&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); } &&
26809 { ac_try
='test -s conftest.$ac_objext'
26810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811 (eval $ac_try) 2>&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); }; }; then
26816 wx_cv_func_statfs
=yes
26819 echo "$as_me: failed program was:" >&5
26820 sed 's/^/| /' conftest.
$ac_ext >&5
26823 wx_cv_func_statfs
=no
26827 rm -f conftest.
$ac_objext conftest.
$ac_ext
26830 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26831 echo "${ECHO_T}$wx_cv_func_statfs" >&6
26833 if test "$wx_cv_func_statfs" = "yes"; then
26834 wx_cv_type_statvfs_t
="struct statfs"
26835 cat >>confdefs.h
<<\_ACEOF
26836 #define HAVE_STATFS 1
26840 echo "$as_me:$LINENO: checking for statvfs" >&5
26841 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26842 if test "${wx_cv_func_statvfs+set}" = set; then
26843 echo $ECHO_N "(cached) $ECHO_C" >&6
26845 cat >conftest.
$ac_ext <<_ACEOF
26846 #line $LINENO "configure"
26849 cat confdefs.h
>>conftest.
$ac_ext
26850 cat >>conftest.
$ac_ext <<_ACEOF
26851 /* end confdefs.h. */
26853 #include <stddef.h>
26854 #include <sys/statvfs.h>
26860 statvfs("/", NULL);
26866 rm -f conftest.
$ac_objext
26867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26868 (eval $ac_compile) 2>&5
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); } &&
26872 { ac_try
='test -s conftest.$ac_objext'
26873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26874 (eval $ac_try) 2>&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); }; }; then
26878 wx_cv_func_statvfs
=yes
26880 echo "$as_me: failed program was:" >&5
26881 sed 's/^/| /' conftest.
$ac_ext >&5
26883 wx_cv_func_statvfs
=no
26886 rm -f conftest.
$ac_objext conftest.
$ac_ext
26889 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
26890 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
26892 if test "$wx_cv_func_statvfs" = "yes"; then
26896 ac_cpp
='$CXXCPP $CPPFLAGS'
26897 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26898 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26902 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
26903 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
26904 if test "${wx_cv_type_statvfs_t+set}" = set; then
26905 echo $ECHO_N "(cached) $ECHO_C" >&6
26907 cat >conftest.
$ac_ext <<_ACEOF
26908 #line $LINENO "configure"
26911 cat confdefs.h
>>conftest.
$ac_ext
26912 cat >>conftest.
$ac_ext <<_ACEOF
26913 /* end confdefs.h. */
26915 #include <sys/statvfs.h>
26932 rm -f conftest.
$ac_objext
26933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26934 (eval $ac_compile) 2>&5
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); } &&
26938 { ac_try
='test -s conftest.$ac_objext'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; }; then
26944 wx_cv_type_statvfs_t
=statvfs_t
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.
$ac_ext >&5
26950 cat >conftest.
$ac_ext <<_ACEOF
26951 #line $LINENO "configure"
26954 cat confdefs.h
>>conftest.
$ac_ext
26955 cat >>conftest.
$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26958 #include <sys/statvfs.h>
26975 rm -f conftest.
$ac_objext
26976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26977 (eval $ac_compile) 2>&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try
='test -s conftest.$ac_objext'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; }; then
26987 wx_cv_type_statvfs_t
="struct statvfs"
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.
$ac_ext >&5
26992 wx_cv_type_statvfs_t
="unknown"
26995 rm -f conftest.
$ac_objext conftest.
$ac_ext
26999 rm -f conftest.
$ac_objext conftest.
$ac_ext
27002 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27003 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27006 ac_cpp
='$CPP $CPPFLAGS'
27007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27012 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27013 cat >>confdefs.h
<<\_ACEOF
27014 #define HAVE_STATVFS 1
27019 wx_cv_type_statvfs_t
="unknown"
27023 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27024 cat >>confdefs.h
<<_ACEOF
27025 #define WX_STATFS_T $wx_cv_type_statvfs_t
27029 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27030 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27033 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27036 for ac_func
in fcntl flock
27038 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27039 echo "$as_me:$LINENO: checking for $ac_func" >&5
27040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27041 if eval "test \"\${$as_ac_var+set}\" = set"; then
27042 echo $ECHO_N "(cached) $ECHO_C" >&6
27044 cat >conftest.
$ac_ext <<_ACEOF
27045 #line $LINENO "configure"
27048 cat confdefs.h
>>conftest.
$ac_ext
27049 cat >>conftest.
$ac_ext <<_ACEOF
27050 /* end confdefs.h. */
27051 /* System header to define __stub macros and hopefully few prototypes,
27052 which can conflict with char $ac_func (); below.
27053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27054 <limits.h> exists even on freestanding compilers. */
27056 # include <limits.h>
27058 # include <assert.h>
27060 /* Override any gcc2 internal prototype to avoid an error. */
27065 /* We use char because int might match the return type of a gcc2
27066 builtin and then its argument prototype would still apply. */
27068 /* The GNU C library defines this for functions which it implements
27069 to always fail with ENOSYS. Some functions are actually named
27070 something starting with __ and the normal name is an alias. */
27071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27074 char (*f) () = $ac_func;
27083 return f != $ac_func;
27088 rm -f conftest.
$ac_objext conftest
$ac_exeext
27089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27090 (eval $ac_link) 2>&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); } &&
27094 { ac_try
='test -s conftest$ac_exeext'
27095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27096 (eval $ac_try) 2>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; }; then
27100 eval "$as_ac_var=yes"
27102 echo "$as_me: failed program was:" >&5
27103 sed 's/^/| /' conftest.
$ac_ext >&5
27105 eval "$as_ac_var=no"
27107 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27111 if test `eval echo '${'$as_ac_var'}'` = yes; then
27112 cat >>confdefs.h
<<_ACEOF
27113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27120 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27121 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27122 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27123 wxUSE_SNGLINST_CHECKER
=no
27128 for ac_func
in timegm
27130 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27131 echo "$as_me:$LINENO: checking for $ac_func" >&5
27132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27133 if eval "test \"\${$as_ac_var+set}\" = set"; then
27134 echo $ECHO_N "(cached) $ECHO_C" >&6
27136 cat >conftest.
$ac_ext <<_ACEOF
27137 #line $LINENO "configure"
27140 cat confdefs.h
>>conftest.
$ac_ext
27141 cat >>conftest.
$ac_ext <<_ACEOF
27142 /* end confdefs.h. */
27143 /* System header to define __stub macros and hopefully few prototypes,
27144 which can conflict with char $ac_func (); below.
27145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27146 <limits.h> exists even on freestanding compilers. */
27148 # include <limits.h>
27150 # include <assert.h>
27152 /* Override any gcc2 internal prototype to avoid an error. */
27157 /* We use char because int might match the return type of a gcc2
27158 builtin and then its argument prototype would still apply. */
27160 /* The GNU C library defines this for functions which it implements
27161 to always fail with ENOSYS. Some functions are actually named
27162 something starting with __ and the normal name is an alias. */
27163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27166 char (*f) () = $ac_func;
27175 return f != $ac_func;
27180 rm -f conftest.
$ac_objext conftest
$ac_exeext
27181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27182 (eval $ac_link) 2>&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); } &&
27186 { ac_try
='test -s conftest$ac_exeext'
27187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27188 (eval $ac_try) 2>&5
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); }; }; then
27192 eval "$as_ac_var=yes"
27194 echo "$as_me: failed program was:" >&5
27195 sed 's/^/| /' conftest.
$ac_ext >&5
27197 eval "$as_ac_var=no"
27199 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27203 if test `eval echo '${'$as_ac_var'}'` = yes; then
27204 cat >>confdefs.h
<<_ACEOF
27205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27214 for ac_func
in putenv setenv
27216 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27217 echo "$as_me:$LINENO: checking for $ac_func" >&5
27218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27219 if eval "test \"\${$as_ac_var+set}\" = set"; then
27220 echo $ECHO_N "(cached) $ECHO_C" >&6
27222 cat >conftest.
$ac_ext <<_ACEOF
27223 #line $LINENO "configure"
27226 cat confdefs.h
>>conftest.
$ac_ext
27227 cat >>conftest.
$ac_ext <<_ACEOF
27228 /* end confdefs.h. */
27229 /* System header to define __stub macros and hopefully few prototypes,
27230 which can conflict with char $ac_func (); below.
27231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27232 <limits.h> exists even on freestanding compilers. */
27234 # include <limits.h>
27236 # include <assert.h>
27238 /* Override any gcc2 internal prototype to avoid an error. */
27243 /* We use char because int might match the return type of a gcc2
27244 builtin and then its argument prototype would still apply. */
27246 /* The GNU C library defines this for functions which it implements
27247 to always fail with ENOSYS. Some functions are actually named
27248 something starting with __ and the normal name is an alias. */
27249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27252 char (*f) () = $ac_func;
27261 return f != $ac_func;
27266 rm -f conftest.
$ac_objext conftest
$ac_exeext
27267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27268 (eval $ac_link) 2>&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); } &&
27272 { ac_try
='test -s conftest$ac_exeext'
27273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27274 (eval $ac_try) 2>&5
27276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277 (exit $ac_status); }; }; then
27278 eval "$as_ac_var=yes"
27280 echo "$as_me: failed program was:" >&5
27281 sed 's/^/| /' conftest.
$ac_ext >&5
27283 eval "$as_ac_var=no"
27285 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27289 if test `eval echo '${'$as_ac_var'}'` = yes; then
27290 cat >>confdefs.h
<<_ACEOF
27291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27298 HAVE_SOME_SLEEP_FUNC
=0
27299 if test "$USE_BEOS" = 1; then
27300 cat >>confdefs.h
<<\_ACEOF
27301 #define HAVE_SLEEP 1
27304 HAVE_SOME_SLEEP_FUNC
=1
27307 if test "$USE_DARWIN" = 1; then
27308 cat >>confdefs.h
<<\_ACEOF
27309 #define HAVE_USLEEP 1
27312 HAVE_SOME_SLEEP_FUNC
=1
27315 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27318 for ac_func
in nanosleep
27320 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27321 echo "$as_me:$LINENO: checking for $ac_func" >&5
27322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27323 if eval "test \"\${$as_ac_var+set}\" = set"; then
27324 echo $ECHO_N "(cached) $ECHO_C" >&6
27326 cat >conftest.
$ac_ext <<_ACEOF
27327 #line $LINENO "configure"
27330 cat confdefs.h
>>conftest.
$ac_ext
27331 cat >>conftest.
$ac_ext <<_ACEOF
27332 /* end confdefs.h. */
27333 /* System header to define __stub macros and hopefully few prototypes,
27334 which can conflict with char $ac_func (); below.
27335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27336 <limits.h> exists even on freestanding compilers. */
27338 # include <limits.h>
27340 # include <assert.h>
27342 /* Override any gcc2 internal prototype to avoid an error. */
27347 /* We use char because int might match the return type of a gcc2
27348 builtin and then its argument prototype would still apply. */
27350 /* The GNU C library defines this for functions which it implements
27351 to always fail with ENOSYS. Some functions are actually named
27352 something starting with __ and the normal name is an alias. */
27353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27356 char (*f) () = $ac_func;
27365 return f != $ac_func;
27370 rm -f conftest.
$ac_objext conftest
$ac_exeext
27371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27372 (eval $ac_link) 2>&5
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } &&
27376 { ac_try
='test -s conftest$ac_exeext'
27377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27378 (eval $ac_try) 2>&5
27380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27381 (exit $ac_status); }; }; then
27382 eval "$as_ac_var=yes"
27384 echo "$as_me: failed program was:" >&5
27385 sed 's/^/| /' conftest.
$ac_ext >&5
27387 eval "$as_ac_var=no"
27389 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27393 if test `eval echo '${'$as_ac_var'}'` = yes; then
27394 cat >>confdefs.h
<<_ACEOF
27395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27397 cat >>confdefs.h
<<\_ACEOF
27398 #define HAVE_NANOSLEEP 1
27403 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27404 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27405 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27408 ac_check_lib_save_LIBS
=$LIBS
27409 LIBS
="-lposix4 $LIBS"
27410 cat >conftest.
$ac_ext <<_ACEOF
27411 #line $LINENO "configure"
27414 cat confdefs.h
>>conftest.
$ac_ext
27415 cat >>conftest.
$ac_ext <<_ACEOF
27416 /* end confdefs.h. */
27418 /* Override any gcc2 internal prototype to avoid an error. */
27422 /* We use char because int might match the return type of a gcc2
27423 builtin and then its argument prototype would still apply. */
27433 rm -f conftest.
$ac_objext conftest
$ac_exeext
27434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27435 (eval $ac_link) 2>&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } &&
27439 { ac_try
='test -s conftest$ac_exeext'
27440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441 (eval $ac_try) 2>&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); }; }; then
27445 ac_cv_lib_posix4_nanosleep
=yes
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.
$ac_ext >&5
27450 ac_cv_lib_posix4_nanosleep
=no
27452 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27453 LIBS
=$ac_check_lib_save_LIBS
27455 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27456 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27457 if test $ac_cv_lib_posix4_nanosleep = yes; then
27459 cat >>confdefs.h
<<\_ACEOF
27460 #define HAVE_NANOSLEEP 1
27463 POSIX4_LINK
=" -lposix4"
27468 for ac_func
in usleep
27470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27471 echo "$as_me:$LINENO: checking for $ac_func" >&5
27472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27473 if eval "test \"\${$as_ac_var+set}\" = set"; then
27474 echo $ECHO_N "(cached) $ECHO_C" >&6
27476 cat >conftest.
$ac_ext <<_ACEOF
27477 #line $LINENO "configure"
27480 cat confdefs.h
>>conftest.
$ac_ext
27481 cat >>conftest.
$ac_ext <<_ACEOF
27482 /* end confdefs.h. */
27483 /* System header to define __stub macros and hopefully few prototypes,
27484 which can conflict with char $ac_func (); below.
27485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27486 <limits.h> exists even on freestanding compilers. */
27488 # include <limits.h>
27490 # include <assert.h>
27492 /* Override any gcc2 internal prototype to avoid an error. */
27497 /* We use char because int might match the return type of a gcc2
27498 builtin and then its argument prototype would still apply. */
27500 /* The GNU C library defines this for functions which it implements
27501 to always fail with ENOSYS. Some functions are actually named
27502 something starting with __ and the normal name is an alias. */
27503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27506 char (*f) () = $ac_func;
27515 return f != $ac_func;
27520 rm -f conftest.
$ac_objext conftest
$ac_exeext
27521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27522 (eval $ac_link) 2>&5
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); } &&
27526 { ac_try
='test -s conftest$ac_exeext'
27527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27528 (eval $ac_try) 2>&5
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); }; }; then
27532 eval "$as_ac_var=yes"
27534 echo "$as_me: failed program was:" >&5
27535 sed 's/^/| /' conftest.
$ac_ext >&5
27537 eval "$as_ac_var=no"
27539 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27543 if test `eval echo '${'$as_ac_var'}'` = yes; then
27544 cat >>confdefs.h
<<_ACEOF
27545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27547 cat >>confdefs.h
<<\_ACEOF
27548 #define HAVE_USLEEP 1
27552 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27553 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27571 for ac_func
in uname gethostname
27573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27574 echo "$as_me:$LINENO: checking for $ac_func" >&5
27575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27576 if eval "test \"\${$as_ac_var+set}\" = set"; then
27577 echo $ECHO_N "(cached) $ECHO_C" >&6
27579 cat >conftest.
$ac_ext <<_ACEOF
27580 #line $LINENO "configure"
27583 cat confdefs.h
>>conftest.
$ac_ext
27584 cat >>conftest.
$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586 /* System header to define __stub macros and hopefully few prototypes,
27587 which can conflict with char $ac_func (); below.
27588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27589 <limits.h> exists even on freestanding compilers. */
27591 # include <limits.h>
27593 # include <assert.h>
27595 /* Override any gcc2 internal prototype to avoid an error. */
27600 /* We use char because int might match the return type of a gcc2
27601 builtin and then its argument prototype would still apply. */
27603 /* The GNU C library defines this for functions which it implements
27604 to always fail with ENOSYS. Some functions are actually named
27605 something starting with __ and the normal name is an alias. */
27606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27609 char (*f) () = $ac_func;
27618 return f != $ac_func;
27623 rm -f conftest.
$ac_objext conftest
$ac_exeext
27624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27625 (eval $ac_link) 2>&5
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); } &&
27629 { ac_try
='test -s conftest$ac_exeext'
27630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27631 (eval $ac_try) 2>&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); }; }; then
27635 eval "$as_ac_var=yes"
27637 echo "$as_me: failed program was:" >&5
27638 sed 's/^/| /' conftest.
$ac_ext >&5
27640 eval "$as_ac_var=no"
27642 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27646 if test `eval echo '${'$as_ac_var'}'` = yes; then
27647 cat >>confdefs.h
<<_ACEOF
27648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27658 ac_cpp
='$CXXCPP $CPPFLAGS'
27659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27665 for ac_func
in strtok_r
27667 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27668 echo "$as_me:$LINENO: checking for $ac_func" >&5
27669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27670 if eval "test \"\${$as_ac_var+set}\" = set"; then
27671 echo $ECHO_N "(cached) $ECHO_C" >&6
27673 cat >conftest.
$ac_ext <<_ACEOF
27674 #line $LINENO "configure"
27677 cat confdefs.h
>>conftest.
$ac_ext
27678 cat >>conftest.
$ac_ext <<_ACEOF
27679 /* end confdefs.h. */
27680 /* System header to define __stub macros and hopefully few prototypes,
27681 which can conflict with char $ac_func (); below.
27682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27683 <limits.h> exists even on freestanding compilers. */
27685 # include <limits.h>
27687 # include <assert.h>
27689 /* Override any gcc2 internal prototype to avoid an error. */
27694 /* We use char because int might match the return type of a gcc2
27695 builtin and then its argument prototype would still apply. */
27697 /* The GNU C library defines this for functions which it implements
27698 to always fail with ENOSYS. Some functions are actually named
27699 something starting with __ and the normal name is an alias. */
27700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27703 char (*f) () = $ac_func;
27712 return f != $ac_func;
27717 rm -f conftest.
$ac_objext conftest
$ac_exeext
27718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27719 (eval $ac_link) 2>&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } &&
27723 { ac_try
='test -s conftest$ac_exeext'
27724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27725 (eval $ac_try) 2>&5
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); }; }; then
27729 eval "$as_ac_var=yes"
27731 echo "$as_me: failed program was:" >&5
27732 sed 's/^/| /' conftest.
$ac_ext >&5
27734 eval "$as_ac_var=no"
27736 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27740 if test `eval echo '${'$as_ac_var'}'` = yes; then
27741 cat >>confdefs.h
<<_ACEOF
27742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27750 ac_cpp
='$CPP $CPPFLAGS'
27751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27758 for ac_func
in inet_addr
27760 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27761 echo "$as_me:$LINENO: checking for $ac_func" >&5
27762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27763 if eval "test \"\${$as_ac_var+set}\" = set"; then
27764 echo $ECHO_N "(cached) $ECHO_C" >&6
27766 cat >conftest.
$ac_ext <<_ACEOF
27767 #line $LINENO "configure"
27770 cat confdefs.h
>>conftest.
$ac_ext
27771 cat >>conftest.
$ac_ext <<_ACEOF
27772 /* end confdefs.h. */
27773 /* System header to define __stub macros and hopefully few prototypes,
27774 which can conflict with char $ac_func (); below.
27775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27776 <limits.h> exists even on freestanding compilers. */
27778 # include <limits.h>
27780 # include <assert.h>
27782 /* Override any gcc2 internal prototype to avoid an error. */
27787 /* We use char because int might match the return type of a gcc2
27788 builtin and then its argument prototype would still apply. */
27790 /* The GNU C library defines this for functions which it implements
27791 to always fail with ENOSYS. Some functions are actually named
27792 something starting with __ and the normal name is an alias. */
27793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27796 char (*f) () = $ac_func;
27805 return f != $ac_func;
27810 rm -f conftest.
$ac_objext conftest
$ac_exeext
27811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27812 (eval $ac_link) 2>&5
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); } &&
27816 { ac_try
='test -s conftest$ac_exeext'
27817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27818 (eval $ac_try) 2>&5
27820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821 (exit $ac_status); }; }; then
27822 eval "$as_ac_var=yes"
27824 echo "$as_me: failed program was:" >&5
27825 sed 's/^/| /' conftest.
$ac_ext >&5
27827 eval "$as_ac_var=no"
27829 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27833 if test `eval echo '${'$as_ac_var'}'` = yes; then
27834 cat >>confdefs.h
<<_ACEOF
27835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27837 cat >>confdefs.h
<<\_ACEOF
27838 #define HAVE_INET_ADDR 1
27843 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27844 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27845 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27846 echo $ECHO_N "(cached) $ECHO_C" >&6
27848 ac_check_lib_save_LIBS
=$LIBS
27850 cat >conftest.
$ac_ext <<_ACEOF
27851 #line $LINENO "configure"
27854 cat confdefs.h
>>conftest.
$ac_ext
27855 cat >>conftest.
$ac_ext <<_ACEOF
27856 /* end confdefs.h. */
27858 /* Override any gcc2 internal prototype to avoid an error. */
27862 /* We use char because int might match the return type of a gcc2
27863 builtin and then its argument prototype would still apply. */
27873 rm -f conftest.
$ac_objext conftest
$ac_exeext
27874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27875 (eval $ac_link) 2>&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); } &&
27879 { ac_try
='test -s conftest$ac_exeext'
27880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27881 (eval $ac_try) 2>&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); }; }; then
27885 ac_cv_lib_nsl_inet_addr
=yes
27887 echo "$as_me: failed program was:" >&5
27888 sed 's/^/| /' conftest.
$ac_ext >&5
27890 ac_cv_lib_nsl_inet_addr
=no
27892 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27893 LIBS
=$ac_check_lib_save_LIBS
27895 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
27896 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
27897 if test $ac_cv_lib_nsl_inet_addr = yes; then
27900 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
27901 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
27902 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27905 ac_check_lib_save_LIBS
=$LIBS
27906 LIBS
="-lresolv $LIBS"
27907 cat >conftest.
$ac_ext <<_ACEOF
27908 #line $LINENO "configure"
27911 cat confdefs.h
>>conftest.
$ac_ext
27912 cat >>conftest.
$ac_ext <<_ACEOF
27913 /* end confdefs.h. */
27915 /* Override any gcc2 internal prototype to avoid an error. */
27919 /* We use char because int might match the return type of a gcc2
27920 builtin and then its argument prototype would still apply. */
27930 rm -f conftest.
$ac_objext conftest
$ac_exeext
27931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27932 (eval $ac_link) 2>&5
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); } &&
27936 { ac_try
='test -s conftest$ac_exeext'
27937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27938 (eval $ac_try) 2>&5
27940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941 (exit $ac_status); }; }; then
27942 ac_cv_lib_resolv_inet_addr
=yes
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.
$ac_ext >&5
27947 ac_cv_lib_resolv_inet_addr
=no
27949 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27950 LIBS
=$ac_check_lib_save_LIBS
27952 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
27953 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
27954 if test $ac_cv_lib_resolv_inet_addr = yes; then
27957 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
27958 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
27959 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
27960 echo $ECHO_N "(cached) $ECHO_C" >&6
27962 ac_check_lib_save_LIBS
=$LIBS
27963 LIBS
="-lsocket $LIBS"
27964 cat >conftest.
$ac_ext <<_ACEOF
27965 #line $LINENO "configure"
27968 cat confdefs.h
>>conftest.
$ac_ext
27969 cat >>conftest.
$ac_ext <<_ACEOF
27970 /* end confdefs.h. */
27972 /* Override any gcc2 internal prototype to avoid an error. */
27976 /* We use char because int might match the return type of a gcc2
27977 builtin and then its argument prototype would still apply. */
27987 rm -f conftest.
$ac_objext conftest
$ac_exeext
27988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27989 (eval $ac_link) 2>&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); } &&
27993 { ac_try
='test -s conftest$ac_exeext'
27994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27995 (eval $ac_try) 2>&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); }; }; then
27999 ac_cv_lib_socket_inet_addr
=yes
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.
$ac_ext >&5
28004 ac_cv_lib_socket_inet_addr
=no
28006 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28007 LIBS
=$ac_check_lib_save_LIBS
28009 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28010 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28011 if test $ac_cv_lib_socket_inet_addr = yes; then
28029 for ac_func
in inet_aton
28031 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28032 echo "$as_me:$LINENO: checking for $ac_func" >&5
28033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28034 if eval "test \"\${$as_ac_var+set}\" = set"; then
28035 echo $ECHO_N "(cached) $ECHO_C" >&6
28037 cat >conftest.
$ac_ext <<_ACEOF
28038 #line $LINENO "configure"
28041 cat confdefs.h
>>conftest.
$ac_ext
28042 cat >>conftest.
$ac_ext <<_ACEOF
28043 /* end confdefs.h. */
28044 /* System header to define __stub macros and hopefully few prototypes,
28045 which can conflict with char $ac_func (); below.
28046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28047 <limits.h> exists even on freestanding compilers. */
28049 # include <limits.h>
28051 # include <assert.h>
28053 /* Override any gcc2 internal prototype to avoid an error. */
28058 /* We use char because int might match the return type of a gcc2
28059 builtin and then its argument prototype would still apply. */
28061 /* The GNU C library defines this for functions which it implements
28062 to always fail with ENOSYS. Some functions are actually named
28063 something starting with __ and the normal name is an alias. */
28064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28067 char (*f) () = $ac_func;
28076 return f != $ac_func;
28081 rm -f conftest.
$ac_objext conftest
$ac_exeext
28082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28083 (eval $ac_link) 2>&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); } &&
28087 { ac_try
='test -s conftest$ac_exeext'
28088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28089 (eval $ac_try) 2>&5
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); }; }; then
28093 eval "$as_ac_var=yes"
28095 echo "$as_me: failed program was:" >&5
28096 sed 's/^/| /' conftest.
$ac_ext >&5
28098 eval "$as_ac_var=no"
28100 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28104 if test `eval echo '${'$as_ac_var'}'` = yes; then
28105 cat >>confdefs.h
<<_ACEOF
28106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28108 cat >>confdefs.h
<<\_ACEOF
28109 #define HAVE_INET_ATON 1
28114 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28115 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28116 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28117 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28118 echo $ECHO_N "(cached) $ECHO_C" >&6
28120 ac_check_lib_save_LIBS
=$LIBS
28121 LIBS
="-l$INET_LINK $LIBS"
28122 cat >conftest.
$ac_ext <<_ACEOF
28123 #line $LINENO "configure"
28126 cat confdefs.h
>>conftest.
$ac_ext
28127 cat >>conftest.
$ac_ext <<_ACEOF
28128 /* end confdefs.h. */
28130 /* Override any gcc2 internal prototype to avoid an error. */
28134 /* We use char because int might match the return type of a gcc2
28135 builtin and then its argument prototype would still apply. */
28145 rm -f conftest.
$ac_objext conftest
$ac_exeext
28146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28147 (eval $ac_link) 2>&5
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); } &&
28151 { ac_try
='test -s conftest$ac_exeext'
28152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28153 (eval $ac_try) 2>&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); }; }; then
28157 eval "$as_ac_Lib=yes"
28159 echo "$as_me: failed program was:" >&5
28160 sed 's/^/| /' conftest.
$ac_ext >&5
28162 eval "$as_ac_Lib=no"
28164 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28165 LIBS
=$ac_check_lib_save_LIBS
28167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28168 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28169 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28170 cat >>confdefs.h
<<\_ACEOF
28171 #define HAVE_INET_ATON 1
28181 if test "x$INET_LINK" != "x"; then
28182 cat >>confdefs.h
<<\_ACEOF
28183 #define HAVE_INET_ADDR 1
28186 INET_LINK
=" -l$INET_LINK"
28194 if test "${ac_cv_header_esd_h+set}" = set; then
28195 echo "$as_me:$LINENO: checking for esd.h" >&5
28196 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28197 if test "${ac_cv_header_esd_h+set}" = set; then
28198 echo $ECHO_N "(cached) $ECHO_C" >&6
28200 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28201 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28203 # Is the header compilable?
28204 echo "$as_me:$LINENO: checking esd.h usability" >&5
28205 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28206 cat >conftest.
$ac_ext <<_ACEOF
28207 #line $LINENO "configure"
28210 cat confdefs.h
>>conftest.
$ac_ext
28211 cat >>conftest.
$ac_ext <<_ACEOF
28212 /* end confdefs.h. */
28213 $ac_includes_default
28216 rm -f conftest.
$ac_objext
28217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28218 (eval $ac_compile) 2>&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); } &&
28222 { ac_try
='test -s conftest.$ac_objext'
28223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224 (eval $ac_try) 2>&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; }; then
28228 ac_header_compiler
=yes
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.
$ac_ext >&5
28233 ac_header_compiler
=no
28235 rm -f conftest.
$ac_objext conftest.
$ac_ext
28236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28237 echo "${ECHO_T}$ac_header_compiler" >&6
28239 # Is the header present?
28240 echo "$as_me:$LINENO: checking esd.h presence" >&5
28241 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28242 cat >conftest.
$ac_ext <<_ACEOF
28243 #line $LINENO "configure"
28246 cat confdefs.h
>>conftest.
$ac_ext
28247 cat >>conftest.
$ac_ext <<_ACEOF
28248 /* end confdefs.h. */
28251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28254 grep -v '^ *+' conftest.er1
>conftest.err
28256 cat conftest.err
>&5
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); } >/dev
/null
; then
28259 if test -s conftest.err
; then
28260 ac_cpp_err
=$ac_c_preproc_warn_flag
28267 if test -z "$ac_cpp_err"; then
28268 ac_header_preproc
=yes
28270 echo "$as_me: failed program was:" >&5
28271 sed 's/^/| /' conftest.
$ac_ext >&5
28273 ac_header_preproc
=no
28275 rm -f conftest.err conftest.
$ac_ext
28276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28277 echo "${ECHO_T}$ac_header_preproc" >&6
28279 # So? What about this header?
28280 case $ac_header_compiler:$ac_header_preproc in
28282 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28283 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28284 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28285 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28288 ## ------------------------------------ ##
28289 ## Report this to bug-autoconf@gnu.org. ##
28290 ## ------------------------------------ ##
28293 sed "s/^/$as_me: WARNING: /" >&2
28296 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28297 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28298 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28299 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28300 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28301 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28304 ## ------------------------------------ ##
28305 ## Report this to bug-autoconf@gnu.org. ##
28306 ## ------------------------------------ ##
28309 sed "s/^/$as_me: WARNING: /" >&2
28312 echo "$as_me:$LINENO: checking for esd.h" >&5
28313 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28314 if test "${ac_cv_header_esd_h+set}" = set; then
28315 echo $ECHO_N "(cached) $ECHO_C" >&6
28317 ac_cv_header_esd_h
=$ac_header_preproc
28319 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28320 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28323 if test $ac_cv_header_esd_h = yes; then
28325 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28326 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28327 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28330 ac_check_lib_save_LIBS
=$LIBS
28332 cat >conftest.
$ac_ext <<_ACEOF
28333 #line $LINENO "configure"
28336 cat confdefs.h
>>conftest.
$ac_ext
28337 cat >>conftest.
$ac_ext <<_ACEOF
28338 /* end confdefs.h. */
28340 /* Override any gcc2 internal prototype to avoid an error. */
28344 /* We use char because int might match the return type of a gcc2
28345 builtin and then its argument prototype would still apply. */
28355 rm -f conftest.
$ac_objext conftest
$ac_exeext
28356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28357 (eval $ac_link) 2>&5
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); } &&
28361 { ac_try
='test -s conftest$ac_exeext'
28362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28363 (eval $ac_try) 2>&5
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); }; }; then
28367 ac_cv_lib_esd_esd_close
=yes
28369 echo "$as_me: failed program was:" >&5
28370 sed 's/^/| /' conftest.
$ac_ext >&5
28372 ac_cv_lib_esd_esd_close
=no
28374 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28375 LIBS
=$ac_check_lib_save_LIBS
28377 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28378 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28379 if test $ac_cv_lib_esd_esd_close = yes; then
28392 cat >confcache
<<\_ACEOF
28393 # This file is a shell script that caches the results of configure
28394 # tests run on this system so they can be shared between configure
28395 # scripts and configure runs, see configure's option --config-cache.
28396 # It is not useful on other systems. If it contains results you don't
28397 # want to keep, you may remove or edit it.
28399 # config.status only pays attention to the cache file if you give it
28400 # the --recheck option to rerun configure.
28402 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28403 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28404 # following values.
28408 # The following way of writing the cache mishandles newlines in values,
28409 # but we know of no workaround that is simple, portable, and efficient.
28410 # So, don't put newlines in cache variables' values.
28411 # Ultrix sh set writes to stderr and can't be redirected directly,
28412 # and sets the high bit in the cache file unless we assign to the vars.
28415 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28417 # `set' does not quote correctly, so add quotes (double-quote
28418 # substitution turns \\\\ into \\, and sed turns \\ into \).
28421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28424 # `set' quotes correctly as required by POSIX, so do not add quotes.
28426 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28433 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28435 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28437 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28438 if test -w $cache_file; then
28439 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28440 cat confcache
>$cache_file
28442 echo "not updating unwritable cache $cache_file"
28449 if test "$TOOLKIT" != "MSW"; then
28455 if test "$wxUSE_THREADS" = "yes" ; then
28456 if test "$USE_BEOS" = 1; then
28457 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28458 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28463 if test "$wxUSE_THREADS" = "yes" ; then
28466 THREAD_OPTS
="-pthread"
28468 *-*-solaris2* | *-*-sunos4* )
28469 if test "x$GCC" = "xyes"; then
28470 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28472 THREAD_OPTS
="-mt $THREAD_OPTS"
28476 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28478 *-*-darwin* | *-*-cygwin* )
28482 THREAD_OPTS
="pthreads"
28485 if test "x$GCC" != "xyes"; then
28491 if test "x$GCC" = "xyes"; then
28497 if test "x$GCC" != "xyes"; then
28498 THREAD_OPTS
="-Ethread"
28503 THREAD_OPTS
="$THREAD_OPTS pthread none"
28506 for flag
in $THREAD_OPTS; do
28509 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28510 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28514 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28515 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28516 THREADS_CFLAGS
="$flag"
28520 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28521 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28522 THREADS_LINK
="-l$flag"
28527 save_CFLAGS
="$CFLAGS"
28528 LIBS
="$THREADS_LINK $LIBS"
28529 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28531 cat >conftest.
$ac_ext <<_ACEOF
28532 #line $LINENO "configure"
28535 cat confdefs.h
>>conftest.
$ac_ext
28536 cat >>conftest.
$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28538 #include <pthread.h>
28542 pthread_create(0,0,0,0);
28547 rm -f conftest.
$ac_objext conftest
$ac_exeext
28548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28549 (eval $ac_link) 2>&5
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); } &&
28553 { ac_try
='test -s conftest$ac_exeext'
28554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28555 (eval $ac_try) 2>&5
28557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558 (exit $ac_status); }; }; then
28561 echo "$as_me: failed program was:" >&5
28562 sed 's/^/| /' conftest.
$ac_ext >&5
28565 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28568 CFLAGS
="$save_CFLAGS"
28570 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28571 echo "${ECHO_T}$THREADS_OK" >&6
28572 if test "x$THREADS_OK" = "xyes"; then
28580 if test "x$THREADS_OK" != "xyes"; then
28582 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28583 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28585 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28586 LIBS
="$THREADS_LINK $LIBS"
28588 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28589 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28593 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28594 flag
="-D_THREAD_SAFE"
28597 flag
="-D_THREAD_SAFE"
28600 flag
="-D_REENTRANT"
28601 if test "x$GCC" != "xyes"; then
28602 flag
="$flag -D_RWSTD_MULTI_THREAD"
28605 *solaris
* | alpha
*-osf*)
28606 flag
="-D_REENTRANT"
28609 echo "$as_me:$LINENO: result: ${flag}" >&5
28610 echo "${ECHO_T}${flag}" >&6
28611 if test "x$flag" != xno
; then
28612 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28615 if test "x$THREADS_CFLAGS" != "x"; then
28616 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28617 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28622 if test "$wxUSE_THREADS" = "yes" ; then
28624 for ac_func
in thr_setconcurrency
28626 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28627 echo "$as_me:$LINENO: checking for $ac_func" >&5
28628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28629 if eval "test \"\${$as_ac_var+set}\" = set"; then
28630 echo $ECHO_N "(cached) $ECHO_C" >&6
28632 cat >conftest.
$ac_ext <<_ACEOF
28633 #line $LINENO "configure"
28636 cat confdefs.h
>>conftest.
$ac_ext
28637 cat >>conftest.
$ac_ext <<_ACEOF
28638 /* end confdefs.h. */
28639 /* System header to define __stub macros and hopefully few prototypes,
28640 which can conflict with char $ac_func (); below.
28641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28642 <limits.h> exists even on freestanding compilers. */
28644 # include <limits.h>
28646 # include <assert.h>
28648 /* Override any gcc2 internal prototype to avoid an error. */
28653 /* We use char because int might match the return type of a gcc2
28654 builtin and then its argument prototype would still apply. */
28656 /* The GNU C library defines this for functions which it implements
28657 to always fail with ENOSYS. Some functions are actually named
28658 something starting with __ and the normal name is an alias. */
28659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28662 char (*f) () = $ac_func;
28671 return f != $ac_func;
28676 rm -f conftest.
$ac_objext conftest
$ac_exeext
28677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28678 (eval $ac_link) 2>&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } &&
28682 { ac_try
='test -s conftest$ac_exeext'
28683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684 (eval $ac_try) 2>&5
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); }; }; then
28688 eval "$as_ac_var=yes"
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.
$ac_ext >&5
28693 eval "$as_ac_var=no"
28695 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28699 if test `eval echo '${'$as_ac_var'}'` = yes; then
28700 cat >>confdefs.h
<<_ACEOF
28701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28709 for ac_header
in sched.h
28711 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28713 echo "$as_me:$LINENO: checking for $ac_header" >&5
28714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28716 echo $ECHO_N "(cached) $ECHO_C" >&6
28718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28721 # Is the header compilable?
28722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28724 cat >conftest.
$ac_ext <<_ACEOF
28725 #line $LINENO "configure"
28728 cat confdefs.h
>>conftest.
$ac_ext
28729 cat >>conftest.
$ac_ext <<_ACEOF
28730 /* end confdefs.h. */
28731 $ac_includes_default
28732 #include <$ac_header>
28734 rm -f conftest.
$ac_objext
28735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28736 (eval $ac_compile) 2>&5
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); } &&
28740 { ac_try
='test -s conftest.$ac_objext'
28741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28742 (eval $ac_try) 2>&5
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); }; }; then
28746 ac_header_compiler
=yes
28748 echo "$as_me: failed program was:" >&5
28749 sed 's/^/| /' conftest.
$ac_ext >&5
28751 ac_header_compiler
=no
28753 rm -f conftest.
$ac_objext conftest.
$ac_ext
28754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28755 echo "${ECHO_T}$ac_header_compiler" >&6
28757 # Is the header present?
28758 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28760 cat >conftest.
$ac_ext <<_ACEOF
28761 #line $LINENO "configure"
28764 cat confdefs.h
>>conftest.
$ac_ext
28765 cat >>conftest.
$ac_ext <<_ACEOF
28766 /* end confdefs.h. */
28767 #include <$ac_header>
28769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28770 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28772 grep -v '^ *+' conftest.er1
>conftest.err
28774 cat conftest.err
>&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } >/dev
/null
; then
28777 if test -s conftest.err
; then
28778 ac_cpp_err
=$ac_c_preproc_warn_flag
28785 if test -z "$ac_cpp_err"; then
28786 ac_header_preproc
=yes
28788 echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.
$ac_ext >&5
28791 ac_header_preproc
=no
28793 rm -f conftest.err conftest.
$ac_ext
28794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28795 echo "${ECHO_T}$ac_header_preproc" >&6
28797 # So? What about this header?
28798 case $ac_header_compiler:$ac_header_preproc in
28800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28801 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28806 ## ------------------------------------ ##
28807 ## Report this to bug-autoconf@gnu.org. ##
28808 ## ------------------------------------ ##
28811 sed "s/^/$as_me: WARNING: /" >&2
28814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28822 ## ------------------------------------ ##
28823 ## Report this to bug-autoconf@gnu.org. ##
28824 ## ------------------------------------ ##
28827 sed "s/^/$as_me: WARNING: /" >&2
28830 echo "$as_me:$LINENO: checking for $ac_header" >&5
28831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28835 eval "$as_ac_Header=$ac_header_preproc"
28837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28842 cat >>confdefs.h
<<_ACEOF
28843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28850 if test "$ac_cv_header_sched_h" = "yes"; then
28851 echo "$as_me:$LINENO: checking for sched_yield" >&5
28852 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28853 if test "${ac_cv_func_sched_yield+set}" = set; then
28854 echo $ECHO_N "(cached) $ECHO_C" >&6
28856 cat >conftest.
$ac_ext <<_ACEOF
28857 #line $LINENO "configure"
28860 cat confdefs.h
>>conftest.
$ac_ext
28861 cat >>conftest.
$ac_ext <<_ACEOF
28862 /* end confdefs.h. */
28863 /* System header to define __stub macros and hopefully few prototypes,
28864 which can conflict with char sched_yield (); below.
28865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28866 <limits.h> exists even on freestanding compilers. */
28868 # include <limits.h>
28870 # include <assert.h>
28872 /* Override any gcc2 internal prototype to avoid an error. */
28877 /* We use char because int might match the return type of a gcc2
28878 builtin and then its argument prototype would still apply. */
28879 char sched_yield ();
28880 /* The GNU C library defines this for functions which it implements
28881 to always fail with ENOSYS. Some functions are actually named
28882 something starting with __ and the normal name is an alias. */
28883 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
28886 char (*f) () = sched_yield;
28895 return f != sched_yield;
28900 rm -f conftest.
$ac_objext conftest
$ac_exeext
28901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28902 (eval $ac_link) 2>&5
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); } &&
28906 { ac_try
='test -s conftest$ac_exeext'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; }; then
28912 ac_cv_func_sched_yield
=yes
28914 echo "$as_me: failed program was:" >&5
28915 sed 's/^/| /' conftest.
$ac_ext >&5
28917 ac_cv_func_sched_yield
=no
28919 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28921 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
28922 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
28923 if test $ac_cv_func_sched_yield = yes; then
28924 cat >>confdefs.h
<<\_ACEOF
28925 #define HAVE_SCHED_YIELD 1
28930 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
28931 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
28932 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
28933 echo $ECHO_N "(cached) $ECHO_C" >&6
28935 ac_check_lib_save_LIBS
=$LIBS
28936 LIBS
="-lposix4 $LIBS"
28937 cat >conftest.
$ac_ext <<_ACEOF
28938 #line $LINENO "configure"
28941 cat confdefs.h
>>conftest.
$ac_ext
28942 cat >>conftest.
$ac_ext <<_ACEOF
28943 /* end confdefs.h. */
28945 /* Override any gcc2 internal prototype to avoid an error. */
28949 /* We use char because int might match the return type of a gcc2
28950 builtin and then its argument prototype would still apply. */
28951 char sched_yield ();
28960 rm -f conftest.
$ac_objext conftest
$ac_exeext
28961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28962 (eval $ac_link) 2>&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try
='test -s conftest$ac_exeext'
28967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28968 (eval $ac_try) 2>&5
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); }; }; then
28972 ac_cv_lib_posix4_sched_yield
=yes
28974 echo "$as_me: failed program was:" >&5
28975 sed 's/^/| /' conftest.
$ac_ext >&5
28977 ac_cv_lib_posix4_sched_yield
=no
28979 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28980 LIBS
=$ac_check_lib_save_LIBS
28982 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
28983 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
28984 if test $ac_cv_lib_posix4_sched_yield = yes; then
28985 cat >>confdefs.h
<<\_ACEOF
28986 #define HAVE_SCHED_YIELD 1
28988 POSIX4_LINK
=" -lposix4"
28990 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
28991 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29002 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29003 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29004 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29005 echo $ECHO_N "(cached) $ECHO_C" >&6
29007 cat >conftest.
$ac_ext <<_ACEOF
29008 #line $LINENO "configure"
29011 cat confdefs.h
>>conftest.
$ac_ext
29012 cat >>conftest.
$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29014 /* System header to define __stub macros and hopefully few prototypes,
29015 which can conflict with char pthread_attr_getschedpolicy (); below.
29016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29017 <limits.h> exists even on freestanding compilers. */
29019 # include <limits.h>
29021 # include <assert.h>
29023 /* Override any gcc2 internal prototype to avoid an error. */
29028 /* We use char because int might match the return type of a gcc2
29029 builtin and then its argument prototype would still apply. */
29030 char pthread_attr_getschedpolicy ();
29031 /* The GNU C library defines this for functions which it implements
29032 to always fail with ENOSYS. Some functions are actually named
29033 something starting with __ and the normal name is an alias. */
29034 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29037 char (*f) () = pthread_attr_getschedpolicy;
29046 return f != pthread_attr_getschedpolicy;
29051 rm -f conftest.
$ac_objext conftest
$ac_exeext
29052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29053 (eval $ac_link) 2>&5
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); } &&
29057 { ac_try
='test -s conftest$ac_exeext'
29058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29059 (eval $ac_try) 2>&5
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); }; }; then
29063 ac_cv_func_pthread_attr_getschedpolicy
=yes
29065 echo "$as_me: failed program was:" >&5
29066 sed 's/^/| /' conftest.
$ac_ext >&5
29068 ac_cv_func_pthread_attr_getschedpolicy
=no
29070 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29072 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29073 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29074 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29075 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29076 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29077 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29078 echo $ECHO_N "(cached) $ECHO_C" >&6
29080 cat >conftest.
$ac_ext <<_ACEOF
29081 #line $LINENO "configure"
29084 cat confdefs.h
>>conftest.
$ac_ext
29085 cat >>conftest.
$ac_ext <<_ACEOF
29086 /* end confdefs.h. */
29087 /* System header to define __stub macros and hopefully few prototypes,
29088 which can conflict with char pthread_attr_setschedparam (); below.
29089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29090 <limits.h> exists even on freestanding compilers. */
29092 # include <limits.h>
29094 # include <assert.h>
29096 /* Override any gcc2 internal prototype to avoid an error. */
29101 /* We use char because int might match the return type of a gcc2
29102 builtin and then its argument prototype would still apply. */
29103 char pthread_attr_setschedparam ();
29104 /* The GNU C library defines this for functions which it implements
29105 to always fail with ENOSYS. Some functions are actually named
29106 something starting with __ and the normal name is an alias. */
29107 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29110 char (*f) () = pthread_attr_setschedparam;
29119 return f != pthread_attr_setschedparam;
29124 rm -f conftest.
$ac_objext conftest
$ac_exeext
29125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29126 (eval $ac_link) 2>&5
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); } &&
29130 { ac_try
='test -s conftest$ac_exeext'
29131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29132 (eval $ac_try) 2>&5
29134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29135 (exit $ac_status); }; }; then
29136 ac_cv_func_pthread_attr_setschedparam
=yes
29138 echo "$as_me: failed program was:" >&5
29139 sed 's/^/| /' conftest.
$ac_ext >&5
29141 ac_cv_func_pthread_attr_setschedparam
=no
29143 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29145 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29146 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29147 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29148 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29149 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29150 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29151 echo $ECHO_N "(cached) $ECHO_C" >&6
29153 cat >conftest.
$ac_ext <<_ACEOF
29154 #line $LINENO "configure"
29157 cat confdefs.h
>>conftest.
$ac_ext
29158 cat >>conftest.
$ac_ext <<_ACEOF
29159 /* end confdefs.h. */
29160 /* System header to define __stub macros and hopefully few prototypes,
29161 which can conflict with char sched_get_priority_max (); below.
29162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29163 <limits.h> exists even on freestanding compilers. */
29165 # include <limits.h>
29167 # include <assert.h>
29169 /* Override any gcc2 internal prototype to avoid an error. */
29174 /* We use char because int might match the return type of a gcc2
29175 builtin and then its argument prototype would still apply. */
29176 char sched_get_priority_max ();
29177 /* The GNU C library defines this for functions which it implements
29178 to always fail with ENOSYS. Some functions are actually named
29179 something starting with __ and the normal name is an alias. */
29180 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29183 char (*f) () = sched_get_priority_max;
29192 return f != sched_get_priority_max;
29197 rm -f conftest.
$ac_objext conftest
$ac_exeext
29198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29199 (eval $ac_link) 2>&5
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); } &&
29203 { ac_try
='test -s conftest$ac_exeext'
29204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29205 (eval $ac_try) 2>&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); }; }; then
29209 ac_cv_func_sched_get_priority_max
=yes
29211 echo "$as_me: failed program was:" >&5
29212 sed 's/^/| /' conftest.
$ac_ext >&5
29214 ac_cv_func_sched_get_priority_max
=no
29216 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29218 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29219 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29220 if test $ac_cv_func_sched_get_priority_max = yes; then
29223 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29224 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29225 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29226 echo $ECHO_N "(cached) $ECHO_C" >&6
29228 ac_check_lib_save_LIBS
=$LIBS
29229 LIBS
="-lposix4 $LIBS"
29230 cat >conftest.
$ac_ext <<_ACEOF
29231 #line $LINENO "configure"
29234 cat confdefs.h
>>conftest.
$ac_ext
29235 cat >>conftest.
$ac_ext <<_ACEOF
29236 /* end confdefs.h. */
29238 /* Override any gcc2 internal prototype to avoid an error. */
29242 /* We use char because int might match the return type of a gcc2
29243 builtin and then its argument prototype would still apply. */
29244 char sched_get_priority_max ();
29248 sched_get_priority_max ();
29253 rm -f conftest.
$ac_objext conftest
$ac_exeext
29254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29255 (eval $ac_link) 2>&5
29257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29258 (exit $ac_status); } &&
29259 { ac_try
='test -s conftest$ac_exeext'
29260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29261 (eval $ac_try) 2>&5
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); }; }; then
29265 ac_cv_lib_posix4_sched_get_priority_max
=yes
29267 echo "$as_me: failed program was:" >&5
29268 sed 's/^/| /' conftest.
$ac_ext >&5
29270 ac_cv_lib_posix4_sched_get_priority_max
=no
29272 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29273 LIBS
=$ac_check_lib_save_LIBS
29275 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29276 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29277 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29280 POSIX4_LINK
=" -lposix4"
29294 if test "$HAVE_PRIOR_FUNCS" = 1; then
29295 cat >>confdefs.h
<<\_ACEOF
29296 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29300 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29301 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29304 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29305 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29306 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29307 echo $ECHO_N "(cached) $ECHO_C" >&6
29309 cat >conftest.
$ac_ext <<_ACEOF
29310 #line $LINENO "configure"
29313 cat confdefs.h
>>conftest.
$ac_ext
29314 cat >>conftest.
$ac_ext <<_ACEOF
29315 /* end confdefs.h. */
29316 /* System header to define __stub macros and hopefully few prototypes,
29317 which can conflict with char pthread_cancel (); below.
29318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29319 <limits.h> exists even on freestanding compilers. */
29321 # include <limits.h>
29323 # include <assert.h>
29325 /* Override any gcc2 internal prototype to avoid an error. */
29330 /* We use char because int might match the return type of a gcc2
29331 builtin and then its argument prototype would still apply. */
29332 char pthread_cancel ();
29333 /* The GNU C library defines this for functions which it implements
29334 to always fail with ENOSYS. Some functions are actually named
29335 something starting with __ and the normal name is an alias. */
29336 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29339 char (*f) () = pthread_cancel;
29348 return f != pthread_cancel;
29353 rm -f conftest.
$ac_objext conftest
$ac_exeext
29354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29355 (eval $ac_link) 2>&5
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); } &&
29359 { ac_try
='test -s conftest$ac_exeext'
29360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361 (eval $ac_try) 2>&5
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); }; }; then
29365 ac_cv_func_pthread_cancel
=yes
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.
$ac_ext >&5
29370 ac_cv_func_pthread_cancel
=no
29372 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29374 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29375 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29376 if test $ac_cv_func_pthread_cancel = yes; then
29377 cat >>confdefs.h
<<\_ACEOF
29378 #define HAVE_PTHREAD_CANCEL 1
29382 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29383 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29387 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29388 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29389 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29390 echo $ECHO_N "(cached) $ECHO_C" >&6
29393 cat >conftest.
$ac_ext <<_ACEOF
29394 #line $LINENO "configure"
29397 cat confdefs.h
>>conftest.
$ac_ext
29398 cat >>conftest.
$ac_ext <<_ACEOF
29399 /* end confdefs.h. */
29400 #include <pthread.h>
29405 pthread_cleanup_push(NULL, NULL);
29406 pthread_cleanup_pop(0);
29412 rm -f conftest.
$ac_objext
29413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29414 (eval $ac_compile) 2>&5
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); } &&
29418 { ac_try
='test -s conftest.$ac_objext'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; }; then
29425 wx_cv_func_pthread_cleanup_push
=yes
29428 echo "$as_me: failed program was:" >&5
29429 sed 's/^/| /' conftest.
$ac_ext >&5
29432 wx_cv_func_pthread_cleanup_push
=no
29435 rm -f conftest.
$ac_objext conftest.
$ac_ext
29438 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29439 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29441 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29442 cat >>confdefs.h
<<\_ACEOF
29443 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29449 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29450 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29451 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29452 echo $ECHO_N "(cached) $ECHO_C" >&6
29455 cat >conftest.
$ac_ext <<_ACEOF
29456 #line $LINENO "configure"
29459 cat confdefs.h
>>conftest.
$ac_ext
29460 cat >>conftest.
$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29462 #include <pthread.h>
29467 pthread_mutexattr_t attr;
29468 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29474 rm -f conftest.
$ac_objext
29475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29476 (eval $ac_compile) 2>&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try
='test -s conftest.$ac_objext'
29481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29482 (eval $ac_try) 2>&5
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); }; }; then
29487 wx_cv_type_pthread_mutexattr_t
=yes
29490 echo "$as_me: failed program was:" >&5
29491 sed 's/^/| /' conftest.
$ac_ext >&5
29494 wx_cv_type_pthread_mutexattr_t
=no
29498 rm -f conftest.
$ac_objext conftest.
$ac_ext
29501 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29502 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29504 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29505 cat >>confdefs.h
<<\_ACEOF
29506 #define HAVE_PTHREAD_MUTEXATTR_T 1
29510 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29511 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29512 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29513 echo $ECHO_N "(cached) $ECHO_C" >&6
29516 cat >conftest.
$ac_ext <<_ACEOF
29517 #line $LINENO "configure"
29520 cat confdefs.h
>>conftest.
$ac_ext
29521 cat >>conftest.
$ac_ext <<_ACEOF
29522 /* end confdefs.h. */
29523 #include <pthread.h>
29528 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29534 rm -f conftest.
$ac_objext
29535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29536 (eval $ac_compile) 2>&5
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); } &&
29540 { ac_try
='test -s conftest.$ac_objext'
29541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29542 (eval $ac_try) 2>&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); }; }; then
29547 wx_cv_type_pthread_rec_mutex_init
=yes
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.
$ac_ext >&5
29554 wx_cv_type_pthread_rec_mutex_init
=no
29558 rm -f conftest.
$ac_objext conftest.
$ac_ext
29561 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29562 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29563 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29564 cat >>confdefs.h
<<\_ACEOF
29565 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29569 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29570 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29576 if test "$wxUSE_THREADS" = "yes" ; then
29579 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29580 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29581 if test "${wx_cv_cflags_mthread+set}" = set; then
29582 echo $ECHO_N "(cached) $ECHO_C" >&6
29585 CFLAGS_OLD
="$CFLAGS"
29586 CFLAGS
="$CFLAGS -mthreads"
29587 cat >conftest.
$ac_ext <<_ACEOF
29588 #line $LINENO "configure"
29591 cat confdefs.h
>>conftest.
$ac_ext
29592 cat >>conftest.
$ac_ext <<_ACEOF
29593 /* end confdefs.h. */
29603 rm -f conftest.
$ac_objext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29605 (eval $ac_compile) 2>&5
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); } &&
29609 { ac_try
='test -s conftest.$ac_objext'
29610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611 (eval $ac_try) 2>&5
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); }; }; then
29615 wx_cv_cflags_mthread
=yes
29617 echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.
$ac_ext >&5
29620 wx_cv_cflags_mthread
=no
29623 rm -f conftest.
$ac_objext conftest.
$ac_ext
29627 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29628 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29630 if test "$wx_cv_cflags_mthread" = "yes"; then
29631 CXXFLAGS
="$CXXFLAGS -mthreads"
29632 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29633 LDFLAGS
="$LDFLAGS -mthreads"
29635 CFLAGS
="$CFLAGS_OLD"
29642 if test "$wxUSE_THREADS" = "yes"; then
29643 cat >>confdefs.h
<<\_ACEOF
29644 #define wxUSE_THREADS 1
29648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
29650 if test "$ac_cv_func_strtok_r" = "yes"; then
29651 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29652 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29653 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29654 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
29655 echo "$as_me:$LINENO: result: yes" >&5
29656 echo "${ECHO_T}yes" >&6
29658 echo "$as_me:$LINENO: result: no" >&5
29659 echo "${ECHO_T}no" >&6
29664 if test "$WXGTK20" = 1 ; then
29665 cat >>confdefs.h
<<_ACEOF
29666 #define __WXGTK20__ $WXGTK20
29672 if test "$WXGTK12" = 1 ; then
29673 cat >>confdefs.h
<<_ACEOF
29674 #define __WXGTK12__ $WXGTK12
29679 if test "$WXGTK127" = 1 ; then
29680 cat >>confdefs.h
<<_ACEOF
29681 #define __WXGTK127__ $WXGTK127
29688 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29693 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29694 wxUSE_DEBUG_INFO
=yes
29698 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29699 cat >>confdefs.h
<<\_ACEOF
29703 WXDEBUG_DEFINE
="-D__WXDEBUG__"
29705 if test "$wxUSE_GTK" = 1 ; then
29706 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
29710 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29711 cat >>confdefs.h
<<\_ACEOF
29712 #define wxUSE_MEMORY_TRACING 1
29715 cat >>confdefs.h
<<\_ACEOF
29716 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29719 cat >>confdefs.h
<<\_ACEOF
29720 #define wxUSE_DEBUG_NEW_ALWAYS 1
29723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
29726 if test "$wxUSE_DMALLOC" = "yes" ; then
29727 DMALLOC_LIBS
="-ldmalloc"
29731 if test "$wxUSE_PROFILE" = "yes" ; then
29736 CODE_GEN_FLAGS_CXX
=
29737 if test "$GCC" = "yes" ; then
29738 if test "$wxUSE_NO_RTTI" = "yes" ; then
29739 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
29741 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29742 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29744 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29745 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
29747 if test "$USE_WIN32" = 1 ; then
29748 # I'm not even really sure what this was ever added to solve,
29749 # but someone added it for mingw native builds, so I guess
29750 # they had a reason, right??
29751 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29756 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
29759 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
29765 if test "$wxUSE_OPTIMISE" = "no" ; then
29766 if test "$GCC" = yes ; then
29770 if test "$GCC" = yes ; then
29774 i586
-*-*|i686
-*-* )
29775 OPTIMISE
="${OPTIMISE} "
29784 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29785 cat >>confdefs.h
<<\_ACEOF
29786 #define WXWIN_COMPATIBILITY_2 1
29790 WXWIN_COMPATIBILITY_2_2
="yes"
29793 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29794 cat >>confdefs.h
<<\_ACEOF
29795 #define WXWIN_COMPATIBILITY_2_2 1
29799 WXWIN_COMPATIBILITY_2_4
="yes"
29802 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29803 cat >>confdefs.h
<<\_ACEOF
29804 #define WXWIN_COMPATIBILITY_2_4 1
29810 if test "$wxUSE_GUI" = "yes"; then
29811 cat >>confdefs.h
<<\_ACEOF
29812 #define wxUSE_GUI 1
29817 cat >>confdefs.h
<<\_ACEOF
29818 #define wxUSE_NOGUI 1
29824 if test "$wxUSE_UNIX" = "yes"; then
29825 cat >>confdefs.h
<<\_ACEOF
29826 #define wxUSE_UNIX 1
29832 if test "$wxUSE_STL" = "yes"; then
29833 cat >>confdefs.h
<<\_ACEOF
29834 #define wxUSE_STL 1
29839 if test "$wxUSE_APPLE_IEEE" = "yes"; then
29840 cat >>confdefs.h
<<\_ACEOF
29841 #define wxUSE_APPLE_IEEE 1
29846 if test "$wxUSE_TIMER" = "yes"; then
29847 cat >>confdefs.h
<<\_ACEOF
29848 #define wxUSE_TIMER 1
29853 if test "$wxUSE_WAVE" = "yes"; then
29854 cat >>confdefs.h
<<\_ACEOF
29855 #define wxUSE_WAVE 1
29860 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29861 cat >>confdefs.h
<<\_ACEOF
29862 #define wxUSE_CMDLINE_PARSER 1
29867 if test "$wxUSE_STOPWATCH" = "yes"; then
29868 cat >>confdefs.h
<<\_ACEOF
29869 #define wxUSE_STOPWATCH 1
29874 if test "$wxUSE_DATETIME" = "yes"; then
29875 cat >>confdefs.h
<<\_ACEOF
29876 #define wxUSE_DATETIME 1
29881 if test "$wxUSE_FILE" = "yes"; then
29882 cat >>confdefs.h
<<\_ACEOF
29883 #define wxUSE_FILE 1
29888 if test "$wxUSE_FFILE" = "yes"; then
29889 cat >>confdefs.h
<<\_ACEOF
29890 #define wxUSE_FFILE 1
29895 if test "$wxUSE_FILESYSTEM" = "yes"; then
29896 cat >>confdefs.h
<<\_ACEOF
29897 #define wxUSE_FILESYSTEM 1
29902 if test "$wxUSE_FS_INET" = "yes"; then
29903 cat >>confdefs.h
<<\_ACEOF
29904 #define wxUSE_FS_INET 1
29909 if test "$wxUSE_FS_ZIP" = "yes"; then
29910 cat >>confdefs.h
<<\_ACEOF
29911 #define wxUSE_FS_ZIP 1
29916 if test "$wxUSE_ZIPSTREAM" = "yes"; then
29917 cat >>confdefs.h
<<\_ACEOF
29918 #define wxUSE_ZIPSTREAM 1
29923 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29924 cat >>confdefs.h
<<\_ACEOF
29925 #define wxUSE_ON_FATAL_EXCEPTION 1
29930 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29931 cat >>confdefs.h
<<\_ACEOF
29932 #define wxUSE_SNGLINST_CHECKER 1
29937 if test "$wxUSE_BUSYINFO" = "yes"; then
29938 cat >>confdefs.h
<<\_ACEOF
29939 #define wxUSE_BUSYINFO 1
29944 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
29945 cat >>confdefs.h
<<\_ACEOF
29946 #define wxUSE_STD_IOSTREAM 1
29951 if test "$wxUSE_TEXTBUFFER" = "yes"; then
29952 cat >>confdefs.h
<<\_ACEOF
29953 #define wxUSE_TEXTBUFFER 1
29958 if test "$wxUSE_TEXTFILE" = "yes"; then
29959 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
29960 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
29961 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
29963 cat >>confdefs.h
<<\_ACEOF
29964 #define wxUSE_TEXTFILE 1
29970 if test "$wxUSE_CONFIG" = "yes" ; then
29971 if test "$wxUSE_TEXTFILE" != "yes"; then
29972 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
29973 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
29975 cat >>confdefs.h
<<\_ACEOF
29976 #define wxUSE_CONFIG 1
29979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
29983 if test "$wxUSE_INTL" = "yes" ; then
29984 if test "$wxUSE_FILE" != "yes"; then
29985 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
29986 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
29988 cat >>confdefs.h
<<\_ACEOF
29989 #define wxUSE_INTL 1
29992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
29993 GUIDIST
="$GUIDIST INTL_DIST"
29997 if test "$wxUSE_LOG" = "yes"; then
29998 cat >>confdefs.h
<<\_ACEOF
29999 #define wxUSE_LOG 1
30003 if test "$wxUSE_LOGGUI" = "yes"; then
30004 cat >>confdefs.h
<<\_ACEOF
30005 #define wxUSE_LOGGUI 1
30010 if test "$wxUSE_LOGWINDOW" = "yes"; then
30011 cat >>confdefs.h
<<\_ACEOF
30012 #define wxUSE_LOGWINDOW 1
30017 if test "$wxUSE_LOGDIALOG" = "yes"; then
30018 cat >>confdefs.h
<<\_ACEOF
30019 #define wxUSE_LOG_DIALOG 1
30025 if test "$wxUSE_LONGLONG" = "yes"; then
30026 cat >>confdefs.h
<<\_ACEOF
30027 #define wxUSE_LONGLONG 1
30032 if test "$wxUSE_GEOMETRY" = "yes"; then
30033 cat >>confdefs.h
<<\_ACEOF
30034 #define wxUSE_GEOMETRY 1
30039 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30040 cat >>confdefs.h
<<\_ACEOF
30041 #define wxUSE_DIALUP_MANAGER 1
30044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30047 if test "$wxUSE_STREAMS" = "yes" ; then
30048 cat >>confdefs.h
<<\_ACEOF
30049 #define wxUSE_STREAMS 1
30055 if test "$wxUSE_DATETIME" = "yes"; then
30057 for ac_func
in strptime
30059 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30060 echo "$as_me:$LINENO: checking for $ac_func" >&5
30061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30062 if eval "test \"\${$as_ac_var+set}\" = set"; then
30063 echo $ECHO_N "(cached) $ECHO_C" >&6
30065 cat >conftest.
$ac_ext <<_ACEOF
30066 #line $LINENO "configure"
30069 cat confdefs.h
>>conftest.
$ac_ext
30070 cat >>conftest.
$ac_ext <<_ACEOF
30071 /* end confdefs.h. */
30072 /* System header to define __stub macros and hopefully few prototypes,
30073 which can conflict with char $ac_func (); below.
30074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30075 <limits.h> exists even on freestanding compilers. */
30077 # include <limits.h>
30079 # include <assert.h>
30081 /* Override any gcc2 internal prototype to avoid an error. */
30086 /* We use char because int might match the return type of a gcc2
30087 builtin and then its argument prototype would still apply. */
30089 /* The GNU C library defines this for functions which it implements
30090 to always fail with ENOSYS. Some functions are actually named
30091 something starting with __ and the normal name is an alias. */
30092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30095 char (*f) () = $ac_func;
30104 return f != $ac_func;
30109 rm -f conftest.
$ac_objext conftest
$ac_exeext
30110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30111 (eval $ac_link) 2>&5
30113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30114 (exit $ac_status); } &&
30115 { ac_try
='test -s conftest$ac_exeext'
30116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30117 (eval $ac_try) 2>&5
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); }; }; then
30121 eval "$as_ac_var=yes"
30123 echo "$as_me: failed program was:" >&5
30124 sed 's/^/| /' conftest.
$ac_ext >&5
30126 eval "$as_ac_var=no"
30128 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30132 if test `eval echo '${'$as_ac_var'}'` = yes; then
30133 cat >>confdefs.h
<<_ACEOF
30134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30141 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30142 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30143 if test "${wx_cv_var_timezone+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30147 cat >conftest.
$ac_ext <<_ACEOF
30148 #line $LINENO "configure"
30151 cat confdefs.h
>>conftest.
$ac_ext
30152 cat >>conftest.
$ac_ext <<_ACEOF
30153 /* end confdefs.h. */
30168 rm -f conftest.
$ac_objext
30169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30170 (eval $ac_compile) 2>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } &&
30174 { ac_try
='test -s conftest.$ac_objext'
30175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30176 (eval $ac_try) 2>&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; }; then
30181 wx_cv_var_timezone
=timezone
30184 echo "$as_me: failed program was:" >&5
30185 sed 's/^/| /' conftest.
$ac_ext >&5
30188 cat >conftest.
$ac_ext <<_ACEOF
30189 #line $LINENO "configure"
30192 cat confdefs.h
>>conftest.
$ac_ext
30193 cat >>conftest.
$ac_ext <<_ACEOF
30194 /* end confdefs.h. */
30209 rm -f conftest.
$ac_objext
30210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30211 (eval $ac_compile) 2>&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } &&
30215 { ac_try
='test -s conftest.$ac_objext'
30216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30217 (eval $ac_try) 2>&5
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; }; then
30222 wx_cv_var_timezone
=_timezone
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.
$ac_ext >&5
30229 cat >conftest.
$ac_ext <<_ACEOF
30230 #line $LINENO "configure"
30233 cat confdefs.h
>>conftest.
$ac_ext
30234 cat >>conftest.
$ac_ext <<_ACEOF
30235 /* end confdefs.h. */
30250 rm -f conftest.
$ac_objext
30251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30252 (eval $ac_compile) 2>&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); } &&
30256 { ac_try
='test -s conftest.$ac_objext'
30257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30258 (eval $ac_try) 2>&5
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); }; }; then
30263 wx_cv_var_timezone
=__timezone
30266 echo "$as_me: failed program was:" >&5
30267 sed 's/^/| /' conftest.
$ac_ext >&5
30270 if test "$USE_DOS" = 0 ; then
30271 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30272 echo "$as_me: WARNING: no timezone variable" >&2;}
30277 rm -f conftest.
$ac_objext conftest.
$ac_ext
30281 rm -f conftest.
$ac_objext conftest.
$ac_ext
30285 rm -f conftest.
$ac_objext conftest.
$ac_ext
30289 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30290 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30292 if test "x$wx_cv_var_timezone" != x
; then
30293 cat >>confdefs.h
<<_ACEOF
30294 #define WX_TIMEZONE $wx_cv_var_timezone
30300 for ac_func
in localtime
30302 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30303 echo "$as_me:$LINENO: checking for $ac_func" >&5
30304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30305 if eval "test \"\${$as_ac_var+set}\" = set"; then
30306 echo $ECHO_N "(cached) $ECHO_C" >&6
30308 cat >conftest.
$ac_ext <<_ACEOF
30309 #line $LINENO "configure"
30312 cat confdefs.h
>>conftest.
$ac_ext
30313 cat >>conftest.
$ac_ext <<_ACEOF
30314 /* end confdefs.h. */
30315 /* System header to define __stub macros and hopefully few prototypes,
30316 which can conflict with char $ac_func (); below.
30317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30318 <limits.h> exists even on freestanding compilers. */
30320 # include <limits.h>
30322 # include <assert.h>
30324 /* Override any gcc2 internal prototype to avoid an error. */
30329 /* We use char because int might match the return type of a gcc2
30330 builtin and then its argument prototype would still apply. */
30332 /* The GNU C library defines this for functions which it implements
30333 to always fail with ENOSYS. Some functions are actually named
30334 something starting with __ and the normal name is an alias. */
30335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30338 char (*f) () = $ac_func;
30347 return f != $ac_func;
30352 rm -f conftest.
$ac_objext conftest
$ac_exeext
30353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30354 (eval $ac_link) 2>&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); } &&
30358 { ac_try
='test -s conftest$ac_exeext'
30359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30360 (eval $ac_try) 2>&5
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); }; }; then
30364 eval "$as_ac_var=yes"
30366 echo "$as_me: failed program was:" >&5
30367 sed 's/^/| /' conftest.
$ac_ext >&5
30369 eval "$as_ac_var=no"
30371 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30375 if test `eval echo '${'$as_ac_var'}'` = yes; then
30376 cat >>confdefs.h
<<_ACEOF
30377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30384 if test "$ac_cv_func_localtime" = "yes"; then
30385 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30386 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30387 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30388 echo $ECHO_N "(cached) $ECHO_C" >&6
30391 cat >conftest.
$ac_ext <<_ACEOF
30392 #line $LINENO "configure"
30395 cat confdefs.h
>>conftest.
$ac_ext
30396 cat >>conftest.
$ac_ext <<_ACEOF
30397 /* end confdefs.h. */
30412 rm -f conftest.
$ac_objext
30413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30414 (eval $ac_compile) 2>&5
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); } &&
30418 { ac_try
='test -s conftest.$ac_objext'
30419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30420 (eval $ac_try) 2>&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); }; }; then
30425 wx_cv_struct_tm_has_gmtoff
=yes
30428 echo "$as_me: failed program was:" >&5
30429 sed 's/^/| /' conftest.
$ac_ext >&5
30431 wx_cv_struct_tm_has_gmtoff
=no
30434 rm -f conftest.
$ac_objext conftest.
$ac_ext
30437 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30438 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30441 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30442 cat >>confdefs.h
<<\_ACEOF
30443 #define WX_GMTOFF_IN_TM 1
30450 for ac_func
in gettimeofday ftime
30452 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30453 echo "$as_me:$LINENO: checking for $ac_func" >&5
30454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30455 if eval "test \"\${$as_ac_var+set}\" = set"; then
30456 echo $ECHO_N "(cached) $ECHO_C" >&6
30458 cat >conftest.
$ac_ext <<_ACEOF
30459 #line $LINENO "configure"
30462 cat confdefs.h
>>conftest.
$ac_ext
30463 cat >>conftest.
$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465 /* System header to define __stub macros and hopefully few prototypes,
30466 which can conflict with char $ac_func (); below.
30467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30468 <limits.h> exists even on freestanding compilers. */
30470 # include <limits.h>
30472 # include <assert.h>
30474 /* Override any gcc2 internal prototype to avoid an error. */
30479 /* We use char because int might match the return type of a gcc2
30480 builtin and then its argument prototype would still apply. */
30482 /* The GNU C library defines this for functions which it implements
30483 to always fail with ENOSYS. Some functions are actually named
30484 something starting with __ and the normal name is an alias. */
30485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30488 char (*f) () = $ac_func;
30497 return f != $ac_func;
30502 rm -f conftest.
$ac_objext conftest
$ac_exeext
30503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30504 (eval $ac_link) 2>&5
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); } &&
30508 { ac_try
='test -s conftest$ac_exeext'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; }; then
30514 eval "$as_ac_var=yes"
30516 echo "$as_me: failed program was:" >&5
30517 sed 's/^/| /' conftest.
$ac_ext >&5
30519 eval "$as_ac_var=no"
30521 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30525 if test `eval echo '${'$as_ac_var'}'` = yes; then
30526 cat >>confdefs.h
<<_ACEOF
30527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30534 if test "$ac_cv_func_gettimeofday" = "yes"; then
30535 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30536 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30537 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30538 echo $ECHO_N "(cached) $ECHO_C" >&6
30544 ac_cpp
='$CXXCPP $CPPFLAGS'
30545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30550 cat >conftest.
$ac_ext <<_ACEOF
30551 #line $LINENO "configure"
30554 cat confdefs.h
>>conftest.
$ac_ext
30555 cat >>conftest.
$ac_ext <<_ACEOF
30556 /* end confdefs.h. */
30558 #include <sys/time.h>
30559 #include <unistd.h>
30566 gettimeofday(&tv, NULL);
30572 rm -f conftest.
$ac_objext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30574 (eval $ac_compile) 2>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } &&
30578 { ac_try
='test -s conftest.$ac_objext'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30584 wx_cv_func_gettimeofday_has_2_args
=yes
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.
$ac_ext >&5
30589 cat >conftest.
$ac_ext <<_ACEOF
30590 #line $LINENO "configure"
30593 cat confdefs.h
>>conftest.
$ac_ext
30594 cat >>conftest.
$ac_ext <<_ACEOF
30595 /* end confdefs.h. */
30597 #include <sys/time.h>
30598 #include <unistd.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
30623 wx_cv_func_gettimeofday_has_2_args
=no
30625 echo "$as_me: failed program was:" >&5
30626 sed 's/^/| /' conftest.
$ac_ext >&5
30629 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30630 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30631 wx_cv_func_gettimeofday_has_2_args
=unknown
30635 rm -f conftest.
$ac_objext conftest.
$ac_ext
30638 rm -f conftest.
$ac_objext conftest.
$ac_ext
30640 ac_cpp
='$CPP $CPPFLAGS'
30641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30647 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30648 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30650 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30651 cat >>confdefs.h
<<\_ACEOF
30652 #define WX_GETTIMEOFDAY_NO_TZ 1
30658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30662 if test "$wxUSE_SOCKETS" = "yes"; then
30663 if test "$wxUSE_MGL" = "1"; then
30664 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30665 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30670 if test "$wxUSE_SOCKETS" = "yes"; then
30671 if test "$TOOLKIT" != "MSW"; then
30672 echo "$as_me:$LINENO: checking for socket" >&5
30673 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30674 if test "${ac_cv_func_socket+set}" = set; then
30675 echo $ECHO_N "(cached) $ECHO_C" >&6
30677 cat >conftest.
$ac_ext <<_ACEOF
30678 #line $LINENO "configure"
30681 cat confdefs.h
>>conftest.
$ac_ext
30682 cat >>conftest.
$ac_ext <<_ACEOF
30683 /* end confdefs.h. */
30684 /* System header to define __stub macros and hopefully few prototypes,
30685 which can conflict with char socket (); below.
30686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30687 <limits.h> exists even on freestanding compilers. */
30689 # include <limits.h>
30691 # include <assert.h>
30693 /* Override any gcc2 internal prototype to avoid an error. */
30698 /* We use char because int might match the return type of a gcc2
30699 builtin and then its argument prototype would still apply. */
30701 /* The GNU C library defines this for functions which it implements
30702 to always fail with ENOSYS. Some functions are actually named
30703 something starting with __ and the normal name is an alias. */
30704 #if defined (__stub_socket) || defined (__stub___socket)
30707 char (*f) () = socket;
30716 return f != socket;
30721 rm -f conftest.
$ac_objext conftest
$ac_exeext
30722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30723 (eval $ac_link) 2>&5
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); } &&
30727 { ac_try
='test -s conftest$ac_exeext'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; }; then
30733 ac_cv_func_socket
=yes
30735 echo "$as_me: failed program was:" >&5
30736 sed 's/^/| /' conftest.
$ac_ext >&5
30738 ac_cv_func_socket
=no
30740 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30742 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30743 echo "${ECHO_T}$ac_cv_func_socket" >&6
30744 if test $ac_cv_func_socket = yes; then
30747 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30748 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30749 if test "${ac_cv_lib_socket_socket+set}" = set; then
30750 echo $ECHO_N "(cached) $ECHO_C" >&6
30752 ac_check_lib_save_LIBS
=$LIBS
30753 LIBS
="-lsocket $LIBS"
30754 cat >conftest.
$ac_ext <<_ACEOF
30755 #line $LINENO "configure"
30758 cat confdefs.h
>>conftest.
$ac_ext
30759 cat >>conftest.
$ac_ext <<_ACEOF
30760 /* end confdefs.h. */
30762 /* Override any gcc2 internal prototype to avoid an error. */
30766 /* We use char because int might match the return type of a gcc2
30767 builtin and then its argument prototype would still apply. */
30777 rm -f conftest.
$ac_objext conftest
$ac_exeext
30778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30779 (eval $ac_link) 2>&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); } &&
30783 { ac_try
='test -s conftest$ac_exeext'
30784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30785 (eval $ac_try) 2>&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); }; }; then
30789 ac_cv_lib_socket_socket
=yes
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.
$ac_ext >&5
30794 ac_cv_lib_socket_socket
=no
30796 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30797 LIBS
=$ac_check_lib_save_LIBS
30799 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30800 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30801 if test $ac_cv_lib_socket_socket = yes; then
30802 if test "$INET_LINK" != " -lsocket"; then
30803 INET_LINK
="$INET_LINK -lsocket"
30807 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30808 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30820 if test "$wxUSE_SOCKETS" = "yes" ; then
30821 if test "$TOOLKIT" != "MSW"; then
30822 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30823 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30824 if test "${wx_cv_type_getsockname3+set}" = set; then
30825 echo $ECHO_N "(cached) $ECHO_C" >&6
30828 cat >conftest.
$ac_ext <<_ACEOF
30829 #line $LINENO "configure"
30832 cat confdefs.h
>>conftest.
$ac_ext
30833 cat >>conftest.
$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30836 #include <sys/types.h>
30837 #include <sys/socket.h>
30844 getsockname(0, 0, &len);
30850 rm -f conftest.
$ac_objext
30851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30852 (eval $ac_compile) 2>&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } &&
30856 { ac_try
='test -s conftest.$ac_objext'
30857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30858 (eval $ac_try) 2>&5
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); }; }; then
30862 wx_cv_type_getsockname3
=socklen_t
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.
$ac_ext >&5
30868 CFLAGS_OLD
="$CFLAGS"
30869 if test "$GCC" = yes ; then
30870 CFLAGS
="$CFLAGS -Werror"
30873 cat >conftest.
$ac_ext <<_ACEOF
30874 #line $LINENO "configure"
30877 cat confdefs.h
>>conftest.
$ac_ext
30878 cat >>conftest.
$ac_ext <<_ACEOF
30879 /* end confdefs.h. */
30881 #include <sys/types.h>
30882 #include <sys/socket.h>
30889 getsockname(0, 0, &len);
30895 rm -f conftest.
$ac_objext
30896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30897 (eval $ac_compile) 2>&5
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); } &&
30901 { ac_try
='test -s conftest.$ac_objext'
30902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30903 (eval $ac_try) 2>&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); }; }; then
30907 wx_cv_type_getsockname3
=size_t
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.
$ac_ext >&5
30912 cat >conftest.
$ac_ext <<_ACEOF
30913 #line $LINENO "configure"
30916 cat confdefs.h
>>conftest.
$ac_ext
30917 cat >>conftest.
$ac_ext <<_ACEOF
30918 /* end confdefs.h. */
30920 #include <sys/types.h>
30921 #include <sys/socket.h>
30928 getsockname(0, 0, &len);
30934 rm -f conftest.
$ac_objext
30935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30936 (eval $ac_compile) 2>&5
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); } &&
30940 { ac_try
='test -s conftest.$ac_objext'
30941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30942 (eval $ac_try) 2>&5
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); }; }; then
30946 wx_cv_type_getsockname3
=int
30948 echo "$as_me: failed program was:" >&5
30949 sed 's/^/| /' conftest.
$ac_ext >&5
30951 wx_cv_type_getsockname3
=unknown
30954 rm -f conftest.
$ac_objext conftest.
$ac_ext
30957 rm -f conftest.
$ac_objext conftest.
$ac_ext
30959 CFLAGS
="$CFLAGS_OLD"
30963 rm -f conftest.
$ac_objext conftest.
$ac_ext
30966 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
30967 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
30969 if test "$wx_cv_type_getsockname3" = "unknown"; then
30971 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
30972 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
30974 cat >>confdefs.h
<<_ACEOF
30975 #define SOCKLEN_T $wx_cv_type_getsockname3
30982 if test "$wxUSE_SOCKETS" = "yes" ; then
30983 cat >>confdefs.h
<<\_ACEOF
30984 #define wxUSE_SOCKETS 1
30987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
30991 if test "$wxUSE_GUI" = "yes"; then
30993 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
30994 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
30995 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
30998 if test "$TOOLKIT" = "MOTIF"; then
30999 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31000 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31003 if test "$TOOLKIT" = "X11"; then
31004 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31005 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31009 if test "$TOOLKIT" != "MSW"; then
31010 if test "$wxUSE_JOYSTICK" = "yes"; then
31012 for ac_header
in linux
/joystick.h
31014 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31016 echo "$as_me:$LINENO: checking for $ac_header" >&5
31017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31019 echo $ECHO_N "(cached) $ECHO_C" >&6
31021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31024 # Is the header compilable?
31025 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31027 cat >conftest.
$ac_ext <<_ACEOF
31028 #line $LINENO "configure"
31031 cat confdefs.h
>>conftest.
$ac_ext
31032 cat >>conftest.
$ac_ext <<_ACEOF
31033 /* end confdefs.h. */
31034 $ac_includes_default
31035 #include <$ac_header>
31037 rm -f conftest.
$ac_objext
31038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31039 (eval $ac_compile) 2>&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } &&
31043 { ac_try
='test -s conftest.$ac_objext'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; }; then
31049 ac_header_compiler
=yes
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.
$ac_ext >&5
31054 ac_header_compiler
=no
31056 rm -f conftest.
$ac_objext conftest.
$ac_ext
31057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31058 echo "${ECHO_T}$ac_header_compiler" >&6
31060 # Is the header present?
31061 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31062 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31063 cat >conftest.
$ac_ext <<_ACEOF
31064 #line $LINENO "configure"
31067 cat confdefs.h
>>conftest.
$ac_ext
31068 cat >>conftest.
$ac_ext <<_ACEOF
31069 /* end confdefs.h. */
31070 #include <$ac_header>
31072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31075 grep -v '^ *+' conftest.er1
>conftest.err
31077 cat conftest.err
>&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); } >/dev
/null
; then
31080 if test -s conftest.err
; then
31081 ac_cpp_err
=$ac_c_preproc_warn_flag
31088 if test -z "$ac_cpp_err"; then
31089 ac_header_preproc
=yes
31091 echo "$as_me: failed program was:" >&5
31092 sed 's/^/| /' conftest.
$ac_ext >&5
31094 ac_header_preproc
=no
31096 rm -f conftest.err conftest.
$ac_ext
31097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31098 echo "${ECHO_T}$ac_header_preproc" >&6
31100 # So? What about this header?
31101 case $ac_header_compiler:$ac_header_preproc in
31103 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31109 ## ------------------------------------ ##
31110 ## Report this to bug-autoconf@gnu.org. ##
31111 ## ------------------------------------ ##
31114 sed "s/^/$as_me: WARNING: /" >&2
31117 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31118 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31119 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31120 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31125 ## ------------------------------------ ##
31126 ## Report this to bug-autoconf@gnu.org. ##
31127 ## ------------------------------------ ##
31130 sed "s/^/$as_me: WARNING: /" >&2
31133 echo "$as_me:$LINENO: checking for $ac_header" >&5
31134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31136 echo $ECHO_N "(cached) $ECHO_C" >&6
31138 eval "$as_ac_Header=$ac_header_preproc"
31140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31145 cat >>confdefs.h
<<_ACEOF
31146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31153 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31155 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31156 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31161 if test "$wxUSE_JOYSTICK" = "yes"; then
31162 cat >>confdefs.h
<<\_ACEOF
31163 #define wxUSE_JOYSTICK 1
31166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31171 if test "$TOOLKIT" != "MSW"; then
31175 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31176 if test "$USE_DARWIN" = 1; then
31180 for ac_func
in dlopen
31182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31183 echo "$as_me:$LINENO: checking for $ac_func" >&5
31184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31185 if eval "test \"\${$as_ac_var+set}\" = set"; then
31186 echo $ECHO_N "(cached) $ECHO_C" >&6
31188 cat >conftest.
$ac_ext <<_ACEOF
31189 #line $LINENO "configure"
31192 cat confdefs.h
>>conftest.
$ac_ext
31193 cat >>conftest.
$ac_ext <<_ACEOF
31194 /* end confdefs.h. */
31195 /* System header to define __stub macros and hopefully few prototypes,
31196 which can conflict with char $ac_func (); below.
31197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31198 <limits.h> exists even on freestanding compilers. */
31200 # include <limits.h>
31202 # include <assert.h>
31204 /* Override any gcc2 internal prototype to avoid an error. */
31209 /* We use char because int might match the return type of a gcc2
31210 builtin and then its argument prototype would still apply. */
31212 /* The GNU C library defines this for functions which it implements
31213 to always fail with ENOSYS. Some functions are actually named
31214 something starting with __ and the normal name is an alias. */
31215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31218 char (*f) () = $ac_func;
31227 return f != $ac_func;
31232 rm -f conftest.
$ac_objext conftest
$ac_exeext
31233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31234 (eval $ac_link) 2>&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); } &&
31238 { ac_try
='test -s conftest$ac_exeext'
31239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31240 (eval $ac_try) 2>&5
31242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31243 (exit $ac_status); }; }; then
31244 eval "$as_ac_var=yes"
31246 echo "$as_me: failed program was:" >&5
31247 sed 's/^/| /' conftest.
$ac_ext >&5
31249 eval "$as_ac_var=no"
31251 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31255 if test `eval echo '${'$as_ac_var'}'` = yes; then
31256 cat >>confdefs.h
<<_ACEOF
31257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31260 cat >>confdefs.h
<<\_ACEOF
31261 #define HAVE_DLOPEN 1
31268 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31269 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31270 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31271 echo $ECHO_N "(cached) $ECHO_C" >&6
31273 ac_check_lib_save_LIBS
=$LIBS
31275 cat >conftest.
$ac_ext <<_ACEOF
31276 #line $LINENO "configure"
31279 cat confdefs.h
>>conftest.
$ac_ext
31280 cat >>conftest.
$ac_ext <<_ACEOF
31281 /* end confdefs.h. */
31283 /* Override any gcc2 internal prototype to avoid an error. */
31287 /* We use char because int might match the return type of a gcc2
31288 builtin and then its argument prototype would still apply. */
31298 rm -f conftest.
$ac_objext conftest
$ac_exeext
31299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31300 (eval $ac_link) 2>&5
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); } &&
31304 { ac_try
='test -s conftest$ac_exeext'
31305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31306 (eval $ac_try) 2>&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); }; }; then
31310 ac_cv_lib_dl_dlopen
=yes
31312 echo "$as_me: failed program was:" >&5
31313 sed 's/^/| /' conftest.
$ac_ext >&5
31315 ac_cv_lib_dl_dlopen
=no
31317 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31318 LIBS
=$ac_check_lib_save_LIBS
31320 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31321 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31322 if test $ac_cv_lib_dl_dlopen = yes; then
31324 cat >>confdefs.h
<<\_ACEOF
31325 #define HAVE_DLOPEN 1
31329 DL_LINK
=" -ldl$DL_LINK"
31334 for ac_func
in shl_load
31336 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31337 echo "$as_me:$LINENO: checking for $ac_func" >&5
31338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31339 if eval "test \"\${$as_ac_var+set}\" = set"; then
31340 echo $ECHO_N "(cached) $ECHO_C" >&6
31342 cat >conftest.
$ac_ext <<_ACEOF
31343 #line $LINENO "configure"
31346 cat confdefs.h
>>conftest.
$ac_ext
31347 cat >>conftest.
$ac_ext <<_ACEOF
31348 /* end confdefs.h. */
31349 /* System header to define __stub macros and hopefully few prototypes,
31350 which can conflict with char $ac_func (); below.
31351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31352 <limits.h> exists even on freestanding compilers. */
31354 # include <limits.h>
31356 # include <assert.h>
31358 /* Override any gcc2 internal prototype to avoid an error. */
31363 /* We use char because int might match the return type of a gcc2
31364 builtin and then its argument prototype would still apply. */
31366 /* The GNU C library defines this for functions which it implements
31367 to always fail with ENOSYS. Some functions are actually named
31368 something starting with __ and the normal name is an alias. */
31369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31372 char (*f) () = $ac_func;
31381 return f != $ac_func;
31386 rm -f conftest.
$ac_objext conftest
$ac_exeext
31387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31388 (eval $ac_link) 2>&5
31390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31391 (exit $ac_status); } &&
31392 { ac_try
='test -s conftest$ac_exeext'
31393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31394 (eval $ac_try) 2>&5
31396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397 (exit $ac_status); }; }; then
31398 eval "$as_ac_var=yes"
31400 echo "$as_me: failed program was:" >&5
31401 sed 's/^/| /' conftest.
$ac_ext >&5
31403 eval "$as_ac_var=no"
31405 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31409 if test `eval echo '${'$as_ac_var'}'` = yes; then
31410 cat >>confdefs.h
<<_ACEOF
31411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31414 cat >>confdefs.h
<<\_ACEOF
31415 #define HAVE_SHL_LOAD 1
31422 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31423 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31424 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31425 echo $ECHO_N "(cached) $ECHO_C" >&6
31427 ac_check_lib_save_LIBS
=$LIBS
31428 LIBS
="-lshl_load $LIBS"
31429 cat >conftest.
$ac_ext <<_ACEOF
31430 #line $LINENO "configure"
31433 cat confdefs.h
>>conftest.
$ac_ext
31434 cat >>conftest.
$ac_ext <<_ACEOF
31435 /* end confdefs.h. */
31437 /* Override any gcc2 internal prototype to avoid an error. */
31441 /* We use char because int might match the return type of a gcc2
31442 builtin and then its argument prototype would still apply. */
31452 rm -f conftest.
$ac_objext conftest
$ac_exeext
31453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31454 (eval $ac_link) 2>&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } &&
31458 { ac_try
='test -s conftest$ac_exeext'
31459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31460 (eval $ac_try) 2>&5
31462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31463 (exit $ac_status); }; }; then
31464 ac_cv_lib_shl_load_dld
=yes
31466 echo "$as_me: failed program was:" >&5
31467 sed 's/^/| /' conftest.
$ac_ext >&5
31469 ac_cv_lib_shl_load_dld
=no
31471 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31472 LIBS
=$ac_check_lib_save_LIBS
31474 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31475 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31476 if test $ac_cv_lib_shl_load_dld = yes; then
31479 DL_LINK
=" -ldld$DL_LINK"
31495 if test "$HAVE_DL_FUNCS" = 1; then
31497 for ac_func
in dlerror
31499 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31500 echo "$as_me:$LINENO: checking for $ac_func" >&5
31501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31502 if eval "test \"\${$as_ac_var+set}\" = set"; then
31503 echo $ECHO_N "(cached) $ECHO_C" >&6
31505 cat >conftest.
$ac_ext <<_ACEOF
31506 #line $LINENO "configure"
31509 cat confdefs.h
>>conftest.
$ac_ext
31510 cat >>conftest.
$ac_ext <<_ACEOF
31511 /* end confdefs.h. */
31512 /* System header to define __stub macros and hopefully few prototypes,
31513 which can conflict with char $ac_func (); below.
31514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31515 <limits.h> exists even on freestanding compilers. */
31517 # include <limits.h>
31519 # include <assert.h>
31521 /* Override any gcc2 internal prototype to avoid an error. */
31526 /* We use char because int might match the return type of a gcc2
31527 builtin and then its argument prototype would still apply. */
31529 /* The GNU C library defines this for functions which it implements
31530 to always fail with ENOSYS. Some functions are actually named
31531 something starting with __ and the normal name is an alias. */
31532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31535 char (*f) () = $ac_func;
31544 return f != $ac_func;
31549 rm -f conftest.
$ac_objext conftest
$ac_exeext
31550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31551 (eval $ac_link) 2>&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); } &&
31555 { ac_try
='test -s conftest$ac_exeext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 eval "$as_ac_var=yes"
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.
$ac_ext >&5
31566 eval "$as_ac_var=no"
31568 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31572 if test `eval echo '${'$as_ac_var'}'` = yes; then
31573 cat >>confdefs.h
<<_ACEOF
31574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31576 cat >>confdefs.h
<<\_ACEOF
31577 #define HAVE_DLERROR 1
31581 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31582 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31583 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31584 echo $ECHO_N "(cached) $ECHO_C" >&6
31586 ac_check_lib_save_LIBS
=$LIBS
31588 cat >conftest.
$ac_ext <<_ACEOF
31589 #line $LINENO "configure"
31592 cat confdefs.h
>>conftest.
$ac_ext
31593 cat >>conftest.
$ac_ext <<_ACEOF
31594 /* end confdefs.h. */
31596 /* Override any gcc2 internal prototype to avoid an error. */
31600 /* We use char because int might match the return type of a gcc2
31601 builtin and then its argument prototype would still apply. */
31611 rm -f conftest.
$ac_objext conftest
$ac_exeext
31612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31613 (eval $ac_link) 2>&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } &&
31617 { ac_try
='test -s conftest$ac_exeext'
31618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619 (eval $ac_try) 2>&5
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); }; }; then
31623 ac_cv_lib_dl_dlerror
=yes
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.
$ac_ext >&5
31628 ac_cv_lib_dl_dlerror
=no
31630 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31631 LIBS
=$ac_check_lib_save_LIBS
31633 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31634 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31635 if test $ac_cv_lib_dl_dlerror = yes; then
31636 cat >>confdefs.h
<<\_ACEOF
31637 #define HAVE_DLERROR 1
31648 if test "$HAVE_DL_FUNCS" = 0; then
31649 if test "$HAVE_SHL_FUNCS" = 0; then
31650 if test "$USE_UNIX" = 1; then
31651 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31652 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31653 wxUSE_DYNAMIC_LOADER
=no
31654 wxUSE_DYNLIB_CLASS
=no
31656 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31657 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31664 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31665 cat >>confdefs.h
<<\_ACEOF
31666 #define wxUSE_DYNAMIC_LOADER 1
31669 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31670 cat >>confdefs.h
<<\_ACEOF
31671 #define wxUSE_DYNLIB_CLASS 1
31677 if test "$wxUSE_FONTMAP" = "yes" ; then
31678 cat >>confdefs.h
<<\_ACEOF
31679 #define wxUSE_FONTMAP 1
31684 if test "$wxUSE_UNICODE" = "yes" ; then
31685 cat >>confdefs.h
<<\_ACEOF
31686 #define wxUSE_UNICODE 1
31690 if test "$wxUSE_MSW" != 1; then
31691 wxUSE_UNICODE_MSLU
=no
31694 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31695 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31696 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31697 if test "${ac_cv_lib_unicows_main+set}" = set; then
31698 echo $ECHO_N "(cached) $ECHO_C" >&6
31700 ac_check_lib_save_LIBS
=$LIBS
31701 LIBS
="-lunicows $LIBS"
31702 cat >conftest.
$ac_ext <<_ACEOF
31703 #line $LINENO "configure"
31706 cat confdefs.h
>>conftest.
$ac_ext
31707 cat >>conftest.
$ac_ext <<_ACEOF
31708 /* end confdefs.h. */
31719 rm -f conftest.
$ac_objext conftest
$ac_exeext
31720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31721 (eval $ac_link) 2>&5
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); } &&
31725 { ac_try
='test -s conftest$ac_exeext'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31731 ac_cv_lib_unicows_main
=yes
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.
$ac_ext >&5
31736 ac_cv_lib_unicows_main
=no
31738 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31739 LIBS
=$ac_check_lib_save_LIBS
31741 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31742 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31743 if test $ac_cv_lib_unicows_main = yes; then
31745 cat >>confdefs.h
<<\_ACEOF
31746 #define wxUSE_UNICODE_MSLU 1
31752 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31753 Applications will only run on Windows NT/2000/XP!" >&5
31754 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31755 Applications will only run on Windows NT/2000/XP!" >&2;}
31756 wxUSE_UNICODE_MSLU
=no
31763 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31764 cat >>confdefs.h
<<\_ACEOF
31765 #define wxUSE_EXPERIMENTAL_PRINTF 1
31771 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31772 cat >>confdefs.h
<<\_ACEOF
31773 #define wxUSE_POSTSCRIPT 1
31778 cat >>confdefs.h
<<\_ACEOF
31779 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31783 cat >>confdefs.h
<<\_ACEOF
31784 #define wxUSE_NORMALIZED_PS_FONTS 1
31789 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31790 cat >>confdefs.h
<<\_ACEOF
31791 #define wxUSE_CONSTRAINTS 1
31794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
31797 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31800 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31801 cat >>confdefs.h
<<\_ACEOF
31802 #define wxUSE_MDI_ARCHITECTURE 1
31805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
31809 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31810 cat >>confdefs.h
<<\_ACEOF
31811 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
31815 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
31820 if test "$wxUSE_HELP" = "yes"; then
31821 cat >>confdefs.h
<<\_ACEOF
31822 #define wxUSE_HELP 1
31825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
31827 if test "$wxUSE_MSW" = 1; then
31828 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31829 cat >>confdefs.h
<<\_ACEOF
31830 #define wxUSE_MS_HTML_HELP 1
31836 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31837 if test "$wxUSE_HTML" = "yes"; then
31838 cat >>confdefs.h
<<\_ACEOF
31839 #define wxUSE_WXHTML_HELP 1
31843 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31844 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31845 wxUSE_WXHTML_HELP
=no
31850 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31851 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31852 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31853 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31855 cat >>confdefs.h
<<\_ACEOF
31856 #define wxUSE_PRINTING_ARCHITECTURE 1
31860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
31863 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31864 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31865 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31866 { (exit 1); exit 1; }; }
31870 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
31871 -o "$wxUSE_CLIPBOARD" = "yes" \
31872 -o "$wxUSE_OLE" = "yes" \
31873 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
31875 for ac_header
in ole2.h
31877 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31879 echo "$as_me:$LINENO: checking for $ac_header" >&5
31880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31882 echo $ECHO_N "(cached) $ECHO_C" >&6
31884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31887 # Is the header compilable?
31888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31890 cat >conftest.
$ac_ext <<_ACEOF
31891 #line $LINENO "configure"
31894 cat confdefs.h
>>conftest.
$ac_ext
31895 cat >>conftest.
$ac_ext <<_ACEOF
31896 /* end confdefs.h. */
31897 $ac_includes_default
31898 #include <$ac_header>
31900 rm -f conftest.
$ac_objext
31901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31902 (eval $ac_compile) 2>&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } &&
31906 { ac_try
='test -s conftest.$ac_objext'
31907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31908 (eval $ac_try) 2>&5
31910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911 (exit $ac_status); }; }; then
31912 ac_header_compiler
=yes
31914 echo "$as_me: failed program was:" >&5
31915 sed 's/^/| /' conftest.
$ac_ext >&5
31917 ac_header_compiler
=no
31919 rm -f conftest.
$ac_objext conftest.
$ac_ext
31920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31921 echo "${ECHO_T}$ac_header_compiler" >&6
31923 # Is the header present?
31924 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31925 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31926 cat >conftest.
$ac_ext <<_ACEOF
31927 #line $LINENO "configure"
31930 cat confdefs.h
>>conftest.
$ac_ext
31931 cat >>conftest.
$ac_ext <<_ACEOF
31932 /* end confdefs.h. */
31933 #include <$ac_header>
31935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31936 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31938 grep -v '^ *+' conftest.er1
>conftest.err
31940 cat conftest.err
>&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } >/dev
/null
; then
31943 if test -s conftest.err
; then
31944 ac_cpp_err
=$ac_c_preproc_warn_flag
31951 if test -z "$ac_cpp_err"; then
31952 ac_header_preproc
=yes
31954 echo "$as_me: failed program was:" >&5
31955 sed 's/^/| /' conftest.
$ac_ext >&5
31957 ac_header_preproc
=no
31959 rm -f conftest.err conftest.
$ac_ext
31960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31961 echo "${ECHO_T}$ac_header_preproc" >&6
31963 # So? What about this header?
31964 case $ac_header_compiler:$ac_header_preproc in
31966 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31967 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31972 ## ------------------------------------ ##
31973 ## Report this to bug-autoconf@gnu.org. ##
31974 ## ------------------------------------ ##
31977 sed "s/^/$as_me: WARNING: /" >&2
31980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31988 ## ------------------------------------ ##
31989 ## Report this to bug-autoconf@gnu.org. ##
31990 ## ------------------------------------ ##
31993 sed "s/^/$as_me: WARNING: /" >&2
31996 echo "$as_me:$LINENO: checking for $ac_header" >&5
31997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31999 echo $ECHO_N "(cached) $ECHO_C" >&6
32001 eval "$as_ac_Header=$ac_header_preproc"
32003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32008 cat >>confdefs.h
<<_ACEOF
32009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32017 if test "$ac_cv_header_ole2_h" = "yes" ; then
32018 if test "$GCC" = yes ; then
32022 ac_cpp
='$CXXCPP $CPPFLAGS'
32023 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32024 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32025 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32028 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32029 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32030 cat >conftest.
$ac_ext <<_ACEOF
32031 #line $LINENO "configure"
32034 cat confdefs.h
>>conftest.
$ac_ext
32035 cat >>conftest.
$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 #include <windows.h>
32047 rm -f conftest.
$ac_objext
32048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32049 (eval $ac_compile) 2>&5
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); } &&
32053 { ac_try
='test -s conftest.$ac_objext'
32054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055 (eval $ac_try) 2>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); }; }; then
32059 echo "$as_me:$LINENO: result: no" >&5
32060 echo "${ECHO_T}no" >&6
32062 echo "$as_me: failed program was:" >&5
32063 sed 's/^/| /' conftest.
$ac_ext >&5
32065 echo "$as_me:$LINENO: result: yes" >&5
32066 echo "${ECHO_T}yes" >&6
32067 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32069 rm -f conftest.
$ac_objext conftest.
$ac_ext
32071 ac_cpp
='$CPP $CPPFLAGS'
32072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32076 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32077 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32078 cat >>confdefs.h
<<\_ACEOF
32079 #define wxUSE_OLE 1
32085 cat >>confdefs.h
<<\_ACEOF
32086 #define wxUSE_DATAOBJ 1
32090 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32091 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32094 wxUSE_DRAG_AND_DROP
=no
32099 if test "$wxUSE_METAFILE" = "yes"; then
32100 cat >>confdefs.h
<<\_ACEOF
32101 #define wxUSE_METAFILE 1
32105 cat >>confdefs.h
<<\_ACEOF
32106 #define wxUSE_ENH_METAFILE 1
32112 if test "$wxUSE_IPC" = "yes"; then
32113 if test "$wxUSE_SOCKETS" != "yes"; then
32114 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32115 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32118 cat >>confdefs.h
<<\_ACEOF
32119 #define wxUSE_IPC 1
32124 if test "$wxUSE_CLIPBOARD" = "yes"; then
32125 if test "$wxUSE_MGL" = 1; then
32126 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32127 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32131 if test "$wxUSE_CLIPBOARD" = "yes"; then
32132 cat >>confdefs.h
<<\_ACEOF
32133 #define wxUSE_CLIPBOARD 1
32137 cat >>confdefs.h
<<\_ACEOF
32138 #define wxUSE_DATAOBJ 1
32144 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32145 if test "$wxUSE_GTK" = 1; then
32146 if test "$WXGTK12" != 1; then
32147 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32148 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32149 wxUSE_DRAG_AND_DROP
=no
32153 if test "$wxUSE_MOTIF" = 1; then
32154 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32155 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32156 wxUSE_DRAG_AND_DROP
=no
32159 if test "$wxUSE_X11" = 1; then
32160 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32161 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32162 wxUSE_DRAG_AND_DROP
=no
32165 if test "$wxUSE_MGL" = 1; then
32166 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32167 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32168 wxUSE_DRAG_AND_DROP
=no
32171 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32172 cat >>confdefs.h
<<\_ACEOF
32173 #define wxUSE_DRAG_AND_DROP 1
32176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32181 if test "$wxUSE_SPLINES" = "yes" ; then
32182 cat >>confdefs.h
<<\_ACEOF
32183 #define wxUSE_SPLINES 1
32190 if test "$wxUSE_CONTROLS" = "yes"; then
32194 if test "$wxUSE_ACCEL" = "yes"; then
32195 cat >>confdefs.h
<<\_ACEOF
32196 #define wxUSE_ACCEL 1
32202 if test "$wxUSE_BUTTON" = "yes"; then
32203 cat >>confdefs.h
<<\_ACEOF
32204 #define wxUSE_BUTTON 1
32210 if test "$wxUSE_BMPBUTTON" = "yes"; then
32211 cat >>confdefs.h
<<\_ACEOF
32212 #define wxUSE_BMPBUTTON 1
32218 if test "$wxUSE_CALCTRL" = "yes"; then
32219 cat >>confdefs.h
<<\_ACEOF
32220 #define wxUSE_CALENDARCTRL 1
32224 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32227 if test "$wxUSE_CARET" = "yes"; then
32228 cat >>confdefs.h
<<\_ACEOF
32229 #define wxUSE_CARET 1
32233 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32236 if test "$wxUSE_COMBOBOX" = "yes"; then
32237 cat >>confdefs.h
<<\_ACEOF
32238 #define wxUSE_COMBOBOX 1
32244 if test "$wxUSE_CHOICE" = "yes"; then
32245 cat >>confdefs.h
<<\_ACEOF
32246 #define wxUSE_CHOICE 1
32252 if test "$wxUSE_CHECKBOX" = "yes"; then
32253 cat >>confdefs.h
<<\_ACEOF
32254 #define wxUSE_CHECKBOX 1
32260 if test "$wxUSE_CHECKLST" = "yes"; then
32261 cat >>confdefs.h
<<\_ACEOF
32262 #define wxUSE_CHECKLISTBOX 1
32266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32269 if test "$wxUSE_DISPLAY" = "yes"; then
32270 cat >>confdefs.h
<<\_ACEOF
32271 #define wxUSE_DISPLAY 1
32274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32277 if test "$wxUSE_GAUGE" = "yes"; then
32278 cat >>confdefs.h
<<\_ACEOF
32279 #define wxUSE_GAUGE 1
32285 if test "$wxUSE_GRID" = "yes"; then
32286 cat >>confdefs.h
<<\_ACEOF
32287 #define wxUSE_GRID 1
32291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32294 if test "$wxUSE_IMAGLIST" = "yes"; then
32295 cat >>confdefs.h
<<\_ACEOF
32296 #define wxUSE_IMAGLIST 1
32301 if test "$wxUSE_LISTBOX" = "yes"; then
32302 cat >>confdefs.h
<<\_ACEOF
32303 #define wxUSE_LISTBOX 1
32309 if test "$wxUSE_LISTCTRL" = "yes"; then
32310 if test "$wxUSE_IMAGLIST" = "yes"; then
32311 cat >>confdefs.h
<<\_ACEOF
32312 #define wxUSE_LISTCTRL 1
32316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32318 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32319 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32323 if test "$wxUSE_NOTEBOOK" = "yes"; then
32324 cat >>confdefs.h
<<\_ACEOF
32325 #define wxUSE_NOTEBOOK 1
32329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32333 if test "$wxUSE_RADIOBOX" = "yes"; then
32334 cat >>confdefs.h
<<\_ACEOF
32335 #define wxUSE_RADIOBOX 1
32341 if test "$wxUSE_RADIOBTN" = "yes"; then
32342 cat >>confdefs.h
<<\_ACEOF
32343 #define wxUSE_RADIOBTN 1
32349 if test "$wxUSE_SASH" = "yes"; then
32350 cat >>confdefs.h
<<\_ACEOF
32351 #define wxUSE_SASH 1
32354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32357 if test "$wxUSE_SCROLLBAR" = "yes"; then
32358 cat >>confdefs.h
<<\_ACEOF
32359 #define wxUSE_SCROLLBAR 1
32363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32366 if test "$wxUSE_SLIDER" = "yes"; then
32367 cat >>confdefs.h
<<\_ACEOF
32368 #define wxUSE_SLIDER 1
32374 if test "$wxUSE_SPINBTN" = "yes"; then
32375 cat >>confdefs.h
<<\_ACEOF
32376 #define wxUSE_SPINBTN 1
32382 if test "$wxUSE_SPINCTRL" = "yes"; then
32383 cat >>confdefs.h
<<\_ACEOF
32384 #define wxUSE_SPINCTRL 1
32390 if test "$wxUSE_SPLITTER" = "yes"; then
32391 cat >>confdefs.h
<<\_ACEOF
32392 #define wxUSE_SPLITTER 1
32395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32398 if test "$wxUSE_STATBMP" = "yes"; then
32399 cat >>confdefs.h
<<\_ACEOF
32400 #define wxUSE_STATBMP 1
32406 if test "$wxUSE_STATBOX" = "yes"; then
32407 cat >>confdefs.h
<<\_ACEOF
32408 #define wxUSE_STATBOX 1
32414 if test "$wxUSE_STATTEXT" = "yes"; then
32415 cat >>confdefs.h
<<\_ACEOF
32416 #define wxUSE_STATTEXT 1
32422 if test "$wxUSE_STATLINE" = "yes"; then
32423 cat >>confdefs.h
<<\_ACEOF
32424 #define wxUSE_STATLINE 1
32430 if test "$wxUSE_STATUSBAR" = "yes"; then
32431 cat >>confdefs.h
<<\_ACEOF
32432 #define wxUSE_STATUSBAR 1
32437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32440 if test "$wxUSE_TABDIALOG" = "yes"; then
32441 cat >>confdefs.h
<<\_ACEOF
32442 #define wxUSE_TAB_DIALOG 1
32445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32448 if test "$wxUSE_TEXTCTRL" = "yes"; then
32449 cat >>confdefs.h
<<\_ACEOF
32450 #define wxUSE_TEXTCTRL 1
32454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32457 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32458 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32459 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32460 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32463 if test "$wxUSE_UNIVERSAL" = "yes"; then
32464 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32465 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32469 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32470 cat >>confdefs.h
<<\_ACEOF
32471 #define wxUSE_TOGGLEBTN 1
32478 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32479 cat >>confdefs.h
<<\_ACEOF
32480 #define wxUSE_TOOLBAR_SIMPLE 1
32483 wxUSE_TOOLBAR
="yes"
32487 if test "$wxUSE_TOOLBAR" = "yes"; then
32488 cat >>confdefs.h
<<\_ACEOF
32489 #define wxUSE_TOOLBAR 1
32494 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32495 wxUSE_TOOLBAR_NATIVE
="yes"
32498 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32499 cat >>confdefs.h
<<\_ACEOF
32500 #define wxUSE_TOOLBAR_NATIVE 1
32506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32509 if test "$wxUSE_TOOLTIPS" = "yes"; then
32510 if test "$wxUSE_MOTIF" = 1; then
32511 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32512 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32514 if test "$wxUSE_UNIVERSAL" = "yes"; then
32515 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32516 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32518 cat >>confdefs.h
<<\_ACEOF
32519 #define wxUSE_TOOLTIPS 1
32526 if test "$wxUSE_TREECTRL" = "yes"; then
32527 if test "$wxUSE_IMAGLIST" = "yes"; then
32528 cat >>confdefs.h
<<\_ACEOF
32529 #define wxUSE_TREECTRL 1
32533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32535 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32536 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32540 if test "$wxUSE_POPUPWIN" = "yes"; then
32541 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32542 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32543 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32545 if test "$wxUSE_MOTIF" = 1; then
32546 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32547 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32549 if test "$wxUSE_PM" = 1; then
32550 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32551 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32553 cat >>confdefs.h
<<\_ACEOF
32554 #define wxUSE_POPUPWIN 1
32564 if test "$wxUSE_TIPWINDOW" = "yes"; then
32565 if test "$wxUSE_PM" = 1; then
32566 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32567 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32569 cat >>confdefs.h
<<\_ACEOF
32570 #define wxUSE_TIPWINDOW 1
32576 if test "$USES_CONTROLS" = 1; then
32577 cat >>confdefs.h
<<\_ACEOF
32578 #define wxUSE_CONTROLS 1
32585 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32586 cat >>confdefs.h
<<\_ACEOF
32587 #define wxUSE_DRAGIMAGE 1
32590 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32593 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32594 cat >>confdefs.h
<<\_ACEOF
32595 #define wxUSE_ACCESSIBILITY 1
32598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32601 if test "$wxUSE_MENUS" = "yes"; then
32602 cat >>confdefs.h
<<\_ACEOF
32603 #define wxUSE_MENUS 1
32606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
32609 if test "$wxUSE_METAFILE" = "yes"; then
32610 cat >>confdefs.h
<<\_ACEOF
32611 #define wxUSE_METAFILE 1
32616 if test "$wxUSE_MIMETYPE" = "yes"; then
32617 cat >>confdefs.h
<<\_ACEOF
32618 #define wxUSE_MIMETYPE 1
32623 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32624 cat >>confdefs.h
<<\_ACEOF
32625 #define wxUSE_SYSTEM_OPTIONS 1
32628 if test "$TOOLKIT" = "MSW"; then
32629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
32634 if test "$wxUSE_PROTOCOL" = "yes"; then
32635 if test "$wxUSE_SOCKETS" != "yes"; then
32636 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32637 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32641 if test "$wxUSE_PROTOCOL" = "yes"; then
32642 cat >>confdefs.h
<<\_ACEOF
32643 #define wxUSE_PROTOCOL 1
32647 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32648 cat >>confdefs.h
<<\_ACEOF
32649 #define wxUSE_PROTOCOL_HTTP 1
32653 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32654 cat >>confdefs.h
<<\_ACEOF
32655 #define wxUSE_PROTOCOL_FTP 1
32659 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32660 cat >>confdefs.h
<<\_ACEOF
32661 #define wxUSE_PROTOCOL_FILE 1
32668 if test "$wxUSE_URL" = "yes"; then
32669 if test "$wxUSE_PROTOCOL" != "yes"; then
32670 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32671 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32674 if test "$wxUSE_URL" = "yes"; then
32675 cat >>confdefs.h
<<\_ACEOF
32676 #define wxUSE_URL 1
32682 if test "$wxUSE_MINIFRAME" = "yes"; then
32683 cat >>confdefs.h
<<\_ACEOF
32684 #define wxUSE_MINIFRAME 1
32687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
32690 if test "$wxUSE_HTML" = "yes"; then
32691 cat >>confdefs.h
<<\_ACEOF
32692 #define wxUSE_HTML 1
32695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32698 if test "$wxUSE_VALIDATORS" = "yes"; then
32699 cat >>confdefs.h
<<\_ACEOF
32700 #define wxUSE_VALIDATORS 1
32703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
32706 if test "$wxUSE_PALETTE" = "yes" ; then
32707 cat >>confdefs.h
<<\_ACEOF
32708 #define wxUSE_PALETTE 1
32713 if test "$wxUSE_IMAGE" = "yes" ; then
32714 cat >>confdefs.h
<<\_ACEOF
32715 #define wxUSE_IMAGE 1
32720 if test "$wxUSE_GIF" = "yes" ; then
32721 cat >>confdefs.h
<<\_ACEOF
32722 #define wxUSE_GIF 1
32727 if test "$wxUSE_PCX" = "yes" ; then
32728 cat >>confdefs.h
<<\_ACEOF
32729 #define wxUSE_PCX 1
32734 if test "$wxUSE_IFF" = "yes" ; then
32735 cat >>confdefs.h
<<\_ACEOF
32736 #define wxUSE_IFF 1
32741 if test "$wxUSE_PNM" = "yes" ; then
32742 cat >>confdefs.h
<<\_ACEOF
32743 #define wxUSE_PNM 1
32748 if test "$wxUSE_XPM" = "yes" ; then
32749 cat >>confdefs.h
<<\_ACEOF
32750 #define wxUSE_XPM 1
32755 if test "$wxUSE_ICO_CUR" = "yes" ; then
32756 cat >>confdefs.h
<<\_ACEOF
32757 #define wxUSE_ICO_CUR 1
32762 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32763 LIBS
=" -lunicows $LIBS"
32767 if test "$wxUSE_CHOICEDLG" = "yes"; then
32768 cat >>confdefs.h
<<\_ACEOF
32769 #define wxUSE_CHOICEDLG 1
32774 if test "$wxUSE_COLOURDLG" = "yes"; then
32775 cat >>confdefs.h
<<\_ACEOF
32776 #define wxUSE_COLOURDLG 1
32781 if test "$wxUSE_FILEDLG" = "yes"; then
32782 cat >>confdefs.h
<<\_ACEOF
32783 #define wxUSE_FILEDLG 1
32788 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32789 cat >>confdefs.h
<<\_ACEOF
32790 #define wxUSE_FINDREPLDLG 1
32795 if test "$wxUSE_FONTDLG" = "yes"; then
32796 cat >>confdefs.h
<<\_ACEOF
32797 #define wxUSE_FONTDLG 1
32802 if test "$wxUSE_DIRDLG" = "yes"; then
32803 if test "$wxUSE_TREECTRL" != "yes"; then
32804 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32805 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32807 cat >>confdefs.h
<<\_ACEOF
32808 #define wxUSE_DIRDLG 1
32814 if test "$wxUSE_MSGDLG" = "yes"; then
32815 cat >>confdefs.h
<<\_ACEOF
32816 #define wxUSE_MSGDLG 1
32821 if test "$wxUSE_NUMBERDLG" = "yes"; then
32822 cat >>confdefs.h
<<\_ACEOF
32823 #define wxUSE_NUMBERDLG 1
32828 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32829 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32830 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32831 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32833 cat >>confdefs.h
<<\_ACEOF
32834 #define wxUSE_PROGRESSDLG 1
32840 if test "$wxUSE_SPLASH" = "yes"; then
32841 cat >>confdefs.h
<<\_ACEOF
32842 #define wxUSE_SPLASH 1
32847 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32848 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32849 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32850 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32852 cat >>confdefs.h
<<\_ACEOF
32853 #define wxUSE_STARTUP_TIPS 1
32859 if test "$wxUSE_TEXTDLG" = "yes"; then
32860 cat >>confdefs.h
<<\_ACEOF
32861 #define wxUSE_TEXTDLG 1
32866 if test "$wxUSE_WIZARDDLG" = "yes"; then
32867 cat >>confdefs.h
<<\_ACEOF
32868 #define wxUSE_WIZARDDLG 1
32871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
32875 if test "$cross_compiling" = "yes"; then
32878 OSINFO
=`uname -s -r -m`
32879 OSINFO
="\"$OSINFO\""
32882 cat >>confdefs.h
<<_ACEOF
32883 #define WXWIN_OS_DESCRIPTION $OSINFO
32888 if test "x$prefix" != "xNONE"; then
32891 wxPREFIX
=$ac_default_prefix
32894 cat >>confdefs.h
<<_ACEOF
32895 #define wxINSTALL_PREFIX "$wxPREFIX"
32899 top_builddir_wxconfig
=`pwd`
32904 if test "$wxUSE_MAC" = 1 ; then
32905 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
32907 if test "$wxUSE_COCOA" = 1 ; then
32908 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
32912 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
32919 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32920 echo "$as_me:$LINENO: checking for $ac_func" >&5
32921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32922 if eval "test \"\${$as_ac_var+set}\" = set"; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32925 cat >conftest.
$ac_ext <<_ACEOF
32926 #line $LINENO "configure"
32929 cat confdefs.h
>>conftest.
$ac_ext
32930 cat >>conftest.
$ac_ext <<_ACEOF
32931 /* end confdefs.h. */
32932 /* System header to define __stub macros and hopefully few prototypes,
32933 which can conflict with char $ac_func (); below.
32934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32935 <limits.h> exists even on freestanding compilers. */
32937 # include <limits.h>
32939 # include <assert.h>
32941 /* Override any gcc2 internal prototype to avoid an error. */
32946 /* We use char because int might match the return type of a gcc2
32947 builtin and then its argument prototype would still apply. */
32949 /* The GNU C library defines this for functions which it implements
32950 to always fail with ENOSYS. Some functions are actually named
32951 something starting with __ and the normal name is an alias. */
32952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32955 char (*f) () = $ac_func;
32964 return f != $ac_func;
32969 rm -f conftest.
$ac_objext conftest
$ac_exeext
32970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32971 (eval $ac_link) 2>&5
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); } &&
32975 { ac_try
='test -s conftest$ac_exeext'
32976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32977 (eval $ac_try) 2>&5
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; }; then
32981 eval "$as_ac_var=yes"
32983 echo "$as_me: failed program was:" >&5
32984 sed 's/^/| /' conftest.
$ac_ext >&5
32986 eval "$as_ac_var=no"
32988 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32992 if test `eval echo '${'$as_ac_var'}'` = yes; then
32993 cat >>confdefs.h
<<_ACEOF
32994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33001 for ac_func
in floor
33003 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33004 echo "$as_me:$LINENO: checking for $ac_func" >&5
33005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33006 if eval "test \"\${$as_ac_var+set}\" = set"; then
33007 echo $ECHO_N "(cached) $ECHO_C" >&6
33009 cat >conftest.
$ac_ext <<_ACEOF
33010 #line $LINENO "configure"
33013 cat confdefs.h
>>conftest.
$ac_ext
33014 cat >>conftest.
$ac_ext <<_ACEOF
33015 /* end confdefs.h. */
33016 /* System header to define __stub macros and hopefully few prototypes,
33017 which can conflict with char $ac_func (); below.
33018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33019 <limits.h> exists even on freestanding compilers. */
33021 # include <limits.h>
33023 # include <assert.h>
33025 /* Override any gcc2 internal prototype to avoid an error. */
33030 /* We use char because int might match the return type of a gcc2
33031 builtin and then its argument prototype would still apply. */
33033 /* The GNU C library defines this for functions which it implements
33034 to always fail with ENOSYS. Some functions are actually named
33035 something starting with __ and the normal name is an alias. */
33036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33039 char (*f) () = $ac_func;
33048 return f != $ac_func;
33053 rm -f conftest.
$ac_objext conftest
$ac_exeext
33054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33055 (eval $ac_link) 2>&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } &&
33059 { ac_try
='test -s conftest$ac_exeext'
33060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33061 (eval $ac_try) 2>&5
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); }; }; then
33065 eval "$as_ac_var=yes"
33067 echo "$as_me: failed program was:" >&5
33068 sed 's/^/| /' conftest.
$ac_ext >&5
33070 eval "$as_ac_var=no"
33072 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33076 if test `eval echo '${'$as_ac_var'}'` = yes; then
33077 cat >>confdefs.h
<<_ACEOF
33078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33084 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33085 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33086 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33087 echo "$as_me:$LINENO: result: yes" >&5
33088 echo "${ECHO_T}yes" >&6
33090 echo "$as_me:$LINENO: result: no" >&5
33091 echo "${ECHO_T}no" >&6
33093 # use different functions to avoid configure caching
33099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33100 echo "$as_me:$LINENO: checking for $ac_func" >&5
33101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33102 if eval "test \"\${$as_ac_var+set}\" = set"; then
33103 echo $ECHO_N "(cached) $ECHO_C" >&6
33105 cat >conftest.
$ac_ext <<_ACEOF
33106 #line $LINENO "configure"
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 /* System header to define __stub macros and hopefully few prototypes,
33113 which can conflict with char $ac_func (); below.
33114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33115 <limits.h> exists even on freestanding compilers. */
33117 # include <limits.h>
33119 # include <assert.h>
33121 /* Override any gcc2 internal prototype to avoid an error. */
33126 /* We use char because int might match the return type of a gcc2
33127 builtin and then its argument prototype would still apply. */
33129 /* The GNU C library defines this for functions which it implements
33130 to always fail with ENOSYS. Some functions are actually named
33131 something starting with __ and the normal name is an alias. */
33132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33135 char (*f) () = $ac_func;
33144 return f != $ac_func;
33149 rm -f conftest.
$ac_objext conftest
$ac_exeext
33150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33151 (eval $ac_link) 2>&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); } &&
33155 { ac_try
='test -s conftest$ac_exeext'
33156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33157 (eval $ac_try) 2>&5
33159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33160 (exit $ac_status); }; }; then
33161 eval "$as_ac_var=yes"
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.
$ac_ext >&5
33166 eval "$as_ac_var=no"
33168 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33172 if test `eval echo '${'$as_ac_var'}'` = yes; then
33173 cat >>confdefs.h
<<_ACEOF
33174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33181 for ac_func
in ceil
33183 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33184 echo "$as_me:$LINENO: checking for $ac_func" >&5
33185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33186 if eval "test \"\${$as_ac_var+set}\" = set"; then
33187 echo $ECHO_N "(cached) $ECHO_C" >&6
33189 cat >conftest.
$ac_ext <<_ACEOF
33190 #line $LINENO "configure"
33193 cat confdefs.h
>>conftest.
$ac_ext
33194 cat >>conftest.
$ac_ext <<_ACEOF
33195 /* end confdefs.h. */
33196 /* System header to define __stub macros and hopefully few prototypes,
33197 which can conflict with char $ac_func (); below.
33198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33199 <limits.h> exists even on freestanding compilers. */
33201 # include <limits.h>
33203 # include <assert.h>
33205 /* Override any gcc2 internal prototype to avoid an error. */
33210 /* We use char because int might match the return type of a gcc2
33211 builtin and then its argument prototype would still apply. */
33213 /* The GNU C library defines this for functions which it implements
33214 to always fail with ENOSYS. Some functions are actually named
33215 something starting with __ and the normal name is an alias. */
33216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33219 char (*f) () = $ac_func;
33228 return f != $ac_func;
33233 rm -f conftest.
$ac_objext conftest
$ac_exeext
33234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33235 (eval $ac_link) 2>&5
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); } &&
33239 { ac_try
='test -s conftest$ac_exeext'
33240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33241 (eval $ac_try) 2>&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); }; }; then
33245 eval "$as_ac_var=yes"
33247 echo "$as_me: failed program was:" >&5
33248 sed 's/^/| /' conftest.
$ac_ext >&5
33250 eval "$as_ac_var=no"
33252 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33256 if test `eval echo '${'$as_ac_var'}'` = yes; then
33257 cat >>confdefs.h
<<_ACEOF
33258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33264 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33265 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33266 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33267 echo "$as_me:$LINENO: result: yes" >&5
33268 echo "${ECHO_T}yes" >&6
33270 echo "$as_me:$LINENO: result: no" >&5
33271 echo "${ECHO_T}no" >&6
33272 # not sure we should warn the user, crash, etc.
33276 if test "$wxUSE_GUI" = "yes"; then
33279 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33280 drawing dynamic erase event exec font image \
33281 minimal propsize rotate shaped widgets"
33283 if test "$wxUSE_MONOLITHIC" != "yes"; then
33284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33287 SAMPLES_SUBDIRS
="console"
33291 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33292 -I\${top_srcdir}/include \
33293 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33296 if test "$GXX" = yes ; then
33297 CXXWARNINGS
="-Wall"
33300 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33302 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33303 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33304 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33307 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33308 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33309 if test "$wxUSE_GUI" = "yes"; then
33310 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33313 LDFLAGS
="$LDFLAGS $PROFILE"
33315 if test "$wxUSE_GTK" = 1; then
33318 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33321 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33334 if test $wxUSE_MONOLITHIC = "yes" ; then
33352 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33358 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33360 if test -n "$ac_tool_prefix"; then
33361 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33362 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33363 echo "$as_me:$LINENO: checking for $ac_word" >&5
33364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33365 if test "${ac_cv_prog_RANLIB+set}" = set; then
33366 echo $ECHO_N "(cached) $ECHO_C" >&6
33368 if test -n "$RANLIB"; then
33369 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33372 for as_dir
in $PATH
33375 test -z "$as_dir" && as_dir
=.
33376 for ac_exec_ext
in '' $ac_executable_extensions; do
33377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33378 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33387 RANLIB
=$ac_cv_prog_RANLIB
33388 if test -n "$RANLIB"; then
33389 echo "$as_me:$LINENO: result: $RANLIB" >&5
33390 echo "${ECHO_T}$RANLIB" >&6
33392 echo "$as_me:$LINENO: result: no" >&5
33393 echo "${ECHO_T}no" >&6
33397 if test -z "$ac_cv_prog_RANLIB"; then
33398 ac_ct_RANLIB
=$RANLIB
33399 # Extract the first word of "ranlib", so it can be a program name with args.
33400 set dummy ranlib
; ac_word
=$2
33401 echo "$as_me:$LINENO: checking for $ac_word" >&5
33402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33403 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33404 echo $ECHO_N "(cached) $ECHO_C" >&6
33406 if test -n "$ac_ct_RANLIB"; then
33407 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33410 for as_dir
in $PATH
33413 test -z "$as_dir" && as_dir
=.
33414 for ac_exec_ext
in '' $ac_executable_extensions; do
33415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33416 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33423 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33426 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33427 if test -n "$ac_ct_RANLIB"; then
33428 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33429 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33431 echo "$as_me:$LINENO: result: no" >&5
33432 echo "${ECHO_T}no" >&6
33435 RANLIB
=$ac_ct_RANLIB
33437 RANLIB
="$ac_cv_prog_RANLIB"
33440 # Find a good install program. We prefer a C program (faster),
33441 # so one script is as good as another. But avoid the broken or
33442 # incompatible versions:
33443 # SysV /etc/install, /usr/sbin/install
33444 # SunOS /usr/etc/install
33445 # IRIX /sbin/install
33447 # AmigaOS /C/install, which installs bootblocks on floppy discs
33448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33451 # ./install, which can be erroneously created by make from ./install.sh.
33452 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33453 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33454 if test -z "$INSTALL"; then
33455 if test "${ac_cv_path_install+set}" = set; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33459 for as_dir
in $PATH
33462 test -z "$as_dir" && as_dir
=.
33463 # Account for people who put trailing slashes in PATH elements.
33465 .
/ | .
// | /cC
/* | \
33466 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33469 # OSF1 and SCO ODT 3.0 have their own names for install.
33470 # Don't use installbsd from OSF since it installs stuff as root
33472 for ac_prog
in ginstall scoinst
install; do
33473 for ac_exec_ext
in '' $ac_executable_extensions; do
33474 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33475 if test $ac_prog = install &&
33476 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33477 # AIX install. It has an incompatible calling convention.
33479 elif test $ac_prog = install &&
33480 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33481 # program-specific install script used by HP pwplus--don't use.
33484 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33496 if test "${ac_cv_path_install+set}" = set; then
33497 INSTALL
=$ac_cv_path_install
33499 # As a last resort, use the slow shell script. We don't cache a
33500 # path for INSTALL within a source directory, because that will
33501 # break other packages using the cache if that directory is
33502 # removed, or if the path is relative.
33503 INSTALL
=$ac_install_sh
33506 echo "$as_me:$LINENO: result: $INSTALL" >&5
33507 echo "${ECHO_T}$INSTALL" >&6
33509 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33510 # It thinks the first close brace ends the variable substitution.
33511 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33513 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33515 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33517 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33518 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33520 if test "$LN_S" = "ln -s"; then
33521 echo "$as_me:$LINENO: result: yes" >&5
33522 echo "${ECHO_T}yes" >&6
33524 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33525 echo "${ECHO_T}no, using $LN_S" >&6
33529 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33530 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33531 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33532 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33533 echo $ECHO_N "(cached) $ECHO_C" >&6
33535 cat >conftest.
make <<\_ACEOF
33537 @
echo 'ac_maketemp="$(MAKE)"'
33539 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33540 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33541 if test -n "$ac_maketemp"; then
33542 eval ac_cv_prog_make_
${ac_make}_set
=yes
33544 eval ac_cv_prog_make_
${ac_make}_set
=no
33546 rm -f conftest.
make
33548 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33549 echo "$as_me:$LINENO: result: yes" >&5
33550 echo "${ECHO_T}yes" >&6
33553 echo "$as_me:$LINENO: result: no" >&5
33554 echo "${ECHO_T}no" >&6
33555 SET_MAKE
="MAKE=${MAKE-make}"
33560 if test "$build" != "$host" ; then
33562 STRIP
=$host_alias-strip
33564 # Extract the first word of "ar", so it can be a program name with args.
33565 set dummy
ar; ac_word
=$2
33566 echo "$as_me:$LINENO: checking for $ac_word" >&5
33567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33568 if test "${ac_cv_prog_AR+set}" = set; then
33569 echo $ECHO_N "(cached) $ECHO_C" >&6
33571 if test -n "$AR"; then
33572 ac_cv_prog_AR
="$AR" # Let the user override the test.
33574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33575 for as_dir
in $PATH
33578 test -z "$as_dir" && as_dir
=.
33579 for ac_exec_ext
in '' $ac_executable_extensions; do
33580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33588 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
33592 if test -n "$AR"; then
33593 echo "$as_me:$LINENO: result: $AR" >&5
33594 echo "${ECHO_T}$AR" >&6
33596 echo "$as_me:$LINENO: result: no" >&5
33597 echo "${ECHO_T}no" >&6
33600 # Extract the first word of "strip", so it can be a program name with args.
33601 set dummy strip
; ac_word
=$2
33602 echo "$as_me:$LINENO: checking for $ac_word" >&5
33603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33604 if test "${ac_cv_prog_STRIP+set}" = set; then
33605 echo $ECHO_N "(cached) $ECHO_C" >&6
33607 if test -n "$STRIP"; then
33608 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
33610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33611 for as_dir
in $PATH
33614 test -z "$as_dir" && as_dir
=.
33615 for ac_exec_ext
in '' $ac_executable_extensions; do
33616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33617 ac_cv_prog_STRIP
="strip"
33618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33624 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
33627 STRIP
=$ac_cv_prog_STRIP
33628 if test -n "$STRIP"; then
33629 echo "$as_me:$LINENO: result: $STRIP" >&5
33630 echo "${ECHO_T}$STRIP" >&6
33632 echo "$as_me:$LINENO: result: no" >&5
33633 echo "${ECHO_T}no" >&6
33640 INSTALL_DIR
="mkdir"
33642 *) INSTALL_DIR
="$INSTALL -d"
33649 *-*-cygwin* | *-*-mingw32* )
33650 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
33656 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33657 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33658 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33659 echo $ECHO_N "(cached) $ECHO_C" >&6
33662 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
33663 egrep -s GNU
> /dev
/null
); then
33664 bakefile_cv_prog_makeisgnu
="yes"
33666 bakefile_cv_prog_makeisgnu
="no"
33670 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33671 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33673 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33688 *-*-cygwin* | *-*-mingw32* )
33691 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33694 powerpc
-*-darwin* )
33721 *-*-cygwin* | *-*-mingw32* )
33726 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33730 powerpc
-*-darwin* )
33740 SHARED_LD_CC
="\$(CC) -shared -o"
33741 SHARED_LD_CXX
="\$(CXX) -shared -o"
33743 if test "x$GCC" = "xyes"; then
33749 if test "x$GCC" = "xyes"; then
33750 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
33751 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
33753 LDFLAGS
="$LDFLAGS -L/usr/lib"
33755 SHARED_LD_CC
="${CC} -b -o"
33756 SHARED_LD_CXX
="${CXX} -b -o"
33762 if test "x$GCC" != "xyes"; then
33763 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33764 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33765 if test "${bakefile_cv_prog_icc+set}" = set; then
33766 echo $ECHO_N "(cached) $ECHO_C" >&6
33769 cat >conftest.
$ac_ext <<_ACEOF
33770 #line $LINENO "configure"
33773 cat confdefs.h
>>conftest.
$ac_ext
33774 cat >>conftest.
$ac_ext <<_ACEOF
33775 /* end confdefs.h. */
33781 #ifndef __INTEL_COMPILER
33789 rm -f conftest.
$ac_objext
33790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33791 (eval $ac_compile) 2>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } &&
33795 { ac_try
='test -s conftest.$ac_objext'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }; then
33801 bakefile_cv_prog_icc
=yes
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.
$ac_ext >&5
33806 bakefile_cv_prog_icc
=no
33809 rm -f conftest.
$ac_objext conftest.
$ac_ext
33812 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33813 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33814 if test "$bakefile_cv_prog_icc" = "yes"; then
33821 if test "x$GCC" != xyes
; then
33822 SHARED_LD_CC
="${CC} -G -o"
33823 SHARED_LD_CXX
="${CXX} -G -o"
33829 CFLAGS
="$CFLAGS -fno-common"
33830 CXXFLAGS
="$CXXFLAGS -fno-common"
33833 cat <<EOF >shared-ld-sh
33835 #-----------------------------------------------------------------------------
33836 #-- Name: distrib/mac/shared-ld-sh
33837 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33838 #-- Author: Gilles Depeyrot
33839 #-- Copyright: (c) 2002 Gilles Depeyrot
33840 #-- Licence: any use permitted
33841 #-----------------------------------------------------------------------------
33847 while test \${#} -gt 0; do
33854 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33855 # collect these options and values
33856 args="\${args} \${1} \${2}"
33860 -l*|-L*|-flat_namespace)
33861 # collect these options
33862 args="\${args} \${1}"
33866 # skip these options
33870 echo "shared-ld: unhandled option '\${1}'"
33875 # collect object files
33876 objects="\${objects} \${1}"
33880 echo "shared-ld: unhandled argument '\${1}'"
33889 # Link one module containing all the others
33891 if test \${verbose} = 1; then
33892 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33894 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33896 if test \${status} != 0; then
33901 # Link the shared library from the single module created
33903 if test \${verbose} = 1; then
33904 echo "cc -dynamiclib master.\$\$.o \${args}"
33906 c++ -dynamiclib master.\$\$.o \${args}
33908 if test \${status} != 0; then
33913 # Remove intermediate module
33915 rm -f master.\$\$.o
33919 chmod +x shared
-ld-sh
33921 SHARED_LD_CC
="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
33922 SHARED_LD_CXX
="$SHARED_LD_CC"
33923 PIC_FLAG
="-dynamic -fPIC"
33927 if test "x$GCC" != "xyes"; then
33928 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
33929 set dummy makeC
++SharedLib
; ac_word
=$2
33930 echo "$as_me:$LINENO: checking for $ac_word" >&5
33931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33932 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
33933 echo $ECHO_N "(cached) $ECHO_C" >&6
33935 if test -n "$AIX_CXX_LD"; then
33936 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
33938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33939 for as_dir
in $PATH
33942 test -z "$as_dir" && as_dir
=.
33943 for ac_exec_ext
in '' $ac_executable_extensions; do
33944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33945 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
33946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33952 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
33955 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
33956 if test -n "$AIX_CXX_LD"; then
33957 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
33958 echo "${ECHO_T}$AIX_CXX_LD" >&6
33960 echo "$as_me:$LINENO: result: no" >&5
33961 echo "${ECHO_T}no" >&6
33964 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
33965 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
33970 SHARED_LD_CC
="${LD} -shared -o"
33971 SHARED_LD_CXX
="${LD} -shared -o"
33975 if test "x$GCC" != "xyes"; then
33980 *-*-cygwin* | *-*-mingw32* )
33984 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
33992 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
33993 echo "$as_me: error: unknown system type $host." >&2;}
33994 { (exit 1); exit 1; }; }
34011 SONAME_FLAG
="-Wl,-soname,"
34039 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34040 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34043 if test "x$GCC" = "xyes"; then
34046 echo "$as_me:$LINENO: result: gcc" >&5
34047 echo "${ECHO_T}gcc" >&6
34049 echo "$as_me:$LINENO: result: none" >&5
34050 echo "${ECHO_T}none" >&6
34053 if test $DEPS_TRACKING = 1 ; then
34057 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34058 # It is used to track C/C++ files dependencies in portable way.
34060 # Permission is given to use this file in any way.
34067 if test \$DEPSMODE = gcc ; then
34070 if test \${status} != 0 ; then
34073 # move created file to the location we want it in:
34074 while test \${#} -gt 0; do
34088 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34089 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34090 if test -f \$depfile ; then
34091 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34094 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34095 if test -f \$depfile ; then
34096 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34116 *-*-cygwin* | *-*-mingw32* )
34117 if test "$build" != "$host" ; then
34118 RESCOMP
=$host_alias-windres
34120 # Extract the first word of "windres", so it can be a program name with args.
34121 set dummy windres
; ac_word
=$2
34122 echo "$as_me:$LINENO: checking for $ac_word" >&5
34123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34124 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34125 echo $ECHO_N "(cached) $ECHO_C" >&6
34127 if test -n "$RESCOMP"; then
34128 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34131 for as_dir
in $PATH
34134 test -z "$as_dir" && as_dir
=.
34135 for ac_exec_ext
in '' $ac_executable_extensions; do
34136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34137 ac_cv_prog_RESCOMP
="windres"
34138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34144 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34147 RESCOMP
=$ac_cv_prog_RESCOMP
34148 if test -n "$RESCOMP"; then
34149 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34150 echo "${ECHO_T}$RESCOMP" >&6
34152 echo "$as_me:$LINENO: result: no" >&5
34153 echo "${ECHO_T}no" >&6
34160 # Extract the first word of "Rez", so it can be a program name with args.
34161 set dummy Rez
; ac_word
=$2
34162 echo "$as_me:$LINENO: checking for $ac_word" >&5
34163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34164 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34165 echo $ECHO_N "(cached) $ECHO_C" >&6
34167 if test -n "$RESCOMP"; then
34168 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34171 for as_dir
in $PATH
34174 test -z "$as_dir" && as_dir
=.
34175 for ac_exec_ext
in '' $ac_executable_extensions; do
34176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34177 ac_cv_prog_RESCOMP
="Rez"
34178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34184 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34187 RESCOMP
=$ac_cv_prog_RESCOMP
34188 if test -n "$RESCOMP"; then
34189 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34190 echo "${ECHO_T}$RESCOMP" >&6
34192 echo "$as_me:$LINENO: result: no" >&5
34193 echo "${ECHO_T}no" >&6
34196 # Extract the first word of "SetFile", so it can be a program name with args.
34197 set dummy SetFile
; ac_word
=$2
34198 echo "$as_me:$LINENO: checking for $ac_word" >&5
34199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34200 if test "${ac_cv_prog_SETFILE+set}" = set; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34203 if test -n "$SETFILE"; then
34204 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34207 for as_dir
in $PATH
34210 test -z "$as_dir" && as_dir
=.
34211 for ac_exec_ext
in '' $ac_executable_extensions; do
34212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34213 ac_cv_prog_SETFILE
="SetFile"
34214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34220 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34223 SETFILE
=$ac_cv_prog_SETFILE
34224 if test -n "$SETFILE"; then
34225 echo "$as_me:$LINENO: result: $SETFILE" >&5
34226 echo "${ECHO_T}$SETFILE" >&6
34228 echo "$as_me:$LINENO: result: no" >&5
34229 echo "${ECHO_T}no" >&6
34241 COND_BUILD_DEBUG
="#"
34242 if test "x$BUILD" = "xdebug" ; then
34243 COND_BUILD_DEBUG
=""
34246 COND_BUILD_RELEASE
="#"
34247 if test "x$BUILD" = "xrelease" ; then
34248 COND_BUILD_RELEASE
=""
34251 COND_DEPS_TRACKING_0
="#"
34252 if test "x$DEPS_TRACKING" = "x0" ; then
34253 COND_DEPS_TRACKING_0
=""
34256 COND_DEPS_TRACKING_1
="#"
34257 if test "x$DEPS_TRACKING" = "x1" ; then
34258 COND_DEPS_TRACKING_1
=""
34261 COND_MONOLITHIC_0
="#"
34262 if test "x$MONOLITHIC" = "x0" ; then
34263 COND_MONOLITHIC_0
=""
34266 COND_MONOLITHIC_0_SHARED_0
="#"
34267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34268 COND_MONOLITHIC_0_SHARED_0
=""
34271 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34273 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34276 COND_MONOLITHIC_0_SHARED_1
="#"
34277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34278 COND_MONOLITHIC_0_SHARED_1
=""
34281 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34286 COND_MONOLITHIC_1
="#"
34287 if test "x$MONOLITHIC" = "x1" ; then
34288 COND_MONOLITHIC_1
=""
34291 COND_MONOLITHIC_1_SHARED_0
="#"
34292 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34293 COND_MONOLITHIC_1_SHARED_0
=""
34296 COND_MONOLITHIC_1_SHARED_1
="#"
34297 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34298 COND_MONOLITHIC_1_SHARED_1
=""
34301 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
34302 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34303 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
34306 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
34307 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34308 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
34311 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
34312 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34313 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
34316 COND_PLATFORM_MACOSX_1
="#"
34317 if test "x$PLATFORM_MACOSX" = "x1" ; then
34318 COND_PLATFORM_MACOSX_1
=""
34321 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
34322 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34323 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
34326 COND_PLATFORM_UNIX_1
="#"
34327 if test "x$PLATFORM_UNIX" = "x1" ; then
34328 COND_PLATFORM_UNIX_1
=""
34331 COND_PLATFORM_WIN32_0
="#"
34332 if test "x$PLATFORM_WIN32" = "x0" ; then
34333 COND_PLATFORM_WIN32_0
=""
34336 COND_PLATFORM_WIN32_1
="#"
34337 if test "x$PLATFORM_WIN32" = "x1" ; then
34338 COND_PLATFORM_WIN32_1
=""
34341 COND_TOOLKIT_COCOA
="#"
34342 if test "x$TOOLKIT" = "xCOCOA" ; then
34343 COND_TOOLKIT_COCOA
=""
34346 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
34347 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34348 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
34351 COND_TOOLKIT_GTK
="#"
34352 if test "x$TOOLKIT" = "xGTK" ; then
34353 COND_TOOLKIT_GTK
=""
34356 COND_TOOLKIT_GTK_USE_GUI_1
="#"
34357 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34358 COND_TOOLKIT_GTK_USE_GUI_1
=""
34361 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
34362 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34363 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
34366 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1
="#"
34367 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34368 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1
=""
34371 COND_TOOLKIT_MAC
="#"
34372 if test "x$TOOLKIT" = "xMAC" ; then
34373 COND_TOOLKIT_MAC
=""
34376 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
34377 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34378 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
34381 COND_TOOLKIT_MGL
="#"
34382 if test "x$TOOLKIT" = "xMGL" ; then
34383 COND_TOOLKIT_MGL
=""
34386 COND_TOOLKIT_MGL_USE_GUI_1
="#"
34387 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34388 COND_TOOLKIT_MGL_USE_GUI_1
=""
34391 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1
="#"
34392 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34393 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1
=""
34396 COND_TOOLKIT_MOTIF
="#"
34397 if test "x$TOOLKIT" = "xMOTIF" ; then
34398 COND_TOOLKIT_MOTIF
=""
34401 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
34402 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34403 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
34406 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
34407 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34408 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
34411 COND_TOOLKIT_MSW
="#"
34412 if test "x$TOOLKIT" = "xMSW" ; then
34413 COND_TOOLKIT_MSW
=""
34416 COND_TOOLKIT_MSW_USE_GUI_1
="#"
34417 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34418 COND_TOOLKIT_MSW_USE_GUI_1
=""
34421 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
34422 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34423 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
34426 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1
="#"
34427 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34428 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1
=""
34431 COND_TOOLKIT_OS2
="#"
34432 if test "x$TOOLKIT" = "xOS2" ; then
34433 COND_TOOLKIT_OS2
=""
34436 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
34437 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34438 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
34441 COND_TOOLKIT_X11
="#"
34442 if test "x$TOOLKIT" = "xX11" ; then
34443 COND_TOOLKIT_X11
=""
34446 COND_TOOLKIT_X11_USE_GUI_1
="#"
34447 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34448 COND_TOOLKIT_X11_USE_GUI_1
=""
34451 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
="#"
34452 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34453 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
=""
34457 if test "x$UNICODE" = "x1" ; then
34462 if test "x$USE_GUI" = "x0" ; then
34467 if test "x$USE_GUI" = "x1" ; then
34471 COND_USE_GUI_1_WXUNIV_0
="#"
34472 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34473 COND_USE_GUI_1_WXUNIV_0
=""
34476 COND_USE_GUI_1_WXUNIV_1
="#"
34477 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34478 COND_USE_GUI_1_WXUNIV_1
=""
34481 COND_USE_SOSYMLINKS_1
="#"
34482 if test "x$USE_SOSYMLINKS" = "x1" ; then
34483 COND_USE_SOSYMLINKS_1
=""
34486 COND_USE_SOVERLINUX_1
="#"
34487 if test "x$USE_SOVERLINUX" = "x1" ; then
34488 COND_USE_SOVERLINUX_1
=""
34491 COND_USE_SOVERSION_0
="#"
34492 if test "x$USE_SOVERSION" = "x0" ; then
34493 COND_USE_SOVERSION_0
=""
34496 COND_USE_SOVERSOLARIS_1
="#"
34497 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34498 COND_USE_SOVERSOLARIS_1
=""
34502 if test "x$WXUNIV" = "x1" ; then
34506 COND_WXUSE_LIBJPEG_BUILTIN
="#"
34507 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34508 COND_WXUSE_LIBJPEG_BUILTIN
=""
34511 COND_WXUSE_LIBPNG_BUILTIN
="#"
34512 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34513 COND_WXUSE_LIBPNG_BUILTIN
=""
34516 COND_WXUSE_LIBTIFF_BUILTIN
="#"
34517 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34518 COND_WXUSE_LIBTIFF_BUILTIN
=""
34521 COND_WXUSE_ODBC_BUILTIN
="#"
34522 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34523 COND_WXUSE_ODBC_BUILTIN
=""
34526 COND_WXUSE_REGEX_BUILTIN
="#"
34527 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34528 COND_WXUSE_REGEX_BUILTIN
=""
34531 COND_WXUSE_ZLIB_BUILTIN
="#"
34532 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34533 COND_WXUSE_ZLIB_BUILTIN
=""
34536 COND_PLATFORM_MAC_1
="#"
34537 if test "x$PLATFORM_MAC" = "x1" ; then
34538 COND_PLATFORM_MAC_1
=""
34542 if test "x$SHARED" = "x1" ; then
34547 if test "x$SHARED" = "x0" ; then
34556 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34657 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34658 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34659 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34660 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34661 echo $ECHO_N "(cached) $ECHO_C" >&6
34663 cat >conftest.
make <<\_ACEOF
34665 @
echo 'ac_maketemp="$(MAKE)"'
34667 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34668 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34669 if test -n "$ac_maketemp"; then
34670 eval ac_cv_prog_make_
${ac_make}_set
=yes
34672 eval ac_cv_prog_make_
${ac_make}_set
=no
34674 rm -f conftest.
make
34676 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34677 echo "$as_me:$LINENO: result: yes" >&5
34678 echo "${ECHO_T}yes" >&6
34681 echo "$as_me:$LINENO: result: no" >&5
34682 echo "${ECHO_T}no" >&6
34683 SET_MAKE
="MAKE=${MAKE-make}"
34687 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
34688 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
34691 ac_config_headers
="$ac_config_headers setup.h"
34694 ac_config_files
="$ac_config_files wx-config version-script Makefile"
34697 ac_config_commands
="$ac_config_commands default"
34701 if test "$wxUSE_GUI" = "yes"; then
34702 SUBDIRS
="samples demos utils contrib"
34703 else SUBDIRS
="samples utils"
34706 for subdir
in `echo $SUBDIRS`; do
34707 if test -d ${srcdir}/${subdir} ; then
34708 if test "$wxUSE_GUI" = "yes"; then
34709 if test ${subdir} = "samples"; then
34710 for sample
in `echo $SAMPLES_SUBDIRS`; do
34711 if test -d $srcdir/samples
/$sample; then
34712 makefiles
="samples/$sample/Makefile.in $makefiles"
34715 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
34717 else if test ${subdir} = "samples"; then
34718 makefiles
="samples/console/Makefile.in"
34719 else makefiles
="utils/HelpGen/Makefile.in \
34720 utils/HelpGen/src/Makefile.in \
34721 utils/makegen/Makefile.in"
34725 for mkin
in $makefiles ; do
34726 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34727 ac_config_files
="$ac_config_files $mk"
34734 cat >confcache
<<\_ACEOF
34735 # This file is a shell script that caches the results of configure
34736 # tests run on this system so they can be shared between configure
34737 # scripts and configure runs, see configure's option --config-cache.
34738 # It is not useful on other systems. If it contains results you don't
34739 # want to keep, you may remove or edit it.
34741 # config.status only pays attention to the cache file if you give it
34742 # the --recheck option to rerun configure.
34744 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34745 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34746 # following values.
34750 # The following way of writing the cache mishandles newlines in values,
34751 # but we know of no workaround that is simple, portable, and efficient.
34752 # So, don't put newlines in cache variables' values.
34753 # Ultrix sh set writes to stderr and can't be redirected directly,
34754 # and sets the high bit in the cache file unless we assign to the vars.
34757 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34759 # `set' does not quote correctly, so add quotes (double-quote
34760 # substitution turns \\\\ into \\, and sed turns \\ into \).
34763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34766 # `set' quotes correctly as required by POSIX, so do not add quotes.
34768 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34777 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34779 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34780 if test -w $cache_file; then
34781 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34782 cat confcache
>$cache_file
34784 echo "not updating unwritable cache $cache_file"
34789 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34790 # Let make expand exec_prefix.
34791 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34793 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34794 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34795 # trailing colons and then remove the whole line if VPATH becomes empty
34796 # (actually we leave an empty line to preserve line numbers).
34797 if test "x$srcdir" = x.
; then
34798 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34799 s/:*\$(srcdir):*/:/;
34800 s/:*\${srcdir}:*/:/;
34802 s/^\([^=]*=[ ]*\):*/\1/;
34808 DEFS
=-DHAVE_CONFIG_H
34812 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34813 # 1. Remove the extension, and $U if already installed.
34814 ac_i
=`echo "$ac_i" |
34815 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34817 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
34818 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
34820 LIBOBJS
=$ac_libobjs
34822 LTLIBOBJS
=$ac_ltlibobjs
34826 : ${CONFIG_STATUS=./config.status}
34827 ac_clean_files_save
=$ac_clean_files
34828 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34829 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34830 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34831 cat >$CONFIG_STATUS <<_ACEOF
34833 # Generated by $as_me.
34834 # Run this file to recreate the current configuration.
34835 # Compiler output produced by configure, useful for debugging
34836 # configure, is in config.log if it exists.
34839 ac_cs_recheck=false
34841 SHELL=\${CONFIG_SHELL-$SHELL}
34844 cat >>$CONFIG_STATUS <<\_ACEOF
34845 ## --------------------- ##
34846 ## M4sh Initialization. ##
34847 ## --------------------- ##
34849 # Be Bourne compatible
34850 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34853 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34854 # is contrary to our usage. Disable this feature.
34855 alias -g '${1+"$@"}'='"$@"'
34856 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
34860 # Support unset when possible.
34861 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
34868 # Work around bugs in pre-3.0 UWIN ksh.
34869 $as_unset ENV MAIL MAILPATH
34876 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34877 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34878 LC_TELEPHONE LC_TIME
34880 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34881 eval $as_var=C
; export $as_var
34887 # Required to use basename.
34888 if expr a
: '\(a\)' >/dev
/null
2>&1; then
34894 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
34895 as_basename
=basename
34901 # Name of the executable.
34902 as_me
=`$as_basename "$0" ||
34903 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34904 X"$0" : 'X\(//\)$' \| \
34905 X"$0" : 'X\(/\)$' \| \
34906 . : '\(.\)' 2>/dev/null ||
34908 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34909 /^X\/\(\/\/\)$/{ s//\1/; q; }
34910 /^X\/\(\/\).*/{ s//\1/; q; }
34914 # PATH needs CR, and LINENO needs CR and PATH.
34915 # Avoid depending upon Character Ranges.
34916 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34917 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34918 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34919 as_cr_digits
='0123456789'
34920 as_cr_alnum
=$as_cr_Letters$as_cr_digits
34922 # The user is always right.
34923 if test "${PATH_SEPARATOR+set}" != set; then
34924 echo "#! /bin/sh" >conf$$.sh
34925 echo "exit 0" >>conf$$.sh
34927 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34936 as_lineno_1
=$LINENO
34937 as_lineno_2
=$LINENO
34938 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
34939 test "x$as_lineno_1" != "x$as_lineno_2" &&
34940 test "x$as_lineno_3" = "x$as_lineno_2" || {
34941 # Find who we are. Look in the path if we contain no path at all
34944 *[\\/]* ) as_myself
=$0 ;;
34945 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34946 for as_dir
in $PATH
34949 test -z "$as_dir" && as_dir
=.
34950 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34955 # We did not find ourselves, most probably we were run as `sh COMMAND'
34956 # in which case we are not to be found in the path.
34957 if test "x$as_myself" = x
; then
34960 if test ! -f "$as_myself"; then
34961 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34962 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34963 { (exit 1); exit 1; }; }
34965 case $CONFIG_SHELL in
34967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34968 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
34971 test -z "$as_dir" && as_dir
=.
34972 for as_base
in sh bash ksh sh5
; do
34975 if ("$as_dir/$as_base" -c '
34976 as_lineno_1=$LINENO
34977 as_lineno_2=$LINENO
34978 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34979 test "x$as_lineno_1" != "x$as_lineno_2" &&
34980 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
34981 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
34982 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
34983 CONFIG_SHELL
=$as_dir/$as_base
34984 export CONFIG_SHELL
34985 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34993 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34994 # uniformly replaced by the line number. The first 'sed' inserts a
34995 # line-number line before each line; the second 'sed' does the real
34996 # work. The second script uses 'N' to pair each line-number line
34997 # with the numbered line, and appends trailing '-' during
34998 # substitution so that $LINENO is not a special case at line end.
34999 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35000 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35001 sed '=' <$as_myself |
35006 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35009 s,^['$as_cr_digits']*\n,,
35010 ' >$as_me.lineno
&&
35011 chmod +x
$as_me.lineno
||
35012 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35013 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35014 { (exit 1); exit 1; }; }
35016 # Don't try to exec as it changes $[0], causing all sort of problems
35017 # (the dirname of $[0] is not the place where we might find the
35018 # original and so on. Autoconf is especially sensible to this).
35020 # Exit status is that of the last command.
35025 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35026 *c
*,-n*) ECHO_N
= ECHO_C
='
35028 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35029 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35032 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35038 rm -f conf$$ conf$$.exe conf$$.
file
35040 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35041 # We could just check for DJGPP; but this test a) works b) is more generic
35042 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35043 if test -f conf$$.exe
; then
35044 # Don't use ln at all; we don't have any links
35049 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35054 rm -f conf$$ conf$$.exe conf$$.
file
35056 if mkdir -p .
2>/dev
/null
; then
35062 as_executable_p
="test -f"
35064 # Sed expression to map a string onto a valid CPP name.
35065 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35067 # Sed expression to map a string onto a valid variable name.
35068 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35072 # We need space, tab and new line, in precisely that order.
35082 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35083 # report actual input values of CONFIG_FILES etc. instead of their
35084 # values after options handling. Logging --version etc. is OK.
35088 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35089 ## Running $as_me. ##
35094 This file was extended by wxWindows $as_me 2.5.0, which was
35095 generated by GNU Autoconf 2.57. Invocation command line was
35097 CONFIG_FILES = $CONFIG_FILES
35098 CONFIG_HEADERS = $CONFIG_HEADERS
35099 CONFIG_LINKS = $CONFIG_LINKS
35100 CONFIG_COMMANDS = $CONFIG_COMMANDS
35104 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35108 # Files that config.status was made for.
35109 if test -n "$ac_config_files"; then
35110 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35113 if test -n "$ac_config_headers"; then
35114 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35117 if test -n "$ac_config_links"; then
35118 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35121 if test -n "$ac_config_commands"; then
35122 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35125 cat >>$CONFIG_STATUS <<\_ACEOF
35128 \`$as_me' instantiates files from templates according to the
35129 current configuration.
35131 Usage: $0 [OPTIONS] [FILE]...
35133 -h, --help print this help, then exit
35134 -V, --version print version number, then exit
35135 -q, --quiet do not print progress messages
35136 -d, --debug don't remove temporary files
35137 --recheck update $as_me by reconfiguring in the same conditions
35138 --file=FILE[:TEMPLATE]
35139 instantiate the configuration file FILE
35140 --header=FILE[:TEMPLATE]
35141 instantiate the configuration header FILE
35143 Configuration files:
35146 Configuration headers:
35149 Configuration commands:
35152 Report bugs to <bug-autoconf@gnu.org>."
35155 cat >>$CONFIG_STATUS <<_ACEOF
35157 wxWindows config.status 2.5.0
35158 configured by $0, generated by GNU Autoconf 2.57,
35159 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35161 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35162 Free Software Foundation, Inc.
35163 This config.status script is free software; the Free Software Foundation
35164 gives unlimited permission to copy, distribute and modify it."
35169 cat >>$CONFIG_STATUS <<\_ACEOF
35170 # If no file are specified by the user, then we need to provide default
35171 # value. By we need to know if files were specified by the user.
35177 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35178 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35186 *) # This is not an option, so the user has probably given explicit
35189 ac_need_defaults
=false
;;
35193 # Handling of the options.
35195 cat >>$CONFIG_STATUS <<\_ACEOF
35196 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35198 --version | --vers* | -V )
35199 echo "$ac_cs_version"; exit 0 ;;
35201 # Conflict between --help and --header
35202 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35203 Try \`$0 --help' for more information." >&5
35204 echo "$as_me: error: ambiguous option: $1
35205 Try \`$0 --help' for more information." >&2;}
35206 { (exit 1); exit 1; }; };;
35207 --help | --hel | -h )
35208 echo "$ac_cs_usage"; exit 0 ;;
35209 --debug | --d* | -d )
35211 --file | --fil | --fi | --f )
35213 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35214 ac_need_defaults
=false
;;
35215 --header | --heade | --head | --hea )
35217 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35218 ac_need_defaults
=false
;;
35219 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35220 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35223 # This is an error.
35224 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35225 Try \`$0 --help' for more information." >&5
35226 echo "$as_me: error: unrecognized option: $1
35227 Try \`$0 --help' for more information." >&2;}
35228 { (exit 1); exit 1; }; } ;;
35230 *) ac_config_targets
="$ac_config_targets $1" ;;
35236 ac_configure_extra_args
=
35238 if $ac_cs_silent; then
35240 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35244 cat >>$CONFIG_STATUS <<_ACEOF
35245 if \$ac_cs_recheck; then
35246 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35247 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35252 cat >>$CONFIG_STATUS <<_ACEOF
35254 # INIT-COMMANDS section.
35258 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35267 cat >>$CONFIG_STATUS <<\_ACEOF
35268 for ac_config_target
in $ac_config_targets
35270 case "$ac_config_target" in
35271 # Handling of arguments.
35272 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
35273 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
35274 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35275 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
35276 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
35277 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
35278 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35279 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35280 { (exit 1); exit 1; }; };;
35284 # If the user did not use the arguments to specify the items to instantiate,
35285 # then the envvar interface is used. Set only those that are not.
35286 # We use the long form for the default assignment because of an extremely
35287 # bizarre bug on SunOS 4.1.3.
35288 if $ac_need_defaults; then
35289 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35290 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35291 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35294 # Have a temporary directory for convenience. Make it in the build tree
35295 # simply because there is no reason to put it here, and in addition,
35296 # creating and moving files from /tmp can sometimes cause problems.
35297 # Create a temporary directory, and hook for its removal unless debugging.
35300 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35301 trap '{ (exit 1); exit 1; }' 1 2 13 15
35304 # Create a (secure) tmp directory for tmp files.
35307 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35308 test -n "$tmp" && test -d "$tmp"
35311 tmp
=.
/confstat$$
-$RANDOM
35312 (umask 077 && mkdir $tmp)
35315 echo "$me: cannot create a temporary directory in ." >&2
35316 { (exit 1); exit 1; }
35321 cat >>$CONFIG_STATUS <<_ACEOF
35324 # CONFIG_FILES section.
35327 # No need to generate the scripts if there are no CONFIG_FILES.
35328 # This happens for instance when ./config.status config.h
35329 if test -n "\$CONFIG_FILES"; then
35330 # Protect against being on the right side of a sed subst in config.status.
35331 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35332 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35333 s,@SHELL@,$SHELL,;t t
35334 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35335 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35336 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35337 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35338 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35339 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35340 s,@exec_prefix@,$exec_prefix,;t t
35341 s,@prefix@,$prefix,;t t
35342 s,@program_transform_name@,$program_transform_name,;t t
35343 s,@bindir@,$bindir,;t t
35344 s,@sbindir@,$sbindir,;t t
35345 s,@libexecdir@,$libexecdir,;t t
35346 s,@datadir@,$datadir,;t t
35347 s,@sysconfdir@,$sysconfdir,;t t
35348 s,@sharedstatedir@,$sharedstatedir,;t t
35349 s,@localstatedir@,$localstatedir,;t t
35350 s,@libdir@,$libdir,;t t
35351 s,@includedir@,$includedir,;t t
35352 s,@oldincludedir@,$oldincludedir,;t t
35353 s,@infodir@,$infodir,;t t
35354 s,@mandir@,$mandir,;t t
35355 s,@build_alias@,$build_alias,;t t
35356 s,@host_alias@,$host_alias,;t t
35357 s,@target_alias@,$target_alias,;t t
35358 s,@DEFS@,$DEFS,;t t
35359 s,@ECHO_C@,$ECHO_C,;t t
35360 s,@ECHO_N@,$ECHO_N,;t t
35361 s,@ECHO_T@,$ECHO_T,;t t
35362 s,@LIBS@,$LIBS,;t t
35363 s,@build@,$build,;t t
35364 s,@build_cpu@,$build_cpu,;t t
35365 s,@build_vendor@,$build_vendor,;t t
35366 s,@build_os@,$build_os,;t t
35367 s,@host@,$host,;t t
35368 s,@host_cpu@,$host_cpu,;t t
35369 s,@host_vendor@,$host_vendor,;t t
35370 s,@host_os@,$host_os,;t t
35371 s,@target@,$target,;t t
35372 s,@target_cpu@,$target_cpu,;t t
35373 s,@target_vendor@,$target_vendor,;t t
35374 s,@target_os@,$target_os,;t t
35376 s,@CFLAGS@,$CFLAGS,;t t
35377 s,@LDFLAGS@,$LDFLAGS,;t t
35378 s,@CPPFLAGS@,$CPPFLAGS,;t t
35379 s,@ac_ct_CC@,$ac_ct_CC,;t t
35380 s,@EXEEXT@,$EXEEXT,;t t
35381 s,@OBJEXT@,$OBJEXT,;t t
35383 s,@EGREP@,$EGREP,;t t
35385 s,@CXXFLAGS@,$CXXFLAGS,;t t
35386 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35387 s,@RANLIB@,$RANLIB,;t t
35388 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35390 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35391 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35392 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35393 s,@STRIP@,$STRIP,;t t
35394 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35395 s,@YACC@,$YACC,;t t
35397 s,@LEXLIB@,$LEXLIB,;t t
35398 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35399 s,@LN_S@,$LN_S,;t t
35400 s,@CXXCPP@,$CXXCPP,;t t
35401 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35402 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35403 s,@GTK_LIBS@,$GTK_LIBS,;t t
35404 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35405 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35406 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35407 s,@X_CFLAGS@,$X_CFLAGS,;t t
35408 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35409 s,@X_LIBS@,$X_LIBS,;t t
35410 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35411 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35412 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35413 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35414 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35415 s,@RESCOMP@,$RESCOMP,;t t
35416 s,@DEREZ@,$DEREZ,;t t
35417 s,@SETFILE@,$SETFILE,;t t
35418 s,@LIBICONV@,$LIBICONV,;t t
35419 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35420 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35421 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35422 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35423 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35424 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35425 s,@VENDOR@,$VENDOR,;t t
35426 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35427 s,@WXUNIV@,$WXUNIV,;t t
35428 s,@MONOLITHIC@,$MONOLITHIC,;t t
35429 s,@EXTRALIBS@,$EXTRALIBS,;t t
35430 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
35431 s,@UNICODE@,$UNICODE,;t t
35432 s,@BUILD@,$BUILD,;t t
35433 s,@SHARED@,$SHARED,;t t
35434 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35435 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35436 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35437 s,@SET_MAKE@,$SET_MAKE,;t t
35438 s,@MAKE_SET@,$MAKE_SET,;t t
35439 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35440 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35441 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35442 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35443 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35444 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35445 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35446 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35447 s,@DLLPREFIX@,$DLLPREFIX,;t t
35448 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35449 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35450 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35451 s,@PIC_FLAG@,$PIC_FLAG,;t t
35452 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35453 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35454 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35455 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35456 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35457 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35458 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35459 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35460 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35461 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35462 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35463 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35464 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35465 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35466 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35467 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35468 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35469 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35470 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35471 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
35472 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
35473 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35474 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35475 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35476 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35477 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35478 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35479 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35480 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35481 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35482 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35483 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35484 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35485 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35486 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35487 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35488 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35489 s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35490 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35491 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35492 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35493 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35494 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35495 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35496 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35497 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35498 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35499 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35500 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35501 s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35502 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35503 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35504 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35505 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35506 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35507 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35508 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35509 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35510 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35511 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35512 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35513 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35514 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35515 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35516 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35517 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35518 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35519 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35520 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35521 s,@LEX_STEM@,$LEX_STEM,;t t
35522 s,@PATH_IFS@,$PATH_IFS,;t t
35523 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35524 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35525 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35526 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35527 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35528 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35529 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35530 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35531 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35532 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35533 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35534 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35535 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35536 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35537 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35538 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35539 s,@WX_ALL@,$WX_ALL,;t t
35540 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35541 s,@SHARED_LD@,$SHARED_LD,;t t
35542 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35543 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35544 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35545 s,@USE_GUI@,$USE_GUI,;t t
35546 s,@AFMINSTALL@,$AFMINSTALL,;t t
35547 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35548 s,@TOOLKIT@,$TOOLKIT,;t t
35549 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35550 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35551 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35552 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35553 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35554 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35555 s,@cross_compiling@,$cross_compiling,;t t
35556 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35557 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35558 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35559 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35560 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35561 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35562 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35563 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35564 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35565 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35566 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35567 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35568 s,@GUIDIST@,$GUIDIST,;t t
35569 s,@PORT_FILES@,$PORT_FILES,;t t
35570 s,@DISTDIR@,$DISTDIR,;t t
35571 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35572 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35573 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35574 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35575 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35576 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35577 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35578 s,@RESFLAGS@,$RESFLAGS,;t t
35579 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35580 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35581 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35582 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35583 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35584 s,@MACRESCOMP@,$MACRESCOMP,;t t
35585 s,@MACSETFILE@,$MACSETFILE,;t t
35586 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35588 s,@DLLTOOL@,$DLLTOOL,;t t
35592 s,@MAKEINFO@,$MAKEINFO,;t t
35593 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35594 s,@ESD_LINK@,$ESD_LINK,;t t
35595 s,@LIBOBJS@,$LIBOBJS,;t t
35596 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35601 cat >>$CONFIG_STATUS <<\_ACEOF
35602 # Split the substitutions into bite-sized pieces for seds with
35603 # small command number limits, like on Digital OSF/1 and HP-UX.
35604 ac_max_sed_lines
=48
35605 ac_sed_frag
=1 # Number of current file.
35606 ac_beg
=1 # First line for current file.
35607 ac_end
=$ac_max_sed_lines # Line after last line for current file.
35610 while $ac_more_lines; do
35611 if test $ac_beg -gt 1; then
35612 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35614 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35616 if test ! -s $tmp/subs.frag
; then
35617 ac_more_lines
=false
35619 # The purpose of the label and of the branching condition is to
35620 # speed up the sed processing (if there are no `@' at all, there
35621 # is no need to browse any of the substitutions).
35622 # These are the two extra sed commands mentioned above.
35624 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
35625 if test -z "$ac_sed_cmds"; then
35626 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
35628 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35630 ac_sed_frag
=`expr $ac_sed_frag + 1`
35632 ac_end
=`expr $ac_end + $ac_max_sed_lines`
35635 if test -z "$ac_sed_cmds"; then
35638 fi # test -n "$CONFIG_FILES"
35641 cat >>$CONFIG_STATUS <<\_ACEOF
35642 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
35643 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35645 - | *:- | *:-:* ) # input from stdin
35647 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35648 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35649 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35650 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35651 * ) ac_file_in
=$ac_file.
in ;;
35654 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35655 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35656 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35657 X"$ac_file" : 'X\(//\)[^/]' \| \
35658 X"$ac_file" : 'X\(//\)$' \| \
35659 X"$ac_file" : 'X\(/\)' \| \
35660 . : '\(.\)' 2>/dev/null ||
35662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35664 /^X\(\/\/\)$/{ s//\1/; q; }
35665 /^X\(\/\).*/{ s//\1/; q; }
35667 { if $as_mkdir_p; then
35672 while test ! -d "$as_dir"; do
35673 as_dirs
="$as_dir $as_dirs"
35674 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35675 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35676 X"$as_dir" : 'X\(//\)[^/]' \| \
35677 X"$as_dir" : 'X\(//\)$' \| \
35678 X"$as_dir" : 'X\(/\)' \| \
35679 . : '\(.\)' 2>/dev/null ||
35681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35683 /^X\(\/\/\)$/{ s//\1/; q; }
35684 /^X\(\/\).*/{ s//\1/; q; }
35687 test ! -n "$as_dirs" || mkdir $as_dirs
35688 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35689 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35690 { (exit 1); exit 1; }; }; }
35694 if test "$ac_dir" != .
; then
35695 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35696 # A "../" for each directory in $ac_dir_suffix.
35697 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35699 ac_dir_suffix
= ac_top_builddir
=
35703 .
) # No --srcdir option. We are building in place.
35705 if test -z "$ac_top_builddir"; then
35708 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
35710 [\\/]* | ?
:[\\/]* ) # Absolute path.
35711 ac_srcdir
=$srcdir$ac_dir_suffix;
35712 ac_top_srcdir
=$srcdir ;;
35713 *) # Relative path.
35714 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
35715 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
35717 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35719 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
35720 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35721 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35722 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35726 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35727 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
35730 if test x
"$ac_file" != x
-; then
35731 { echo "$as_me:$LINENO: creating $ac_file" >&5
35732 echo "$as_me: creating $ac_file" >&6;}
35735 # Let's still pretend it is `configure' which instantiates (i.e., don't
35736 # use $as_me), people would be surprised to read:
35737 # /* config.h. Generated by config.status. */
35738 if test x
"$ac_file" = x
-; then
35741 configure_input
="$ac_file. "
35743 configure_input
=$configure_input"Generated from `echo $ac_file_in |
35744 sed 's,.*/,,'` by configure."
35746 # First look for the input files in the build tree, otherwise in the
35748 ac_file_inputs
=`IFS=:
35749 for f in $ac_file_in; do
35751 -) echo $tmp/stdin ;;
35753 # Absolute (can't be DOS-style, as IFS=:)
35754 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35755 echo "$as_me: error: cannot find input file: $f" >&2;}
35756 { (exit 1); exit 1; }; }
35759 if test -f "$f"; then
35762 elif test -f "$srcdir/$f"; then
35767 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35768 echo "$as_me: error: cannot find input file: $f" >&2;}
35769 { (exit 1); exit 1; }; }
35772 done` || { (exit 1); exit 1; }
35774 cat >>$CONFIG_STATUS <<_ACEOF
35778 cat >>$CONFIG_STATUS <<\_ACEOF
35780 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
35781 s
,@configure_input@
,$configure_input,;t t
35782 s
,@srcdir@
,$ac_srcdir,;t t
35783 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
35784 s
,@top_srcdir@
,$ac_top_srcdir,;t t
35785 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
35786 s
,@builddir@
,$ac_builddir,;t t
35787 s
,@abs_builddir@
,$ac_abs_builddir,;t t
35788 s
,@top_builddir@
,$ac_top_builddir,;t t
35789 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
35790 s
,@INSTALL@
,$ac_INSTALL,;t t
35791 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35793 if test x"$ac_file" != x-; then
35794 mv $tmp/out $ac_file
35802 cat >>$CONFIG_STATUS <<\_ACEOF
35805 # CONFIG_HEADER section.
35808 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
35809 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35811 # ac_d sets the value in "#define NAME VALUE" lines.
35812 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35813 ac_dB
='[ ].*$,\1#\2'
35816 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35817 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35818 ac_uB
='$,\1#\2define\3'
35822 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
35823 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35825 - | *:- | *:-:* ) # input from stdin
35827 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35828 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35829 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35830 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35831 * ) ac_file_in
=$ac_file.
in ;;
35834 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35835 echo "$as_me: creating $ac_file" >&6;}
35837 # First look for the input files in the build tree, otherwise in the
35839 ac_file_inputs
=`IFS=:
35840 for f in $ac_file_in; do
35842 -) echo $tmp/stdin ;;
35844 # Absolute (can't be DOS-style, as IFS=:)
35845 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35846 echo "$as_me: error: cannot find input file: $f" >&2;}
35847 { (exit 1); exit 1; }; }
35850 if test -f "$f"; then
35853 elif test -f "$srcdir/$f"; then
35858 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35859 echo "$as_me: error: cannot find input file: $f" >&2;}
35860 { (exit 1); exit 1; }; }
35863 done` || { (exit 1); exit 1; }
35864 # Remove the trailing spaces.
35865 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35869 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35870 # `conftest.undefs', that substitutes the proper values into
35871 # config.h.in to produce config.h. The first handles `#define'
35872 # templates, and the second `#undef' templates.
35873 # And first: Protect against being on the right side of a sed subst in
35874 # config.status. Protect against being in an unquoted here document
35875 # in config.status.
35876 rm -f conftest.defines conftest.undefs
35877 # Using a here document instead of a string reduces the quoting nightmare.
35878 # Putting comments in sed scripts is not portable.
35880 # `end' is used to avoid that the second main sed command (meant for
35881 # 0-ary CPP macros) applies to n-ary macro definitions.
35882 # See the Autoconf documentation for `clear'.
35883 cat >confdef2sed.
sed <<\_ACEOF
35888 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35890 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35893 # If some macros were called several times there might be several times
35894 # the same #defines, which is useless. Nevertheless, we may not want to
35895 # sort them, since we want the *last* AC-DEFINE to be honored.
35896 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35897 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35898 rm -f confdef2sed.sed
35900 # This sed command replaces #undef with comments. This is necessary, for
35901 # example, in the case of _POSIX_SOURCE, which is predefined and required
35902 # on some systems where configure will not decide to define it.
35903 cat >>conftest.undefs <<\_ACEOF
35904 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35907 # Break up conftest.defines because some shells have a limit on the size
35908 # of here documents, and old seds have small limits too (100 cmds).
35909 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35910 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35911 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35912 echo ' :' >>$CONFIG_STATUS
35913 rm -f conftest.tail
35914 while grep . conftest.defines >/dev/null
35916 # Write a limited-size here document to $tmp/defines.sed.
35917 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35918 # Speed up: don't consider the non `#define' lines.
35919 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35920 # Work around the forget-to-reset-the-flag bug.
35921 echo 't clr' >>$CONFIG_STATUS
35922 echo ': clr' >>$CONFIG_STATUS
35923 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
35925 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35927 mv $tmp/out $tmp/in
35929 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
35930 rm -f conftest.defines
35931 mv conftest.
tail conftest.defines
35933 rm -f conftest.defines
35934 echo ' fi # grep' >>$CONFIG_STATUS
35935 echo >>$CONFIG_STATUS
35937 # Break up conftest.undefs because some shells have a limit on the size
35938 # of here documents, and old seds have small limits too (100 cmds).
35939 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35940 rm -f conftest.
tail
35941 while grep . conftest.undefs
>/dev
/null
35943 # Write a limited-size here document to $tmp/undefs.sed.
35944 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35945 # Speed up: don't consider the non
`#undef'
35946 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35947 # Work around the forget-to-reset-the-flag bug.
35948 echo 't clr' >>$CONFIG_STATUS
35949 echo ': clr' >>$CONFIG_STATUS
35950 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35952 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35954 mv $tmp/out $tmp/in
35956 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35957 rm -f conftest.undefs
35958 mv conftest.tail conftest.undefs
35960 rm -f conftest.undefs
35962 cat >>$CONFIG_STATUS <<\_ACEOF
35963 # Let's still pretend it is `configure
' which instantiates (i.e., don't
35964 # use $as_me), people would be surprised to read:
35965 # /* config.h. Generated by config.status. */
35966 if test x
"$ac_file" = x
-; then
35967 echo "/* Generated by configure. */" >$tmp/config.h
35969 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35971 cat $tmp/in >>$tmp/config.h
35973 if test x
"$ac_file" != x
-; then
35974 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
35975 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35976 echo "$as_me: $ac_file is unchanged" >&6;}
35978 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35979 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35980 X"$ac_file" : 'X\(//\)[^/]' \| \
35981 X"$ac_file" : 'X\(//\)$' \| \
35982 X"$ac_file" : 'X\(/\)' \| \
35983 . : '\(.\)' 2>/dev/null ||
35985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35986 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35987 /^X\(\/\/\)$/{ s//\1/; q; }
35988 /^X\(\/\).*/{ s//\1/; q; }
35990 { if $as_mkdir_p; then
35995 while test ! -d "$as_dir"; do
35996 as_dirs
="$as_dir $as_dirs"
35997 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35998 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35999 X"$as_dir" : 'X\(//\)[^/]' \| \
36000 X"$as_dir" : 'X\(//\)$' \| \
36001 X"$as_dir" : 'X\(/\)' \| \
36002 . : '\(.\)' 2>/dev/null ||
36004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36005 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36006 /^X\(\/\/\)$/{ s//\1/; q; }
36007 /^X\(\/\).*/{ s//\1/; q; }
36010 test ! -n "$as_dirs" || mkdir $as_dirs
36011 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36012 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36013 { (exit 1); exit 1; }; }; }
36016 mv $tmp/config.h
$ac_file
36020 rm -f $tmp/config.h
36024 cat >>$CONFIG_STATUS <<\_ACEOF
36027 # CONFIG_COMMANDS section.
36029 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36030 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36031 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36032 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36033 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36034 X"$ac_dest" : 'X\(//\)[^/]' \| \
36035 X"$ac_dest" : 'X\(//\)$' \| \
36036 X"$ac_dest" : 'X\(/\)' \| \
36037 . : '\(.\)' 2>/dev/null ||
36039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36040 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36041 /^X\(\/\/\)$/{ s//\1/; q; }
36042 /^X\(\/\).*/{ s//\1/; q; }
36046 if test "$ac_dir" != .
; then
36047 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36048 # A "../" for each directory in $ac_dir_suffix.
36049 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36051 ac_dir_suffix
= ac_top_builddir
=
36055 .
) # No --srcdir option. We are building in place.
36057 if test -z "$ac_top_builddir"; then
36060 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36062 [\\/]* | ?
:[\\/]* ) # Absolute path.
36063 ac_srcdir
=$srcdir$ac_dir_suffix;
36064 ac_top_srcdir
=$srcdir ;;
36065 *) # Relative path.
36066 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36067 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36069 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36071 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36072 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36073 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36074 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36077 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36078 echo "$as_me: executing $ac_dest commands" >&6;}
36081 if test ! -h wx
-config; then
36083 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36084 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36087 if test ! -d lib
; then
36090 if test ! -d lib
/wx
; then
36093 if test ! -d lib
/wx
/include
; then
36094 mkdir lib
/wx
/include
36096 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36097 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36099 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36100 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36102 if test -f setup.h
; then
36103 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36110 cat >>$CONFIG_STATUS <<\_ACEOF
36112 { (exit 0); exit 0; }
36114 chmod +x
$CONFIG_STATUS
36115 ac_clean_files
=$ac_clean_files_save
36118 # configure is writing to config.log, and then calls config.status.
36119 # config.status does its own redirection, appending to config.log.
36120 # Unfortunately, on DOS this fails, as config.log is still kept open
36121 # by configure, so config.status won't be able to write to it; its
36122 # output is simply discarded. So we exec the FD to /dev/null,
36123 # effectively closing config.log, so it can be properly (re)opened and
36124 # appended to by config.status. When coming back to configure, we
36125 # need to make the FD available again.
36126 if test "$no_create" != yes; then
36128 ac_config_status_args
=
36129 test "$silent" = yes &&
36130 ac_config_status_args
="$ac_config_status_args --quiet"
36132 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36134 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36135 # would make configure fail if this is the last instruction.
36136 $ac_cs_success || { (exit 1); exit 1; }
36141 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36143 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36144 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36146 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36147 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36148 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36150 echo " What level of wxWindows compatibility should be enabled?"
36151 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36152 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36153 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36155 echo " Which libraries should wxWindows use?"
36156 echo " jpeg ${wxUSE_LIBJPEG-none}"
36157 echo " png ${wxUSE_LIBPNG-none}"
36158 echo " regex ${wxUSE_REGEX}"
36159 echo " tiff ${wxUSE_LIBTIFF-none}"
36160 echo " zlib ${wxUSE_ZLIB}"
36161 echo " odbc ${wxUSE_ODBC}"