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 AIX_CXX_LD RESCOMP DEREZ SETFILE LIBICONV wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS 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 SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_COCOA_USE_GUI_1 COND_USE_SOVERSOLARIS_1 COND_MONOLITHIC_1 COND_UNICODE_1 COND_MONOLITHIC_0 COND_TOOLKIT_MGL COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_WXUSE_ODBC_BUILTIN COND_USE_SOVERSION_0 COND_WXUNIV_1 COND_PLATFORM_UNIX_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_WXUSE_REGEX_BUILTIN COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_TOOLKIT_X11 COND_OFFICIAL_BUILD_0 COND_TOOLKIT_OS2 COND_TOOLKIT_MGL_USE_GUI_1 COND_WXUSE_ZLIB_BUILTIN COND_TOOLKIT_MOTIF COND_MONOLITHIC_0_SHARED_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1 COND_MONOLITHIC_0_SHARED_0 COND_USE_GUI_1 COND_USE_GUI_0 COND_TOOLKIT_MSW COND_TOOLKIT_X11_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_BUILD_DEBUG COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1 COND_WXUSE_LIBTIFF_BUILTIN COND_OFFICIAL_BUILD_1 COND_BUILD_RELEASE COND_USE_SOVERLINUX_1 COND_USE_SOSYMLINKS_1 COND_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1 COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_GTK COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MSW_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_SHARED_1 COND_PLATFORM_MAC_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-precomp enable use of precompiled headers (Mac OS X/Darwin)
877 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
878 --enable-debug_info create code with debugging information
879 --enable-debug_gdb create code with extra GDB debugging information
880 --enable-debug_cntxt use wxDebugContext
881 --enable-mem_tracing create code with memory tracing
882 --enable-profile create code with profiling information
883 --enable-no_rtti create code without RTTI information
884 --enable-no_exceptions create code without C++ exceptions handling
885 --enable-permissive compile code disregarding strict ANSI
886 --enable-no_deps create code without dependency information
887 --enable-compat20 enable wxWindows 2.0 compatibility
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
922 --enable-wxprintfv use wxWindows implementation of vprintf()
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-filesystem use virtual file systems classes
925 --enable-fs_inet use virtual HTTP/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support in wxProtocol
935 --enable-protocol-ftp FTP support in wxProtocol
936 --enable-protocol-file FILE support in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use help subsystem
940 --enable-mshtmlhelp use MS HTML Help (win32)
941 --enable-html use wxHTML sub-library
942 --enable-htmlhelp use wxHTML-based help
943 --enable-constraints use layout-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context (default for gtk+)
950 --enable-prologio not available; see contrib
951 --enable-resources not available; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag'n
'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbox use wxListBox class
970 --enable-listctrl use wxListCtrl class
971 --enable-notebook use wxNotebook class
972 --enable-radiobox use wxRadioBox class
973 --enable-radiobtn use wxRadioButton class
974 --enable-sash use wxSashWindow class
975 --enable-scrollbar use wxScrollBar class and scrollable windows
976 --enable-slider use wxSlider class
977 --enable-spinbtn use wxSpinButton class
978 --enable-spinctrl use wxSpinCtrl class
979 --enable-splitter use wxSplitterWindow class
980 --enable-statbmp use wxStaticBitmap class
981 --enable-statbox use wxStaticBox class
982 --enable-statline use wxStaticLine class
983 --enable-stattext use wxStaticText class
984 --enable-statusbar use wxStatusBar class
985 --enable-tabdialog use wxTabControl class
986 --enable-textctrl use wxTextCtrl class
987 --enable-togglebtn use wxToggleButton class
988 --enable-toolbar use wxToolBar class
989 --enable-tbarnative use native wxToolBar class
990 --enable-tbarsmpl use wxToolBarSimple class
991 --enable-treectrl use wxTreeCtrl class
992 --enable-tipwindow use wxTipWindow class
993 --enable-popupwin use wxPopUpWindow class
994 --enable-commondlg use all common dialogs
995 --enable-choicedlg use wxChoiceDialog
996 --enable-coldlg use wxColourDialog
997 --enable-filedlg use wxFileDialog
998 --enable-finddlg use wxFindReplaceDialog
999 --enable-fontdlg use wxFontDialog
1000 --enable-dirdlg use wxDirDialog
1001 --enable-msgdlg use wxMessageDialog
1002 --enable-numberdlg use wxNumberEntryDialog
1003 --enable-splash use wxSplashScreen
1004 --enable-textdlg use wxTextDialog
1005 --enable-tipdlg use startup tips
1006 --enable-progressdlg use wxProgressDialog
1007 --enable-wizarddlg use wxWizard
1008 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1009 --enable-miniframe use wxMiniFrame class
1010 --enable-tooltips use wxToolTip class
1011 --enable-splines use spline drawing code
1012 --enable-validators use wxValidator and derived classes
1013 --enable-busyinfo use wxBusyInfo
1014 --enable-joystick use wxJoystick (Linux only)
1015 --enable-metafiles use wxMetaFile (Windows only)
1016 --enable-dragimage use wxDragImage
1017 --enable-accessibility enable accessibility support
1018 --enable-palette use wxPalette class
1019 --enable-image use wxImage class
1020 --enable-gif use gif images (GIF file format)
1021 --enable-pcx use pcx images (PCX file format)
1022 --enable-iff use iff images (IFF file format)
1023 --enable-pnm use pnm images (PNM file format)
1024 --enable-xpm use xpm images (XPM file format)
1025 --enable-icocur use Windows ICO and CUR formats
1026 --disable-largefile omit support for large files
1027 --disable-gtktest do not try to compile and run a test GTK+ program
1028 --disable-gtktest Do not try to compile and run a test GTK program
1031 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1032 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1034 --with-motif use Motif/Lesstif
1035 --with-mac use Mac OS X
1036 --with-cocoa use Cocoa
1037 --with-wine use Wine
1038 --with-msw use MS-Windows
1039 --with-pm use OS/2 Presentation Manager
1040 --with-mgl use SciTech MGL
1041 --with-microwin use MicroWindows
1043 --with-libpng use libpng (PNG image format)
1044 --with-libjpeg use libjpeg (JPEG file format)
1045 --with-libtiff use libtiff (TIFF file format)
1046 --with-opengl use OpenGL (or Mesa)
1047 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1048 --with-regex enable support for wxRegEx class
1049 --with-zlib use zlib for LZW compression
1050 --with-odbc use the IODBC and wxODBC classes
1051 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1052 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1053 --with-x use the X Window System
1054 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1056 Some influential environment variables:
1057 CC C compiler command
1058 CFLAGS C compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1064 CXX C++ compiler command
1065 CXXFLAGS C++ compiler flags
1066 CXXCPP C++ preprocessor
1068 Use these variables to override the choices made by `configure' or to
help
1069 it to
find libraries and programs with nonstandard names
/locations.
1071 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .
; then
1083 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix
= ac_top_builddir
=
1091 .
) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?
:[\\/]* ) # Absolute path.
1099 ac_srcdir
=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir
=$srcdir ;;
1102 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu
; then
1116 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1117 elif test -f $ac_srcdir/configure
; then
1119 $SHELL $ac_srcdir/configure
--help=recursive
1120 elif test -f $ac_srcdir/configure.ac
||
1121 test -f $ac_srcdir/configure.
in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 wxWindows configure
2.5.0
1135 generated by GNU Autoconf
2.57
1137 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation
, Inc.
1139 This configure
script is free software
; the Free Software Foundation
1140 gives unlimited permission to copy
, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by wxWindows $as_me 2.5.0, which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir
=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next
=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true
; then
1227 ac_must_keep_next
=false
# Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next
=true
;;
1241 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1249 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal
in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest
* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h
<<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h
<<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h
<<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h
<<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h
<<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE
; then
1371 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file
in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1393 *) . .
/$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted
=false
1405 for ac_var
in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1408 eval ac_new_set
=\
$ac_env_${ac_var}_set
1409 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val
="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted
=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted
=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted
=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg
=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp
='$CPP $CPPFLAGS'
1455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1489 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1490 if test -f $ac_dir/install-sh; then
1492 ac_install_sh
="$ac_aux_dir/install-sh -c"
1494 elif test -f $ac_dir/install.sh
; then
1496 ac_install_sh
="$ac_aux_dir/install.sh -c"
1498 elif test -f $ac_dir/shtool
; then
1500 ac_install_sh
="$ac_aux_dir/shtool install -c"
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507 { (exit 1); exit 1; }; }
1509 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1513 # Make sure we can run config.sub.
1514 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1515 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: checking build system type" >&5
1520 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521 if test "${ac_cv_build+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 ac_cv_build_alias
=$build_alias
1525 test -z "$ac_cv_build_alias" &&
1526 ac_cv_build_alias
=`$ac_config_guess`
1527 test -z "$ac_cv_build_alias" &&
1528 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530 { (exit 1); exit 1; }; }
1531 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1532 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534 { (exit 1); exit 1; }; }
1537 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538 echo "${ECHO_T}$ac_cv_build" >&6
1540 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1545 echo "$as_me:$LINENO: checking host system type" >&5
1546 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1547 if test "${ac_cv_host+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1550 ac_cv_host_alias
=$host_alias
1551 test -z "$ac_cv_host_alias" &&
1552 ac_cv_host_alias
=$ac_cv_build_alias
1553 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1554 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1555 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1556 { (exit 1); exit 1; }; }
1559 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1560 echo "${ECHO_T}$ac_cv_host" >&6
1562 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1563 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1564 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1567 echo "$as_me:$LINENO: checking target system type" >&5
1568 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1569 if test "${ac_cv_target+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 ac_cv_target_alias
=$target_alias
1573 test "x$ac_cv_target_alias" = "x" &&
1574 ac_cv_target_alias
=$ac_cv_host_alias
1575 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1577 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1581 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1582 echo "${ECHO_T}$ac_cv_target" >&6
1583 target
=$ac_cv_target
1584 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1589 # The aliases save the names the user supplied, while $host etc.
1590 # will get canonicalized.
1591 test -n "$target_alias" &&
1592 test "$program_prefix$program_suffix$program_transform_name" = \
1594 program_prefix
=${target_alias}-
1598 WX_MAJOR_VERSION_NUMBER
=2
1599 WX_MINOR_VERSION_NUMBER
=5
1602 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1603 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1605 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1620 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1626 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1632 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1634 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1636 DEFAULT_wxUSE_COCOA
=0
1640 DEFAULT_wxUSE_MICROWIN
=0
1641 DEFAULT_wxUSE_MOTIF
=0
1646 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1647 DEFAULT_DEFAULT_wxUSE_GTK
=0
1648 DEFAULT_DEFAULT_wxUSE_MAC
=0
1649 DEFAULT_DEFAULT_wxUSE_MGL
=0
1650 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1651 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1652 DEFAULT_DEFAULT_wxUSE_MSW
=0
1653 DEFAULT_DEFAULT_wxUSE_PM
=0
1654 DEFAULT_DEFAULT_wxUSE_X11
=0
1663 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1664 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1666 cat >>confdefs.h
<<\_ACEOF
1673 cat >>confdefs.h
<<\_ACEOF
1678 if test "x$TMP" = "xalpha"; then
1680 cat >>confdefs.h
<<\_ACEOF
1685 DEFAULT_DEFAULT_wxUSE_GTK
=1
1689 cat >>confdefs.h
<<\_ACEOF
1694 if test "x$TMP" = "xalpha"; then
1696 cat >>confdefs.h
<<\_ACEOF
1701 DEFAULT_DEFAULT_wxUSE_GTK
=1
1703 *-*-irix5* | *-*-irix6* )
1706 cat >>confdefs.h
<<\_ACEOF
1710 cat >>confdefs.h
<<\_ACEOF
1714 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1720 cat >>confdefs.h
<<\_ACEOF
1724 cat >>confdefs.h
<<\_ACEOF
1725 #define __SOLARIS__ 1
1728 cat >>confdefs.h
<<\_ACEOF
1732 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1739 cat >>confdefs.h
<<\_ACEOF
1743 cat >>confdefs.h
<<\_ACEOF
1747 cat >>confdefs.h
<<\_ACEOF
1751 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1756 cat >>confdefs.h
<<\_ACEOF
1757 #define __FREEBSD__ 1
1760 cat >>confdefs.h
<<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_GTK
=1
1769 cat >>confdefs.h
<<\_ACEOF
1770 #define __OPENBSD__ 1
1773 cat >>confdefs.h
<<\_ACEOF
1777 DEFAULT_DEFAULT_wxUSE_GTK
=1
1782 cat >>confdefs.h
<<\_ACEOF
1783 #define __NETBSD__ 1
1786 cat >>confdefs.h
<<\_ACEOF
1790 DEFAULT_DEFAULT_wxUSE_GTK
=1
1795 cat >>confdefs.h
<<\_ACEOF
1799 cat >>confdefs.h
<<\_ACEOF
1803 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1804 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1809 cat >>confdefs.h
<<\_ACEOF
1813 cat >>confdefs.h
<<\_ACEOF
1817 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1822 cat >>confdefs.h
<<\_ACEOF
1826 cat >>confdefs.h
<<\_ACEOF
1830 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1837 cat >>confdefs.h
<<\_ACEOF
1841 cat >>confdefs.h
<<\_ACEOF
1845 cat >>confdefs.h
<<\_ACEOF
1849 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1856 cat >>confdefs.h
<<\_ACEOF
1857 #define __UNIXWARE__ 1
1862 *-*-cygwin* | *-*-mingw32* )
1866 DEFAULT_DEFAULT_wxUSE_MSW
=1
1872 cat >>confdefs.h
<<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_MGL
=1
1878 LIBS
="$LIBS -lstdc++"
1881 *-pc-os2_emx | *-pc-os2-emx )
1882 cat >>confdefs.h
<<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_PM
=1
1894 cat >>confdefs.h
<<\_ACEOF
1898 cat >>confdefs.h
<<\_ACEOF
1899 #define __DARWIN__ 1
1902 cat >>confdefs.h
<<\_ACEOF
1903 #define __POWERPC__ 1
1906 cat >>confdefs.h
<<\_ACEOF
1907 #define TARGET_CARBON 1
1910 DEFAULT_DEFAULT_wxUSE_MAC
=1
1915 cat >>confdefs.h
<<\_ACEOF
1922 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1923 echo "$as_me: error: unknown system type ${host}." >&2;}
1924 { (exit 1); exit 1; }; }
1930 wx_arg_cache_file
="configarg.cache"
1931 echo "loading argument cache $wx_arg_cache_file"
1932 rm -f ${wx_arg_cache_file}.tmp
1933 touch ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}
1938 if test $DEBUG_CONFIGURE = 1; then
1939 DEFAULT_wxUSE_UNIVERSAL
=no
1941 DEFAULT_wxUSE_NANOX
=no
1943 DEFAULT_wxUSE_THREADS
=yes
1945 DEFAULT_wxUSE_SHARED
=yes
1946 DEFAULT_wxUSE_OPTIMISE
=no
1947 DEFAULT_wxUSE_PROFILE
=no
1948 DEFAULT_wxUSE_NO_DEPS
=no
1949 DEFAULT_wxUSE_NO_RTTI
=no
1950 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1951 DEFAULT_wxUSE_PERMISSIVE
=no
1952 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1953 DEFAULT_wxUSE_DEBUG_INFO
=yes
1954 DEFAULT_wxUSE_DEBUG_GDB
=yes
1955 DEFAULT_wxUSE_MEM_TRACING
=no
1956 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1957 DEFAULT_wxUSE_DMALLOC
=no
1958 DEFAULT_wxUSE_PRECOMP
=no
1959 DEFAULT_wxUSE_APPLE_IEEE
=no
1961 DEFAULT_wxUSE_LOG
=yes
1962 DEFAULT_wxUSE_LOGWINDOW
=no
1963 DEFAULT_wxUSE_LOGGUI
=no
1964 DEFAULT_wxUSE_LOGDIALOG
=no
1966 DEFAULT_wxUSE_GUI
=yes
1967 DEFAULT_wxUSE_CONTROLS
=no
1969 DEFAULT_wxUSE_REGEX
=no
1970 DEFAULT_wxUSE_ZLIB
=no
1971 DEFAULT_wxUSE_LIBPNG
=no
1972 DEFAULT_wxUSE_LIBJPEG
=no
1973 DEFAULT_wxUSE_LIBTIFF
=no
1974 DEFAULT_wxUSE_ODBC
=no
1975 DEFAULT_wxUSE_OPENGL
=no
1977 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1978 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1979 DEFAULT_wxUSE_STD_IOSTREAM
=no
1980 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1981 DEFAULT_wxUSE_DATETIME
=no
1982 DEFAULT_wxUSE_TIMER
=no
1983 DEFAULT_wxUSE_STOPWATCH
=no
1984 DEFAULT_wxUSE_FILE
=no
1985 DEFAULT_wxUSE_FFILE
=no
1986 DEFAULT_wxUSE_TEXTBUFFER
=no
1987 DEFAULT_wxUSE_TEXTFILE
=no
1988 DEFAULT_wxUSE_WAVE
=no
1989 DEFAULT_wxUSE_INTL
=no
1990 DEFAULT_wxUSE_CONFIG
=no
1991 DEFAULT_wxUSE_FONTMAP
=no
1992 DEFAULT_wxUSE_STREAMS
=no
1993 DEFAULT_wxUSE_SOCKETS
=no
1994 DEFAULT_wxUSE_OLE
=no
1995 DEFAULT_wxUSE_DATAOBJ
=no
1996 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1997 DEFAULT_wxUSE_JOYSTICK
=no
1998 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1999 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2000 DEFAULT_wxUSE_LONGLONG
=no
2001 DEFAULT_wxUSE_GEOMETRY
=no
2003 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2004 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2005 DEFAULT_wxUSE_POSTSCRIPT
=no
2007 DEFAULT_wxUSE_CLIPBOARD
=no
2008 DEFAULT_wxUSE_TOOLTIPS
=no
2009 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2010 DEFAULT_wxUSE_DRAGIMAGE
=no
2011 DEFAULT_wxUSE_SPLINES
=no
2013 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2014 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2015 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2017 DEFAULT_wxUSE_RESOURCES
=no
2018 DEFAULT_wxUSE_CONSTRAINTS
=no
2019 DEFAULT_wxUSE_IPC
=no
2020 DEFAULT_wxUSE_HELP
=no
2021 DEFAULT_wxUSE_MS_HTML_HELP
=no
2022 DEFAULT_wxUSE_WXHTML_HELP
=no
2023 DEFAULT_wxUSE_TREELAYOUT
=no
2024 DEFAULT_wxUSE_METAFILE
=no
2025 DEFAULT_wxUSE_MIMETYPE
=no
2026 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2027 DEFAULT_wxUSE_PROTOCOL
=no
2028 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2029 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2030 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2031 DEFAULT_wxUSE_URL
=no
2033 DEFAULT_wxUSE_COMMONDLGS
=no
2034 DEFAULT_wxUSE_CHOICEDLG
=no
2035 DEFAULT_wxUSE_COLOURDLG
=no
2036 DEFAULT_wxUSE_DIRDLG
=no
2037 DEFAULT_wxUSE_FILEDLG
=no
2038 DEFAULT_wxUSE_FINDREPLDLG
=no
2039 DEFAULT_wxUSE_FONTDLG
=no
2040 DEFAULT_wxUSE_MSGDLG
=no
2041 DEFAULT_wxUSE_NUMBERDLG
=no
2042 DEFAULT_wxUSE_TEXTDLG
=no
2043 DEFAULT_wxUSE_SPLASH
=no
2044 DEFAULT_wxUSE_STARTUP_TIPS
=no
2045 DEFAULT_wxUSE_PROGRESSDLG
=no
2046 DEFAULT_wxUSE_WIZARDDLG
=no
2048 DEFAULT_wxUSE_MENUS
=no
2049 DEFAULT_wxUSE_MINIFRAME
=no
2050 DEFAULT_wxUSE_HTML
=no
2051 DEFAULT_wxUSE_FILESYSTEM
=no
2052 DEFAULT_wxUSE_FS_INET
=no
2053 DEFAULT_wxUSE_FS_ZIP
=no
2054 DEFAULT_wxUSE_BUSYINFO
=no
2055 DEFAULT_wxUSE_ZIPSTREAM
=no
2056 DEFAULT_wxUSE_VALIDATORS
=no
2058 DEFAULT_wxUSE_ACCEL
=no
2059 DEFAULT_wxUSE_BUTTON
=no
2060 DEFAULT_wxUSE_BMPBUTTON
=no
2061 DEFAULT_wxUSE_CALCTRL
=no
2062 DEFAULT_wxUSE_CARET
=no
2063 DEFAULT_wxUSE_CHECKBOX
=no
2064 DEFAULT_wxUSE_CHECKLST
=no
2065 DEFAULT_wxUSE_CHOICE
=no
2066 DEFAULT_wxUSE_COMBOBOX
=no
2067 DEFAULT_wxUSE_DISPLAY
=no
2068 DEFAULT_wxUSE_GAUGE
=no
2069 DEFAULT_wxUSE_GRID
=no
2070 DEFAULT_wxUSE_IMAGLIST
=no
2071 DEFAULT_wxUSE_LISTBOX
=no
2072 DEFAULT_wxUSE_LISTCTRL
=no
2073 DEFAULT_wxUSE_NOTEBOOK
=no
2074 DEFAULT_wxUSE_RADIOBOX
=no
2075 DEFAULT_wxUSE_RADIOBTN
=no
2076 DEFAULT_wxUSE_SASH
=no
2077 DEFAULT_wxUSE_SCROLLBAR
=no
2078 DEFAULT_wxUSE_SLIDER
=no
2079 DEFAULT_wxUSE_SPINBTN
=no
2080 DEFAULT_wxUSE_SPINCTRL
=no
2081 DEFAULT_wxUSE_SPLITTER
=no
2082 DEFAULT_wxUSE_STATBMP
=no
2083 DEFAULT_wxUSE_STATBOX
=no
2084 DEFAULT_wxUSE_STATLINE
=no
2085 DEFAULT_wxUSE_STATTEXT
=no
2086 DEFAULT_wxUSE_STATUSBAR
=yes
2087 DEFAULT_wxUSE_TABDIALOG
=no
2088 DEFAULT_wxUSE_TEXTCTRL
=no
2089 DEFAULT_wxUSE_TOGGLEBTN
=no
2090 DEFAULT_wxUSE_TOOLBAR
=no
2091 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2092 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2093 DEFAULT_wxUSE_TREECTRL
=no
2094 DEFAULT_wxUSE_POPUPWIN
=no
2095 DEFAULT_wxUSE_TIPWINDOW
=no
2097 DEFAULT_wxUSE_UNICODE
=no
2098 DEFAULT_wxUSE_UNICODE_MSLU
=no
2099 DEFAULT_wxUSE_WCSRTOMBS
=no
2101 DEFAULT_wxUSE_PALETTE
=no
2102 DEFAULT_wxUSE_IMAGE
=no
2103 DEFAULT_wxUSE_GIF
=no
2104 DEFAULT_wxUSE_PCX
=no
2105 DEFAULT_wxUSE_PNM
=no
2106 DEFAULT_wxUSE_IFF
=no
2107 DEFAULT_wxUSE_XPM
=no
2108 DEFAULT_wxUSE_ICO_CUR
=no
2109 DEFAULT_wxUSE_ACCESSIBILITY
=no
2111 DEFAULT_wxUSE_MONOLITHIC
=yes
2113 DEFAULT_wxUSE_UNIVERSAL
=no
2115 DEFAULT_wxUSE_NANOX
=no
2117 DEFAULT_wxUSE_THREADS
=yes
2119 DEFAULT_wxUSE_SHARED
=yes
2120 DEFAULT_wxUSE_OPTIMISE
=yes
2121 DEFAULT_wxUSE_PROFILE
=no
2122 DEFAULT_wxUSE_NO_DEPS
=no
2123 DEFAULT_wxUSE_NO_RTTI
=no
2124 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2125 DEFAULT_wxUSE_PERMISSIVE
=no
2126 DEFAULT_wxUSE_DEBUG_FLAG
=no
2127 DEFAULT_wxUSE_DEBUG_INFO
=no
2128 DEFAULT_wxUSE_DEBUG_GDB
=no
2129 DEFAULT_wxUSE_MEM_TRACING
=no
2130 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2131 DEFAULT_wxUSE_DMALLOC
=no
2132 DEFAULT_wxUSE_PRECOMP
=no
2133 DEFAULT_wxUSE_APPLE_IEEE
=yes
2135 DEFAULT_wxUSE_LOG
=yes
2136 DEFAULT_wxUSE_LOGWINDOW
=yes
2137 DEFAULT_wxUSE_LOGGUI
=yes
2138 DEFAULT_wxUSE_LOGDIALOG
=yes
2140 DEFAULT_wxUSE_GUI
=yes
2142 DEFAULT_wxUSE_REGEX
=yes
2143 DEFAULT_wxUSE_ZLIB
=yes
2144 DEFAULT_wxUSE_LIBPNG
=yes
2145 DEFAULT_wxUSE_LIBJPEG
=yes
2146 DEFAULT_wxUSE_LIBTIFF
=yes
2147 DEFAULT_wxUSE_ODBC
=no
2148 DEFAULT_wxUSE_OPENGL
=no
2150 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2151 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2152 DEFAULT_wxUSE_STD_IOSTREAM
=no
2153 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2154 DEFAULT_wxUSE_DATETIME
=yes
2155 DEFAULT_wxUSE_TIMER
=yes
2156 DEFAULT_wxUSE_STOPWATCH
=yes
2157 DEFAULT_wxUSE_FILE
=yes
2158 DEFAULT_wxUSE_FFILE
=yes
2159 DEFAULT_wxUSE_TEXTBUFFER
=yes
2160 DEFAULT_wxUSE_TEXTFILE
=yes
2161 DEFAULT_wxUSE_WAVE
=no
2162 DEFAULT_wxUSE_INTL
=yes
2163 DEFAULT_wxUSE_CONFIG
=yes
2164 DEFAULT_wxUSE_FONTMAP
=yes
2165 DEFAULT_wxUSE_STREAMS
=yes
2166 DEFAULT_wxUSE_SOCKETS
=yes
2167 DEFAULT_wxUSE_OLE
=yes
2168 DEFAULT_wxUSE_DATAOBJ
=yes
2169 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2170 DEFAULT_wxUSE_JOYSTICK
=yes
2171 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2172 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2173 DEFAULT_wxUSE_LONGLONG
=yes
2174 DEFAULT_wxUSE_GEOMETRY
=yes
2176 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2177 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2178 DEFAULT_wxUSE_POSTSCRIPT
=yes
2180 DEFAULT_wxUSE_CLIPBOARD
=yes
2181 DEFAULT_wxUSE_TOOLTIPS
=yes
2182 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2183 DEFAULT_wxUSE_DRAGIMAGE
=yes
2184 DEFAULT_wxUSE_SPLINES
=yes
2186 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2187 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2188 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2190 DEFAULT_wxUSE_RESOURCES
=no
2191 DEFAULT_wxUSE_CONSTRAINTS
=yes
2192 DEFAULT_wxUSE_IPC
=yes
2193 DEFAULT_wxUSE_HELP
=yes
2194 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2195 DEFAULT_wxUSE_WXHTML_HELP
=yes
2196 DEFAULT_wxUSE_TREELAYOUT
=yes
2197 DEFAULT_wxUSE_METAFILE
=yes
2198 DEFAULT_wxUSE_MIMETYPE
=yes
2199 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2200 DEFAULT_wxUSE_PROTOCOL
=yes
2201 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2202 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2203 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2204 DEFAULT_wxUSE_URL
=yes
2206 DEFAULT_wxUSE_COMMONDLGS
=yes
2207 DEFAULT_wxUSE_CHOICEDLG
=yes
2208 DEFAULT_wxUSE_COLOURDLG
=yes
2209 DEFAULT_wxUSE_DIRDLG
=yes
2210 DEFAULT_wxUSE_FILEDLG
=yes
2211 DEFAULT_wxUSE_FINDREPLDLG
=yes
2212 DEFAULT_wxUSE_FONTDLG
=yes
2213 DEFAULT_wxUSE_MSGDLG
=yes
2214 DEFAULT_wxUSE_NUMBERDLG
=yes
2215 DEFAULT_wxUSE_TEXTDLG
=yes
2216 DEFAULT_wxUSE_SPLASH
=yes
2217 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2218 DEFAULT_wxUSE_PROGRESSDLG
=yes
2219 DEFAULT_wxUSE_WIZARDDLG
=yes
2221 DEFAULT_wxUSE_MENUS
=yes
2222 DEFAULT_wxUSE_MINIFRAME
=yes
2223 DEFAULT_wxUSE_HTML
=yes
2224 DEFAULT_wxUSE_FILESYSTEM
=yes
2225 DEFAULT_wxUSE_FS_INET
=yes
2226 DEFAULT_wxUSE_FS_ZIP
=yes
2227 DEFAULT_wxUSE_BUSYINFO
=yes
2228 DEFAULT_wxUSE_ZIPSTREAM
=yes
2229 DEFAULT_wxUSE_VALIDATORS
=yes
2231 DEFAULT_wxUSE_ACCEL
=yes
2232 DEFAULT_wxUSE_BUTTON
=yes
2233 DEFAULT_wxUSE_BMPBUTTON
=yes
2234 DEFAULT_wxUSE_CALCTRL
=yes
2235 DEFAULT_wxUSE_CARET
=yes
2236 DEFAULT_wxUSE_CHECKBOX
=yes
2237 DEFAULT_wxUSE_CHECKLST
=yes
2238 DEFAULT_wxUSE_CHOICE
=yes
2239 DEFAULT_wxUSE_COMBOBOX
=yes
2240 DEFAULT_wxUSE_DISPLAY
=no
2241 DEFAULT_wxUSE_GAUGE
=yes
2242 DEFAULT_wxUSE_GRID
=yes
2243 DEFAULT_wxUSE_IMAGLIST
=yes
2244 DEFAULT_wxUSE_LISTBOX
=yes
2245 DEFAULT_wxUSE_LISTCTRL
=yes
2246 DEFAULT_wxUSE_NOTEBOOK
=yes
2247 DEFAULT_wxUSE_RADIOBOX
=yes
2248 DEFAULT_wxUSE_RADIOBTN
=yes
2249 DEFAULT_wxUSE_SASH
=yes
2250 DEFAULT_wxUSE_SCROLLBAR
=yes
2251 DEFAULT_wxUSE_SLIDER
=yes
2252 DEFAULT_wxUSE_SPINBTN
=yes
2253 DEFAULT_wxUSE_SPINCTRL
=yes
2254 DEFAULT_wxUSE_SPLITTER
=yes
2255 DEFAULT_wxUSE_STATBMP
=yes
2256 DEFAULT_wxUSE_STATBOX
=yes
2257 DEFAULT_wxUSE_STATLINE
=yes
2258 DEFAULT_wxUSE_STATTEXT
=yes
2259 DEFAULT_wxUSE_STATUSBAR
=yes
2260 DEFAULT_wxUSE_TABDIALOG
=no
2261 DEFAULT_wxUSE_TEXTCTRL
=yes
2262 DEFAULT_wxUSE_TOGGLEBTN
=yes
2263 DEFAULT_wxUSE_TOOLBAR
=yes
2264 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2265 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2266 DEFAULT_wxUSE_TREECTRL
=yes
2267 DEFAULT_wxUSE_POPUPWIN
=yes
2268 DEFAULT_wxUSE_TIPWINDOW
=yes
2270 DEFAULT_wxUSE_UNICODE
=no
2271 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2272 DEFAULT_wxUSE_WCSRTOMBS
=no
2274 DEFAULT_wxUSE_PALETTE
=yes
2275 DEFAULT_wxUSE_IMAGE
=yes
2276 DEFAULT_wxUSE_GIF
=yes
2277 DEFAULT_wxUSE_PCX
=yes
2278 DEFAULT_wxUSE_IFF
=no
2279 DEFAULT_wxUSE_PNM
=yes
2280 DEFAULT_wxUSE_XPM
=yes
2281 DEFAULT_wxUSE_ICO_CUR
=yes
2282 DEFAULT_wxUSE_ACCESSIBILITY
=no
2284 DEFAULT_wxUSE_MONOLITHIC
=yes
2289 for toolkit
in `echo $ALL_TOOLKITS`; do
2290 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2291 if test "x$LINE" != "x" ; then
2292 has_toolkit_in_cache
=1
2293 eval "DEFAULT_$LINE"
2294 eval "CACHE_$toolkit=1"
2301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2302 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2304 # Check whether --enable-gui or --disable-gui was given.
2305 if test "${enable_gui+set}" = set; then
2306 enableval
="$enable_gui"
2308 if test "$enableval" = yes; then
2309 ac_cv_use_gui
='wxUSE_GUI=yes'
2311 ac_cv_use_gui
='wxUSE_GUI=no'
2316 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2317 if test "x$LINE" != x
; then
2318 eval "DEFAULT_$LINE"
2323 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2327 eval "$ac_cv_use_gui"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2332 if test "$wxUSE_GUI" = yes; then
2333 echo "$as_me:$LINENO: result: yes" >&5
2334 echo "${ECHO_T}yes" >&6
2336 echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6
2342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2343 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2345 # Check whether --enable-monolithic or --disable-monolithic was given.
2346 if test "${enable_monolithic+set}" = set; then
2347 enableval
="$enable_monolithic"
2349 if test "$enableval" = yes; then
2350 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2352 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2357 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2358 if test "x$LINE" != x
; then
2359 eval "DEFAULT_$LINE"
2364 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2368 eval "$ac_cv_use_monolithic"
2369 if test "$no_cache" != 1; then
2370 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2373 if test "$wxUSE_MONOLITHIC" = yes; then
2374 echo "$as_me:$LINENO: result: yes" >&5
2375 echo "${ECHO_T}yes" >&6
2377 echo "$as_me:$LINENO: result: no" >&5
2378 echo "${ECHO_T}no" >&6
2382 if test "$wxUSE_GUI" = "yes"; then
2386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2387 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2389 # Check whether --enable-universal or --disable-universal was given.
2390 if test "${enable_universal+set}" = set; then
2391 enableval
="$enable_universal"
2393 if test "$enableval" = yes; then
2394 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2396 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2401 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x
; then
2403 eval "DEFAULT_$LINE"
2408 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2412 eval "$ac_cv_use_universal"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2417 if test "$wxUSE_UNIVERSAL" = yes; then
2418 echo "$as_me:$LINENO: result: yes" >&5
2419 echo "${ECHO_T}yes" >&6
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2426 # Check whether --with-gtk or --without-gtk was given.
2427 if test "${with_gtk+set}" = set; then
2429 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2432 # Check whether --with-motif or --without-motif was given.
2433 if test "${with_motif+set}" = set; then
2434 withval
="$with_motif"
2435 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2438 # Check whether --with-mac or --without-mac was given.
2439 if test "${with_mac+set}" = set; then
2441 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2444 # Check whether --with-cocoa or --without-cocoa was given.
2445 if test "${with_cocoa+set}" = set; then
2446 withval
="$with_cocoa"
2447 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2450 # Check whether --with-wine or --without-wine was given.
2451 if test "${with_wine+set}" = set; then
2452 withval
="$with_wine"
2453 wxUSE_WINE
="$withval" CACHE_WINE
=1
2456 # Check whether --with-msw or --without-msw was given.
2457 if test "${with_msw+set}" = set; then
2459 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2462 # Check whether --with-pm or --without-pm was given.
2463 if test "${with_pm+set}" = set; then
2465 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2468 # Check whether --with-mgl or --without-mgl was given.
2469 if test "${with_mgl+set}" = set; then
2471 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2474 # Check whether --with-microwin or --without-microwin was given.
2475 if test "${with_microwin+set}" = set; then
2476 withval
="$with_microwin"
2477 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2480 # Check whether --with-x11 or --without-x11 was given.
2481 if test "${with_x11+set}" = set; then
2483 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2488 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2490 # Check whether --enable-nanox or --disable-nanox was given.
2491 if test "${enable_nanox+set}" = set; then
2492 enableval
="$enable_nanox"
2494 if test "$enableval" = yes; then
2495 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2497 ac_cv_use_nanox
='wxUSE_NANOX=no'
2502 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x
; then
2504 eval "DEFAULT_$LINE"
2509 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2513 eval "$ac_cv_use_nanox"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2518 if test "$wxUSE_NANOX" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2532 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2533 if test "${enable_gtk2+set}" = set; then
2534 enableval
="$enable_gtk2"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2539 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2544 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x
; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2555 eval "$ac_cv_use_gtk2"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_GTK2" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2570 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2571 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2574 # Check whether --with-libpng or --without-libpng was given.
2575 if test "${with_libpng+set}" = set; then
2576 withval
="$with_libpng"
2578 if test "$withval" = yes; then
2579 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2580 elif test "$withval" = no
; then
2581 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2582 elif test "$withval" = sys
; then
2583 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2584 elif test "$withval" = builtin; then
2585 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2589 { (exit 1); exit 1; }; }
2594 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x
; then
2596 eval "DEFAULT_$LINE"
2601 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2605 eval "$ac_cv_use_libpng"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2610 if test "$wxUSE_LIBPNG" = yes; then
2611 echo "$as_me:$LINENO: result: yes" >&5
2612 echo "${ECHO_T}yes" >&6
2613 elif test "$wxUSE_LIBPNG" = no
; then
2614 echo "$as_me:$LINENO: result: no" >&5
2615 echo "${ECHO_T}no" >&6
2616 elif test "$wxUSE_LIBPNG" = sys
; then
2617 echo "$as_me:$LINENO: result: system version" >&5
2618 echo "${ECHO_T}system version" >&6
2619 elif test "$wxUSE_LIBPNG" = builtin; then
2620 echo "$as_me:$LINENO: result: builtin version" >&5
2621 echo "${ECHO_T}builtin version" >&6
2623 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2624 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2625 { (exit 1); exit 1; }; }
2629 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2630 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2633 # Check whether --with-libjpeg or --without-libjpeg was given.
2634 if test "${with_libjpeg+set}" = set; then
2635 withval
="$with_libjpeg"
2637 if test "$withval" = yes; then
2638 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2639 elif test "$withval" = no
; then
2640 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2641 elif test "$withval" = sys
; then
2642 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2643 elif test "$withval" = builtin; then
2644 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2647 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2648 { (exit 1); exit 1; }; }
2653 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x
; then
2655 eval "DEFAULT_$LINE"
2660 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2664 eval "$ac_cv_use_libjpeg"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2669 if test "$wxUSE_LIBJPEG" = yes; then
2670 echo "$as_me:$LINENO: result: yes" >&5
2671 echo "${ECHO_T}yes" >&6
2672 elif test "$wxUSE_LIBJPEG" = no
; then
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2675 elif test "$wxUSE_LIBJPEG" = sys
; then
2676 echo "$as_me:$LINENO: result: system version" >&5
2677 echo "${ECHO_T}system version" >&6
2678 elif test "$wxUSE_LIBJPEG" = builtin; then
2679 echo "$as_me:$LINENO: result: builtin version" >&5
2680 echo "${ECHO_T}builtin version" >&6
2682 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2683 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2684 { (exit 1); exit 1; }; }
2688 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2689 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2692 # Check whether --with-libtiff or --without-libtiff was given.
2693 if test "${with_libtiff+set}" = set; then
2694 withval
="$with_libtiff"
2696 if test "$withval" = yes; then
2697 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2698 elif test "$withval" = no
; then
2699 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2700 elif test "$withval" = sys
; then
2701 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2702 elif test "$withval" = builtin; then
2703 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2706 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2707 { (exit 1); exit 1; }; }
2712 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x
; then
2714 eval "DEFAULT_$LINE"
2719 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2723 eval "$ac_cv_use_libtiff"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2728 if test "$wxUSE_LIBTIFF" = yes; then
2729 echo "$as_me:$LINENO: result: yes" >&5
2730 echo "${ECHO_T}yes" >&6
2731 elif test "$wxUSE_LIBTIFF" = no
; then
2732 echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2734 elif test "$wxUSE_LIBTIFF" = sys
; then
2735 echo "$as_me:$LINENO: result: system version" >&5
2736 echo "${ECHO_T}system version" >&6
2737 elif test "$wxUSE_LIBTIFF" = builtin; then
2738 echo "$as_me:$LINENO: result: builtin version" >&5
2739 echo "${ECHO_T}builtin version" >&6
2741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2742 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2743 { (exit 1); exit 1; }; }
2747 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2748 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2751 # Check whether --with-opengl or --without-opengl was given.
2752 if test "${with_opengl+set}" = set; then
2753 withval
="$with_opengl"
2755 if test "$withval" = yes; then
2756 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2758 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2763 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x
; then
2765 eval "DEFAULT_$LINE"
2770 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2774 eval "$ac_cv_use_opengl"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2779 if test "$wxUSE_OPENGL" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781 echo "${ECHO_T}yes" >&6
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2791 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2792 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2795 # Check whether --with-dmalloc or --without-dmalloc was given.
2796 if test "${with_dmalloc+set}" = set; then
2797 withval
="$with_dmalloc"
2799 if test "$withval" = yes; then
2800 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2802 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2807 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x
; then
2809 eval "DEFAULT_$LINE"
2814 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2818 eval "$ac_cv_use_dmalloc"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2823 if test "$wxUSE_DMALLOC" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825 echo "${ECHO_T}yes" >&6
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2832 echo "$as_me:$LINENO: checking for --with-regex" >&5
2833 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2836 # Check whether --with-regex or --without-regex was given.
2837 if test "${with_regex+set}" = set; then
2838 withval
="$with_regex"
2840 if test "$withval" = yes; then
2841 ac_cv_use_regex
='wxUSE_REGEX=yes'
2842 elif test "$withval" = no
; then
2843 ac_cv_use_regex
='wxUSE_REGEX=no'
2844 elif test "$withval" = sys
; then
2845 ac_cv_use_regex
='wxUSE_REGEX=sys'
2846 elif test "$withval" = builtin; then
2847 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2849 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2850 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2851 { (exit 1); exit 1; }; }
2856 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x
; then
2858 eval "DEFAULT_$LINE"
2863 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2867 eval "$ac_cv_use_regex"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2872 if test "$wxUSE_REGEX" = yes; then
2873 echo "$as_me:$LINENO: result: yes" >&5
2874 echo "${ECHO_T}yes" >&6
2875 elif test "$wxUSE_REGEX" = no
; then
2876 echo "$as_me:$LINENO: result: no" >&5
2877 echo "${ECHO_T}no" >&6
2878 elif test "$wxUSE_REGEX" = sys
; then
2879 echo "$as_me:$LINENO: result: system version" >&5
2880 echo "${ECHO_T}system version" >&6
2881 elif test "$wxUSE_REGEX" = builtin; then
2882 echo "$as_me:$LINENO: result: builtin version" >&5
2883 echo "${ECHO_T}builtin version" >&6
2885 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2886 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2887 { (exit 1); exit 1; }; }
2891 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2892 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2895 # Check whether --with-zlib or --without-zlib was given.
2896 if test "${with_zlib+set}" = set; then
2897 withval
="$with_zlib"
2899 if test "$withval" = yes; then
2900 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2901 elif test "$withval" = no
; then
2902 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2903 elif test "$withval" = sys
; then
2904 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2905 elif test "$withval" = builtin; then
2906 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2908 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2909 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2910 { (exit 1); exit 1; }; }
2915 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2916 if test "x$LINE" != x
; then
2917 eval "DEFAULT_$LINE"
2922 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2926 eval "$ac_cv_use_zlib"
2927 if test "$no_cache" != 1; then
2928 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2931 if test "$wxUSE_ZLIB" = yes; then
2932 echo "$as_me:$LINENO: result: yes" >&5
2933 echo "${ECHO_T}yes" >&6
2934 elif test "$wxUSE_ZLIB" = no
; then
2935 echo "$as_me:$LINENO: result: no" >&5
2936 echo "${ECHO_T}no" >&6
2937 elif test "$wxUSE_ZLIB" = sys
; then
2938 echo "$as_me:$LINENO: result: system version" >&5
2939 echo "${ECHO_T}system version" >&6
2940 elif test "$wxUSE_ZLIB" = builtin; then
2941 echo "$as_me:$LINENO: result: builtin version" >&5
2942 echo "${ECHO_T}builtin version" >&6
2944 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2945 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2946 { (exit 1); exit 1; }; }
2950 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2951 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2954 # Check whether --with-odbc or --without-odbc was given.
2955 if test "${with_odbc+set}" = set; then
2956 withval
="$with_odbc"
2958 if test "$withval" = yes; then
2959 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2960 elif test "$withval" = no
; then
2961 ac_cv_use_odbc
='wxUSE_ODBC=no'
2962 elif test "$withval" = sys
; then
2963 ac_cv_use_odbc
='wxUSE_ODBC=sys'
2964 elif test "$withval" = builtin; then
2965 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
2967 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2968 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2969 { (exit 1); exit 1; }; }
2974 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2975 if test "x$LINE" != x
; then
2976 eval "DEFAULT_$LINE"
2981 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2985 eval "$ac_cv_use_odbc"
2986 if test "$no_cache" != 1; then
2987 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2990 if test "$wxUSE_ODBC" = yes; then
2991 echo "$as_me:$LINENO: result: yes" >&5
2992 echo "${ECHO_T}yes" >&6
2993 elif test "$wxUSE_ODBC" = no
; then
2994 echo "$as_me:$LINENO: result: no" >&5
2995 echo "${ECHO_T}no" >&6
2996 elif test "$wxUSE_ODBC" = sys
; then
2997 echo "$as_me:$LINENO: result: system version" >&5
2998 echo "${ECHO_T}system version" >&6
2999 elif test "$wxUSE_ODBC" = builtin; then
3000 echo "$as_me:$LINENO: result: builtin version" >&5
3001 echo "${ECHO_T}builtin version" >&6
3003 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3004 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3005 { (exit 1); exit 1; }; }
3012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3013 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3015 # Check whether --enable-shared or --disable-shared was given.
3016 if test "${enable_shared+set}" = set; then
3017 enableval
="$enable_shared"
3019 if test "$enableval" = yes; then
3020 ac_cv_use_shared
='wxUSE_SHARED=yes'
3022 ac_cv_use_shared
='wxUSE_SHARED=no'
3027 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3028 if test "x$LINE" != x
; then
3029 eval "DEFAULT_$LINE"
3034 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3038 eval "$ac_cv_use_shared"
3039 if test "$no_cache" != 1; then
3040 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3043 if test "$wxUSE_SHARED" = yes; then
3044 echo "$as_me:$LINENO: result: yes" >&5
3045 echo "${ECHO_T}yes" >&6
3047 echo "$as_me:$LINENO: result: no" >&5
3048 echo "${ECHO_T}no" >&6
3053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3054 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3056 # Check whether --enable-optimise or --disable-optimise was given.
3057 if test "${enable_optimise+set}" = set; then
3058 enableval
="$enable_optimise"
3060 if test "$enableval" = yes; then
3061 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3063 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3068 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x
; then
3070 eval "DEFAULT_$LINE"
3075 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3079 eval "$ac_cv_use_optimise"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3084 if test "$wxUSE_OPTIMISE" = yes; then
3085 echo "$as_me:$LINENO: result: yes" >&5
3086 echo "${ECHO_T}yes" >&6
3088 echo "$as_me:$LINENO: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3095 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3097 # Check whether --enable-debug or --disable-debug was given.
3098 if test "${enable_debug+set}" = set; then
3099 enableval
="$enable_debug"
3101 if test "$enableval" = yes; then
3102 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3104 ac_cv_use_debug
='wxUSE_DEBUG=no'
3109 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x
; then
3111 eval "DEFAULT_$LINE"
3116 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3120 eval "$ac_cv_use_debug"
3121 if test "$no_cache" != 1; then
3122 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3125 if test "$wxUSE_DEBUG" = yes; then
3126 echo "$as_me:$LINENO: result: yes" >&5
3127 echo "${ECHO_T}yes" >&6
3129 echo "$as_me:$LINENO: result: no" >&5
3130 echo "${ECHO_T}no" >&6
3136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-precomp" >&5
3137 echo $ECHO_N "checking for --${enablestring:-enable}-precomp... $ECHO_C" >&6
3139 # Check whether --enable-precomp or --disable-precomp was given.
3140 if test "${enable_precomp+set}" = set; then
3141 enableval
="$enable_precomp"
3143 if test "$enableval" = yes; then
3144 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
3146 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
3151 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x
; then
3153 eval "DEFAULT_$LINE"
3158 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
3162 eval "$ac_cv_use_precomp"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3167 if test "$wxUSE_PRECOMP" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169 echo "${ECHO_T}yes" >&6
3171 echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3176 if test "$wxUSE_DEBUG" = "yes"; then
3177 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3178 DEFAULT_wxUSE_DEBUG_INFO
=yes
3179 elif test "$wxUSE_DEBUG" = "no"; then
3180 DEFAULT_wxUSE_DEBUG_FLAG
=no
3181 DEFAULT_wxUSE_DEBUG_INFO
=no
3186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3187 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3189 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3190 if test "${enable_debug_flag+set}" = set; then
3191 enableval
="$enable_debug_flag"
3193 if test "$enableval" = yes; then
3194 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3196 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3201 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x
; then
3203 eval "DEFAULT_$LINE"
3208 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3212 eval "$ac_cv_use_debug_flag"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3217 if test "$wxUSE_DEBUG_FLAG" = yes; then
3218 echo "$as_me:$LINENO: result: yes" >&5
3219 echo "${ECHO_T}yes" >&6
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3228 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3230 # Check whether --enable-debug_info or --disable-debug_info was given.
3231 if test "${enable_debug_info+set}" = set; then
3232 enableval
="$enable_debug_info"
3234 if test "$enableval" = yes; then
3235 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3237 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3242 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x
; then
3244 eval "DEFAULT_$LINE"
3249 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3253 eval "$ac_cv_use_debug_info"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_DEBUG_INFO" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3269 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3271 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3272 if test "${enable_debug_gdb+set}" = set; then
3273 enableval
="$enable_debug_gdb"
3275 if test "$enableval" = yes; then
3276 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3278 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3283 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3284 if test "x$LINE" != x
; then
3285 eval "DEFAULT_$LINE"
3290 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3294 eval "$ac_cv_use_debug_gdb"
3295 if test "$no_cache" != 1; then
3296 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3299 if test "$wxUSE_DEBUG_GDB" = yes; then
3300 echo "$as_me:$LINENO: result: yes" >&5
3301 echo "${ECHO_T}yes" >&6
3303 echo "$as_me:$LINENO: result: no" >&5
3304 echo "${ECHO_T}no" >&6
3309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3310 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3312 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3313 if test "${enable_debug_cntxt+set}" = set; then
3314 enableval
="$enable_debug_cntxt"
3316 if test "$enableval" = yes; then
3317 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3319 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3324 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3325 if test "x$LINE" != x
; then
3326 eval "DEFAULT_$LINE"
3331 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3335 eval "$ac_cv_use_debug_cntxt"
3336 if test "$no_cache" != 1; then
3337 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3340 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3341 echo "$as_me:$LINENO: result: yes" >&5
3342 echo "${ECHO_T}yes" >&6
3344 echo "$as_me:$LINENO: result: no" >&5
3345 echo "${ECHO_T}no" >&6
3350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3351 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3353 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3354 if test "${enable_mem_tracing+set}" = set; then
3355 enableval
="$enable_mem_tracing"
3357 if test "$enableval" = yes; then
3358 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3360 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3365 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x
; then
3367 eval "DEFAULT_$LINE"
3372 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3376 eval "$ac_cv_use_mem_tracing"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3381 if test "$wxUSE_MEM_TRACING" = yes; then
3382 echo "$as_me:$LINENO: result: yes" >&5
3383 echo "${ECHO_T}yes" >&6
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3392 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3394 # Check whether --enable-profile or --disable-profile was given.
3395 if test "${enable_profile+set}" = set; then
3396 enableval
="$enable_profile"
3398 if test "$enableval" = yes; then
3399 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3401 ac_cv_use_profile
='wxUSE_PROFILE=no'
3406 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3417 eval "$ac_cv_use_profile"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_PROFILE" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3433 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3435 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3436 if test "${enable_no_rtti+set}" = set; then
3437 enableval
="$enable_no_rtti"
3439 if test "$enableval" = yes; then
3440 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3442 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3447 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3448 if test "x$LINE" != x
; then
3449 eval "DEFAULT_$LINE"
3454 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3458 eval "$ac_cv_use_no_rtti"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3463 if test "$wxUSE_NO_RTTI" = yes; then
3464 echo "$as_me:$LINENO: result: yes" >&5
3465 echo "${ECHO_T}yes" >&6
3467 echo "$as_me:$LINENO: result: no" >&5
3468 echo "${ECHO_T}no" >&6
3473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3474 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3476 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3477 if test "${enable_no_exceptions+set}" = set; then
3478 enableval
="$enable_no_exceptions"
3480 if test "$enableval" = yes; then
3481 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3483 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3488 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x
; then
3490 eval "DEFAULT_$LINE"
3495 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3499 eval "$ac_cv_use_no_exceptions"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3504 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506 echo "${ECHO_T}yes" >&6
3508 echo "$as_me:$LINENO: result: no" >&5
3509 echo "${ECHO_T}no" >&6
3514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3517 # Check whether --enable-permissive or --disable-permissive was given.
3518 if test "${enable_permissive+set}" = set; then
3519 enableval
="$enable_permissive"
3521 if test "$enableval" = yes; then
3522 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3524 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3529 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x
; then
3531 eval "DEFAULT_$LINE"
3536 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3540 eval "$ac_cv_use_permissive"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3545 if test "$wxUSE_PERMISSIVE" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3556 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3558 # Check whether --enable-no_deps or --disable-no_deps was given.
3559 if test "${enable_no_deps+set}" = set; then
3560 enableval
="$enable_no_deps"
3562 if test "$enableval" = yes; then
3563 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3565 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3570 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x
; then
3572 eval "DEFAULT_$LINE"
3577 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3581 eval "$ac_cv_use_no_deps"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3586 if test "$wxUSE_NO_DEPS" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3598 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3600 # Check whether --enable-compat20 or --disable-compat20 was given.
3601 if test "${enable_compat20+set}" = set; then
3602 enableval
="$enable_compat20"
3604 if test "$enableval" = yes; then
3605 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
3607 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3612 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3613 if test "x$LINE" != x
; then
3614 eval "DEFAULT_$LINE"
3619 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3623 eval "$ac_cv_use_compat20"
3624 if test "$no_cache" != 1; then
3625 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3628 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3629 echo "$as_me:$LINENO: result: yes" >&5
3630 echo "${ECHO_T}yes" >&6
3632 echo "$as_me:$LINENO: result: no" >&5
3633 echo "${ECHO_T}no" >&6
3638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3639 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3641 # Check whether --enable-compat22 or --disable-compat22 was given.
3642 if test "${enable_compat22+set}" = set; then
3643 enableval
="$enable_compat22"
3645 if test "$enableval" = yes; then
3646 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3648 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3653 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3654 if test "x$LINE" != x
; then
3655 eval "DEFAULT_$LINE"
3660 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3664 eval "$ac_cv_use_compat22"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3669 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3670 echo "$as_me:$LINENO: result: yes" >&5
3671 echo "${ECHO_T}yes" >&6
3673 echo "$as_me:$LINENO: result: no" >&5
3674 echo "${ECHO_T}no" >&6
3678 enablestring
=disable
3679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3680 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3682 # Check whether --enable-compat24 or --disable-compat24 was given.
3683 if test "${enable_compat24+set}" = set; then
3684 enableval
="$enable_compat24"
3686 if test "$enableval" = yes; then
3687 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3689 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3694 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x
; then
3696 eval "DEFAULT_$LINE"
3701 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3705 eval "$ac_cv_use_compat24"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3710 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3711 echo "$as_me:$LINENO: result: yes" >&5
3712 echo "${ECHO_T}yes" >&6
3714 echo "$as_me:$LINENO: result: no" >&5
3715 echo "${ECHO_T}no" >&6
3719 # Check whether --enable-rpath or --disable-rpath was given.
3720 if test "${enable_rpath+set}" = set; then
3721 enableval
="$enable_rpath"
3722 wxRPATH_DIR
="$enableval"
3725 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3726 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3734 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3736 # Check whether --enable-intl or --disable-intl was given.
3737 if test "${enable_intl+set}" = set; then
3738 enableval
="$enable_intl"
3740 if test "$enableval" = yes; then
3741 ac_cv_use_intl
='wxUSE_INTL=yes'
3743 ac_cv_use_intl
='wxUSE_INTL=no'
3748 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3749 if test "x$LINE" != x
; then
3750 eval "DEFAULT_$LINE"
3755 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3759 eval "$ac_cv_use_intl"
3760 if test "$no_cache" != 1; then
3761 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3764 if test "$wxUSE_INTL" = yes; then
3765 echo "$as_me:$LINENO: result: yes" >&5
3766 echo "${ECHO_T}yes" >&6
3768 echo "$as_me:$LINENO: result: no" >&5
3769 echo "${ECHO_T}no" >&6
3774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3775 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3777 # Check whether --enable-config or --disable-config was given.
3778 if test "${enable_config+set}" = set; then
3779 enableval
="$enable_config"
3781 if test "$enableval" = yes; then
3782 ac_cv_use_config
='wxUSE_CONFIG=yes'
3784 ac_cv_use_config
='wxUSE_CONFIG=no'
3789 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3790 if test "x$LINE" != x
; then
3791 eval "DEFAULT_$LINE"
3796 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3800 eval "$ac_cv_use_config"
3801 if test "$no_cache" != 1; then
3802 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3805 if test "$wxUSE_CONFIG" = yes; then
3806 echo "$as_me:$LINENO: result: yes" >&5
3807 echo "${ECHO_T}yes" >&6
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3817 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3819 # Check whether --enable-protocols or --disable-protocols was given.
3820 if test "${enable_protocols+set}" = set; then
3821 enableval
="$enable_protocols"
3823 if test "$enableval" = yes; then
3824 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3826 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3831 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x
; then
3833 eval "DEFAULT_$LINE"
3838 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3842 eval "$ac_cv_use_protocols"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3847 if test "$wxUSE_PROTOCOL" = yes; then
3848 echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6
3851 echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6
3857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3858 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3860 # Check whether --enable-ftp or --disable-ftp was given.
3861 if test "${enable_ftp+set}" = set; then
3862 enableval
="$enable_ftp"
3864 if test "$enableval" = yes; then
3865 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3867 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3872 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3873 if test "x$LINE" != x
; then
3874 eval "DEFAULT_$LINE"
3879 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3883 eval "$ac_cv_use_ftp"
3884 if test "$no_cache" != 1; then
3885 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3888 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3889 echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6
3892 echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6
3898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3899 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3901 # Check whether --enable-http or --disable-http was given.
3902 if test "${enable_http+set}" = set; then
3903 enableval
="$enable_http"
3905 if test "$enableval" = yes; then
3906 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3908 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3913 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x
; then
3915 eval "DEFAULT_$LINE"
3920 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3924 eval "$ac_cv_use_http"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3929 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3930 echo "$as_me:$LINENO: result: yes" >&5
3931 echo "${ECHO_T}yes" >&6
3933 echo "$as_me:$LINENO: result: no" >&5
3934 echo "${ECHO_T}no" >&6
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3940 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3942 # Check whether --enable-fileproto or --disable-fileproto was given.
3943 if test "${enable_fileproto+set}" = set; then
3944 enableval
="$enable_fileproto"
3946 if test "$enableval" = yes; then
3947 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3949 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3954 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x
; then
3956 eval "DEFAULT_$LINE"
3961 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3965 eval "$ac_cv_use_fileproto"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
3981 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
3983 # Check whether --enable-sockets or --disable-sockets was given.
3984 if test "${enable_sockets+set}" = set; then
3985 enableval
="$enable_sockets"
3987 if test "$enableval" = yes; then
3988 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3990 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3995 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x
; then
3997 eval "DEFAULT_$LINE"
4002 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4006 eval "$ac_cv_use_sockets"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4011 if test "$wxUSE_SOCKETS" = yes; then
4012 echo "$as_me:$LINENO: result: yes" >&5
4013 echo "${ECHO_T}yes" >&6
4015 echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6
4021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4022 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4024 # Check whether --enable-ole or --disable-ole was given.
4025 if test "${enable_ole+set}" = set; then
4026 enableval
="$enable_ole"
4028 if test "$enableval" = yes; then
4029 ac_cv_use_ole
='wxUSE_OLE=yes'
4031 ac_cv_use_ole
='wxUSE_OLE=no'
4036 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x
; then
4038 eval "DEFAULT_$LINE"
4043 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4047 eval "$ac_cv_use_ole"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4052 if test "$wxUSE_OLE" = yes; then
4053 echo "$as_me:$LINENO: result: yes" >&5
4054 echo "${ECHO_T}yes" >&6
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4063 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4065 # Check whether --enable-dataobj or --disable-dataobj was given.
4066 if test "${enable_dataobj+set}" = set; then
4067 enableval
="$enable_dataobj"
4069 if test "$enableval" = yes; then
4070 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4072 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4077 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x
; then
4079 eval "DEFAULT_$LINE"
4084 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4088 eval "$ac_cv_use_dataobj"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_DATAOBJ" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095 echo "${ECHO_T}yes" >&6
4097 echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6
4104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4105 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4107 # Check whether --enable-ipc or --disable-ipc was given.
4108 if test "${enable_ipc+set}" = set; then
4109 enableval
="$enable_ipc"
4111 if test "$enableval" = yes; then
4112 ac_cv_use_ipc
='wxUSE_IPC=yes'
4114 ac_cv_use_ipc
='wxUSE_IPC=no'
4119 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x
; then
4121 eval "DEFAULT_$LINE"
4126 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4130 eval "$ac_cv_use_ipc"
4131 if test "$no_cache" != 1; then
4132 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4135 if test "$wxUSE_IPC" = yes; then
4136 echo "$as_me:$LINENO: result: yes" >&5
4137 echo "${ECHO_T}yes" >&6
4139 echo "$as_me:$LINENO: result: no" >&5
4140 echo "${ECHO_T}no" >&6
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4147 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4149 # Check whether --enable-cmdline or --disable-cmdline was given.
4150 if test "${enable_cmdline+set}" = set; then
4151 enableval
="$enable_cmdline"
4153 if test "$enableval" = yes; then
4154 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4156 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4161 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x
; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4172 eval "$ac_cv_use_cmdline"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4177 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4190 # Check whether --enable-datetime or --disable-datetime was given.
4191 if test "${enable_datetime+set}" = set; then
4192 enableval
="$enable_datetime"
4194 if test "$enableval" = yes; then
4195 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4197 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4202 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x
; then
4204 eval "DEFAULT_$LINE"
4209 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4213 eval "$ac_cv_use_datetime"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_DATETIME" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4231 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4232 if test "${enable_stopwatch+set}" = set; then
4233 enableval
="$enable_stopwatch"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
4238 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
4243 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x
; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4254 eval "$ac_cv_use_stopwatch"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_STOPWATCH" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4272 # Check whether --enable-dialupman or --disable-dialupman was given.
4273 if test "${enable_dialupman+set}" = set; then
4274 enableval
="$enable_dialupman"
4276 if test "$enableval" = yes; then
4277 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4279 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4284 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x
; then
4286 eval "DEFAULT_$LINE"
4291 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4295 eval "$ac_cv_use_dialupman"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302 echo "${ECHO_T}yes" >&6
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4311 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4313 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4314 if test "${enable_apple_ieee+set}" = set; then
4315 enableval
="$enable_apple_ieee"
4317 if test "$enableval" = yes; then
4318 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4320 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4325 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4326 if test "x$LINE" != x
; then
4327 eval "DEFAULT_$LINE"
4332 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4336 eval "$ac_cv_use_apple_ieee"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4341 if test "$wxUSE_APPLE_IEEE" = yes; then
4342 echo "$as_me:$LINENO: result: yes" >&5
4343 echo "${ECHO_T}yes" >&6
4345 echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6
4351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4352 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4354 # Check whether --enable-timer or --disable-timer was given.
4355 if test "${enable_timer+set}" = set; then
4356 enableval
="$enable_timer"
4358 if test "$enableval" = yes; then
4359 ac_cv_use_timer
='wxUSE_TIMER=yes'
4361 ac_cv_use_timer
='wxUSE_TIMER=no'
4366 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x
; then
4368 eval "DEFAULT_$LINE"
4373 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4377 eval "$ac_cv_use_timer"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4382 if test "$wxUSE_TIMER" = yes; then
4383 echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6
4386 echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6
4392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4395 # Check whether --enable-wave or --disable-wave was given.
4396 if test "${enable_wave+set}" = set; then
4397 enableval
="$enable_wave"
4399 if test "$enableval" = yes; then
4400 ac_cv_use_wave
='wxUSE_WAVE=yes'
4402 ac_cv_use_wave
='wxUSE_WAVE=no'
4407 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4408 if test "x$LINE" != x
; then
4409 eval "DEFAULT_$LINE"
4414 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4418 eval "$ac_cv_use_wave"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_WAVE" = yes; then
4424 echo "$as_me:$LINENO: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6
4427 echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6
4433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4434 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4436 # Check whether --enable-fraction or --disable-fraction was given.
4437 if test "${enable_fraction+set}" = set; then
4438 enableval
="$enable_fraction"
4440 if test "$enableval" = yes; then
4441 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
4443 ac_cv_use_fraction
='wxUSE_FRACTION=no'
4448 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4449 if test "x$LINE" != x
; then
4450 eval "DEFAULT_$LINE"
4455 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4459 eval "$ac_cv_use_fraction"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4464 if test "$wxUSE_FRACTION" = yes; then
4465 echo "$as_me:$LINENO: result: yes" >&5
4466 echo "${ECHO_T}yes" >&6
4468 echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6
4474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4475 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4477 # Check whether --enable-dynlib or --disable-dynlib was given.
4478 if test "${enable_dynlib+set}" = set; then
4479 enableval
="$enable_dynlib"
4481 if test "$enableval" = yes; then
4482 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4484 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4489 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x
; then
4491 eval "DEFAULT_$LINE"
4496 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4500 eval "$ac_cv_use_dynlib"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4505 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4506 echo "$as_me:$LINENO: result: yes" >&5
4507 echo "${ECHO_T}yes" >&6
4509 echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6
4515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4516 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4518 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4519 if test "${enable_dynamicloader+set}" = set; then
4520 enableval
="$enable_dynamicloader"
4522 if test "$enableval" = yes; then
4523 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4525 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4530 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x
; then
4532 eval "DEFAULT_$LINE"
4537 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4541 eval "$ac_cv_use_dynamicloader"
4542 if test "$no_cache" != 1; then
4543 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4546 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4547 echo "$as_me:$LINENO: result: yes" >&5
4548 echo "${ECHO_T}yes" >&6
4550 echo "$as_me:$LINENO: result: no" >&5
4551 echo "${ECHO_T}no" >&6
4556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4557 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4559 # Check whether --enable-longlong or --disable-longlong was given.
4560 if test "${enable_longlong+set}" = set; then
4561 enableval
="$enable_longlong"
4563 if test "$enableval" = yes; then
4564 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
4566 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
4571 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x
; then
4573 eval "DEFAULT_$LINE"
4578 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4582 eval "$ac_cv_use_longlong"
4583 if test "$no_cache" != 1; then
4584 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4587 if test "$wxUSE_LONGLONG" = yes; then
4588 echo "$as_me:$LINENO: result: yes" >&5
4589 echo "${ECHO_T}yes" >&6
4591 echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6
4597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4598 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4600 # Check whether --enable-geometry or --disable-geometry was given.
4601 if test "${enable_geometry+set}" = set; then
4602 enableval
="$enable_geometry"
4604 if test "$enableval" = yes; then
4605 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4607 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4612 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x
; then
4614 eval "DEFAULT_$LINE"
4619 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4623 eval "$ac_cv_use_geometry"
4624 if test "$no_cache" != 1; then
4625 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4628 if test "$wxUSE_GEOMETRY" = yes; then
4629 echo "$as_me:$LINENO: result: yes" >&5
4630 echo "${ECHO_T}yes" >&6
4632 echo "$as_me:$LINENO: result: no" >&5
4633 echo "${ECHO_T}no" >&6
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4641 # Check whether --enable-log or --disable-log was given.
4642 if test "${enable_log+set}" = set; then
4643 enableval
="$enable_log"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_log
='wxUSE_LOG=yes'
4648 ac_cv_use_log
='wxUSE_LOG=no'
4653 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4664 eval "$ac_cv_use_log"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_LOG" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4682 # Check whether --enable-streams or --disable-streams was given.
4683 if test "${enable_streams+set}" = set; then
4684 enableval
="$enable_streams"
4686 if test "$enableval" = yes; then
4687 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4689 ac_cv_use_streams
='wxUSE_STREAMS=no'
4694 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x
; then
4696 eval "DEFAULT_$LINE"
4701 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4705 eval "$ac_cv_use_streams"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4710 if test "$wxUSE_STREAMS" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4723 # Check whether --enable-file or --disable-file was given.
4724 if test "${enable_file+set}" = set; then
4725 enableval
="$enable_file"
4727 if test "$enableval" = yes; then
4728 ac_cv_use_file
='wxUSE_FILE=yes'
4730 ac_cv_use_file
='wxUSE_FILE=no'
4735 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x
; then
4737 eval "DEFAULT_$LINE"
4742 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4746 eval "$ac_cv_use_file"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_FILE" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6
4755 echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4764 # Check whether --enable-ffile or --disable-ffile was given.
4765 if test "${enable_ffile+set}" = set; then
4766 enableval
="$enable_ffile"
4768 if test "$enableval" = yes; then
4769 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4771 ac_cv_use_ffile
='wxUSE_FFILE=no'
4776 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x
; then
4778 eval "DEFAULT_$LINE"
4783 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4787 eval "$ac_cv_use_ffile"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4792 if test "$wxUSE_FFILE" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6
4796 echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6
4802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4805 # Check whether --enable-textbuf or --disable-textbuf was given.
4806 if test "${enable_textbuf+set}" = set; then
4807 enableval
="$enable_textbuf"
4809 if test "$enableval" = yes; then
4810 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4812 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4817 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x
; then
4819 eval "DEFAULT_$LINE"
4824 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4828 eval "$ac_cv_use_textbuf"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4833 if test "$wxUSE_TEXTBUFFER" = yes; then
4834 echo "$as_me:$LINENO: result: yes" >&5
4835 echo "${ECHO_T}yes" >&6
4837 echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4846 # Check whether --enable-textfile or --disable-textfile was given.
4847 if test "${enable_textfile+set}" = set; then
4848 enableval
="$enable_textfile"
4850 if test "$enableval" = yes; then
4851 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4853 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4858 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x
; then
4860 eval "DEFAULT_$LINE"
4865 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4869 eval "$ac_cv_use_textfile"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4874 if test "$wxUSE_TEXTFILE" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4887 # Check whether --enable-fontmap or --disable-fontmap was given.
4888 if test "${enable_fontmap+set}" = set; then
4889 enableval
="$enable_fontmap"
4891 if test "$enableval" = yes; then
4892 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4894 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4899 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x
; then
4901 eval "DEFAULT_$LINE"
4906 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4910 eval "$ac_cv_use_fontmap"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4915 if test "$wxUSE_FONTMAP" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4928 # Check whether --enable-unicode or --disable-unicode was given.
4929 if test "${enable_unicode+set}" = set; then
4930 enableval
="$enable_unicode"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4935 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4940 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4951 eval "$ac_cv_use_unicode"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4956 if test "$wxUSE_UNICODE" = yes; then
4957 echo "$as_me:$LINENO: result: yes" >&5
4958 echo "${ECHO_T}yes" >&6
4960 echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6
4966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4967 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4969 # Check whether --enable-mslu or --disable-mslu was given.
4970 if test "${enable_mslu+set}" = set; then
4971 enableval
="$enable_mslu"
4973 if test "$enableval" = yes; then
4974 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4976 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4981 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x
; then
4983 eval "DEFAULT_$LINE"
4988 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4992 eval "$ac_cv_use_mslu"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4997 if test "$wxUSE_UNICODE_MSLU" = yes; then
4998 echo "$as_me:$LINENO: result: yes" >&5
4999 echo "${ECHO_T}yes" >&6
5001 echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6
5007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5010 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5011 if test "${enable_wxprintfv+set}" = set; then
5012 enableval
="$enable_wxprintfv"
5014 if test "$enableval" = yes; then
5015 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5017 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5022 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5023 if test "x$LINE" != x
; then
5024 eval "DEFAULT_$LINE"
5029 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5033 eval "$ac_cv_use_wxprintfv"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5038 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5039 echo "$as_me:$LINENO: result: yes" >&5
5040 echo "${ECHO_T}yes" >&6
5042 echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6
5048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5051 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5052 if test "${enable_std_iostreams+set}" = set; then
5053 enableval
="$enable_std_iostreams"
5055 if test "$enableval" = yes; then
5056 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5058 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5063 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x
; then
5065 eval "DEFAULT_$LINE"
5070 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5074 eval "$ac_cv_use_std_iostreams"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5079 if test "$wxUSE_STD_IOSTREAM" = yes; then
5080 echo "$as_me:$LINENO: result: yes" >&5
5081 echo "${ECHO_T}yes" >&6
5083 echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5092 # Check whether --enable-filesystem or --disable-filesystem was given.
5093 if test "${enable_filesystem+set}" = set; then
5094 enableval
="$enable_filesystem"
5096 if test "$enableval" = yes; then
5097 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5099 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5104 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x
; then
5106 eval "DEFAULT_$LINE"
5111 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5115 eval "$ac_cv_use_filesystem"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5120 if test "$wxUSE_FILESYSTEM" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5124 echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5133 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5134 if test "${enable_fs_inet+set}" = set; then
5135 enableval
="$enable_fs_inet"
5137 if test "$enableval" = yes; then
5138 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5140 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5145 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x
; then
5147 eval "DEFAULT_$LINE"
5152 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5156 eval "$ac_cv_use_fs_inet"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5161 if test "$wxUSE_FS_INET" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6
5165 echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5174 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5175 if test "${enable_fs_zip+set}" = set; then
5176 enableval
="$enable_fs_zip"
5178 if test "$enableval" = yes; then
5179 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5181 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5186 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x
; then
5188 eval "DEFAULT_$LINE"
5193 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5197 eval "$ac_cv_use_fs_zip"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5202 if test "$wxUSE_FS_ZIP" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204 echo "${ECHO_T}yes" >&6
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5215 # Check whether --enable-zipstream or --disable-zipstream was given.
5216 if test "${enable_zipstream+set}" = set; then
5217 enableval
="$enable_zipstream"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5222 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5227 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x
; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5238 eval "$ac_cv_use_zipstream"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5243 if test "$wxUSE_ZIPSTREAM" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245 echo "${ECHO_T}yes" >&6
5247 echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6
5254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5255 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5257 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5258 if test "${enable_catch_segvs+set}" = set; then
5259 enableval
="$enable_catch_segvs"
5261 if test "$enableval" = yes; then
5262 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5264 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5269 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5270 if test "x$LINE" != x
; then
5271 eval "DEFAULT_$LINE"
5276 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5280 eval "$ac_cv_use_catch_segvs"
5281 if test "$no_cache" != 1; then
5282 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5285 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5286 echo "$as_me:$LINENO: result: yes" >&5
5287 echo "${ECHO_T}yes" >&6
5289 echo "$as_me:$LINENO: result: no" >&5
5290 echo "${ECHO_T}no" >&6
5295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5298 # Check whether --enable-snglinst or --disable-snglinst was given.
5299 if test "${enable_snglinst+set}" = set; then
5300 enableval
="$enable_snglinst"
5302 if test "$enableval" = yes; then
5303 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5305 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5310 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x
; then
5312 eval "DEFAULT_$LINE"
5317 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5321 eval "$ac_cv_use_snglinst"
5322 if test "$no_cache" != 1; then
5323 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5326 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5327 echo "$as_me:$LINENO: result: yes" >&5
5328 echo "${ECHO_T}yes" >&6
5330 echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5340 # Check whether --enable-mimetype or --disable-mimetype was given.
5341 if test "${enable_mimetype+set}" = set; then
5342 enableval
="$enable_mimetype"
5344 if test "$enableval" = yes; then
5345 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5347 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5352 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x
; then
5354 eval "DEFAULT_$LINE"
5359 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5363 eval "$ac_cv_use_mimetype"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_MIMETYPE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5381 # Check whether --enable-system_options or --disable-system_options was given.
5382 if test "${enable_system_options+set}" = set; then
5383 enableval
="$enable_system_options"
5385 if test "$enableval" = yes; then
5386 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5388 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5393 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x
; then
5395 eval "DEFAULT_$LINE"
5400 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5404 eval "$ac_cv_use_system_options"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5423 # Check whether --enable-url or --disable-url was given.
5424 if test "${enable_url+set}" = set; then
5425 enableval
="$enable_url"
5427 if test "$enableval" = yes; then
5428 ac_cv_use_url
='wxUSE_URL=yes'
5430 ac_cv_use_url
='wxUSE_URL=no'
5435 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x
; then
5437 eval "DEFAULT_$LINE"
5442 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5446 eval "$ac_cv_use_url"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5451 if test "$wxUSE_URL" = yes; then
5452 echo "$as_me:$LINENO: result: yes" >&5
5453 echo "${ECHO_T}yes" >&6
5455 echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6
5461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5462 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5464 # Check whether --enable-protocol or --disable-protocol was given.
5465 if test "${enable_protocol+set}" = set; then
5466 enableval
="$enable_protocol"
5468 if test "$enableval" = yes; then
5469 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5471 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5476 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x
; then
5478 eval "DEFAULT_$LINE"
5483 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5487 eval "$ac_cv_use_protocol"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5492 if test "$wxUSE_PROTOCOL" = yes; then
5493 echo "$as_me:$LINENO: result: yes" >&5
5494 echo "${ECHO_T}yes" >&6
5496 echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6
5502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5505 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5506 if test "${enable_protocol_http+set}" = set; then
5507 enableval
="$enable_protocol_http"
5509 if test "$enableval" = yes; then
5510 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5512 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5517 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5518 if test "x$LINE" != x
; then
5519 eval "DEFAULT_$LINE"
5524 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5528 eval "$ac_cv_use_protocol_http"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5533 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5534 echo "$as_me:$LINENO: result: yes" >&5
5535 echo "${ECHO_T}yes" >&6
5537 echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6
5543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5546 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5547 if test "${enable_protocol_ftp+set}" = set; then
5548 enableval
="$enable_protocol_ftp"
5550 if test "$enableval" = yes; then
5551 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5553 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5558 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x
; then
5560 eval "DEFAULT_$LINE"
5565 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5569 eval "$ac_cv_use_protocol_ftp"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5574 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5575 echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5587 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5588 if test "${enable_protocol_file+set}" = set; then
5589 enableval
="$enable_protocol_file"
5591 if test "$enableval" = yes; then
5592 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5594 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5599 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x
; then
5601 eval "DEFAULT_$LINE"
5606 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5610 eval "$ac_cv_use_protocol_file"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5615 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5616 echo "$as_me:$LINENO: result: yes" >&5
5617 echo "${ECHO_T}yes" >&6
5619 echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5631 # Check whether --enable-threads or --disable-threads was given.
5632 if test "${enable_threads+set}" = set; then
5633 enableval
="$enable_threads"
5635 if test "$enableval" = yes; then
5636 ac_cv_use_threads
='wxUSE_THREADS=yes'
5638 ac_cv_use_threads
='wxUSE_THREADS=no'
5643 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x
; then
5645 eval "DEFAULT_$LINE"
5650 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5654 eval "$ac_cv_use_threads"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5659 if test "$wxUSE_THREADS" = 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
5668 if test "$wxUSE_GUI" = "yes"; then
5673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5674 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5676 # Check whether --enable-docview or --disable-docview was given.
5677 if test "${enable_docview+set}" = set; then
5678 enableval
="$enable_docview"
5680 if test "$enableval" = yes; then
5681 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5683 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5688 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x
; then
5690 eval "DEFAULT_$LINE"
5695 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5699 eval "$ac_cv_use_docview"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5704 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5705 echo "$as_me:$LINENO: result: yes" >&5
5706 echo "${ECHO_T}yes" >&6
5708 echo "$as_me:$LINENO: result: no" >&5
5709 echo "${ECHO_T}no" >&6
5714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5717 # Check whether --enable-help or --disable-help was given.
5718 if test "${enable_help+set}" = set; then
5719 enableval
="$enable_help"
5721 if test "$enableval" = yes; then
5722 ac_cv_use_help
='wxUSE_HELP=yes'
5724 ac_cv_use_help
='wxUSE_HELP=no'
5729 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x
; then
5731 eval "DEFAULT_$LINE"
5736 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5740 eval "$ac_cv_use_help"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5745 if test "$wxUSE_HELP" = yes; then
5746 echo "$as_me:$LINENO: result: yes" >&5
5747 echo "${ECHO_T}yes" >&6
5749 echo "$as_me:$LINENO: result: no" >&5
5750 echo "${ECHO_T}no" >&6
5755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5756 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5758 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5759 if test "${enable_mshtmlhelp+set}" = set; then
5760 enableval
="$enable_mshtmlhelp"
5762 if test "$enableval" = yes; then
5763 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5765 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5770 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x
; then
5772 eval "DEFAULT_$LINE"
5777 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5781 eval "$ac_cv_use_mshtmlhelp"
5782 if test "$no_cache" != 1; then
5783 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5786 if test "$wxUSE_MS_HTML_HELP" = yes; then
5787 echo "$as_me:$LINENO: result: yes" >&5
5788 echo "${ECHO_T}yes" >&6
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5797 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5799 # Check whether --enable-html or --disable-html was given.
5800 if test "${enable_html+set}" = set; then
5801 enableval
="$enable_html"
5803 if test "$enableval" = yes; then
5804 ac_cv_use_html
='wxUSE_HTML=yes'
5806 ac_cv_use_html
='wxUSE_HTML=no'
5811 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x
; then
5813 eval "DEFAULT_$LINE"
5818 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5822 eval "$ac_cv_use_html"
5823 if test "$no_cache" != 1; then
5824 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5827 if test "$wxUSE_HTML" = yes; then
5828 echo "$as_me:$LINENO: result: yes" >&5
5829 echo "${ECHO_T}yes" >&6
5831 echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6
5837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5838 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5840 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5841 if test "${enable_htmlhelp+set}" = set; then
5842 enableval
="$enable_htmlhelp"
5844 if test "$enableval" = yes; then
5845 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5847 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5852 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5853 if test "x$LINE" != x
; then
5854 eval "DEFAULT_$LINE"
5859 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5863 eval "$ac_cv_use_htmlhelp"
5864 if test "$no_cache" != 1; then
5865 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5868 if test "$wxUSE_WXHTML_HELP" = yes; then
5869 echo "$as_me:$LINENO: result: yes" >&5
5870 echo "${ECHO_T}yes" >&6
5872 echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6
5878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5881 # Check whether --enable-constraints or --disable-constraints was given.
5882 if test "${enable_constraints+set}" = set; then
5883 enableval
="$enable_constraints"
5885 if test "$enableval" = yes; then
5886 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5888 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5893 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x
; then
5895 eval "DEFAULT_$LINE"
5900 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5904 eval "$ac_cv_use_constraints"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5909 if test "$wxUSE_CONSTRAINTS" = yes; then
5910 echo "$as_me:$LINENO: result: yes" >&5
5911 echo "${ECHO_T}yes" >&6
5913 echo "$as_me:$LINENO: result: no" >&5
5914 echo "${ECHO_T}no" >&6
5919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5920 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5922 # Check whether --enable-printarch or --disable-printarch was given.
5923 if test "${enable_printarch+set}" = set; then
5924 enableval
="$enable_printarch"
5926 if test "$enableval" = yes; then
5927 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5929 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5934 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x
; then
5936 eval "DEFAULT_$LINE"
5941 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5945 eval "$ac_cv_use_printarch"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5950 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5951 echo "$as_me:$LINENO: result: yes" >&5
5952 echo "${ECHO_T}yes" >&6
5954 echo "$as_me:$LINENO: result: no" >&5
5955 echo "${ECHO_T}no" >&6
5960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5961 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5963 # Check whether --enable-mdi or --disable-mdi was given.
5964 if test "${enable_mdi+set}" = set; then
5965 enableval
="$enable_mdi"
5967 if test "$enableval" = yes; then
5968 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5970 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5975 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x
; then
5977 eval "DEFAULT_$LINE"
5982 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5986 eval "$ac_cv_use_mdi"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5991 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5992 echo "$as_me:$LINENO: result: yes" >&5
5993 echo "${ECHO_T}yes" >&6
5995 echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6
6001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6002 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6004 # Check whether --enable-loggui or --disable-loggui was given.
6005 if test "${enable_loggui+set}" = set; then
6006 enableval
="$enable_loggui"
6008 if test "$enableval" = yes; then
6009 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6011 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6016 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x
; then
6018 eval "DEFAULT_$LINE"
6023 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6027 eval "$ac_cv_use_loggui"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6032 if test "$wxUSE_LOGGUI" = yes; then
6033 echo "$as_me:$LINENO: result: yes" >&5
6034 echo "${ECHO_T}yes" >&6
6036 echo "$as_me:$LINENO: result: no" >&5
6037 echo "${ECHO_T}no" >&6
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6045 # Check whether --enable-logwin or --disable-logwin was given.
6046 if test "${enable_logwin+set}" = set; then
6047 enableval
="$enable_logwin"
6049 if test "$enableval" = yes; then
6050 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6052 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6057 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x
; then
6059 eval "DEFAULT_$LINE"
6064 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6068 eval "$ac_cv_use_logwin"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6073 if test "$wxUSE_LOGWINDOW" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6
6077 echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6
6083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6084 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6086 # Check whether --enable-logdialog or --disable-logdialog was given.
6087 if test "${enable_logdialog+set}" = set; then
6088 enableval
="$enable_logdialog"
6090 if test "$enableval" = yes; then
6091 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6093 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6098 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x
; then
6100 eval "DEFAULT_$LINE"
6105 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6109 eval "$ac_cv_use_logdialog"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6114 if test "$wxUSE_LOGDIALOG" = yes; then
6115 echo "$as_me:$LINENO: result: yes" >&5
6116 echo "${ECHO_T}yes" >&6
6118 echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6
6125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6128 # Check whether --enable-postscript or --disable-postscript was given.
6129 if test "${enable_postscript+set}" = set; then
6130 enableval
="$enable_postscript"
6132 if test "$enableval" = yes; then
6133 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6135 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6140 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6141 if test "x$LINE" != x
; then
6142 eval "DEFAULT_$LINE"
6147 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6151 eval "$ac_cv_use_postscript"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6156 if test "$wxUSE_POSTSCRIPT" = yes; then
6157 echo "$as_me:$LINENO: result: yes" >&5
6158 echo "${ECHO_T}yes" >&6
6160 echo "$as_me:$LINENO: result: no" >&5
6161 echo "${ECHO_T}no" >&6
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6172 # Check whether --enable-prologio or --disable-prologio was given.
6173 if test "${enable_prologio+set}" = set; then
6174 enableval
="$enable_prologio"
6176 if test "$enableval" = yes; then
6177 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6179 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6184 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x
; then
6186 eval "DEFAULT_$LINE"
6191 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6195 eval "$ac_cv_use_prologio"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6200 if test "$wxUSE_PROLOGIO" = 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
6210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6213 # Check whether --enable-resources or --disable-resources was given.
6214 if test "${enable_resources+set}" = set; then
6215 enableval
="$enable_resources"
6217 if test "$enableval" = yes; then
6218 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6220 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6225 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6226 if test "x$LINE" != x
; then
6227 eval "DEFAULT_$LINE"
6232 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6236 eval "$ac_cv_use_resources"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6241 if test "$wxUSE_RESOURCES" = yes; then
6242 echo "$as_me:$LINENO: result: yes" >&5
6243 echo "${ECHO_T}yes" >&6
6245 echo "$as_me:$LINENO: result: no" >&5
6246 echo "${ECHO_T}no" >&6
6253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6254 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6256 # Check whether --enable-clipboard or --disable-clipboard was given.
6257 if test "${enable_clipboard+set}" = set; then
6258 enableval
="$enable_clipboard"
6260 if test "$enableval" = yes; then
6261 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6263 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6268 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6269 if test "x$LINE" != x
; then
6270 eval "DEFAULT_$LINE"
6275 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6279 eval "$ac_cv_use_clipboard"
6280 if test "$no_cache" != 1; then
6281 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6284 if test "$wxUSE_CLIPBOARD" = yes; then
6285 echo "$as_me:$LINENO: result: yes" >&5
6286 echo "${ECHO_T}yes" >&6
6288 echo "$as_me:$LINENO: result: no" >&5
6289 echo "${ECHO_T}no" >&6
6294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6295 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6297 # Check whether --enable-dnd or --disable-dnd was given.
6298 if test "${enable_dnd+set}" = set; then
6299 enableval
="$enable_dnd"
6301 if test "$enableval" = yes; then
6302 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6304 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6309 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6310 if test "x$LINE" != x
; then
6311 eval "DEFAULT_$LINE"
6316 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6320 eval "$ac_cv_use_dnd"
6321 if test "$no_cache" != 1; then
6322 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6325 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6326 echo "$as_me:$LINENO: result: yes" >&5
6327 echo "${ECHO_T}yes" >&6
6329 echo "$as_me:$LINENO: result: no" >&5
6330 echo "${ECHO_T}no" >&6
6335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6336 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6338 # Check whether --enable-metafile or --disable-metafile was given.
6339 if test "${enable_metafile+set}" = set; then
6340 enableval
="$enable_metafile"
6342 if test "$enableval" = yes; then
6343 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6345 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6350 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x
; then
6352 eval "DEFAULT_$LINE"
6357 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6361 eval "$ac_cv_use_metafile"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6366 if test "$wxUSE_METAFILE" = yes; then
6367 echo "$as_me:$LINENO: result: yes" >&5
6368 echo "${ECHO_T}yes" >&6
6370 echo "$as_me:$LINENO: result: no" >&5
6371 echo "${ECHO_T}no" >&6
6379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6382 # Check whether --enable-controls or --disable-controls was given.
6383 if test "${enable_controls+set}" = set; then
6384 enableval
="$enable_controls"
6386 if test "$enableval" = yes; then
6387 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6389 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6394 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x
; then
6396 eval "DEFAULT_$LINE"
6401 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6405 eval "$ac_cv_use_controls"
6406 if test "$no_cache" != 1; then
6407 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6410 if test "$wxUSE_CONTROLS" = 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
6419 if test "$wxUSE_CONTROLS" = "yes"; then
6420 DEFAULT_wxUSE_ACCEL
=yes
6421 DEFAULT_wxUSE_BMPBUTTON
=yes
6422 DEFAULT_wxUSE_BUTTON
=yes
6423 DEFAULT_wxUSE_CALCTRL
=no
6424 DEFAULT_wxUSE_CARET
=yes
6425 DEFAULT_wxUSE_COMBOBOX
=yes
6426 DEFAULT_wxUSE_CHECKBOX
=yes
6427 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6428 DEFAULT_wxUSE_CHOICE
=yes
6429 DEFAULT_wxUSE_GAUGE
=yes
6430 DEFAULT_wxUSE_GRID
=yes
6431 DEFAULT_wxUSE_IMAGLIST
=yes
6432 DEFAULT_wxUSE_LISTBOX
=yes
6433 DEFAULT_wxUSE_LISTCTRL
=yes
6434 DEFAULT_wxUSE_NOTEBOOK
=yes
6435 DEFAULT_wxUSE_RADIOBOX
=yes
6436 DEFAULT_wxUSE_RADIOBTN
=yes
6437 DEFAULT_wxUSE_SASH
=yes
6438 DEFAULT_wxUSE_SCROLLBAR
=yes
6439 DEFAULT_wxUSE_SLIDER
=yes
6440 DEFAULT_wxUSE_SPINBTN
=yes
6441 DEFAULT_wxUSE_SPINCTRL
=yes
6442 DEFAULT_wxUSE_SPLITTER
=yes
6443 DEFAULT_wxUSE_STATBMP
=yes
6444 DEFAULT_wxUSE_STATBOX
=yes
6445 DEFAULT_wxUSE_STATLINE
=yes
6446 DEFAULT_wxUSE_STATUSBAR
=yes
6447 DEFAULT_wxUSE_TAB_DIALOG
=yes
6448 DEFAULT_wxUSE_TOGGLEBTN
=yes
6449 DEFAULT_wxUSE_TOOLBAR
=yes
6450 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6451 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6452 DEFAULT_wxUSE_TOOLTIPS
=yes
6453 DEFAULT_wxUSE_TREECTRL
=yes
6454 DEFAULT_wxUSE_POPUPWIN
=yes
6455 DEFAULT_wxUSE_TIPWINDOW
=yes
6456 elif test "$wxUSE_CONTROLS" = "no"; then
6457 DEFAULT_wxUSE_ACCEL
=no
6458 DEFAULT_wxUSE_BMPBUTTON
=no
6459 DEFAULT_wxUSE_BUTTON
=no
6460 DEFAULT_wxUSE_CALCTRL
=no
6461 DEFAULT_wxUSE_CARET
=no
6462 DEFAULT_wxUSE_COMBOBOX
=no
6463 DEFAULT_wxUSE_CHECKBOX
=no
6464 DEFAULT_wxUSE_CHECKLISTBOX
=no
6465 DEFAULT_wxUSE_CHOICE
=no
6466 DEFAULT_wxUSE_GAUGE
=no
6467 DEFAULT_wxUSE_GRID
=no
6468 DEFAULT_wxUSE_IMAGLIST
=no
6469 DEFAULT_wxUSE_LISTBOX
=no
6470 DEFAULT_wxUSE_LISTCTRL
=no
6471 DEFAULT_wxUSE_NOTEBOOK
=no
6472 DEFAULT_wxUSE_RADIOBOX
=no
6473 DEFAULT_wxUSE_RADIOBTN
=no
6474 DEFAULT_wxUSE_SASH
=no
6475 DEFAULT_wxUSE_SCROLLBAR
=no
6476 DEFAULT_wxUSE_SLIDER
=no
6477 DEFAULT_wxUSE_SPINBTN
=no
6478 DEFAULT_wxUSE_SPINCTRL
=no
6479 DEFAULT_wxUSE_SPLITTER
=no
6480 DEFAULT_wxUSE_STATBMP
=no
6481 DEFAULT_wxUSE_STATBOX
=no
6482 DEFAULT_wxUSE_STATLINE
=no
6483 DEFAULT_wxUSE_STATUSBAR
=no
6484 DEFAULT_wxUSE_TAB_DIALOG
=no
6485 DEFAULT_wxUSE_TOGGLEBTN
=no
6486 DEFAULT_wxUSE_TOOLBAR
=no
6487 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6488 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6489 DEFAULT_wxUSE_TOOLTIPS
=no
6490 DEFAULT_wxUSE_TREECTRL
=no
6491 DEFAULT_wxUSE_POPUPWIN
=no
6492 DEFAULT_wxUSE_TIPWINDOW
=no
6495 ## FIXME: This is a blatant hack
6496 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6497 wxUSE_PRINTING_ARCHITECTURE
=no
6500 wxUSE_DRAG_AND_DROP
=no
6502 # Generic notebook requires tab dialog
6503 DEFAULT_wxUSE_TABDIALOG
=yes
6504 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6505 DEFAULT_wxUSE_GAUGE
=no
6506 DEFAULT_wxUSE_SCROLLBAR
=no
6507 DEFAULT_wxUSE_COMBOBOX
=no
6508 DEFAULT_wxUSE_CALCTRL
=no
6509 DEFAULT_wxUSE_SPINBTN
=no
6510 DEFAULT_wxUSE_SPINCTRL
=no
6511 DEFAULT_wxUSE_TOOLTIPS
=no
6512 DEFAULT_wxUSE_DRAGIMAGE
=no
6513 DEFAULT_wxUSE_FINDREPLDLG
=no
6514 DEFAULT_wxUSE_FONTDLG
=no
6515 DEFAULT_wxUSE_GRID
=no
6516 DEFAULT_wxUSE_NUMBERDLG
=no
6517 DEFAULT_wxUSE_PROGRESSDLG
=no
6518 DEFAULT_wxUSE_SASH
=no
6519 DEFAULT_wxUSE_SPLITTER
=no
6520 DEFAULT_wxUSE_WIZARDDLG
=no
6521 DEFAULT_wxUSE_SPLITTER
=no
6522 DEFAULT_wxUSE_STARTUP_TIPS
=no
6527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6528 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6530 # Check whether --enable-accel or --disable-accel was given.
6531 if test "${enable_accel+set}" = set; then
6532 enableval
="$enable_accel"
6534 if test "$enableval" = yes; then
6535 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6537 ac_cv_use_accel
='wxUSE_ACCEL=no'
6542 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x
; then
6544 eval "DEFAULT_$LINE"
6549 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6553 eval "$ac_cv_use_accel"
6554 if test "$no_cache" != 1; then
6555 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6558 if test "$wxUSE_ACCEL" = yes; then
6559 echo "$as_me:$LINENO: result: yes" >&5
6560 echo "${ECHO_T}yes" >&6
6562 echo "$as_me:$LINENO: result: no" >&5
6563 echo "${ECHO_T}no" >&6
6568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6571 # Check whether --enable-button or --disable-button was given.
6572 if test "${enable_button+set}" = set; then
6573 enableval
="$enable_button"
6575 if test "$enableval" = yes; then
6576 ac_cv_use_button
='wxUSE_BUTTON=yes'
6578 ac_cv_use_button
='wxUSE_BUTTON=no'
6583 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6584 if test "x$LINE" != x
; then
6585 eval "DEFAULT_$LINE"
6590 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6594 eval "$ac_cv_use_button"
6595 if test "$no_cache" != 1; then
6596 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6599 if test "$wxUSE_BUTTON" = yes; then
6600 echo "$as_me:$LINENO: result: yes" >&5
6601 echo "${ECHO_T}yes" >&6
6603 echo "$as_me:$LINENO: result: no" >&5
6604 echo "${ECHO_T}no" >&6
6609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6612 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6613 if test "${enable_bmpbutton+set}" = set; then
6614 enableval
="$enable_bmpbutton"
6616 if test "$enableval" = yes; then
6617 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6619 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6624 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x
; then
6626 eval "DEFAULT_$LINE"
6631 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6635 eval "$ac_cv_use_bmpbutton"
6636 if test "$no_cache" != 1; then
6637 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6640 if test "$wxUSE_BMPBUTTON" = yes; then
6641 echo "$as_me:$LINENO: result: yes" >&5
6642 echo "${ECHO_T}yes" >&6
6644 echo "$as_me:$LINENO: result: no" >&5
6645 echo "${ECHO_T}no" >&6
6650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6653 # Check whether --enable-calendar or --disable-calendar was given.
6654 if test "${enable_calendar+set}" = set; then
6655 enableval
="$enable_calendar"
6657 if test "$enableval" = yes; then
6658 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6660 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6665 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x
; then
6667 eval "DEFAULT_$LINE"
6672 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6676 eval "$ac_cv_use_calendar"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6681 if test "$wxUSE_CALCTRL" = yes; then
6682 echo "$as_me:$LINENO: result: yes" >&5
6683 echo "${ECHO_T}yes" >&6
6685 echo "$as_me:$LINENO: result: no" >&5
6686 echo "${ECHO_T}no" >&6
6691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6694 # Check whether --enable-caret or --disable-caret was given.
6695 if test "${enable_caret+set}" = set; then
6696 enableval
="$enable_caret"
6698 if test "$enableval" = yes; then
6699 ac_cv_use_caret
='wxUSE_CARET=yes'
6701 ac_cv_use_caret
='wxUSE_CARET=no'
6706 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x
; then
6708 eval "DEFAULT_$LINE"
6713 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6717 eval "$ac_cv_use_caret"
6718 if test "$no_cache" != 1; then
6719 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6722 if test "$wxUSE_CARET" = yes; then
6723 echo "$as_me:$LINENO: result: yes" >&5
6724 echo "${ECHO_T}yes" >&6
6726 echo "$as_me:$LINENO: result: no" >&5
6727 echo "${ECHO_T}no" >&6
6732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6733 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6735 # Check whether --enable-checkbox or --disable-checkbox was given.
6736 if test "${enable_checkbox+set}" = set; then
6737 enableval
="$enable_checkbox"
6739 if test "$enableval" = yes; then
6740 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6742 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6747 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x
; then
6749 eval "DEFAULT_$LINE"
6754 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6758 eval "$ac_cv_use_checkbox"
6759 if test "$no_cache" != 1; then
6760 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6763 if test "$wxUSE_CHECKBOX" = yes; then
6764 echo "$as_me:$LINENO: result: yes" >&5
6765 echo "${ECHO_T}yes" >&6
6767 echo "$as_me:$LINENO: result: no" >&5
6768 echo "${ECHO_T}no" >&6
6773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6776 # Check whether --enable-checklst or --disable-checklst was given.
6777 if test "${enable_checklst+set}" = set; then
6778 enableval
="$enable_checklst"
6780 if test "$enableval" = yes; then
6781 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6783 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6788 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x
; then
6790 eval "DEFAULT_$LINE"
6795 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6799 eval "$ac_cv_use_checklst"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6804 if test "$wxUSE_CHECKLST" = yes; then
6805 echo "$as_me:$LINENO: result: yes" >&5
6806 echo "${ECHO_T}yes" >&6
6808 echo "$as_me:$LINENO: result: no" >&5
6809 echo "${ECHO_T}no" >&6
6814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6815 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6817 # Check whether --enable-choice or --disable-choice was given.
6818 if test "${enable_choice+set}" = set; then
6819 enableval
="$enable_choice"
6821 if test "$enableval" = yes; then
6822 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6824 ac_cv_use_choice
='wxUSE_CHOICE=no'
6829 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x
; then
6831 eval "DEFAULT_$LINE"
6836 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6840 eval "$ac_cv_use_choice"
6841 if test "$no_cache" != 1; then
6842 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6845 if test "$wxUSE_CHOICE" = yes; then
6846 echo "$as_me:$LINENO: result: yes" >&5
6847 echo "${ECHO_T}yes" >&6
6849 echo "$as_me:$LINENO: result: no" >&5
6850 echo "${ECHO_T}no" >&6
6855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6856 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6858 # Check whether --enable-combobox or --disable-combobox was given.
6859 if test "${enable_combobox+set}" = set; then
6860 enableval
="$enable_combobox"
6862 if test "$enableval" = yes; then
6863 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6865 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6870 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6871 if test "x$LINE" != x
; then
6872 eval "DEFAULT_$LINE"
6877 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6881 eval "$ac_cv_use_combobox"
6882 if test "$no_cache" != 1; then
6883 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6886 if test "$wxUSE_COMBOBOX" = yes; then
6887 echo "$as_me:$LINENO: result: yes" >&5
6888 echo "${ECHO_T}yes" >&6
6890 echo "$as_me:$LINENO: result: no" >&5
6891 echo "${ECHO_T}no" >&6
6896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6897 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6899 # Check whether --enable-display or --disable-display was given.
6900 if test "${enable_display+set}" = set; then
6901 enableval
="$enable_display"
6903 if test "$enableval" = yes; then
6904 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6906 ac_cv_use_display
='wxUSE_DISPLAY=no'
6911 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x
; then
6913 eval "DEFAULT_$LINE"
6918 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6922 eval "$ac_cv_use_display"
6923 if test "$no_cache" != 1; then
6924 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6927 if test "$wxUSE_DISPLAY" = yes; then
6928 echo "$as_me:$LINENO: result: yes" >&5
6929 echo "${ECHO_T}yes" >&6
6931 echo "$as_me:$LINENO: result: no" >&5
6932 echo "${ECHO_T}no" >&6
6937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6938 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6940 # Check whether --enable-gauge or --disable-gauge was given.
6941 if test "${enable_gauge+set}" = set; then
6942 enableval
="$enable_gauge"
6944 if test "$enableval" = yes; then
6945 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6947 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6952 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6953 if test "x$LINE" != x
; then
6954 eval "DEFAULT_$LINE"
6959 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6963 eval "$ac_cv_use_gauge"
6964 if test "$no_cache" != 1; then
6965 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6968 if test "$wxUSE_GAUGE" = yes; then
6969 echo "$as_me:$LINENO: result: yes" >&5
6970 echo "${ECHO_T}yes" >&6
6972 echo "$as_me:$LINENO: result: no" >&5
6973 echo "${ECHO_T}no" >&6
6978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6979 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6981 # Check whether --enable-grid or --disable-grid was given.
6982 if test "${enable_grid+set}" = set; then
6983 enableval
="$enable_grid"
6985 if test "$enableval" = yes; then
6986 ac_cv_use_grid
='wxUSE_GRID=yes'
6988 ac_cv_use_grid
='wxUSE_GRID=no'
6993 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6994 if test "x$LINE" != x
; then
6995 eval "DEFAULT_$LINE"
7000 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7004 eval "$ac_cv_use_grid"
7005 if test "$no_cache" != 1; then
7006 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7009 if test "$wxUSE_GRID" = yes; then
7010 echo "$as_me:$LINENO: result: yes" >&5
7011 echo "${ECHO_T}yes" >&6
7013 echo "$as_me:$LINENO: result: no" >&5
7014 echo "${ECHO_T}no" >&6
7019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7022 # Check whether --enable-imaglist or --disable-imaglist was given.
7023 if test "${enable_imaglist+set}" = set; then
7024 enableval
="$enable_imaglist"
7026 if test "$enableval" = yes; then
7027 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7029 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7034 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7035 if test "x$LINE" != x
; then
7036 eval "DEFAULT_$LINE"
7041 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7045 eval "$ac_cv_use_imaglist"
7046 if test "$no_cache" != 1; then
7047 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7050 if test "$wxUSE_IMAGLIST" = yes; then
7051 echo "$as_me:$LINENO: result: yes" >&5
7052 echo "${ECHO_T}yes" >&6
7054 echo "$as_me:$LINENO: result: no" >&5
7055 echo "${ECHO_T}no" >&6
7060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7061 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7063 # Check whether --enable-listbox or --disable-listbox was given.
7064 if test "${enable_listbox+set}" = set; then
7065 enableval
="$enable_listbox"
7067 if test "$enableval" = yes; then
7068 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7070 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7075 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7076 if test "x$LINE" != x
; then
7077 eval "DEFAULT_$LINE"
7082 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7086 eval "$ac_cv_use_listbox"
7087 if test "$no_cache" != 1; then
7088 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7091 if test "$wxUSE_LISTBOX" = yes; then
7092 echo "$as_me:$LINENO: result: yes" >&5
7093 echo "${ECHO_T}yes" >&6
7095 echo "$as_me:$LINENO: result: no" >&5
7096 echo "${ECHO_T}no" >&6
7101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7102 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7104 # Check whether --enable-listctrl or --disable-listctrl was given.
7105 if test "${enable_listctrl+set}" = set; then
7106 enableval
="$enable_listctrl"
7108 if test "$enableval" = yes; then
7109 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7111 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7116 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7117 if test "x$LINE" != x
; then
7118 eval "DEFAULT_$LINE"
7123 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7127 eval "$ac_cv_use_listctrl"
7128 if test "$no_cache" != 1; then
7129 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7132 if test "$wxUSE_LISTCTRL" = yes; then
7133 echo "$as_me:$LINENO: result: yes" >&5
7134 echo "${ECHO_T}yes" >&6
7136 echo "$as_me:$LINENO: result: no" >&5
7137 echo "${ECHO_T}no" >&6
7142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7143 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7145 # Check whether --enable-notebook or --disable-notebook was given.
7146 if test "${enable_notebook+set}" = set; then
7147 enableval
="$enable_notebook"
7149 if test "$enableval" = yes; then
7150 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7152 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7157 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7158 if test "x$LINE" != x
; then
7159 eval "DEFAULT_$LINE"
7164 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7168 eval "$ac_cv_use_notebook"
7169 if test "$no_cache" != 1; then
7170 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7173 if test "$wxUSE_NOTEBOOK" = yes; then
7174 echo "$as_me:$LINENO: result: yes" >&5
7175 echo "${ECHO_T}yes" >&6
7177 echo "$as_me:$LINENO: result: no" >&5
7178 echo "${ECHO_T}no" >&6
7183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7184 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7186 # Check whether --enable-radiobox or --disable-radiobox was given.
7187 if test "${enable_radiobox+set}" = set; then
7188 enableval
="$enable_radiobox"
7190 if test "$enableval" = yes; then
7191 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7193 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7198 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7199 if test "x$LINE" != x
; then
7200 eval "DEFAULT_$LINE"
7205 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7209 eval "$ac_cv_use_radiobox"
7210 if test "$no_cache" != 1; then
7211 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7214 if test "$wxUSE_RADIOBOX" = yes; then
7215 echo "$as_me:$LINENO: result: yes" >&5
7216 echo "${ECHO_T}yes" >&6
7218 echo "$as_me:$LINENO: result: no" >&5
7219 echo "${ECHO_T}no" >&6
7224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7225 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7227 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7228 if test "${enable_radiobtn+set}" = set; then
7229 enableval
="$enable_radiobtn"
7231 if test "$enableval" = yes; then
7232 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7234 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7239 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7240 if test "x$LINE" != x
; then
7241 eval "DEFAULT_$LINE"
7246 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7250 eval "$ac_cv_use_radiobtn"
7251 if test "$no_cache" != 1; then
7252 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7255 if test "$wxUSE_RADIOBTN" = yes; then
7256 echo "$as_me:$LINENO: result: yes" >&5
7257 echo "${ECHO_T}yes" >&6
7259 echo "$as_me:$LINENO: result: no" >&5
7260 echo "${ECHO_T}no" >&6
7265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7266 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7268 # Check whether --enable-sash or --disable-sash was given.
7269 if test "${enable_sash+set}" = set; then
7270 enableval
="$enable_sash"
7272 if test "$enableval" = yes; then
7273 ac_cv_use_sash
='wxUSE_SASH=yes'
7275 ac_cv_use_sash
='wxUSE_SASH=no'
7280 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7281 if test "x$LINE" != x
; then
7282 eval "DEFAULT_$LINE"
7287 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7291 eval "$ac_cv_use_sash"
7292 if test "$no_cache" != 1; then
7293 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7296 if test "$wxUSE_SASH" = yes; then
7297 echo "$as_me:$LINENO: result: yes" >&5
7298 echo "${ECHO_T}yes" >&6
7300 echo "$as_me:$LINENO: result: no" >&5
7301 echo "${ECHO_T}no" >&6
7306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7307 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7309 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7310 if test "${enable_scrollbar+set}" = set; then
7311 enableval
="$enable_scrollbar"
7313 if test "$enableval" = yes; then
7314 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7316 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7321 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7322 if test "x$LINE" != x
; then
7323 eval "DEFAULT_$LINE"
7328 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7332 eval "$ac_cv_use_scrollbar"
7333 if test "$no_cache" != 1; then
7334 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7337 if test "$wxUSE_SCROLLBAR" = yes; then
7338 echo "$as_me:$LINENO: result: yes" >&5
7339 echo "${ECHO_T}yes" >&6
7341 echo "$as_me:$LINENO: result: no" >&5
7342 echo "${ECHO_T}no" >&6
7347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7348 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7350 # Check whether --enable-slider or --disable-slider was given.
7351 if test "${enable_slider+set}" = set; then
7352 enableval
="$enable_slider"
7354 if test "$enableval" = yes; then
7355 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7357 ac_cv_use_slider
='wxUSE_SLIDER=no'
7362 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7363 if test "x$LINE" != x
; then
7364 eval "DEFAULT_$LINE"
7369 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7373 eval "$ac_cv_use_slider"
7374 if test "$no_cache" != 1; then
7375 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7378 if test "$wxUSE_SLIDER" = yes; then
7379 echo "$as_me:$LINENO: result: yes" >&5
7380 echo "${ECHO_T}yes" >&6
7382 echo "$as_me:$LINENO: result: no" >&5
7383 echo "${ECHO_T}no" >&6
7388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7391 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7392 if test "${enable_spinbtn+set}" = set; then
7393 enableval
="$enable_spinbtn"
7395 if test "$enableval" = yes; then
7396 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7398 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7403 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7404 if test "x$LINE" != x
; then
7405 eval "DEFAULT_$LINE"
7410 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7414 eval "$ac_cv_use_spinbtn"
7415 if test "$no_cache" != 1; then
7416 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7419 if test "$wxUSE_SPINBTN" = yes; then
7420 echo "$as_me:$LINENO: result: yes" >&5
7421 echo "${ECHO_T}yes" >&6
7423 echo "$as_me:$LINENO: result: no" >&5
7424 echo "${ECHO_T}no" >&6
7429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7430 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7432 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7433 if test "${enable_spinctrl+set}" = set; then
7434 enableval
="$enable_spinctrl"
7436 if test "$enableval" = yes; then
7437 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7439 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7444 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7445 if test "x$LINE" != x
; then
7446 eval "DEFAULT_$LINE"
7451 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7455 eval "$ac_cv_use_spinctrl"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7460 if test "$wxUSE_SPINCTRL" = yes; then
7461 echo "$as_me:$LINENO: result: yes" >&5
7462 echo "${ECHO_T}yes" >&6
7464 echo "$as_me:$LINENO: result: no" >&5
7465 echo "${ECHO_T}no" >&6
7470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7473 # Check whether --enable-splitter or --disable-splitter was given.
7474 if test "${enable_splitter+set}" = set; then
7475 enableval
="$enable_splitter"
7477 if test "$enableval" = yes; then
7478 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7480 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7485 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7486 if test "x$LINE" != x
; then
7487 eval "DEFAULT_$LINE"
7492 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7496 eval "$ac_cv_use_splitter"
7497 if test "$no_cache" != 1; then
7498 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7501 if test "$wxUSE_SPLITTER" = yes; then
7502 echo "$as_me:$LINENO: result: yes" >&5
7503 echo "${ECHO_T}yes" >&6
7505 echo "$as_me:$LINENO: result: no" >&5
7506 echo "${ECHO_T}no" >&6
7511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7512 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7514 # Check whether --enable-statbmp or --disable-statbmp was given.
7515 if test "${enable_statbmp+set}" = set; then
7516 enableval
="$enable_statbmp"
7518 if test "$enableval" = yes; then
7519 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7521 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7526 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7527 if test "x$LINE" != x
; then
7528 eval "DEFAULT_$LINE"
7533 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7537 eval "$ac_cv_use_statbmp"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7542 if test "$wxUSE_STATBMP" = yes; then
7543 echo "$as_me:$LINENO: result: yes" >&5
7544 echo "${ECHO_T}yes" >&6
7546 echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6
7552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7553 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7555 # Check whether --enable-statbox or --disable-statbox was given.
7556 if test "${enable_statbox+set}" = set; then
7557 enableval
="$enable_statbox"
7559 if test "$enableval" = yes; then
7560 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7562 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7567 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7568 if test "x$LINE" != x
; then
7569 eval "DEFAULT_$LINE"
7574 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7578 eval "$ac_cv_use_statbox"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7583 if test "$wxUSE_STATBOX" = yes; then
7584 echo "$as_me:$LINENO: result: yes" >&5
7585 echo "${ECHO_T}yes" >&6
7587 echo "$as_me:$LINENO: result: no" >&5
7588 echo "${ECHO_T}no" >&6
7593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7594 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7596 # Check whether --enable-statline or --disable-statline was given.
7597 if test "${enable_statline+set}" = set; then
7598 enableval
="$enable_statline"
7600 if test "$enableval" = yes; then
7601 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7603 ac_cv_use_statline
='wxUSE_STATLINE=no'
7608 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7609 if test "x$LINE" != x
; then
7610 eval "DEFAULT_$LINE"
7615 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7619 eval "$ac_cv_use_statline"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7624 if test "$wxUSE_STATLINE" = yes; then
7625 echo "$as_me:$LINENO: result: yes" >&5
7626 echo "${ECHO_T}yes" >&6
7628 echo "$as_me:$LINENO: result: no" >&5
7629 echo "${ECHO_T}no" >&6
7634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7635 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7637 # Check whether --enable-stattext or --disable-stattext was given.
7638 if test "${enable_stattext+set}" = set; then
7639 enableval
="$enable_stattext"
7641 if test "$enableval" = yes; then
7642 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7644 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7649 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x
; then
7651 eval "DEFAULT_$LINE"
7656 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7660 eval "$ac_cv_use_stattext"
7661 if test "$no_cache" != 1; then
7662 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7665 if test "$wxUSE_STATTEXT" = yes; then
7666 echo "$as_me:$LINENO: result: yes" >&5
7667 echo "${ECHO_T}yes" >&6
7669 echo "$as_me:$LINENO: result: no" >&5
7670 echo "${ECHO_T}no" >&6
7675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7676 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7678 # Check whether --enable-statusbar or --disable-statusbar was given.
7679 if test "${enable_statusbar+set}" = set; then
7680 enableval
="$enable_statusbar"
7682 if test "$enableval" = yes; then
7683 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7685 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7690 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7691 if test "x$LINE" != x
; then
7692 eval "DEFAULT_$LINE"
7697 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7701 eval "$ac_cv_use_statusbar"
7702 if test "$no_cache" != 1; then
7703 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7706 if test "$wxUSE_STATUSBAR" = yes; then
7707 echo "$as_me:$LINENO: result: yes" >&5
7708 echo "${ECHO_T}yes" >&6
7710 echo "$as_me:$LINENO: result: no" >&5
7711 echo "${ECHO_T}no" >&6
7716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7717 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7719 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7720 if test "${enable_tabdialog+set}" = set; then
7721 enableval
="$enable_tabdialog"
7723 if test "$enableval" = yes; then
7724 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7726 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7731 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7732 if test "x$LINE" != x
; then
7733 eval "DEFAULT_$LINE"
7738 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7742 eval "$ac_cv_use_tabdialog"
7743 if test "$no_cache" != 1; then
7744 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7747 if test "$wxUSE_TABDIALOG" = yes; then
7748 echo "$as_me:$LINENO: result: yes" >&5
7749 echo "${ECHO_T}yes" >&6
7751 echo "$as_me:$LINENO: result: no" >&5
7752 echo "${ECHO_T}no" >&6
7757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7760 # Check whether --enable-textctrl or --disable-textctrl was given.
7761 if test "${enable_textctrl+set}" = set; then
7762 enableval
="$enable_textctrl"
7764 if test "$enableval" = yes; then
7765 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7767 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7772 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x
; then
7774 eval "DEFAULT_$LINE"
7779 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7783 eval "$ac_cv_use_textctrl"
7784 if test "$no_cache" != 1; then
7785 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7788 if test "$wxUSE_TEXTCTRL" = yes; then
7789 echo "$as_me:$LINENO: result: yes" >&5
7790 echo "${ECHO_T}yes" >&6
7792 echo "$as_me:$LINENO: result: no" >&5
7793 echo "${ECHO_T}no" >&6
7798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7799 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7801 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7802 if test "${enable_togglebtn+set}" = set; then
7803 enableval
="$enable_togglebtn"
7805 if test "$enableval" = yes; then
7806 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7808 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7813 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7814 if test "x$LINE" != x
; then
7815 eval "DEFAULT_$LINE"
7820 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7824 eval "$ac_cv_use_togglebtn"
7825 if test "$no_cache" != 1; then
7826 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7829 if test "$wxUSE_TOGGLEBTN" = yes; then
7830 echo "$as_me:$LINENO: result: yes" >&5
7831 echo "${ECHO_T}yes" >&6
7833 echo "$as_me:$LINENO: result: no" >&5
7834 echo "${ECHO_T}no" >&6
7839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7840 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7842 # Check whether --enable-toolbar or --disable-toolbar was given.
7843 if test "${enable_toolbar+set}" = set; then
7844 enableval
="$enable_toolbar"
7846 if test "$enableval" = yes; then
7847 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7849 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7854 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7855 if test "x$LINE" != x
; then
7856 eval "DEFAULT_$LINE"
7861 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7865 eval "$ac_cv_use_toolbar"
7866 if test "$no_cache" != 1; then
7867 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7870 if test "$wxUSE_TOOLBAR" = yes; then
7871 echo "$as_me:$LINENO: result: yes" >&5
7872 echo "${ECHO_T}yes" >&6
7874 echo "$as_me:$LINENO: result: no" >&5
7875 echo "${ECHO_T}no" >&6
7880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7881 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7883 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7884 if test "${enable_tbarnative+set}" = set; then
7885 enableval
="$enable_tbarnative"
7887 if test "$enableval" = yes; then
7888 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7890 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7895 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7896 if test "x$LINE" != x
; then
7897 eval "DEFAULT_$LINE"
7902 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7906 eval "$ac_cv_use_tbarnative"
7907 if test "$no_cache" != 1; then
7908 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7911 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7912 echo "$as_me:$LINENO: result: yes" >&5
7913 echo "${ECHO_T}yes" >&6
7915 echo "$as_me:$LINENO: result: no" >&5
7916 echo "${ECHO_T}no" >&6
7921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7924 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7925 if test "${enable_tbarsmpl+set}" = set; then
7926 enableval
="$enable_tbarsmpl"
7928 if test "$enableval" = yes; then
7929 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7931 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7936 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7937 if test "x$LINE" != x
; then
7938 eval "DEFAULT_$LINE"
7943 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7947 eval "$ac_cv_use_tbarsmpl"
7948 if test "$no_cache" != 1; then
7949 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7952 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7953 echo "$as_me:$LINENO: result: yes" >&5
7954 echo "${ECHO_T}yes" >&6
7956 echo "$as_me:$LINENO: result: no" >&5
7957 echo "${ECHO_T}no" >&6
7962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7965 # Check whether --enable-treectrl or --disable-treectrl was given.
7966 if test "${enable_treectrl+set}" = set; then
7967 enableval
="$enable_treectrl"
7969 if test "$enableval" = yes; then
7970 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7972 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7977 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7978 if test "x$LINE" != x
; then
7979 eval "DEFAULT_$LINE"
7984 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7988 eval "$ac_cv_use_treectrl"
7989 if test "$no_cache" != 1; then
7990 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7993 if test "$wxUSE_TREECTRL" = yes; then
7994 echo "$as_me:$LINENO: result: yes" >&5
7995 echo "${ECHO_T}yes" >&6
7997 echo "$as_me:$LINENO: result: no" >&5
7998 echo "${ECHO_T}no" >&6
8003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8004 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8006 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8007 if test "${enable_tipwindow+set}" = set; then
8008 enableval
="$enable_tipwindow"
8010 if test "$enableval" = yes; then
8011 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8013 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8018 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8019 if test "x$LINE" != x
; then
8020 eval "DEFAULT_$LINE"
8025 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8029 eval "$ac_cv_use_tipwindow"
8030 if test "$no_cache" != 1; then
8031 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8034 if test "$wxUSE_TIPWINDOW" = yes; then
8035 echo "$as_me:$LINENO: result: yes" >&5
8036 echo "${ECHO_T}yes" >&6
8038 echo "$as_me:$LINENO: result: no" >&5
8039 echo "${ECHO_T}no" >&6
8044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8045 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8047 # Check whether --enable-popupwin or --disable-popupwin was given.
8048 if test "${enable_popupwin+set}" = set; then
8049 enableval
="$enable_popupwin"
8051 if test "$enableval" = yes; then
8052 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8054 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8059 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8060 if test "x$LINE" != x
; then
8061 eval "DEFAULT_$LINE"
8066 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8070 eval "$ac_cv_use_popupwin"
8071 if test "$no_cache" != 1; then
8072 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8075 if test "$wxUSE_POPUPWIN" = yes; then
8076 echo "$as_me:$LINENO: result: yes" >&5
8077 echo "${ECHO_T}yes" >&6
8079 echo "$as_me:$LINENO: result: no" >&5
8080 echo "${ECHO_T}no" >&6
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8088 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8090 # Check whether --enable-commondlg or --disable-commondlg was given.
8091 if test "${enable_commondlg+set}" = set; then
8092 enableval
="$enable_commondlg"
8094 if test "$enableval" = yes; then
8095 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8097 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8102 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x
; then
8104 eval "DEFAULT_$LINE"
8109 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8113 eval "$ac_cv_use_commondlg"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8118 if test "$wxUSE_COMMONDLGS" = 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
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8129 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8131 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8132 if test "${enable_choicedlg+set}" = set; then
8133 enableval
="$enable_choicedlg"
8135 if test "$enableval" = yes; then
8136 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8138 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8143 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x
; then
8145 eval "DEFAULT_$LINE"
8150 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8154 eval "$ac_cv_use_choicedlg"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8159 if test "$wxUSE_CHOICEDLG" = yes; then
8160 echo "$as_me:$LINENO: result: yes" >&5
8161 echo "${ECHO_T}yes" >&6
8163 echo "$as_me:$LINENO: result: no" >&5
8164 echo "${ECHO_T}no" >&6
8169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8170 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8172 # Check whether --enable-coldlg or --disable-coldlg was given.
8173 if test "${enable_coldlg+set}" = set; then
8174 enableval
="$enable_coldlg"
8176 if test "$enableval" = yes; then
8177 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8179 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8184 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8185 if test "x$LINE" != x
; then
8186 eval "DEFAULT_$LINE"
8191 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8195 eval "$ac_cv_use_coldlg"
8196 if test "$no_cache" != 1; then
8197 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8200 if test "$wxUSE_COLOURDLG" = yes; then
8201 echo "$as_me:$LINENO: result: yes" >&5
8202 echo "${ECHO_T}yes" >&6
8204 echo "$as_me:$LINENO: result: no" >&5
8205 echo "${ECHO_T}no" >&6
8210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8211 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8213 # Check whether --enable-filedlg or --disable-filedlg was given.
8214 if test "${enable_filedlg+set}" = set; then
8215 enableval
="$enable_filedlg"
8217 if test "$enableval" = yes; then
8218 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8220 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8225 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8226 if test "x$LINE" != x
; then
8227 eval "DEFAULT_$LINE"
8232 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8236 eval "$ac_cv_use_filedlg"
8237 if test "$no_cache" != 1; then
8238 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8241 if test "$wxUSE_FILEDLG" = yes; then
8242 echo "$as_me:$LINENO: result: yes" >&5
8243 echo "${ECHO_T}yes" >&6
8245 echo "$as_me:$LINENO: result: no" >&5
8246 echo "${ECHO_T}no" >&6
8251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8254 # Check whether --enable-finddlg or --disable-finddlg was given.
8255 if test "${enable_finddlg+set}" = set; then
8256 enableval
="$enable_finddlg"
8258 if test "$enableval" = yes; then
8259 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8261 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8266 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8267 if test "x$LINE" != x
; then
8268 eval "DEFAULT_$LINE"
8273 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8277 eval "$ac_cv_use_finddlg"
8278 if test "$no_cache" != 1; then
8279 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8282 if test "$wxUSE_FINDREPLDLG" = yes; then
8283 echo "$as_me:$LINENO: result: yes" >&5
8284 echo "${ECHO_T}yes" >&6
8286 echo "$as_me:$LINENO: result: no" >&5
8287 echo "${ECHO_T}no" >&6
8292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8293 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8295 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8296 if test "${enable_fontdlg+set}" = set; then
8297 enableval
="$enable_fontdlg"
8299 if test "$enableval" = yes; then
8300 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8302 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8307 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8308 if test "x$LINE" != x
; then
8309 eval "DEFAULT_$LINE"
8314 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8318 eval "$ac_cv_use_fontdlg"
8319 if test "$no_cache" != 1; then
8320 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8323 if test "$wxUSE_FONTDLG" = yes; then
8324 echo "$as_me:$LINENO: result: yes" >&5
8325 echo "${ECHO_T}yes" >&6
8327 echo "$as_me:$LINENO: result: no" >&5
8328 echo "${ECHO_T}no" >&6
8333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8334 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8336 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8337 if test "${enable_dirdlg+set}" = set; then
8338 enableval
="$enable_dirdlg"
8340 if test "$enableval" = yes; then
8341 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8343 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8348 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x
; then
8350 eval "DEFAULT_$LINE"
8355 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8359 eval "$ac_cv_use_dirdlg"
8360 if test "$no_cache" != 1; then
8361 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8364 if test "$wxUSE_DIRDLG" = yes; then
8365 echo "$as_me:$LINENO: result: yes" >&5
8366 echo "${ECHO_T}yes" >&6
8368 echo "$as_me:$LINENO: result: no" >&5
8369 echo "${ECHO_T}no" >&6
8374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8375 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8377 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8378 if test "${enable_msgdlg+set}" = set; then
8379 enableval
="$enable_msgdlg"
8381 if test "$enableval" = yes; then
8382 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8384 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8389 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8390 if test "x$LINE" != x
; then
8391 eval "DEFAULT_$LINE"
8396 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8400 eval "$ac_cv_use_msgdlg"
8401 if test "$no_cache" != 1; then
8402 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8405 if test "$wxUSE_MSGDLG" = yes; then
8406 echo "$as_me:$LINENO: result: yes" >&5
8407 echo "${ECHO_T}yes" >&6
8409 echo "$as_me:$LINENO: result: no" >&5
8410 echo "${ECHO_T}no" >&6
8415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8416 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8418 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8419 if test "${enable_numberdlg+set}" = set; then
8420 enableval
="$enable_numberdlg"
8422 if test "$enableval" = yes; then
8423 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8425 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8430 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x
; then
8432 eval "DEFAULT_$LINE"
8437 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8441 eval "$ac_cv_use_numberdlg"
8442 if test "$no_cache" != 1; then
8443 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8446 if test "$wxUSE_NUMBERDLG" = yes; then
8447 echo "$as_me:$LINENO: result: yes" >&5
8448 echo "${ECHO_T}yes" >&6
8450 echo "$as_me:$LINENO: result: no" >&5
8451 echo "${ECHO_T}no" >&6
8456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8457 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8459 # Check whether --enable-splash or --disable-splash was given.
8460 if test "${enable_splash+set}" = set; then
8461 enableval
="$enable_splash"
8463 if test "$enableval" = yes; then
8464 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8466 ac_cv_use_splash
='wxUSE_SPLASH=no'
8471 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8472 if test "x$LINE" != x
; then
8473 eval "DEFAULT_$LINE"
8478 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8482 eval "$ac_cv_use_splash"
8483 if test "$no_cache" != 1; then
8484 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8487 if test "$wxUSE_SPLASH" = yes; then
8488 echo "$as_me:$LINENO: result: yes" >&5
8489 echo "${ECHO_T}yes" >&6
8491 echo "$as_me:$LINENO: result: no" >&5
8492 echo "${ECHO_T}no" >&6
8497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8500 # Check whether --enable-textdlg or --disable-textdlg was given.
8501 if test "${enable_textdlg+set}" = set; then
8502 enableval
="$enable_textdlg"
8504 if test "$enableval" = yes; then
8505 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8507 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8512 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8513 if test "x$LINE" != x
; then
8514 eval "DEFAULT_$LINE"
8519 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8523 eval "$ac_cv_use_textdlg"
8524 if test "$no_cache" != 1; then
8525 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8528 if test "$wxUSE_TEXTDLG" = yes; then
8529 echo "$as_me:$LINENO: result: yes" >&5
8530 echo "${ECHO_T}yes" >&6
8532 echo "$as_me:$LINENO: result: no" >&5
8533 echo "${ECHO_T}no" >&6
8538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8539 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8541 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8542 if test "${enable_tipdlg+set}" = set; then
8543 enableval
="$enable_tipdlg"
8545 if test "$enableval" = yes; then
8546 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8548 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8553 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8554 if test "x$LINE" != x
; then
8555 eval "DEFAULT_$LINE"
8560 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8564 eval "$ac_cv_use_tipdlg"
8565 if test "$no_cache" != 1; then
8566 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8569 if test "$wxUSE_STARTUP_TIPS" = yes; then
8570 echo "$as_me:$LINENO: result: yes" >&5
8571 echo "${ECHO_T}yes" >&6
8573 echo "$as_me:$LINENO: result: no" >&5
8574 echo "${ECHO_T}no" >&6
8579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8582 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8583 if test "${enable_progressdlg+set}" = set; then
8584 enableval
="$enable_progressdlg"
8586 if test "$enableval" = yes; then
8587 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8589 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8594 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8595 if test "x$LINE" != x
; then
8596 eval "DEFAULT_$LINE"
8601 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8605 eval "$ac_cv_use_progressdlg"
8606 if test "$no_cache" != 1; then
8607 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8610 if test "$wxUSE_PROGRESSDLG" = yes; then
8611 echo "$as_me:$LINENO: result: yes" >&5
8612 echo "${ECHO_T}yes" >&6
8614 echo "$as_me:$LINENO: result: no" >&5
8615 echo "${ECHO_T}no" >&6
8620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8621 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8623 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8624 if test "${enable_wizarddlg+set}" = set; then
8625 enableval
="$enable_wizarddlg"
8627 if test "$enableval" = yes; then
8628 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8630 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8635 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8636 if test "x$LINE" != x
; then
8637 eval "DEFAULT_$LINE"
8642 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8646 eval "$ac_cv_use_wizarddlg"
8647 if test "$no_cache" != 1; then
8648 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8651 if test "$wxUSE_WIZARDDLG" = yes; then
8652 echo "$as_me:$LINENO: result: yes" >&5
8653 echo "${ECHO_T}yes" >&6
8655 echo "$as_me:$LINENO: result: no" >&5
8656 echo "${ECHO_T}no" >&6
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8666 # Check whether --enable-menus or --disable-menus was given.
8667 if test "${enable_menus+set}" = set; then
8668 enableval
="$enable_menus"
8670 if test "$enableval" = yes; then
8671 ac_cv_use_menus
='wxUSE_MENUS=yes'
8673 ac_cv_use_menus
='wxUSE_MENUS=no'
8678 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x
; then
8680 eval "DEFAULT_$LINE"
8685 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8689 eval "$ac_cv_use_menus"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8694 if test "$wxUSE_MENUS" = 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
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8707 # Check whether --enable-miniframe or --disable-miniframe was given.
8708 if test "${enable_miniframe+set}" = set; then
8709 enableval
="$enable_miniframe"
8711 if test "$enableval" = yes; then
8712 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8714 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8719 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x
; then
8721 eval "DEFAULT_$LINE"
8726 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8730 eval "$ac_cv_use_miniframe"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8735 if test "$wxUSE_MINIFRAME" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737 echo "${ECHO_T}yes" >&6
8739 echo "$as_me:$LINENO: result: no" >&5
8740 echo "${ECHO_T}no" >&6
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8748 # Check whether --enable-tooltips or --disable-tooltips was given.
8749 if test "${enable_tooltips+set}" = set; then
8750 enableval
="$enable_tooltips"
8752 if test "$enableval" = yes; then
8753 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8755 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8760 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x
; then
8762 eval "DEFAULT_$LINE"
8767 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8771 eval "$ac_cv_use_tooltips"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8776 if test "$wxUSE_TOOLTIPS" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778 echo "${ECHO_T}yes" >&6
8780 echo "$as_me:$LINENO: result: no" >&5
8781 echo "${ECHO_T}no" >&6
8786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8789 # Check whether --enable-splines or --disable-splines was given.
8790 if test "${enable_splines+set}" = set; then
8791 enableval
="$enable_splines"
8793 if test "$enableval" = yes; then
8794 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8796 ac_cv_use_splines
='wxUSE_SPLINES=no'
8801 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x
; then
8803 eval "DEFAULT_$LINE"
8808 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8812 eval "$ac_cv_use_splines"
8813 if test "$no_cache" != 1; then
8814 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8817 if test "$wxUSE_SPLINES" = yes; then
8818 echo "$as_me:$LINENO: result: yes" >&5
8819 echo "${ECHO_T}yes" >&6
8821 echo "$as_me:$LINENO: result: no" >&5
8822 echo "${ECHO_T}no" >&6
8827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8828 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8830 # Check whether --enable-validators or --disable-validators was given.
8831 if test "${enable_validators+set}" = set; then
8832 enableval
="$enable_validators"
8834 if test "$enableval" = yes; then
8835 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8837 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8842 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8843 if test "x$LINE" != x
; then
8844 eval "DEFAULT_$LINE"
8849 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8853 eval "$ac_cv_use_validators"
8854 if test "$no_cache" != 1; then
8855 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8858 if test "$wxUSE_VALIDATORS" = yes; then
8859 echo "$as_me:$LINENO: result: yes" >&5
8860 echo "${ECHO_T}yes" >&6
8862 echo "$as_me:$LINENO: result: no" >&5
8863 echo "${ECHO_T}no" >&6
8868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8869 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8871 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8872 if test "${enable_busyinfo+set}" = set; then
8873 enableval
="$enable_busyinfo"
8875 if test "$enableval" = yes; then
8876 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8878 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8883 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8884 if test "x$LINE" != x
; then
8885 eval "DEFAULT_$LINE"
8890 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8894 eval "$ac_cv_use_busyinfo"
8895 if test "$no_cache" != 1; then
8896 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8899 if test "$wxUSE_BUSYINFO" = yes; then
8900 echo "$as_me:$LINENO: result: yes" >&5
8901 echo "${ECHO_T}yes" >&6
8903 echo "$as_me:$LINENO: result: no" >&5
8904 echo "${ECHO_T}no" >&6
8909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8910 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8912 # Check whether --enable-joystick or --disable-joystick was given.
8913 if test "${enable_joystick+set}" = set; then
8914 enableval
="$enable_joystick"
8916 if test "$enableval" = yes; then
8917 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8919 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8924 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8925 if test "x$LINE" != x
; then
8926 eval "DEFAULT_$LINE"
8931 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8935 eval "$ac_cv_use_joystick"
8936 if test "$no_cache" != 1; then
8937 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8940 if test "$wxUSE_JOYSTICK" = yes; then
8941 echo "$as_me:$LINENO: result: yes" >&5
8942 echo "${ECHO_T}yes" >&6
8944 echo "$as_me:$LINENO: result: no" >&5
8945 echo "${ECHO_T}no" >&6
8950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8951 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8953 # Check whether --enable-metafile or --disable-metafile was given.
8954 if test "${enable_metafile+set}" = set; then
8955 enableval
="$enable_metafile"
8957 if test "$enableval" = yes; then
8958 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8960 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8965 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8966 if test "x$LINE" != x
; then
8967 eval "DEFAULT_$LINE"
8972 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8976 eval "$ac_cv_use_metafile"
8977 if test "$no_cache" != 1; then
8978 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8981 if test "$wxUSE_METAFILE" = yes; then
8982 echo "$as_me:$LINENO: result: yes" >&5
8983 echo "${ECHO_T}yes" >&6
8985 echo "$as_me:$LINENO: result: no" >&5
8986 echo "${ECHO_T}no" >&6
8991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
8992 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
8994 # Check whether --enable-dragimage or --disable-dragimage was given.
8995 if test "${enable_dragimage+set}" = set; then
8996 enableval
="$enable_dragimage"
8998 if test "$enableval" = yes; then
8999 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9001 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9006 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9007 if test "x$LINE" != x
; then
9008 eval "DEFAULT_$LINE"
9013 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9017 eval "$ac_cv_use_dragimage"
9018 if test "$no_cache" != 1; then
9019 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9022 if test "$wxUSE_DRAGIMAGE" = yes; then
9023 echo "$as_me:$LINENO: result: yes" >&5
9024 echo "${ECHO_T}yes" >&6
9026 echo "$as_me:$LINENO: result: no" >&5
9027 echo "${ECHO_T}no" >&6
9032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9033 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9035 # Check whether --enable-accessibility or --disable-accessibility was given.
9036 if test "${enable_accessibility+set}" = set; then
9037 enableval
="$enable_accessibility"
9039 if test "$enableval" = yes; then
9040 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9042 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9047 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9048 if test "x$LINE" != x
; then
9049 eval "DEFAULT_$LINE"
9054 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9058 eval "$ac_cv_use_accessibility"
9059 if test "$no_cache" != 1; then
9060 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9063 if test "$wxUSE_ACCESSIBILITY" = yes; then
9064 echo "$as_me:$LINENO: result: yes" >&5
9065 echo "${ECHO_T}yes" >&6
9067 echo "$as_me:$LINENO: result: no" >&5
9068 echo "${ECHO_T}no" >&6
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9078 # Check whether --enable-palette or --disable-palette was given.
9079 if test "${enable_palette+set}" = set; then
9080 enableval
="$enable_palette"
9082 if test "$enableval" = yes; then
9083 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9085 ac_cv_use_palette
='wxUSE_PALETTE=no'
9090 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x
; then
9092 eval "DEFAULT_$LINE"
9097 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9101 eval "$ac_cv_use_palette"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9106 if test "$wxUSE_PALETTE" = 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
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9119 # Check whether --enable-image or --disable-image was given.
9120 if test "${enable_image+set}" = set; then
9121 enableval
="$enable_image"
9123 if test "$enableval" = yes; then
9124 ac_cv_use_image
='wxUSE_IMAGE=yes'
9126 ac_cv_use_image
='wxUSE_IMAGE=no'
9131 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x
; then
9133 eval "DEFAULT_$LINE"
9138 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9142 eval "$ac_cv_use_image"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9147 if test "$wxUSE_IMAGE" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149 echo "${ECHO_T}yes" >&6
9151 echo "$as_me:$LINENO: result: no" >&5
9152 echo "${ECHO_T}no" >&6
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9160 # Check whether --enable-gif or --disable-gif was given.
9161 if test "${enable_gif+set}" = set; then
9162 enableval
="$enable_gif"
9164 if test "$enableval" = yes; then
9165 ac_cv_use_gif
='wxUSE_GIF=yes'
9167 ac_cv_use_gif
='wxUSE_GIF=no'
9172 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x
; then
9174 eval "DEFAULT_$LINE"
9179 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9183 eval "$ac_cv_use_gif"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9188 if test "$wxUSE_GIF" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190 echo "${ECHO_T}yes" >&6
9192 echo "$as_me:$LINENO: result: no" >&5
9193 echo "${ECHO_T}no" >&6
9198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9201 # Check whether --enable-pcx or --disable-pcx was given.
9202 if test "${enable_pcx+set}" = set; then
9203 enableval
="$enable_pcx"
9205 if test "$enableval" = yes; then
9206 ac_cv_use_pcx
='wxUSE_PCX=yes'
9208 ac_cv_use_pcx
='wxUSE_PCX=no'
9213 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9214 if test "x$LINE" != x
; then
9215 eval "DEFAULT_$LINE"
9220 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9224 eval "$ac_cv_use_pcx"
9225 if test "$no_cache" != 1; then
9226 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9229 if test "$wxUSE_PCX" = yes; then
9230 echo "$as_me:$LINENO: result: yes" >&5
9231 echo "${ECHO_T}yes" >&6
9233 echo "$as_me:$LINENO: result: no" >&5
9234 echo "${ECHO_T}no" >&6
9239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9240 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9242 # Check whether --enable-iff or --disable-iff was given.
9243 if test "${enable_iff+set}" = set; then
9244 enableval
="$enable_iff"
9246 if test "$enableval" = yes; then
9247 ac_cv_use_iff
='wxUSE_IFF=yes'
9249 ac_cv_use_iff
='wxUSE_IFF=no'
9254 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9255 if test "x$LINE" != x
; then
9256 eval "DEFAULT_$LINE"
9261 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9265 eval "$ac_cv_use_iff"
9266 if test "$no_cache" != 1; then
9267 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9270 if test "$wxUSE_IFF" = yes; then
9271 echo "$as_me:$LINENO: result: yes" >&5
9272 echo "${ECHO_T}yes" >&6
9274 echo "$as_me:$LINENO: result: no" >&5
9275 echo "${ECHO_T}no" >&6
9280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9281 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9283 # Check whether --enable-pnm or --disable-pnm was given.
9284 if test "${enable_pnm+set}" = set; then
9285 enableval
="$enable_pnm"
9287 if test "$enableval" = yes; then
9288 ac_cv_use_pnm
='wxUSE_PNM=yes'
9290 ac_cv_use_pnm
='wxUSE_PNM=no'
9295 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9296 if test "x$LINE" != x
; then
9297 eval "DEFAULT_$LINE"
9302 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9306 eval "$ac_cv_use_pnm"
9307 if test "$no_cache" != 1; then
9308 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9311 if test "$wxUSE_PNM" = yes; then
9312 echo "$as_me:$LINENO: result: yes" >&5
9313 echo "${ECHO_T}yes" >&6
9315 echo "$as_me:$LINENO: result: no" >&5
9316 echo "${ECHO_T}no" >&6
9321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9324 # Check whether --enable-xpm or --disable-xpm was given.
9325 if test "${enable_xpm+set}" = set; then
9326 enableval
="$enable_xpm"
9328 if test "$enableval" = yes; then
9329 ac_cv_use_xpm
='wxUSE_XPM=yes'
9331 ac_cv_use_xpm
='wxUSE_XPM=no'
9336 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9337 if test "x$LINE" != x
; then
9338 eval "DEFAULT_$LINE"
9343 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9347 eval "$ac_cv_use_xpm"
9348 if test "$no_cache" != 1; then
9349 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9352 if test "$wxUSE_XPM" = yes; then
9353 echo "$as_me:$LINENO: result: yes" >&5
9354 echo "${ECHO_T}yes" >&6
9356 echo "$as_me:$LINENO: result: no" >&5
9357 echo "${ECHO_T}no" >&6
9362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9363 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9365 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9366 if test "${enable_ico_cur+set}" = set; then
9367 enableval
="$enable_ico_cur"
9369 if test "$enableval" = yes; then
9370 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9372 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9377 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9378 if test "x$LINE" != x
; then
9379 eval "DEFAULT_$LINE"
9384 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9388 eval "$ac_cv_use_ico_cur"
9389 if test "$no_cache" != 1; then
9390 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9393 if test "$wxUSE_ICO_CUR" = yes; then
9394 echo "$as_me:$LINENO: result: yes" >&5
9395 echo "${ECHO_T}yes" >&6
9397 echo "$as_me:$LINENO: result: no" >&5
9398 echo "${ECHO_T}no" >&6
9405 *-pc-os2_emx | *-pc-os2-emx )
9417 echo "saving argument cache $wx_arg_cache_file"
9418 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9422 echo "$as_me:$LINENO: checking for toolkit" >&5
9423 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9425 # In Wine, we need to default to MSW, not GTK or MOTIF
9426 if test "$wxUSE_WINE" = "yes"; then
9427 DEFAULT_DEFAULT_wxUSE_GTK
=0
9428 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9429 DEFAULT_DEFAULT_wxUSE_MSW
=1
9432 if test "$wxUSE_GUI" = "yes"; then
9434 if test "$USE_BEOS" = 1; then
9435 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9436 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9437 { (exit 1); exit 1; }; }
9440 if test "$TOOLKIT_GIVEN" = 1; then
9441 for toolkit
in `echo $ALL_TOOLKITS`; do
9443 eval "value=\$${var}"
9444 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9447 for toolkit
in `echo $ALL_TOOLKITS`; do
9448 if test "$has_toolkit_in_cache" != 1; then
9449 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9451 var
=DEFAULT_wxUSE_
$toolkit
9453 eval "wxUSE_$toolkit=\$${var}"
9457 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9458 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9459 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9462 *-pc-os2_emx | *-pc-os2-emx )
9463 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9466 case "$NUM_TOOLKITS" in
9470 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9471 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9472 { (exit 1); exit 1; }; }
9475 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9476 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9477 { (exit 1); exit 1; }; }
9480 for toolkit
in `echo $ALL_TOOLKITS`; do
9482 eval "value=\$${var}"
9483 if test "x$value" != x
; then
9484 cache_var
=CACHE_
$toolkit
9485 eval "cache=\$${cache_var}"
9486 if test "$cache" = 1; then
9487 echo "$var=$value" >> ${wx_arg_cache_file}
9489 if test "$value" = 1; then
9490 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
9491 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9492 echo "${ECHO_T}$toolkit_echo" >&6
9497 if test "x$host_alias" != "x"; then
9498 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9499 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9501 echo "$as_me:$LINENO: result: base only" >&5
9502 echo "${ECHO_T}base only" >&6
9510 if test "$wxUSE_MSW" = 1 ; then
9521 if test "$wxUSE_WINE" = "yes"; then
9528 if test "$wants_win32" = 1 ; then
9531 cat >>confdefs.h
<<\_ACEOF
9535 cat >>confdefs.h
<<\_ACEOF
9539 cat >>confdefs.h
<<\_ACEOF
9540 #define __WINDOWS__ 1
9543 cat >>confdefs.h
<<\_ACEOF
9544 #define __GNUWIN32__ 1
9547 cat >>confdefs.h
<<\_ACEOF
9551 cat >>confdefs.h
<<\_ACEOF
9552 #define WINVER 0x0400
9556 if test "$doesnt_want_win32" = 1 ; then
9561 if test "$USE_UNIX" = 1 ; then
9563 cat >>confdefs.h
<<\_ACEOF
9570 cat >confcache
<<\_ACEOF
9571 # This file is a shell script that caches the results of configure
9572 # tests run on this system so they can be shared between configure
9573 # scripts and configure runs, see configure's option --config-cache.
9574 # It is not useful on other systems. If it contains results you don't
9575 # want to keep, you may remove or edit it.
9577 # config.status only pays attention to the cache file if you give it
9578 # the --recheck option to rerun configure.
9580 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9581 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9586 # The following way of writing the cache mishandles newlines in values,
9587 # but we know of no workaround that is simple, portable, and efficient.
9588 # So, don't put newlines in cache variables' values.
9589 # Ultrix sh set writes to stderr and can't be redirected directly,
9590 # and sets the high bit in the cache file unless we assign to the vars.
9593 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9595 # `set' does not quote correctly, so add quotes (double-quote
9596 # substitution turns \\\\ into \\, and sed turns \\ into \).
9599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9602 # `set' quotes correctly as required by POSIX, so do not add quotes.
9604 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9611 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9613 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9615 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9616 if test -w $cache_file; then
9617 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9618 cat confcache
>$cache_file
9620 echo "not updating unwritable cache $cache_file"
9625 if test "$build" != "$host" ; then
9626 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9630 RANLIB
=$host_alias-ranlib
9631 DLLTOOL
=$host_alias-dlltool
9632 RESCOMP
=$host_alias-windres
9635 STRIP
=$host_alias-strip
9637 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9638 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9639 { (exit 1); exit 1; }; }
9645 ac_cpp
='$CPP $CPPFLAGS'
9646 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9647 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9648 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9649 if test -n "$ac_tool_prefix"; then
9650 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9651 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9652 echo "$as_me:$LINENO: checking for $ac_word" >&5
9653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9654 if test "${ac_cv_prog_CC+set}" = set; then
9655 echo $ECHO_N "(cached) $ECHO_C" >&6
9657 if test -n "$CC"; then
9658 ac_cv_prog_CC
="$CC" # Let the user override the test.
9660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9664 test -z "$as_dir" && as_dir
=.
9665 for ac_exec_ext
in '' $ac_executable_extensions; do
9666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9667 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9677 if test -n "$CC"; then
9678 echo "$as_me:$LINENO: result: $CC" >&5
9679 echo "${ECHO_T}$CC" >&6
9681 echo "$as_me:$LINENO: result: no" >&5
9682 echo "${ECHO_T}no" >&6
9686 if test -z "$ac_cv_prog_CC"; then
9688 # Extract the first word of "gcc", so it can be a program name with args.
9689 set dummy gcc
; ac_word
=$2
9690 echo "$as_me:$LINENO: checking for $ac_word" >&5
9691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9692 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9693 echo $ECHO_N "(cached) $ECHO_C" >&6
9695 if test -n "$ac_ct_CC"; then
9696 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9702 test -z "$as_dir" && as_dir
=.
9703 for ac_exec_ext
in '' $ac_executable_extensions; do
9704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9705 ac_cv_prog_ac_ct_CC
="gcc"
9706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9714 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9715 if test -n "$ac_ct_CC"; then
9716 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9717 echo "${ECHO_T}$ac_ct_CC" >&6
9719 echo "$as_me:$LINENO: result: no" >&5
9720 echo "${ECHO_T}no" >&6
9728 if test -z "$CC"; then
9729 if test -n "$ac_tool_prefix"; then
9730 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9731 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9732 echo "$as_me:$LINENO: checking for $ac_word" >&5
9733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9734 if test "${ac_cv_prog_CC+set}" = set; then
9735 echo $ECHO_N "(cached) $ECHO_C" >&6
9737 if test -n "$CC"; then
9738 ac_cv_prog_CC
="$CC" # Let the user override the test.
9740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9744 test -z "$as_dir" && as_dir
=.
9745 for ac_exec_ext
in '' $ac_executable_extensions; do
9746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9747 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9757 if test -n "$CC"; then
9758 echo "$as_me:$LINENO: result: $CC" >&5
9759 echo "${ECHO_T}$CC" >&6
9761 echo "$as_me:$LINENO: result: no" >&5
9762 echo "${ECHO_T}no" >&6
9766 if test -z "$ac_cv_prog_CC"; then
9768 # Extract the first word of "cc", so it can be a program name with args.
9769 set dummy cc
; ac_word
=$2
9770 echo "$as_me:$LINENO: checking for $ac_word" >&5
9771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9773 echo $ECHO_N "(cached) $ECHO_C" >&6
9775 if test -n "$ac_ct_CC"; then
9776 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9782 test -z "$as_dir" && as_dir
=.
9783 for ac_exec_ext
in '' $ac_executable_extensions; do
9784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9785 ac_cv_prog_ac_ct_CC
="cc"
9786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9794 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9795 if test -n "$ac_ct_CC"; then
9796 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9797 echo "${ECHO_T}$ac_ct_CC" >&6
9799 echo "$as_me:$LINENO: result: no" >&5
9800 echo "${ECHO_T}no" >&6
9809 if test -z "$CC"; then
9810 # Extract the first word of "cc", so it can be a program name with args.
9811 set dummy cc
; ac_word
=$2
9812 echo "$as_me:$LINENO: checking for $ac_word" >&5
9813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9814 if test "${ac_cv_prog_CC+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 if test -n "$CC"; then
9818 ac_cv_prog_CC
="$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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9829 ac_prog_rejected
=yes
9833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9839 if test $ac_prog_rejected = yes; then
9840 # We found a bogon in the path, so make sure we never use it.
9841 set dummy
$ac_cv_prog_CC
9843 if test $# != 0; then
9844 # We chose a different compiler from the bogus one.
9845 # However, it has the same basename, so the bogon will be chosen
9846 # first if we set CC to just the basename; use the full file name.
9848 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9854 if test -n "$CC"; then
9855 echo "$as_me:$LINENO: result: $CC" >&5
9856 echo "${ECHO_T}$CC" >&6
9858 echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6
9863 if test -z "$CC"; then
9864 if test -n "$ac_tool_prefix"; then
9867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9868 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9869 echo "$as_me:$LINENO: checking for $ac_word" >&5
9870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9871 if test "${ac_cv_prog_CC+set}" = set; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9874 if test -n "$CC"; then
9875 ac_cv_prog_CC
="$CC" # Let the user override the test.
9877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9881 test -z "$as_dir" && as_dir
=.
9882 for ac_exec_ext
in '' $ac_executable_extensions; do
9883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9884 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9894 if test -n "$CC"; then
9895 echo "$as_me:$LINENO: result: $CC" >&5
9896 echo "${ECHO_T}$CC" >&6
9898 echo "$as_me:$LINENO: result: no" >&5
9899 echo "${ECHO_T}no" >&6
9902 test -n "$CC" && break
9905 if test -z "$CC"; then
9909 # Extract the first word of "$ac_prog", so it can be a program name with args.
9910 set dummy
$ac_prog; ac_word
=$2
9911 echo "$as_me:$LINENO: checking for $ac_word" >&5
9912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9914 echo $ECHO_N "(cached) $ECHO_C" >&6
9916 if test -n "$ac_ct_CC"; then
9917 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9923 test -z "$as_dir" && as_dir
=.
9924 for ac_exec_ext
in '' $ac_executable_extensions; do
9925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9926 ac_cv_prog_ac_ct_CC
="$ac_prog"
9927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9935 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9936 if test -n "$ac_ct_CC"; then
9937 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9938 echo "${ECHO_T}$ac_ct_CC" >&6
9940 echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6
9944 test -n "$ac_ct_CC" && break
9953 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9954 See \`config.log' for more details." >&5
9955 echo "$as_me: error: no acceptable C compiler found in \$PATH
9956 See \`config.log' for more details." >&2;}
9957 { (exit 1); exit 1; }; }
9959 # Provide some information about the compiler.
9960 echo "$as_me:$LINENO:" \
9961 "checking for C compiler version" >&5
9962 ac_compiler
=`set X $ac_compile; echo $2`
9963 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9964 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }
9968 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9969 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }
9973 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9974 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); }
9979 cat >conftest.
$ac_ext <<_ACEOF
9980 #line $LINENO "configure"
9983 cat confdefs.h
>>conftest.
$ac_ext
9984 cat >>conftest.
$ac_ext <<_ACEOF
9985 /* end confdefs.h. */
9995 ac_clean_files_save
=$ac_clean_files
9996 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
9997 # Try to create an executable without -o first, disregard a.out.
9998 # It will help us diagnose broken compilers, and finding out an intuition
10000 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10001 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10002 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10003 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10004 (eval $ac_link_default) 2>&5
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); }; then
10008 # Find the output, starting from the most likely. This scheme is
10009 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10012 # Be careful to initialize this variable, since it used to be cached.
10013 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10015 # b.out is created by i960 compilers.
10016 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10018 test -f "$ac_file" || continue
10020 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10023 # This is the source file.
10026 # We found the default executable, but exeext='' is most
10030 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10031 # FIXME: I believe we export ac_cv_exeext for Libtool,
10032 # but it would be cool to find out if it's true. Does anybody
10033 # maintain Libtool? --akim.
10034 export ac_cv_exeext
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.
$ac_ext >&5
10044 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10045 See \`config.log' for more details." >&5
10046 echo "$as_me: error: C compiler cannot create executables
10047 See \`config.log' for more details." >&2;}
10048 { (exit 77); exit 77; }; }
10051 ac_exeext
=$ac_cv_exeext
10052 echo "$as_me:$LINENO: result: $ac_file" >&5
10053 echo "${ECHO_T}$ac_file" >&6
10055 # Check the compiler produces executables we can run. If not, either
10056 # the compiler is broken, or we cross compile.
10057 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10058 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10059 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10060 # If not cross compiling, check that we can run a simple program.
10061 if test "$cross_compiling" != yes; then
10062 if { ac_try
='./$ac_file'
10063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10064 (eval $ac_try) 2>&5
10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067 (exit $ac_status); }; }; then
10070 if test "$cross_compiling" = maybe
; then
10071 cross_compiling
=yes
10073 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10074 If you meant to cross compile, use \`--host'.
10075 See \`config.log' for more details." >&5
10076 echo "$as_me: error: cannot run C compiled programs.
10077 If you meant to cross compile, use \`--host'.
10078 See \`config.log' for more details." >&2;}
10079 { (exit 1); exit 1; }; }
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10086 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10087 ac_clean_files
=$ac_clean_files_save
10088 # Check the compiler produces executables we can run. If not, either
10089 # the compiler is broken, or we cross compile.
10090 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10091 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10092 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10093 echo "${ECHO_T}$cross_compiling" >&6
10095 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10096 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10098 (eval $ac_link) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; then
10102 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10103 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10104 # work properly (i.e., refer to `conftest.exe'), while it won't with
10106 for ac_file
in conftest.exe conftest conftest.
*; do
10107 test -f "$ac_file" || continue
10109 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10110 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10111 export ac_cv_exeext
10117 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10118 See \`config.log' for more details." >&5
10119 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10120 See \`config.log' for more details." >&2;}
10121 { (exit 1); exit 1; }; }
10124 rm -f conftest
$ac_cv_exeext
10125 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10126 echo "${ECHO_T}$ac_cv_exeext" >&6
10128 rm -f conftest.
$ac_ext
10129 EXEEXT
=$ac_cv_exeext
10131 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10132 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10133 if test "${ac_cv_objext+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10136 cat >conftest.
$ac_ext <<_ACEOF
10137 #line $LINENO "configure"
10140 cat confdefs.h
>>conftest.
$ac_ext
10141 cat >>conftest.
$ac_ext <<_ACEOF
10142 /* end confdefs.h. */
10152 rm -f conftest.o conftest.obj
10153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10154 (eval $ac_compile) 2>&5
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); }; then
10158 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10160 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10161 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10166 echo "$as_me: failed program was:" >&5
10167 sed 's/^/| /' conftest.
$ac_ext >&5
10169 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10170 See \`config.log' for more details." >&5
10171 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10172 See \`config.log' for more details." >&2;}
10173 { (exit 1); exit 1; }; }
10176 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10178 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10179 echo "${ECHO_T}$ac_cv_objext" >&6
10180 OBJEXT
=$ac_cv_objext
10182 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10183 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10184 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10185 echo $ECHO_N "(cached) $ECHO_C" >&6
10187 cat >conftest.
$ac_ext <<_ACEOF
10188 #line $LINENO "configure"
10191 cat confdefs.h
>>conftest.
$ac_ext
10192 cat >>conftest.
$ac_ext <<_ACEOF
10193 /* end confdefs.h. */
10206 rm -f conftest.
$ac_objext
10207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10208 (eval $ac_compile) 2>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); } &&
10212 { ac_try
='test -s conftest.$ac_objext'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; }; then
10218 ac_compiler_gnu
=yes
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.
$ac_ext >&5
10225 rm -f conftest.
$ac_objext conftest.
$ac_ext
10226 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10229 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10230 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10231 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10232 ac_test_CFLAGS
=${CFLAGS+set}
10233 ac_save_CFLAGS
=$CFLAGS
10235 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10236 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10237 if test "${ac_cv_prog_cc_g+set}" = set; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10240 cat >conftest.
$ac_ext <<_ACEOF
10241 #line $LINENO "configure"
10244 cat confdefs.h
>>conftest.
$ac_ext
10245 cat >>conftest.
$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10256 rm -f conftest.
$ac_objext
10257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10258 (eval $ac_compile) 2>&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } &&
10262 { ac_try
='test -s conftest.$ac_objext'
10263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10264 (eval $ac_try) 2>&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); }; }; then
10268 ac_cv_prog_cc_g
=yes
10270 echo "$as_me: failed program was:" >&5
10271 sed 's/^/| /' conftest.
$ac_ext >&5
10275 rm -f conftest.
$ac_objext conftest.
$ac_ext
10277 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10278 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10279 if test "$ac_test_CFLAGS" = set; then
10280 CFLAGS
=$ac_save_CFLAGS
10281 elif test $ac_cv_prog_cc_g = yes; then
10282 if test "$GCC" = yes; then
10288 if test "$GCC" = yes; then
10294 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10295 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10296 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 ac_cv_prog_cc_stdc
=no
10301 cat >conftest.
$ac_ext <<_ACEOF
10302 #line $LINENO "configure"
10305 cat confdefs.h
>>conftest.
$ac_ext
10306 cat >>conftest.
$ac_ext <<_ACEOF
10307 /* end confdefs.h. */
10308 #include <stdarg.h>
10310 #include <sys/types.h>
10311 #include <sys/stat.h>
10312 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10313 struct buf { int x; };
10314 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10315 static char *e (p, i)
10321 static char *f (char * (*g) (char **, int), char **p, ...)
10326 s = g (p, va_arg (v,int));
10330 int test (int i, double x);
10331 struct s1 {int (*f) (int a);};
10332 struct s2 {int (*f) (double a);};
10333 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10339 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10344 # Don't try gcc -ansi; that turns off useful extensions and
10345 # breaks some systems' header files.
10346 # AIX -qlanglvl=ansi
10347 # Ultrix and OSF/1 -std1
10348 # HP-UX 10.20 and later -Ae
10349 # HP-UX older versions -Aa -D_HPUX_SOURCE
10350 # SVR4 -Xc -D__EXTENSIONS__
10351 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10353 CC
="$ac_save_CC $ac_arg"
10354 rm -f conftest.
$ac_objext
10355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10356 (eval $ac_compile) 2>&5
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); } &&
10360 { ac_try
='test -s conftest.$ac_objext'
10361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10362 (eval $ac_try) 2>&5
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365 (exit $ac_status); }; }; then
10366 ac_cv_prog_cc_stdc
=$ac_arg
10369 echo "$as_me: failed program was:" >&5
10370 sed 's/^/| /' conftest.
$ac_ext >&5
10373 rm -f conftest.
$ac_objext
10375 rm -f conftest.
$ac_ext conftest.
$ac_objext
10380 case "x$ac_cv_prog_cc_stdc" in
10382 echo "$as_me:$LINENO: result: none needed" >&5
10383 echo "${ECHO_T}none needed" >&6 ;;
10385 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10386 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10387 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10390 # Some people use a C++ compiler to compile C. Since we use `exit',
10391 # in C++ we need to declare it. In case someone uses the same compiler
10392 # for both compiling C and C++ we need to have the C++ compiler decide
10393 # the declaration of exit, since it's the most demanding environment.
10394 cat >conftest.
$ac_ext <<_ACEOF
10395 #ifndef __cplusplus
10399 rm -f conftest.
$ac_objext
10400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10401 (eval $ac_compile) 2>&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); } &&
10405 { ac_try
='test -s conftest.$ac_objext'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; }; then
10411 for ac_declaration
in \
10413 'extern "C" void std::exit (int) throw (); using std::exit;' \
10414 'extern "C" void std::exit (int); using std::exit;' \
10415 'extern "C" void exit (int) throw ();' \
10416 'extern "C" void exit (int);' \
10419 cat >conftest.
$ac_ext <<_ACEOF
10420 #line $LINENO "configure"
10423 cat confdefs.h
>>conftest.
$ac_ext
10424 cat >>conftest.
$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10427 #include <stdlib.h>
10436 rm -f conftest.
$ac_objext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10438 (eval $ac_compile) 2>&5
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); } &&
10442 { ac_try
='test -s conftest.$ac_objext'
10443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10444 (eval $ac_try) 2>&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); }; }; then
10450 echo "$as_me: failed program was:" >&5
10451 sed 's/^/| /' conftest.
$ac_ext >&5
10455 rm -f conftest.
$ac_objext conftest.
$ac_ext
10456 cat >conftest.
$ac_ext <<_ACEOF
10457 #line $LINENO "configure"
10460 cat confdefs.h
>>conftest.
$ac_ext
10461 cat >>conftest.
$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10472 rm -f conftest.
$ac_objext
10473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10474 (eval $ac_compile) 2>&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); } &&
10478 { ac_try
='test -s conftest.$ac_objext'
10479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10480 (eval $ac_try) 2>&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); }; }; then
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.
$ac_ext >&5
10490 rm -f conftest.
$ac_objext conftest.
$ac_ext
10493 if test -n "$ac_declaration"; then
10494 echo '#ifdef __cplusplus' >>confdefs.h
10495 echo $ac_declaration >>confdefs.h
10496 echo '#endif' >>confdefs.h
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.
$ac_ext >&5
10504 rm -f conftest.
$ac_objext conftest.
$ac_ext
10506 ac_cpp
='$CPP $CPPFLAGS'
10507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10514 ac_cpp
='$CPP $CPPFLAGS'
10515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10518 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10519 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10520 # On Suns, sometimes $CPP names a directory.
10521 if test -n "$CPP" && test -d "$CPP"; then
10524 if test -z "$CPP"; then
10525 if test "${ac_cv_prog_CPP+set}" = set; then
10526 echo $ECHO_N "(cached) $ECHO_C" >&6
10528 # Double quotes because CPP needs to be expanded
10529 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10531 ac_preproc_ok
=false
10532 for ac_c_preproc_warn_flag
in '' yes
10534 # Use a header file that comes with gcc, so configuring glibc
10535 # with a fresh cross-compiler works.
10536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10537 # <limits.h> exists even on freestanding compilers.
10538 # On the NeXT, cc -E runs the code through the compiler's parser,
10539 # not just through cpp. "Syntax error" is here to catch this case.
10540 cat >conftest.
$ac_ext <<_ACEOF
10541 #line $LINENO "configure"
10544 cat confdefs.h
>>conftest.
$ac_ext
10545 cat >>conftest.
$ac_ext <<_ACEOF
10546 /* end confdefs.h. */
10548 # include <limits.h>
10550 # include <assert.h>
10554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10557 grep -v '^ *+' conftest.er1
>conftest.err
10559 cat conftest.err
>&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); } >/dev
/null
; then
10562 if test -s conftest.err
; then
10563 ac_cpp_err
=$ac_c_preproc_warn_flag
10570 if test -z "$ac_cpp_err"; then
10573 echo "$as_me: failed program was:" >&5
10574 sed 's/^/| /' conftest.
$ac_ext >&5
10576 # Broken: fails on valid input.
10579 rm -f conftest.err conftest.
$ac_ext
10581 # OK, works on sane cases. Now check whether non-existent headers
10582 # can be detected and how.
10583 cat >conftest.
$ac_ext <<_ACEOF
10584 #line $LINENO "configure"
10587 cat confdefs.h
>>conftest.
$ac_ext
10588 cat >>conftest.
$ac_ext <<_ACEOF
10589 /* end confdefs.h. */
10590 #include <ac_nonexistent.h>
10592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10593 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10595 grep -v '^ *+' conftest.er1
>conftest.err
10597 cat conftest.err
>&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); } >/dev
/null
; then
10600 if test -s conftest.err
; then
10601 ac_cpp_err
=$ac_c_preproc_warn_flag
10608 if test -z "$ac_cpp_err"; then
10609 # Broken: success on invalid input.
10612 echo "$as_me: failed program was:" >&5
10613 sed 's/^/| /' conftest.
$ac_ext >&5
10615 # Passes both tests.
10619 rm -f conftest.err conftest.
$ac_ext
10622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10623 rm -f conftest.err conftest.
$ac_ext
10624 if $ac_preproc_ok; then
10629 ac_cv_prog_CPP
=$CPP
10632 CPP
=$ac_cv_prog_CPP
10634 ac_cv_prog_CPP
=$CPP
10636 echo "$as_me:$LINENO: result: $CPP" >&5
10637 echo "${ECHO_T}$CPP" >&6
10638 ac_preproc_ok
=false
10639 for ac_c_preproc_warn_flag
in '' yes
10641 # Use a header file that comes with gcc, so configuring glibc
10642 # with a fresh cross-compiler works.
10643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10644 # <limits.h> exists even on freestanding compilers.
10645 # On the NeXT, cc -E runs the code through the compiler's parser,
10646 # not just through cpp. "Syntax error" is here to catch this case.
10647 cat >conftest.
$ac_ext <<_ACEOF
10648 #line $LINENO "configure"
10651 cat confdefs.h
>>conftest.
$ac_ext
10652 cat >>conftest.
$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10655 # include <limits.h>
10657 # include <assert.h>
10661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10662 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10664 grep -v '^ *+' conftest.er1
>conftest.err
10666 cat conftest.err
>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } >/dev
/null
; then
10669 if test -s conftest.err
; then
10670 ac_cpp_err
=$ac_c_preproc_warn_flag
10677 if test -z "$ac_cpp_err"; then
10680 echo "$as_me: failed program was:" >&5
10681 sed 's/^/| /' conftest.
$ac_ext >&5
10683 # Broken: fails on valid input.
10686 rm -f conftest.err conftest.
$ac_ext
10688 # OK, works on sane cases. Now check whether non-existent headers
10689 # can be detected and how.
10690 cat >conftest.
$ac_ext <<_ACEOF
10691 #line $LINENO "configure"
10694 cat confdefs.h
>>conftest.
$ac_ext
10695 cat >>conftest.
$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10697 #include <ac_nonexistent.h>
10699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10700 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10702 grep -v '^ *+' conftest.er1
>conftest.err
10704 cat conftest.err
>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); } >/dev
/null
; then
10707 if test -s conftest.err
; then
10708 ac_cpp_err
=$ac_c_preproc_warn_flag
10715 if test -z "$ac_cpp_err"; then
10716 # Broken: success on invalid input.
10719 echo "$as_me: failed program was:" >&5
10720 sed 's/^/| /' conftest.
$ac_ext >&5
10722 # Passes both tests.
10726 rm -f conftest.err conftest.
$ac_ext
10729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10730 rm -f conftest.err conftest.
$ac_ext
10731 if $ac_preproc_ok; then
10734 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10735 See \`config.log' for more details." >&5
10736 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10737 See \`config.log' for more details." >&2;}
10738 { (exit 1); exit 1; }; }
10742 ac_cpp
='$CPP $CPPFLAGS'
10743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10748 echo "$as_me:$LINENO: checking for egrep" >&5
10749 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10750 if test "${ac_cv_prog_egrep+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10754 then ac_cv_prog_egrep
='grep -E'
10755 else ac_cv_prog_egrep
='egrep'
10758 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10759 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10760 EGREP
=$ac_cv_prog_egrep
10763 if test $ac_cv_c_compiler_gnu = yes; then
10764 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10765 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10766 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10767 echo $ECHO_N "(cached) $ECHO_C" >&6
10769 ac_pattern
="Autoconf.*'x'"
10770 cat >conftest.
$ac_ext <<_ACEOF
10771 #line $LINENO "configure"
10774 cat confdefs.h
>>conftest.
$ac_ext
10775 cat >>conftest.
$ac_ext <<_ACEOF
10776 /* end confdefs.h. */
10780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10781 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10782 ac_cv_prog_gcc_traditional
=yes
10784 ac_cv_prog_gcc_traditional
=no
10789 if test $ac_cv_prog_gcc_traditional = no
; then
10790 cat >conftest.
$ac_ext <<_ACEOF
10791 #line $LINENO "configure"
10794 cat confdefs.h
>>conftest.
$ac_ext
10795 cat >>conftest.
$ac_ext <<_ACEOF
10796 /* end confdefs.h. */
10797 #include <termio.h>
10800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10801 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10802 ac_cv_prog_gcc_traditional
=yes
10808 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10809 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10810 if test $ac_cv_prog_gcc_traditional = yes; then
10811 CC
="$CC -traditional"
10819 ac_cpp
='$CXXCPP $CPPFLAGS'
10820 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10821 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10822 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10825 CXXFLAGS
=${CXXFLAGS:=}
10827 ac_cpp
='$CXXCPP $CPPFLAGS'
10828 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10829 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10830 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10831 if test -n "$ac_tool_prefix"; then
10832 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10835 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10836 echo "$as_me:$LINENO: checking for $ac_word" >&5
10837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10838 if test "${ac_cv_prog_CXX+set}" = set; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10841 if test -n "$CXX"; then
10842 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10845 for as_dir
in $PATH
10848 test -z "$as_dir" && as_dir
=.
10849 for ac_exec_ext
in '' $ac_executable_extensions; do
10850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10860 CXX
=$ac_cv_prog_CXX
10861 if test -n "$CXX"; then
10862 echo "$as_me:$LINENO: result: $CXX" >&5
10863 echo "${ECHO_T}$CXX" >&6
10865 echo "$as_me:$LINENO: result: no" >&5
10866 echo "${ECHO_T}no" >&6
10869 test -n "$CXX" && break
10872 if test -z "$CXX"; then
10874 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10876 # Extract the first word of "$ac_prog", so it can be a program name with args.
10877 set dummy
$ac_prog; ac_word
=$2
10878 echo "$as_me:$LINENO: checking for $ac_word" >&5
10879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10880 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 if test -n "$ac_ct_CXX"; then
10884 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10887 for as_dir
in $PATH
10890 test -z "$as_dir" && as_dir
=.
10891 for ac_exec_ext
in '' $ac_executable_extensions; do
10892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10893 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10902 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10903 if test -n "$ac_ct_CXX"; then
10904 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10905 echo "${ECHO_T}$ac_ct_CXX" >&6
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10911 test -n "$ac_ct_CXX" && break
10913 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
10919 # Provide some information about the compiler.
10920 echo "$as_me:$LINENO:" \
10921 "checking for C++ compiler version" >&5
10922 ac_compiler
=`set X $ac_compile; echo $2`
10923 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10924 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); }
10928 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10929 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); }
10933 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10934 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); }
10939 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10940 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10941 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10942 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 cat >conftest.
$ac_ext <<_ACEOF
10945 #line $LINENO "configure"
10948 cat confdefs.h
>>conftest.
$ac_ext
10949 cat >>conftest.
$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10963 rm -f conftest.
$ac_objext
10964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10965 (eval $ac_compile) 2>&5
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); } &&
10969 { ac_try
='test -s conftest.$ac_objext'
10970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10971 (eval $ac_try) 2>&5
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); }; }; then
10975 ac_compiler_gnu
=yes
10977 echo "$as_me: failed program was:" >&5
10978 sed 's/^/| /' conftest.
$ac_ext >&5
10982 rm -f conftest.
$ac_objext conftest.
$ac_ext
10983 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10986 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10987 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10988 GXX
=`test $ac_compiler_gnu = yes && echo yes`
10989 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10990 ac_save_CXXFLAGS
=$CXXFLAGS
10992 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10993 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10994 if test "${ac_cv_prog_cxx_g+set}" = set; then
10995 echo $ECHO_N "(cached) $ECHO_C" >&6
10997 cat >conftest.
$ac_ext <<_ACEOF
10998 #line $LINENO "configure"
11001 cat confdefs.h
>>conftest.
$ac_ext
11002 cat >>conftest.
$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11013 rm -f conftest.
$ac_objext
11014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11015 (eval $ac_compile) 2>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } &&
11019 { ac_try
='test -s conftest.$ac_objext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 ac_cv_prog_cxx_g
=yes
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.
$ac_ext >&5
11030 ac_cv_prog_cxx_g
=no
11032 rm -f conftest.
$ac_objext conftest.
$ac_ext
11034 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11035 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11036 if test "$ac_test_CXXFLAGS" = set; then
11037 CXXFLAGS
=$ac_save_CXXFLAGS
11038 elif test $ac_cv_prog_cxx_g = yes; then
11039 if test "$GXX" = yes; then
11045 if test "$GXX" = yes; then
11051 for ac_declaration
in \
11053 'extern "C" void std::exit (int) throw (); using std::exit;' \
11054 'extern "C" void std::exit (int); using std::exit;' \
11055 'extern "C" void exit (int) throw ();' \
11056 'extern "C" void exit (int);' \
11059 cat >conftest.
$ac_ext <<_ACEOF
11060 #line $LINENO "configure"
11063 cat confdefs.h
>>conftest.
$ac_ext
11064 cat >>conftest.
$ac_ext <<_ACEOF
11065 /* end confdefs.h. */
11067 #include <stdlib.h>
11076 rm -f conftest.
$ac_objext
11077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11078 (eval $ac_compile) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); } &&
11082 { ac_try
='test -s conftest.$ac_objext'
11083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084 (eval $ac_try) 2>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); }; }; then
11090 echo "$as_me: failed program was:" >&5
11091 sed 's/^/| /' conftest.
$ac_ext >&5
11095 rm -f conftest.
$ac_objext conftest.
$ac_ext
11096 cat >conftest.
$ac_ext <<_ACEOF
11097 #line $LINENO "configure"
11100 cat confdefs.h
>>conftest.
$ac_ext
11101 cat >>conftest.
$ac_ext <<_ACEOF
11102 /* end confdefs.h. */
11112 rm -f conftest.
$ac_objext
11113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11114 (eval $ac_compile) 2>&5
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); } &&
11118 { ac_try
='test -s conftest.$ac_objext'
11119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11120 (eval $ac_try) 2>&5
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); }; }; then
11126 echo "$as_me: failed program was:" >&5
11127 sed 's/^/| /' conftest.
$ac_ext >&5
11130 rm -f conftest.
$ac_objext conftest.
$ac_ext
11133 if test -n "$ac_declaration"; then
11134 echo '#ifdef __cplusplus' >>confdefs.h
11135 echo $ac_declaration >>confdefs.h
11136 echo '#endif' >>confdefs.h
11140 ac_cpp
='$CXXCPP $CPPFLAGS'
11141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11147 ac_cpp
='$CPP $CPPFLAGS'
11148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11153 if test -n "$ac_tool_prefix"; then
11154 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11155 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11156 echo "$as_me:$LINENO: checking for $ac_word" >&5
11157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11158 if test "${ac_cv_prog_RANLIB+set}" = set; then
11159 echo $ECHO_N "(cached) $ECHO_C" >&6
11161 if test -n "$RANLIB"; then
11162 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11165 for as_dir
in $PATH
11168 test -z "$as_dir" && as_dir
=.
11169 for ac_exec_ext
in '' $ac_executable_extensions; do
11170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11171 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11180 RANLIB
=$ac_cv_prog_RANLIB
11181 if test -n "$RANLIB"; then
11182 echo "$as_me:$LINENO: result: $RANLIB" >&5
11183 echo "${ECHO_T}$RANLIB" >&6
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11190 if test -z "$ac_cv_prog_RANLIB"; then
11191 ac_ct_RANLIB
=$RANLIB
11192 # Extract the first word of "ranlib", so it can be a program name with args.
11193 set dummy ranlib
; ac_word
=$2
11194 echo "$as_me:$LINENO: checking for $ac_word" >&5
11195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11196 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11197 echo $ECHO_N "(cached) $ECHO_C" >&6
11199 if test -n "$ac_ct_RANLIB"; then
11200 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11203 for as_dir
in $PATH
11206 test -z "$as_dir" && as_dir
=.
11207 for ac_exec_ext
in '' $ac_executable_extensions; do
11208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11209 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11216 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11219 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11220 if test -n "$ac_ct_RANLIB"; then
11221 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11222 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11224 echo "$as_me:$LINENO: result: no" >&5
11225 echo "${ECHO_T}no" >&6
11228 RANLIB
=$ac_ct_RANLIB
11230 RANLIB
="$ac_cv_prog_RANLIB"
11234 # Extract the first word of "ar", so it can be a program name with args.
11235 set dummy
ar; ac_word
=$2
11236 echo "$as_me:$LINENO: checking for $ac_word" >&5
11237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11238 if test "${ac_cv_prog_AR+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 if test -n "$AR"; then
11242 ac_cv_prog_AR
="$AR" # Let the user override the test.
11244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11245 for as_dir
in $PATH
11248 test -z "$as_dir" && as_dir
=.
11249 for ac_exec_ext
in '' $ac_executable_extensions; do
11250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11258 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
11262 if test -n "$AR"; then
11263 echo "$as_me:$LINENO: result: $AR" >&5
11264 echo "${ECHO_T}$AR" >&6
11266 echo "$as_me:$LINENO: result: no" >&5
11267 echo "${ECHO_T}no" >&6
11271 # Find a good install program. We prefer a C program (faster),
11272 # so one script is as good as another. But avoid the broken or
11273 # incompatible versions:
11274 # SysV /etc/install, /usr/sbin/install
11275 # SunOS /usr/etc/install
11276 # IRIX /sbin/install
11278 # AmigaOS /C/install, which installs bootblocks on floppy discs
11279 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11280 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11281 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11282 # ./install, which can be erroneously created by make from ./install.sh.
11283 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11284 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11285 if test -z "$INSTALL"; then
11286 if test "${ac_cv_path_install+set}" = set; then
11287 echo $ECHO_N "(cached) $ECHO_C" >&6
11289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11290 for as_dir
in $PATH
11293 test -z "$as_dir" && as_dir
=.
11294 # Account for people who put trailing slashes in PATH elements.
11296 .
/ | .
// | /cC
/* | \
11297 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11300 # OSF1 and SCO ODT 3.0 have their own names for install.
11301 # Don't use installbsd from OSF since it installs stuff as root
11303 for ac_prog
in ginstall scoinst
install; do
11304 for ac_exec_ext
in '' $ac_executable_extensions; do
11305 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11306 if test $ac_prog = install &&
11307 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11308 # AIX install. It has an incompatible calling convention.
11310 elif test $ac_prog = install &&
11311 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11312 # program-specific install script used by HP pwplus--don't use.
11315 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11327 if test "${ac_cv_path_install+set}" = set; then
11328 INSTALL
=$ac_cv_path_install
11330 # As a last resort, use the slow shell script. We don't cache a
11331 # path for INSTALL within a source directory, because that will
11332 # break other packages using the cache if that directory is
11333 # removed, or if the path is relative.
11334 INSTALL
=$ac_install_sh
11337 echo "$as_me:$LINENO: result: $INSTALL" >&5
11338 echo "${ECHO_T}$INSTALL" >&6
11340 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11341 # It thinks the first close brace ends the variable substitution.
11342 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11344 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11346 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11352 ?
:* ) # Drive letter, considered as absolute.
11355 INSTALL
=`pwd`/${INSTALL} ;;
11360 INSTALL_DIR
="mkdir"
11363 *) INSTALL_DIR
="$INSTALL -d"
11370 powerpc
-*-darwin* )
11371 INSTALL_PROGRAM
="cp -fp"
11372 INSTALL_DATA
="cp -fp"
11378 # Extract the first word of "strip", so it can be a program name with args.
11379 set dummy strip
; ac_word
=$2
11380 echo "$as_me:$LINENO: checking for $ac_word" >&5
11381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11382 if test "${ac_cv_prog_STRIP+set}" = set; then
11383 echo $ECHO_N "(cached) $ECHO_C" >&6
11385 if test -n "$STRIP"; then
11386 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11389 for as_dir
in $PATH
11392 test -z "$as_dir" && as_dir
=.
11393 for ac_exec_ext
in '' $ac_executable_extensions; do
11394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11395 ac_cv_prog_STRIP
="strip"
11396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11402 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11405 STRIP
=$ac_cv_prog_STRIP
11406 if test -n "$STRIP"; then
11407 echo "$as_me:$LINENO: result: $STRIP" >&5
11408 echo "${ECHO_T}$STRIP" >&6
11410 echo "$as_me:$LINENO: result: no" >&5
11411 echo "${ECHO_T}no" >&6
11415 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11416 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11417 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11422 egrep -s GNU
> /dev
/null
); then
11423 wx_cv_prog_makeisgnu
="yes"
11425 wx_cv_prog_makeisgnu
="no"
11429 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11430 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11432 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11440 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11441 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11442 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11443 if test "${wx_cv_prog_makevpath+set}" = set; then
11444 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 cat - << EOF > confMake
11453 if test ! -d sub
; then
11456 echo dummy
> sub
/file
11457 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11459 rm -f sub
/file check final_file confMake
11461 if test "$RESULT" = 0; then
11462 wx_cv_prog_makevpath
="yes"
11464 wx_cv_prog_makevpath
="no"
11468 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11469 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11471 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11472 { { echo "$as_me:$LINENO: error:
11473 You need a make-utility that is able to use the variable
11475 If your version of make does not support VPATH correctly,
11476 please install GNU-make (possibly as gmake), and start
11477 configure with the following command:
11478 export MAKE=gmake; ./configure for sh-type shells
11479 setenv MAKE gmake; ./configure for csh-type shells
11480 Also please do remember to use gmake in this case every time
11481 you are trying to compile.
11483 echo "$as_me: error:
11484 You need a make-utility that is able to use the variable
11486 If your version of make does not support VPATH correctly,
11487 please install GNU-make (possibly as gmake), and start
11488 configure with the following command:
11489 export MAKE=gmake; ./configure for sh-type shells
11490 setenv MAKE gmake; ./configure for csh-type shells
11491 Also please do remember to use gmake in this case every time
11492 you are trying to compile.
11494 { (exit 1); exit 1; }; }
11496 for ac_prog
in 'bison -y' byacc
11498 # Extract the first word of "$ac_prog", so it can be a program name with args.
11499 set dummy
$ac_prog; ac_word
=$2
11500 echo "$as_me:$LINENO: checking for $ac_word" >&5
11501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11502 if test "${ac_cv_prog_YACC+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 if test -n "$YACC"; then
11506 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11509 for as_dir
in $PATH
11512 test -z "$as_dir" && as_dir
=.
11513 for ac_exec_ext
in '' $ac_executable_extensions; do
11514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11515 ac_cv_prog_YACC
="$ac_prog"
11516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11524 YACC
=$ac_cv_prog_YACC
11525 if test -n "$YACC"; then
11526 echo "$as_me:$LINENO: result: $YACC" >&5
11527 echo "${ECHO_T}$YACC" >&6
11529 echo "$as_me:$LINENO: result: no" >&5
11530 echo "${ECHO_T}no" >&6
11533 test -n "$YACC" && break
11535 test -n "$YACC" || YACC
="yacc"
11538 for ac_prog
in flex
lex
11540 # Extract the first word of "$ac_prog", so it can be a program name with args.
11541 set dummy
$ac_prog; ac_word
=$2
11542 echo "$as_me:$LINENO: checking for $ac_word" >&5
11543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11544 if test "${ac_cv_prog_LEX+set}" = set; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11547 if test -n "$LEX"; then
11548 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11551 for as_dir
in $PATH
11554 test -z "$as_dir" && as_dir
=.
11555 for ac_exec_ext
in '' $ac_executable_extensions; do
11556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11557 ac_cv_prog_LEX
="$ac_prog"
11558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11566 LEX
=$ac_cv_prog_LEX
11567 if test -n "$LEX"; then
11568 echo "$as_me:$LINENO: result: $LEX" >&5
11569 echo "${ECHO_T}$LEX" >&6
11571 echo "$as_me:$LINENO: result: no" >&5
11572 echo "${ECHO_T}no" >&6
11575 test -n "$LEX" && break
11577 test -n "$LEX" || LEX
=":"
11579 if test -z "$LEXLIB"
11581 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11582 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11583 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11584 echo $ECHO_N "(cached) $ECHO_C" >&6
11586 ac_check_lib_save_LIBS
=$LIBS
11588 cat >conftest.
$ac_ext <<_ACEOF
11589 #line $LINENO "configure"
11592 cat confdefs.h
>>conftest.
$ac_ext
11593 cat >>conftest.
$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11596 /* Override any gcc2 internal prototype to avoid an error. */
11600 /* We use char because int might match the return type of a gcc2
11601 builtin and then its argument prototype would still apply. */
11611 rm -f conftest.
$ac_objext conftest
$ac_exeext
11612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11613 (eval $ac_link) 2>&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); } &&
11617 { ac_try
='test -s conftest$ac_exeext'
11618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11619 (eval $ac_try) 2>&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); }; }; then
11623 ac_cv_lib_fl_yywrap
=yes
11625 echo "$as_me: failed program was:" >&5
11626 sed 's/^/| /' conftest.
$ac_ext >&5
11628 ac_cv_lib_fl_yywrap
=no
11630 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11631 LIBS
=$ac_check_lib_save_LIBS
11633 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11634 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11635 if test $ac_cv_lib_fl_yywrap = yes; then
11638 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11639 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11640 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11643 ac_check_lib_save_LIBS
=$LIBS
11645 cat >conftest.
$ac_ext <<_ACEOF
11646 #line $LINENO "configure"
11649 cat confdefs.h
>>conftest.
$ac_ext
11650 cat >>conftest.
$ac_ext <<_ACEOF
11651 /* end confdefs.h. */
11653 /* Override any gcc2 internal prototype to avoid an error. */
11657 /* We use char because int might match the return type of a gcc2
11658 builtin and then its argument prototype would still apply. */
11668 rm -f conftest.
$ac_objext conftest
$ac_exeext
11669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11670 (eval $ac_link) 2>&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 (exit $ac_status); } &&
11674 { ac_try
='test -s conftest$ac_exeext'
11675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11676 (eval $ac_try) 2>&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); }; }; then
11680 ac_cv_lib_l_yywrap
=yes
11682 echo "$as_me: failed program was:" >&5
11683 sed 's/^/| /' conftest.
$ac_ext >&5
11685 ac_cv_lib_l_yywrap
=no
11687 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11688 LIBS
=$ac_check_lib_save_LIBS
11690 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11691 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11692 if test $ac_cv_lib_l_yywrap = yes; then
11700 if test "x$LEX" != "x:"; then
11701 echo "$as_me:$LINENO: checking lex output file root" >&5
11702 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11703 if test "${ac_cv_prog_lex_root+set}" = set; then
11704 echo $ECHO_N "(cached) $ECHO_C" >&6
11706 # The minimal lex program is just a single line: %%. But some broken lexes
11707 # (Solaris, I think it was) want two %% lines, so accommodate them.
11708 cat >conftest.l
<<_ACEOF
11712 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11713 (eval $LEX conftest.l
) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }
11717 if test -f lex.yy.c
; then
11718 ac_cv_prog_lex_root
=lex.yy
11719 elif test -f lexyy.c
; then
11720 ac_cv_prog_lex_root
=lexyy
11722 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11723 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11724 { (exit 1); exit 1; }; }
11727 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11728 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11730 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11732 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11733 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11734 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 # POSIX says lex can declare yytext either as a pointer or an array; the
11738 # default is implementation-dependent. Figure out which it is, since
11739 # not all implementations provide the %pointer and %array declarations.
11740 ac_cv_prog_lex_yytext_pointer
=no
11741 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11743 LIBS
="$LIBS $LEXLIB"
11744 cat >conftest.
$ac_ext <<_ACEOF
11745 `cat $LEX_OUTPUT_ROOT.c`
11747 rm -f conftest.
$ac_objext conftest
$ac_exeext
11748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11749 (eval $ac_link) 2>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } &&
11753 { ac_try
='test -s conftest$ac_exeext'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; }; then
11759 ac_cv_prog_lex_yytext_pointer
=yes
11761 echo "$as_me: failed program was:" >&5
11762 sed 's/^/| /' conftest.
$ac_ext >&5
11765 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11767 rm -f "${LEX_OUTPUT_ROOT}.c"
11770 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11771 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11772 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11774 cat >>confdefs.h
<<\_ACEOF
11775 #define YYTEXT_POINTER 1
11782 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11783 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11785 if test "$LN_S" = "ln -s"; then
11786 echo "$as_me:$LINENO: result: yes" >&5
11787 echo "${ECHO_T}yes" >&6
11789 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11790 echo "${ECHO_T}no, using $LN_S" >&6
11795 *-pc-os2_emx | *-pc-os2-emx )
11796 LIBS
="$LIBS -lstdcpp"
11797 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11798 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11799 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11800 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11803 ac_check_lib_save_LIBS
=$LIBS
11804 LIBS
="-lcExt $LIBS"
11805 cat >conftest.
$ac_ext <<_ACEOF
11806 #line $LINENO "configure"
11809 cat confdefs.h
>>conftest.
$ac_ext
11810 cat >>conftest.
$ac_ext <<_ACEOF
11811 /* end confdefs.h. */
11813 /* Override any gcc2 internal prototype to avoid an error. */
11817 /* We use char because int might match the return type of a gcc2
11818 builtin and then its argument prototype would still apply. */
11828 rm -f conftest.
$ac_objext conftest
$ac_exeext
11829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11830 (eval $ac_link) 2>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } &&
11834 { ac_try
='test -s conftest$ac_exeext'
11835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11836 (eval $ac_try) 2>&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); }; }; then
11840 ac_cv_lib_cExt_drand48
=yes
11842 echo "$as_me: failed program was:" >&5
11843 sed 's/^/| /' conftest.
$ac_ext >&5
11845 ac_cv_lib_cExt_drand48
=no
11847 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11848 LIBS
=$ac_check_lib_save_LIBS
11850 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11851 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11852 if test $ac_cv_lib_cExt_drand48 = yes; then
11853 LIBS
="$LIBS -lcExt"
11857 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11863 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11864 echo "$as_me:$LINENO: checking for strings.h" >&5
11865 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11866 if test "${ac_cv_header_strings_h+set}" = set; then
11867 echo $ECHO_N "(cached) $ECHO_C" >&6
11869 ac_cv_header_strings_h
=no
11871 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11872 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11873 if test "$ac_cv_header_strings_h" = "no"; then
11874 echo "$as_me:$LINENO: result: forced no into cache" >&5
11875 echo "${ECHO_T}forced no into cache" >&6
11877 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11878 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11881 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11882 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11883 if test "${ac_cv_header_stdc+set}" = set; then
11884 echo $ECHO_N "(cached) $ECHO_C" >&6
11886 cat >conftest.
$ac_ext <<_ACEOF
11887 #line $LINENO "configure"
11890 cat confdefs.h
>>conftest.
$ac_ext
11891 cat >>conftest.
$ac_ext <<_ACEOF
11892 /* end confdefs.h. */
11893 #include <stdlib.h>
11894 #include <stdarg.h>
11895 #include <string.h>
11906 rm -f conftest.
$ac_objext
11907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11908 (eval $ac_compile) 2>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } &&
11912 { ac_try
='test -s conftest.$ac_objext'
11913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; }; then
11918 ac_cv_header_stdc
=yes
11920 echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.
$ac_ext >&5
11923 ac_cv_header_stdc
=no
11925 rm -f conftest.
$ac_objext conftest.
$ac_ext
11927 if test $ac_cv_header_stdc = yes; then
11928 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11929 cat >conftest.
$ac_ext <<_ACEOF
11930 #line $LINENO "configure"
11933 cat confdefs.h
>>conftest.
$ac_ext
11934 cat >>conftest.
$ac_ext <<_ACEOF
11935 /* end confdefs.h. */
11936 #include <string.h>
11939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11940 $EGREP "memchr" >/dev
/null
2>&1; then
11943 ac_cv_header_stdc
=no
11949 if test $ac_cv_header_stdc = yes; then
11950 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11951 cat >conftest.
$ac_ext <<_ACEOF
11952 #line $LINENO "configure"
11955 cat confdefs.h
>>conftest.
$ac_ext
11956 cat >>conftest.
$ac_ext <<_ACEOF
11957 /* end confdefs.h. */
11958 #include <stdlib.h>
11961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11962 $EGREP "free" >/dev
/null
2>&1; then
11965 ac_cv_header_stdc
=no
11971 if test $ac_cv_header_stdc = yes; then
11972 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11973 if test "$cross_compiling" = yes; then
11976 cat >conftest.
$ac_ext <<_ACEOF
11977 #line $LINENO "configure"
11980 cat confdefs.h
>>conftest.
$ac_ext
11981 cat >>conftest.
$ac_ext <<_ACEOF
11982 /* end confdefs.h. */
11984 #if ((' ' & 0x0FF) == 0x020)
11985 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11986 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11988 # define ISLOWER(c) \
11989 (('a' <= (c) && (c) <= 'i') \
11990 || ('j' <= (c) && (c) <= 'r') \
11991 || ('s' <= (c) && (c) <= 'z'))
11992 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11995 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12000 for (i = 0; i < 256; i++)
12001 if (XOR (islower (i), ISLOWER (i))
12002 || toupper (i) != TOUPPER (i))
12007 rm -f conftest
$ac_exeext
12008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12009 (eval $ac_link) 2>&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014 (eval $ac_try) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; }; then
12020 echo "$as_me: program exited with status $ac_status" >&5
12021 echo "$as_me: failed program was:" >&5
12022 sed 's/^/| /' conftest.
$ac_ext >&5
12024 ( exit $ac_status )
12025 ac_cv_header_stdc
=no
12027 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12031 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12032 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12033 if test $ac_cv_header_stdc = yes; then
12035 cat >>confdefs.h
<<\_ACEOF
12036 #define STDC_HEADERS 1
12041 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12051 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12052 inttypes.h stdint.h unistd.h
12054 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12055 echo "$as_me:$LINENO: checking for $ac_header" >&5
12056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12060 cat >conftest.
$ac_ext <<_ACEOF
12061 #line $LINENO "configure"
12064 cat confdefs.h
>>conftest.
$ac_ext
12065 cat >>conftest.
$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12067 $ac_includes_default
12069 #include <$ac_header>
12071 rm -f conftest.
$ac_objext
12072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12073 (eval $ac_compile) 2>&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } &&
12077 { ac_try
='test -s conftest.$ac_objext'
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; }; then
12083 eval "$as_ac_Header=yes"
12085 echo "$as_me: failed program was:" >&5
12086 sed 's/^/| /' conftest.
$ac_ext >&5
12088 eval "$as_ac_Header=no"
12090 rm -f conftest.
$ac_objext conftest.
$ac_ext
12092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12095 cat >>confdefs.h
<<_ACEOF
12096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12105 for ac_header
in strings.h
12107 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12109 echo "$as_me:$LINENO: checking for $ac_header" >&5
12110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12117 # Is the header compilable?
12118 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12119 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12120 cat >conftest.
$ac_ext <<_ACEOF
12121 #line $LINENO "configure"
12124 cat confdefs.h
>>conftest.
$ac_ext
12125 cat >>conftest.
$ac_ext <<_ACEOF
12126 /* end confdefs.h. */
12127 $ac_includes_default
12128 #include <$ac_header>
12130 rm -f conftest.
$ac_objext
12131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12132 (eval $ac_compile) 2>&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } &&
12136 { ac_try
='test -s conftest.$ac_objext'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; }; then
12142 ac_header_compiler
=yes
12144 echo "$as_me: failed program was:" >&5
12145 sed 's/^/| /' conftest.
$ac_ext >&5
12147 ac_header_compiler
=no
12149 rm -f conftest.
$ac_objext conftest.
$ac_ext
12150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12151 echo "${ECHO_T}$ac_header_compiler" >&6
12153 # Is the header present?
12154 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12156 cat >conftest.
$ac_ext <<_ACEOF
12157 #line $LINENO "configure"
12160 cat confdefs.h
>>conftest.
$ac_ext
12161 cat >>conftest.
$ac_ext <<_ACEOF
12162 /* end confdefs.h. */
12163 #include <$ac_header>
12165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12166 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12168 grep -v '^ *+' conftest.er1
>conftest.err
12170 cat conftest.err
>&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); } >/dev
/null
; then
12173 if test -s conftest.err
; then
12174 ac_cpp_err
=$ac_c_preproc_warn_flag
12181 if test -z "$ac_cpp_err"; then
12182 ac_header_preproc
=yes
12184 echo "$as_me: failed program was:" >&5
12185 sed 's/^/| /' conftest.
$ac_ext >&5
12187 ac_header_preproc
=no
12189 rm -f conftest.err conftest.
$ac_ext
12190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12191 echo "${ECHO_T}$ac_header_preproc" >&6
12193 # So? What about this header?
12194 case $ac_header_compiler:$ac_header_preproc in
12196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12202 ## ------------------------------------ ##
12203 ## Report this to bug-autoconf@gnu.org. ##
12204 ## ------------------------------------ ##
12207 sed "s/^/$as_me: WARNING: /" >&2
12210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12213 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12218 ## ------------------------------------ ##
12219 ## Report this to bug-autoconf@gnu.org. ##
12220 ## ------------------------------------ ##
12223 sed "s/^/$as_me: WARNING: /" >&2
12226 echo "$as_me:$LINENO: checking for $ac_header" >&5
12227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 eval "$as_ac_Header=$ac_header_preproc"
12233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12238 cat >>confdefs.h
<<_ACEOF
12239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12248 for ac_header
in stdlib.h
12250 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12252 echo "$as_me:$LINENO: checking for $ac_header" >&5
12253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12255 echo $ECHO_N "(cached) $ECHO_C" >&6
12257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12260 # Is the header compilable?
12261 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12262 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12263 cat >conftest.
$ac_ext <<_ACEOF
12264 #line $LINENO "configure"
12267 cat confdefs.h
>>conftest.
$ac_ext
12268 cat >>conftest.
$ac_ext <<_ACEOF
12269 /* end confdefs.h. */
12270 $ac_includes_default
12271 #include <$ac_header>
12273 rm -f conftest.
$ac_objext
12274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12275 (eval $ac_compile) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); } &&
12279 { ac_try
='test -s conftest.$ac_objext'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; }; then
12285 ac_header_compiler
=yes
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.
$ac_ext >&5
12290 ac_header_compiler
=no
12292 rm -f conftest.
$ac_objext conftest.
$ac_ext
12293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12294 echo "${ECHO_T}$ac_header_compiler" >&6
12296 # Is the header present?
12297 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12299 cat >conftest.
$ac_ext <<_ACEOF
12300 #line $LINENO "configure"
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #include <$ac_header>
12308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12311 grep -v '^ *+' conftest.er1
>conftest.err
12313 cat conftest.err
>&5
12314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12315 (exit $ac_status); } >/dev
/null
; then
12316 if test -s conftest.err
; then
12317 ac_cpp_err
=$ac_c_preproc_warn_flag
12324 if test -z "$ac_cpp_err"; then
12325 ac_header_preproc
=yes
12327 echo "$as_me: failed program was:" >&5
12328 sed 's/^/| /' conftest.
$ac_ext >&5
12330 ac_header_preproc
=no
12332 rm -f conftest.err conftest.
$ac_ext
12333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12334 echo "${ECHO_T}$ac_header_preproc" >&6
12336 # So? What about this header?
12337 case $ac_header_compiler:$ac_header_preproc in
12339 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12340 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12345 ## ------------------------------------ ##
12346 ## Report this to bug-autoconf@gnu.org. ##
12347 ## ------------------------------------ ##
12350 sed "s/^/$as_me: WARNING: /" >&2
12353 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12354 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12355 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12356 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12361 ## ------------------------------------ ##
12362 ## Report this to bug-autoconf@gnu.org. ##
12363 ## ------------------------------------ ##
12366 sed "s/^/$as_me: WARNING: /" >&2
12369 echo "$as_me:$LINENO: checking for $ac_header" >&5
12370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12372 echo $ECHO_N "(cached) $ECHO_C" >&6
12374 eval "$as_ac_Header=$ac_header_preproc"
12376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12381 cat >>confdefs.h
<<_ACEOF
12382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12390 for ac_header
in malloc.h
12392 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12394 echo "$as_me:$LINENO: checking for $ac_header" >&5
12395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12402 # Is the header compilable?
12403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12405 cat >conftest.
$ac_ext <<_ACEOF
12406 #line $LINENO "configure"
12409 cat confdefs.h
>>conftest.
$ac_ext
12410 cat >>conftest.
$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12412 $ac_includes_default
12413 #include <$ac_header>
12415 rm -f conftest.
$ac_objext
12416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12417 (eval $ac_compile) 2>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); } &&
12421 { ac_try
='test -s conftest.$ac_objext'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; }; then
12427 ac_header_compiler
=yes
12429 echo "$as_me: failed program was:" >&5
12430 sed 's/^/| /' conftest.
$ac_ext >&5
12432 ac_header_compiler
=no
12434 rm -f conftest.
$ac_objext conftest.
$ac_ext
12435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12436 echo "${ECHO_T}$ac_header_compiler" >&6
12438 # Is the header present?
12439 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12441 cat >conftest.
$ac_ext <<_ACEOF
12442 #line $LINENO "configure"
12445 cat confdefs.h
>>conftest.
$ac_ext
12446 cat >>conftest.
$ac_ext <<_ACEOF
12447 /* end confdefs.h. */
12448 #include <$ac_header>
12450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12453 grep -v '^ *+' conftest.er1
>conftest.err
12455 cat conftest.err
>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); } >/dev
/null
; then
12458 if test -s conftest.err
; then
12459 ac_cpp_err
=$ac_c_preproc_warn_flag
12466 if test -z "$ac_cpp_err"; then
12467 ac_header_preproc
=yes
12469 echo "$as_me: failed program was:" >&5
12470 sed 's/^/| /' conftest.
$ac_ext >&5
12472 ac_header_preproc
=no
12474 rm -f conftest.err conftest.
$ac_ext
12475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12476 echo "${ECHO_T}$ac_header_preproc" >&6
12478 # So? What about this header?
12479 case $ac_header_compiler:$ac_header_preproc in
12481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12487 ## ------------------------------------ ##
12488 ## Report this to bug-autoconf@gnu.org. ##
12489 ## ------------------------------------ ##
12492 sed "s/^/$as_me: WARNING: /" >&2
12495 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12496 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12497 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12498 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12503 ## ------------------------------------ ##
12504 ## Report this to bug-autoconf@gnu.org. ##
12505 ## ------------------------------------ ##
12508 sed "s/^/$as_me: WARNING: /" >&2
12511 echo "$as_me:$LINENO: checking for $ac_header" >&5
12512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 eval "$as_ac_Header=$ac_header_preproc"
12518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12523 cat >>confdefs.h
<<_ACEOF
12524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12532 for ac_header
in unistd.h
12534 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12536 echo "$as_me:$LINENO: checking for $ac_header" >&5
12537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12539 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12544 # Is the header compilable?
12545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12547 cat >conftest.
$ac_ext <<_ACEOF
12548 #line $LINENO "configure"
12551 cat confdefs.h
>>conftest.
$ac_ext
12552 cat >>conftest.
$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12554 $ac_includes_default
12555 #include <$ac_header>
12557 rm -f conftest.
$ac_objext
12558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12559 (eval $ac_compile) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); } &&
12563 { ac_try
='test -s conftest.$ac_objext'
12564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12565 (eval $ac_try) 2>&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); }; }; then
12569 ac_header_compiler
=yes
12571 echo "$as_me: failed program was:" >&5
12572 sed 's/^/| /' conftest.
$ac_ext >&5
12574 ac_header_compiler
=no
12576 rm -f conftest.
$ac_objext conftest.
$ac_ext
12577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12578 echo "${ECHO_T}$ac_header_compiler" >&6
12580 # Is the header present?
12581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12583 cat >conftest.
$ac_ext <<_ACEOF
12584 #line $LINENO "configure"
12587 cat confdefs.h
>>conftest.
$ac_ext
12588 cat >>conftest.
$ac_ext <<_ACEOF
12589 /* end confdefs.h. */
12590 #include <$ac_header>
12592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12593 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12595 grep -v '^ *+' conftest.er1
>conftest.err
12597 cat conftest.err
>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); } >/dev
/null
; then
12600 if test -s conftest.err
; then
12601 ac_cpp_err
=$ac_c_preproc_warn_flag
12608 if test -z "$ac_cpp_err"; then
12609 ac_header_preproc
=yes
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.
$ac_ext >&5
12614 ac_header_preproc
=no
12616 rm -f conftest.err conftest.
$ac_ext
12617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12618 echo "${ECHO_T}$ac_header_preproc" >&6
12620 # So? What about this header?
12621 case $ac_header_compiler:$ac_header_preproc in
12623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12629 ## ------------------------------------ ##
12630 ## Report this to bug-autoconf@gnu.org. ##
12631 ## ------------------------------------ ##
12634 sed "s/^/$as_me: WARNING: /" >&2
12637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12645 ## ------------------------------------ ##
12646 ## Report this to bug-autoconf@gnu.org. ##
12647 ## ------------------------------------ ##
12650 sed "s/^/$as_me: WARNING: /" >&2
12653 echo "$as_me:$LINENO: checking for $ac_header" >&5
12654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 eval "$as_ac_Header=$ac_header_preproc"
12660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12665 cat >>confdefs.h
<<_ACEOF
12666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12674 for ac_header
in wchar.h
12676 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12678 echo "$as_me:$LINENO: checking for $ac_header" >&5
12679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12681 echo $ECHO_N "(cached) $ECHO_C" >&6
12683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12686 # Is the header compilable?
12687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12689 cat >conftest.
$ac_ext <<_ACEOF
12690 #line $LINENO "configure"
12693 cat confdefs.h
>>conftest.
$ac_ext
12694 cat >>conftest.
$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12696 $ac_includes_default
12697 #include <$ac_header>
12699 rm -f conftest.
$ac_objext
12700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12701 (eval $ac_compile) 2>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); } &&
12705 { ac_try
='test -s conftest.$ac_objext'
12706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707 (eval $ac_try) 2>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; }; then
12711 ac_header_compiler
=yes
12713 echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.
$ac_ext >&5
12716 ac_header_compiler
=no
12718 rm -f conftest.
$ac_objext conftest.
$ac_ext
12719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12720 echo "${ECHO_T}$ac_header_compiler" >&6
12722 # Is the header present?
12723 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12725 cat >conftest.
$ac_ext <<_ACEOF
12726 #line $LINENO "configure"
12729 cat confdefs.h
>>conftest.
$ac_ext
12730 cat >>conftest.
$ac_ext <<_ACEOF
12731 /* end confdefs.h. */
12732 #include <$ac_header>
12734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12737 grep -v '^ *+' conftest.er1
>conftest.err
12739 cat conftest.err
>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); } >/dev
/null
; then
12742 if test -s conftest.err
; then
12743 ac_cpp_err
=$ac_c_preproc_warn_flag
12750 if test -z "$ac_cpp_err"; then
12751 ac_header_preproc
=yes
12753 echo "$as_me: failed program was:" >&5
12754 sed 's/^/| /' conftest.
$ac_ext >&5
12756 ac_header_preproc
=no
12758 rm -f conftest.err conftest.
$ac_ext
12759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12760 echo "${ECHO_T}$ac_header_preproc" >&6
12762 # So? What about this header?
12763 case $ac_header_compiler:$ac_header_preproc in
12765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12771 ## ------------------------------------ ##
12772 ## Report this to bug-autoconf@gnu.org. ##
12773 ## ------------------------------------ ##
12776 sed "s/^/$as_me: WARNING: /" >&2
12779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12787 ## ------------------------------------ ##
12788 ## Report this to bug-autoconf@gnu.org. ##
12789 ## ------------------------------------ ##
12792 sed "s/^/$as_me: WARNING: /" >&2
12795 echo "$as_me:$LINENO: checking for $ac_header" >&5
12796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12798 echo $ECHO_N "(cached) $ECHO_C" >&6
12800 eval "$as_ac_Header=$ac_header_preproc"
12802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12807 cat >>confdefs.h
<<_ACEOF
12808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12816 if test "$ac_cv_header_wchar_h" != "yes"; then
12818 for ac_header
in wcstr.h
12820 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12822 echo "$as_me:$LINENO: checking for $ac_header" >&5
12823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12825 echo $ECHO_N "(cached) $ECHO_C" >&6
12827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12830 # Is the header compilable?
12831 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12833 cat >conftest.
$ac_ext <<_ACEOF
12834 #line $LINENO "configure"
12837 cat confdefs.h
>>conftest.
$ac_ext
12838 cat >>conftest.
$ac_ext <<_ACEOF
12839 /* end confdefs.h. */
12840 $ac_includes_default
12841 #include <$ac_header>
12843 rm -f conftest.
$ac_objext
12844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12845 (eval $ac_compile) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); } &&
12849 { ac_try
='test -s conftest.$ac_objext'
12850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12851 (eval $ac_try) 2>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); }; }; then
12855 ac_header_compiler
=yes
12857 echo "$as_me: failed program was:" >&5
12858 sed 's/^/| /' conftest.
$ac_ext >&5
12860 ac_header_compiler
=no
12862 rm -f conftest.
$ac_objext conftest.
$ac_ext
12863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12864 echo "${ECHO_T}$ac_header_compiler" >&6
12866 # Is the header present?
12867 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12868 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12869 cat >conftest.
$ac_ext <<_ACEOF
12870 #line $LINENO "configure"
12873 cat confdefs.h
>>conftest.
$ac_ext
12874 cat >>conftest.
$ac_ext <<_ACEOF
12875 /* end confdefs.h. */
12876 #include <$ac_header>
12878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12879 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12881 grep -v '^ *+' conftest.er1
>conftest.err
12883 cat conftest.err
>&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); } >/dev
/null
; then
12886 if test -s conftest.err
; then
12887 ac_cpp_err
=$ac_c_preproc_warn_flag
12894 if test -z "$ac_cpp_err"; then
12895 ac_header_preproc
=yes
12897 echo "$as_me: failed program was:" >&5
12898 sed 's/^/| /' conftest.
$ac_ext >&5
12900 ac_header_preproc
=no
12902 rm -f conftest.err conftest.
$ac_ext
12903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12904 echo "${ECHO_T}$ac_header_preproc" >&6
12906 # So? What about this header?
12907 case $ac_header_compiler:$ac_header_preproc in
12909 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12910 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12915 ## ------------------------------------ ##
12916 ## Report this to bug-autoconf@gnu.org. ##
12917 ## ------------------------------------ ##
12920 sed "s/^/$as_me: WARNING: /" >&2
12923 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12924 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12925 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12926 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12931 ## ------------------------------------ ##
12932 ## Report this to bug-autoconf@gnu.org. ##
12933 ## ------------------------------------ ##
12936 sed "s/^/$as_me: WARNING: /" >&2
12939 echo "$as_me:$LINENO: checking for $ac_header" >&5
12940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12942 echo $ECHO_N "(cached) $ECHO_C" >&6
12944 eval "$as_ac_Header=$ac_header_preproc"
12946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12951 cat >>confdefs.h
<<_ACEOF
12952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12962 for ac_header
in fnmatch.h
12964 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12966 echo "$as_me:$LINENO: checking for $ac_header" >&5
12967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12969 echo $ECHO_N "(cached) $ECHO_C" >&6
12971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12974 # Is the header compilable?
12975 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12976 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12977 cat >conftest.
$ac_ext <<_ACEOF
12978 #line $LINENO "configure"
12981 cat confdefs.h
>>conftest.
$ac_ext
12982 cat >>conftest.
$ac_ext <<_ACEOF
12983 /* end confdefs.h. */
12984 $ac_includes_default
12985 #include <$ac_header>
12987 rm -f conftest.
$ac_objext
12988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12989 (eval $ac_compile) 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } &&
12993 { ac_try
='test -s conftest.$ac_objext'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 ac_header_compiler
=yes
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.
$ac_ext >&5
13004 ac_header_compiler
=no
13006 rm -f conftest.
$ac_objext conftest.
$ac_ext
13007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13008 echo "${ECHO_T}$ac_header_compiler" >&6
13010 # Is the header present?
13011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13013 cat >conftest.
$ac_ext <<_ACEOF
13014 #line $LINENO "configure"
13017 cat confdefs.h
>>conftest.
$ac_ext
13018 cat >>conftest.
$ac_ext <<_ACEOF
13019 /* end confdefs.h. */
13020 #include <$ac_header>
13022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13023 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13025 grep -v '^ *+' conftest.er1
>conftest.err
13027 cat conftest.err
>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } >/dev
/null
; then
13030 if test -s conftest.err
; then
13031 ac_cpp_err
=$ac_c_preproc_warn_flag
13038 if test -z "$ac_cpp_err"; then
13039 ac_header_preproc
=yes
13041 echo "$as_me: failed program was:" >&5
13042 sed 's/^/| /' conftest.
$ac_ext >&5
13044 ac_header_preproc
=no
13046 rm -f conftest.err conftest.
$ac_ext
13047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13048 echo "${ECHO_T}$ac_header_preproc" >&6
13050 # So? What about this header?
13051 case $ac_header_compiler:$ac_header_preproc in
13053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13059 ## ------------------------------------ ##
13060 ## Report this to bug-autoconf@gnu.org. ##
13061 ## ------------------------------------ ##
13064 sed "s/^/$as_me: WARNING: /" >&2
13067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13072 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13075 ## ------------------------------------ ##
13076 ## Report this to bug-autoconf@gnu.org. ##
13077 ## ------------------------------------ ##
13080 sed "s/^/$as_me: WARNING: /" >&2
13083 echo "$as_me:$LINENO: checking for $ac_header" >&5
13084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13086 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 eval "$as_ac_Header=$ac_header_preproc"
13090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13095 cat >>confdefs.h
<<_ACEOF
13096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13104 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13106 for ac_func
in fnmatch
13108 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13109 echo "$as_me:$LINENO: checking for $ac_func" >&5
13110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13111 if eval "test \"\${$as_ac_var+set}\" = set"; then
13112 echo $ECHO_N "(cached) $ECHO_C" >&6
13114 cat >conftest.
$ac_ext <<_ACEOF
13115 #line $LINENO "configure"
13118 cat confdefs.h
>>conftest.
$ac_ext
13119 cat >>conftest.
$ac_ext <<_ACEOF
13120 /* end confdefs.h. */
13121 /* System header to define __stub macros and hopefully few prototypes,
13122 which can conflict with char $ac_func (); below.
13123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13124 <limits.h> exists even on freestanding compilers. */
13126 # include <limits.h>
13128 # include <assert.h>
13130 /* Override any gcc2 internal prototype to avoid an error. */
13135 /* We use char because int might match the return type of a gcc2
13136 builtin and then its argument prototype would still apply. */
13138 /* The GNU C library defines this for functions which it implements
13139 to always fail with ENOSYS. Some functions are actually named
13140 something starting with __ and the normal name is an alias. */
13141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13144 char (*f) () = $ac_func;
13153 return f != $ac_func;
13158 rm -f conftest.
$ac_objext conftest
$ac_exeext
13159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13160 (eval $ac_link) 2>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); } &&
13164 { ac_try
='test -s conftest$ac_exeext'
13165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13166 (eval $ac_try) 2>&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); }; }; then
13170 eval "$as_ac_var=yes"
13172 echo "$as_me: failed program was:" >&5
13173 sed 's/^/| /' conftest.
$ac_ext >&5
13175 eval "$as_ac_var=no"
13177 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13181 if test `eval echo '${'$as_ac_var'}'` = yes; then
13182 cat >>confdefs.h
<<_ACEOF
13183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13192 for ac_header
in langinfo.h
13194 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13196 echo "$as_me:$LINENO: checking for $ac_header" >&5
13197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13199 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13204 # Is the header compilable?
13205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13207 cat >conftest.
$ac_ext <<_ACEOF
13208 #line $LINENO "configure"
13211 cat confdefs.h
>>conftest.
$ac_ext
13212 cat >>conftest.
$ac_ext <<_ACEOF
13213 /* end confdefs.h. */
13214 $ac_includes_default
13215 #include <$ac_header>
13217 rm -f conftest.
$ac_objext
13218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13219 (eval $ac_compile) 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); } &&
13223 { ac_try
='test -s conftest.$ac_objext'
13224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13225 (eval $ac_try) 2>&5
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; }; then
13229 ac_header_compiler
=yes
13231 echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.
$ac_ext >&5
13234 ac_header_compiler
=no
13236 rm -f conftest.
$ac_objext conftest.
$ac_ext
13237 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13238 echo "${ECHO_T}$ac_header_compiler" >&6
13240 # Is the header present?
13241 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13242 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13243 cat >conftest.
$ac_ext <<_ACEOF
13244 #line $LINENO "configure"
13247 cat confdefs.h
>>conftest.
$ac_ext
13248 cat >>conftest.
$ac_ext <<_ACEOF
13249 /* end confdefs.h. */
13250 #include <$ac_header>
13252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13255 grep -v '^ *+' conftest.er1
>conftest.err
13257 cat conftest.err
>&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); } >/dev
/null
; then
13260 if test -s conftest.err
; then
13261 ac_cpp_err
=$ac_c_preproc_warn_flag
13268 if test -z "$ac_cpp_err"; then
13269 ac_header_preproc
=yes
13271 echo "$as_me: failed program was:" >&5
13272 sed 's/^/| /' conftest.
$ac_ext >&5
13274 ac_header_preproc
=no
13276 rm -f conftest.err conftest.
$ac_ext
13277 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13278 echo "${ECHO_T}$ac_header_preproc" >&6
13280 # So? What about this header?
13281 case $ac_header_compiler:$ac_header_preproc in
13283 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13284 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13286 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13289 ## ------------------------------------ ##
13290 ## Report this to bug-autoconf@gnu.org. ##
13291 ## ------------------------------------ ##
13294 sed "s/^/$as_me: WARNING: /" >&2
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13299 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13300 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13305 ## ------------------------------------ ##
13306 ## Report this to bug-autoconf@gnu.org. ##
13307 ## ------------------------------------ ##
13310 sed "s/^/$as_me: WARNING: /" >&2
13313 echo "$as_me:$LINENO: checking for $ac_header" >&5
13314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13318 eval "$as_ac_Header=$ac_header_preproc"
13320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13325 cat >>confdefs.h
<<_ACEOF
13326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13335 *-pc-os2_emx | *-pc-os2-emx )
13336 if test $ac_cv_header_langinfo_h = "yes"; then
13337 LIBS
="$LIBS -lintl"
13342 if test "$wxUSE_GUI" = "yes"; then
13343 if test "$wxUSE_UNIX" = "yes"; then
13345 for ac_header
in X
11/XKBlib.h
13347 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13349 echo "$as_me:$LINENO: checking for $ac_header" >&5
13350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13357 # Is the header compilable?
13358 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13359 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13360 cat >conftest.
$ac_ext <<_ACEOF
13361 #line $LINENO "configure"
13364 cat confdefs.h
>>conftest.
$ac_ext
13365 cat >>conftest.
$ac_ext <<_ACEOF
13366 /* end confdefs.h. */
13367 $ac_includes_default
13368 #include <$ac_header>
13370 rm -f conftest.
$ac_objext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372 (eval $ac_compile) 2>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try
='test -s conftest.$ac_objext'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; }; then
13382 ac_header_compiler
=yes
13384 echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.
$ac_ext >&5
13387 ac_header_compiler
=no
13389 rm -f conftest.
$ac_objext conftest.
$ac_ext
13390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13391 echo "${ECHO_T}$ac_header_compiler" >&6
13393 # Is the header present?
13394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13396 cat >conftest.
$ac_ext <<_ACEOF
13397 #line $LINENO "configure"
13400 cat confdefs.h
>>conftest.
$ac_ext
13401 cat >>conftest.
$ac_ext <<_ACEOF
13402 /* end confdefs.h. */
13403 #include <$ac_header>
13405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13406 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13408 grep -v '^ *+' conftest.er1
>conftest.err
13410 cat conftest.err
>&5
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); } >/dev
/null
; then
13413 if test -s conftest.err
; then
13414 ac_cpp_err
=$ac_c_preproc_warn_flag
13421 if test -z "$ac_cpp_err"; then
13422 ac_header_preproc
=yes
13424 echo "$as_me: failed program was:" >&5
13425 sed 's/^/| /' conftest.
$ac_ext >&5
13427 ac_header_preproc
=no
13429 rm -f conftest.err conftest.
$ac_ext
13430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13431 echo "${ECHO_T}$ac_header_preproc" >&6
13433 # So? What about this header?
13434 case $ac_header_compiler:$ac_header_preproc in
13436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13442 ## ------------------------------------ ##
13443 ## Report this to bug-autoconf@gnu.org. ##
13444 ## ------------------------------------ ##
13447 sed "s/^/$as_me: WARNING: /" >&2
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13455 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13458 ## ------------------------------------ ##
13459 ## Report this to bug-autoconf@gnu.org. ##
13460 ## ------------------------------------ ##
13463 sed "s/^/$as_me: WARNING: /" >&2
13466 echo "$as_me:$LINENO: checking for $ac_header" >&5
13467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13469 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 eval "$as_ac_Header=$ac_header_preproc"
13473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13478 cat >>confdefs.h
<<_ACEOF
13479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13490 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13491 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13492 if test "${ac_cv_c_const+set}" = set; then
13493 echo $ECHO_N "(cached) $ECHO_C" >&6
13495 cat >conftest.
$ac_ext <<_ACEOF
13496 #line $LINENO "configure"
13499 cat confdefs.h
>>conftest.
$ac_ext
13500 cat >>conftest.
$ac_ext <<_ACEOF
13501 /* end confdefs.h. */
13506 /* FIXME: Include the comments suggested by Paul. */
13507 #ifndef __cplusplus
13508 /* Ultrix mips cc rejects this. */
13509 typedef int charset[2];
13511 /* SunOS 4.1.1 cc rejects this. */
13512 char const *const *ccp;
13514 /* NEC SVR4.0.2 mips cc rejects this. */
13515 struct point {int x, y;};
13516 static struct point const zero = {0,0};
13517 /* AIX XL C 1.02.0.0 rejects this.
13518 It does not let you subtract one const X* pointer from another in
13519 an arm of an if-expression whose if-part is not a constant
13521 const char *g = "string";
13522 ccp = &g + (g ? g-g : 0);
13523 /* HPUX 7.0 cc rejects these. */
13526 ccp = (char const *const *) p;
13527 { /* SCO 3.2v4 cc rejects this. */
13529 char const *s = 0 ? (char *) 0 : (char const *) 0;
13533 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13534 int x[] = {25, 17};
13535 const int *foo = &x[0];
13538 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13539 typedef const int *iptr;
13543 { /* AIX XL C 1.02.0.0 rejects this saying
13544 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13545 struct s { int j; const int *ap[3]; };
13546 struct s *b; b->j = 5;
13548 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13549 const int foo = 10;
13557 rm -f conftest.
$ac_objext
13558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13559 (eval $ac_compile) 2>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); } &&
13563 { ac_try
='test -s conftest.$ac_objext'
13564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13565 (eval $ac_try) 2>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); }; }; then
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.
$ac_ext >&5
13576 rm -f conftest.
$ac_objext conftest.
$ac_ext
13578 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13579 echo "${ECHO_T}$ac_cv_c_const" >&6
13580 if test $ac_cv_c_const = no
; then
13582 cat >>confdefs.h
<<\_ACEOF
13588 echo "$as_me:$LINENO: checking for inline" >&5
13589 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13590 if test "${ac_cv_c_inline+set}" = set; then
13591 echo $ECHO_N "(cached) $ECHO_C" >&6
13594 for ac_kw
in inline __inline__ __inline
; do
13595 cat >conftest.
$ac_ext <<_ACEOF
13596 #line $LINENO "configure"
13599 cat confdefs.h
>>conftest.
$ac_ext
13600 cat >>conftest.
$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13602 #ifndef __cplusplus
13604 static $ac_kw foo_t static_foo () {return 0; }
13605 $ac_kw foo_t foo () {return 0; }
13609 rm -f conftest.
$ac_objext
13610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13611 (eval $ac_compile) 2>&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); } &&
13615 { ac_try
='test -s conftest.$ac_objext'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; }; then
13621 ac_cv_c_inline
=$ac_kw; break
13623 echo "$as_me: failed program was:" >&5
13624 sed 's/^/| /' conftest.
$ac_ext >&5
13627 rm -f conftest.
$ac_objext conftest.
$ac_ext
13631 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13632 echo "${ECHO_T}$ac_cv_c_inline" >&6
13633 case $ac_cv_c_inline in
13636 cat >>confdefs.h
<<\_ACEOF
13640 *) cat >>confdefs.h
<<_ACEOF
13641 #define inline $ac_cv_c_inline
13647 echo "$as_me:$LINENO: checking for char" >&5
13648 echo $ECHO_N "checking for char... $ECHO_C" >&6
13649 if test "${ac_cv_type_char+set}" = set; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 cat >conftest.
$ac_ext <<_ACEOF
13653 #line $LINENO "configure"
13656 cat confdefs.h
>>conftest.
$ac_ext
13657 cat >>conftest.
$ac_ext <<_ACEOF
13658 /* end confdefs.h. */
13659 $ac_includes_default
13671 rm -f conftest.
$ac_objext
13672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13673 (eval $ac_compile) 2>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } &&
13677 { ac_try
='test -s conftest.$ac_objext'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; }; then
13683 ac_cv_type_char
=yes
13685 echo "$as_me: failed program was:" >&5
13686 sed 's/^/| /' conftest.
$ac_ext >&5
13690 rm -f conftest.
$ac_objext conftest.
$ac_ext
13692 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13693 echo "${ECHO_T}$ac_cv_type_char" >&6
13695 echo "$as_me:$LINENO: checking size of char" >&5
13696 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13697 if test "${ac_cv_sizeof_char+set}" = set; then
13698 echo $ECHO_N "(cached) $ECHO_C" >&6
13700 if test "$ac_cv_type_char" = yes; then
13701 # The cast to unsigned long works around a bug in the HP C Compiler
13702 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13703 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13704 # This bug is HP SR number 8606223364.
13705 if test "$cross_compiling" = yes; then
13706 # Depending upon the size, compute the lo and hi bounds.
13707 cat >conftest.
$ac_ext <<_ACEOF
13708 #line $LINENO "configure"
13711 cat confdefs.h
>>conftest.
$ac_ext
13712 cat >>conftest.
$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13714 $ac_includes_default
13718 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13725 rm -f conftest.
$ac_objext
13726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13727 (eval $ac_compile) 2>&5
13729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 (exit $ac_status); } &&
13731 { ac_try
='test -s conftest.$ac_objext'
13732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13733 (eval $ac_try) 2>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); }; }; then
13739 cat >conftest.
$ac_ext <<_ACEOF
13740 #line $LINENO "configure"
13743 cat confdefs.h
>>conftest.
$ac_ext
13744 cat >>conftest.
$ac_ext <<_ACEOF
13745 /* end confdefs.h. */
13746 $ac_includes_default
13750 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13757 rm -f conftest.
$ac_objext
13758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13759 (eval $ac_compile) 2>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } &&
13763 { ac_try
='test -s conftest.$ac_objext'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; }; then
13769 ac_hi
=$ac_mid; break
13771 echo "$as_me: failed program was:" >&5
13772 sed 's/^/| /' conftest.
$ac_ext >&5
13774 ac_lo
=`expr $ac_mid + 1`
13775 if test $ac_lo -le $ac_mid; then
13779 ac_mid
=`expr 2 '*' $ac_mid + 1`
13781 rm -f conftest.
$ac_objext conftest.
$ac_ext
13784 echo "$as_me: failed program was:" >&5
13785 sed 's/^/| /' conftest.
$ac_ext >&5
13787 cat >conftest.
$ac_ext <<_ACEOF
13788 #line $LINENO "configure"
13791 cat confdefs.h
>>conftest.
$ac_ext
13792 cat >>conftest.
$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13794 $ac_includes_default
13798 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13805 rm -f conftest.
$ac_objext
13806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13807 (eval $ac_compile) 2>&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); } &&
13811 { ac_try
='test -s conftest.$ac_objext'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; }; then
13819 cat >conftest.
$ac_ext <<_ACEOF
13820 #line $LINENO "configure"
13823 cat confdefs.h
>>conftest.
$ac_ext
13824 cat >>conftest.
$ac_ext <<_ACEOF
13825 /* end confdefs.h. */
13826 $ac_includes_default
13830 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13837 rm -f conftest.
$ac_objext
13838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13839 (eval $ac_compile) 2>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } &&
13843 { ac_try
='test -s conftest.$ac_objext'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; }; then
13849 ac_lo
=$ac_mid; break
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.
$ac_ext >&5
13854 ac_hi
=`expr '(' $ac_mid ')' - 1`
13855 if test $ac_mid -le $ac_hi; then
13859 ac_mid
=`expr 2 '*' $ac_mid`
13861 rm -f conftest.
$ac_objext conftest.
$ac_ext
13864 echo "$as_me: failed program was:" >&5
13865 sed 's/^/| /' conftest.
$ac_ext >&5
13869 rm -f conftest.
$ac_objext conftest.
$ac_ext
13871 rm -f conftest.
$ac_objext conftest.
$ac_ext
13872 # Binary search between lo and hi bounds.
13873 while test "x$ac_lo" != "x$ac_hi"; do
13874 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13875 cat >conftest.
$ac_ext <<_ACEOF
13876 #line $LINENO "configure"
13879 cat confdefs.h
>>conftest.
$ac_ext
13880 cat >>conftest.
$ac_ext <<_ACEOF
13881 /* end confdefs.h. */
13882 $ac_includes_default
13886 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13893 rm -f conftest.
$ac_objext
13894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13895 (eval $ac_compile) 2>&5
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); } &&
13899 { ac_try
='test -s conftest.$ac_objext'
13900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13901 (eval $ac_try) 2>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); }; }; then
13907 echo "$as_me: failed program was:" >&5
13908 sed 's/^/| /' conftest.
$ac_ext >&5
13910 ac_lo
=`expr '(' $ac_mid ')' + 1`
13912 rm -f conftest.
$ac_objext conftest.
$ac_ext
13915 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13916 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13917 See \`config.log' for more details." >&5
13918 echo "$as_me: error: cannot compute sizeof (char), 77
13919 See \`config.log' for more details." >&2;}
13920 { (exit 1); exit 1; }; } ;;
13923 if test "$cross_compiling" = yes; then
13924 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13925 See \`config.log' for more details." >&5
13926 echo "$as_me: error: cannot run test program while cross compiling
13927 See \`config.log' for more details." >&2;}
13928 { (exit 1); exit 1; }; }
13930 cat >conftest.
$ac_ext <<_ACEOF
13931 #line $LINENO "configure"
13934 cat confdefs.h
>>conftest.
$ac_ext
13935 cat >>conftest.
$ac_ext <<_ACEOF
13936 /* end confdefs.h. */
13937 $ac_includes_default
13938 long longval () { return (long) (sizeof (char)); }
13939 unsigned long ulongval () { return (long) (sizeof (char)); }
13941 #include <stdlib.h>
13946 FILE *f = fopen ("conftest.val", "w");
13949 if (((long) (sizeof (char))) < 0)
13951 long i = longval ();
13952 if (i != ((long) (sizeof (char))))
13954 fprintf (f, "%ld\n", i);
13958 unsigned long i = ulongval ();
13959 if (i != ((long) (sizeof (char))))
13961 fprintf (f, "%lu\n", i);
13963 exit (ferror (f) || fclose (f) != 0);
13969 rm -f conftest
$ac_exeext
13970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13971 (eval $ac_link) 2>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 (eval $ac_try) 2>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; }; then
13980 ac_cv_sizeof_char
=`cat conftest.val`
13982 echo "$as_me: program exited with status $ac_status" >&5
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.
$ac_ext >&5
13986 ( exit $ac_status )
13987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13988 See \`config.log' for more details." >&5
13989 echo "$as_me: error: cannot compute sizeof (char), 77
13990 See \`config.log' for more details." >&2;}
13991 { (exit 1); exit 1; }; }
13993 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13998 ac_cv_sizeof_char
=0
14001 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14002 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14003 cat >>confdefs.h
<<_ACEOF
14004 #define SIZEOF_CHAR $ac_cv_sizeof_char
14008 echo "$as_me:$LINENO: checking for short" >&5
14009 echo $ECHO_N "checking for short... $ECHO_C" >&6
14010 if test "${ac_cv_type_short+set}" = set; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 cat >conftest.
$ac_ext <<_ACEOF
14014 #line $LINENO "configure"
14017 cat confdefs.h
>>conftest.
$ac_ext
14018 cat >>conftest.
$ac_ext <<_ACEOF
14019 /* end confdefs.h. */
14020 $ac_includes_default
14026 if (sizeof (short))
14032 rm -f conftest.
$ac_objext
14033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14034 (eval $ac_compile) 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); } &&
14038 { ac_try
='test -s conftest.$ac_objext'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; }; then
14044 ac_cv_type_short
=yes
14046 echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.
$ac_ext >&5
14049 ac_cv_type_short
=no
14051 rm -f conftest.
$ac_objext conftest.
$ac_ext
14053 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14054 echo "${ECHO_T}$ac_cv_type_short" >&6
14056 echo "$as_me:$LINENO: checking size of short" >&5
14057 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14058 if test "${ac_cv_sizeof_short+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14061 if test "$ac_cv_type_short" = yes; then
14062 # The cast to unsigned long works around a bug in the HP C Compiler
14063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14065 # This bug is HP SR number 8606223364.
14066 if test "$cross_compiling" = yes; then
14067 # Depending upon the size, compute the lo and hi bounds.
14068 cat >conftest.
$ac_ext <<_ACEOF
14069 #line $LINENO "configure"
14072 cat confdefs.h
>>conftest.
$ac_ext
14073 cat >>conftest.
$ac_ext <<_ACEOF
14074 /* end confdefs.h. */
14075 $ac_includes_default
14079 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14086 rm -f conftest.
$ac_objext
14087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14088 (eval $ac_compile) 2>&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); } &&
14092 { ac_try
='test -s conftest.$ac_objext'
14093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14094 (eval $ac_try) 2>&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); }; }; then
14100 cat >conftest.
$ac_ext <<_ACEOF
14101 #line $LINENO "configure"
14104 cat confdefs.h
>>conftest.
$ac_ext
14105 cat >>conftest.
$ac_ext <<_ACEOF
14106 /* end confdefs.h. */
14107 $ac_includes_default
14111 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14118 rm -f conftest.
$ac_objext
14119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14120 (eval $ac_compile) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); } &&
14124 { ac_try
='test -s conftest.$ac_objext'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; }; then
14130 ac_hi
=$ac_mid; break
14132 echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.
$ac_ext >&5
14135 ac_lo
=`expr $ac_mid + 1`
14136 if test $ac_lo -le $ac_mid; then
14140 ac_mid
=`expr 2 '*' $ac_mid + 1`
14142 rm -f conftest.
$ac_objext conftest.
$ac_ext
14145 echo "$as_me: failed program was:" >&5
14146 sed 's/^/| /' conftest.
$ac_ext >&5
14148 cat >conftest.
$ac_ext <<_ACEOF
14149 #line $LINENO "configure"
14152 cat confdefs.h
>>conftest.
$ac_ext
14153 cat >>conftest.
$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155 $ac_includes_default
14159 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14166 rm -f conftest.
$ac_objext
14167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14168 (eval $ac_compile) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } &&
14172 { ac_try
='test -s conftest.$ac_objext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14180 cat >conftest.
$ac_ext <<_ACEOF
14181 #line $LINENO "configure"
14184 cat confdefs.h
>>conftest.
$ac_ext
14185 cat >>conftest.
$ac_ext <<_ACEOF
14186 /* end confdefs.h. */
14187 $ac_includes_default
14191 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14198 rm -f conftest.
$ac_objext
14199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14200 (eval $ac_compile) 2>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } &&
14204 { ac_try
='test -s conftest.$ac_objext'
14205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14206 (eval $ac_try) 2>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); }; }; then
14210 ac_lo
=$ac_mid; break
14212 echo "$as_me: failed program was:" >&5
14213 sed 's/^/| /' conftest.
$ac_ext >&5
14215 ac_hi
=`expr '(' $ac_mid ')' - 1`
14216 if test $ac_mid -le $ac_hi; then
14220 ac_mid
=`expr 2 '*' $ac_mid`
14222 rm -f conftest.
$ac_objext conftest.
$ac_ext
14225 echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.
$ac_ext >&5
14230 rm -f conftest.
$ac_objext conftest.
$ac_ext
14232 rm -f conftest.
$ac_objext conftest.
$ac_ext
14233 # Binary search between lo and hi bounds.
14234 while test "x$ac_lo" != "x$ac_hi"; do
14235 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14236 cat >conftest.
$ac_ext <<_ACEOF
14237 #line $LINENO "configure"
14240 cat confdefs.h
>>conftest.
$ac_ext
14241 cat >>conftest.
$ac_ext <<_ACEOF
14242 /* end confdefs.h. */
14243 $ac_includes_default
14247 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14254 rm -f conftest.
$ac_objext
14255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14256 (eval $ac_compile) 2>&5
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); } &&
14260 { ac_try
='test -s conftest.$ac_objext'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; }; then
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.
$ac_ext >&5
14271 ac_lo
=`expr '(' $ac_mid ')' + 1`
14273 rm -f conftest.
$ac_objext conftest.
$ac_ext
14276 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14277 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14278 See \`config.log' for more details." >&5
14279 echo "$as_me: error: cannot compute sizeof (short), 77
14280 See \`config.log' for more details." >&2;}
14281 { (exit 1); exit 1; }; } ;;
14284 if test "$cross_compiling" = yes; then
14285 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14286 See \`config.log' for more details." >&5
14287 echo "$as_me: error: cannot run test program while cross compiling
14288 See \`config.log' for more details." >&2;}
14289 { (exit 1); exit 1; }; }
14291 cat >conftest.
$ac_ext <<_ACEOF
14292 #line $LINENO "configure"
14295 cat confdefs.h
>>conftest.
$ac_ext
14296 cat >>conftest.
$ac_ext <<_ACEOF
14297 /* end confdefs.h. */
14298 $ac_includes_default
14299 long longval () { return (long) (sizeof (short)); }
14300 unsigned long ulongval () { return (long) (sizeof (short)); }
14302 #include <stdlib.h>
14307 FILE *f = fopen ("conftest.val", "w");
14310 if (((long) (sizeof (short))) < 0)
14312 long i = longval ();
14313 if (i != ((long) (sizeof (short))))
14315 fprintf (f, "%ld\n", i);
14319 unsigned long i = ulongval ();
14320 if (i != ((long) (sizeof (short))))
14322 fprintf (f, "%lu\n", i);
14324 exit (ferror (f) || fclose (f) != 0);
14330 rm -f conftest
$ac_exeext
14331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14332 (eval $ac_link) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14337 (eval $ac_try) 2>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; }; then
14341 ac_cv_sizeof_short
=`cat conftest.val`
14343 echo "$as_me: program exited with status $ac_status" >&5
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.
$ac_ext >&5
14347 ( exit $ac_status )
14348 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14349 See \`config.log' for more details." >&5
14350 echo "$as_me: error: cannot compute sizeof (short), 77
14351 See \`config.log' for more details." >&2;}
14352 { (exit 1); exit 1; }; }
14354 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14359 ac_cv_sizeof_short
=0
14362 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14363 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14364 cat >>confdefs.h
<<_ACEOF
14365 #define SIZEOF_SHORT $ac_cv_sizeof_short
14369 echo "$as_me:$LINENO: checking for void *" >&5
14370 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14371 if test "${ac_cv_type_void_p+set}" = set; then
14372 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 cat >conftest.
$ac_ext <<_ACEOF
14375 #line $LINENO "configure"
14378 cat confdefs.h
>>conftest.
$ac_ext
14379 cat >>conftest.
$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14381 $ac_includes_default
14387 if (sizeof (void *))
14393 rm -f conftest.
$ac_objext
14394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14395 (eval $ac_compile) 2>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } &&
14399 { ac_try
='test -s conftest.$ac_objext'
14400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14401 (eval $ac_try) 2>&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); }; }; then
14405 ac_cv_type_void_p
=yes
14407 echo "$as_me: failed program was:" >&5
14408 sed 's/^/| /' conftest.
$ac_ext >&5
14410 ac_cv_type_void_p
=no
14412 rm -f conftest.
$ac_objext conftest.
$ac_ext
14414 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14415 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14417 echo "$as_me:$LINENO: checking size of void *" >&5
14418 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14419 if test "${ac_cv_sizeof_void_p+set}" = set; then
14420 echo $ECHO_N "(cached) $ECHO_C" >&6
14422 if test "$ac_cv_type_void_p" = yes; then
14423 # The cast to unsigned long works around a bug in the HP C Compiler
14424 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14425 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14426 # This bug is HP SR number 8606223364.
14427 if test "$cross_compiling" = yes; then
14428 # Depending upon the size, compute the lo and hi bounds.
14429 cat >conftest.
$ac_ext <<_ACEOF
14430 #line $LINENO "configure"
14433 cat confdefs.h
>>conftest.
$ac_ext
14434 cat >>conftest.
$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14436 $ac_includes_default
14440 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14447 rm -f conftest.
$ac_objext
14448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14449 (eval $ac_compile) 2>&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); } &&
14453 { ac_try
='test -s conftest.$ac_objext'
14454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455 (eval $ac_try) 2>&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }; }; then
14461 cat >conftest.
$ac_ext <<_ACEOF
14462 #line $LINENO "configure"
14465 cat confdefs.h
>>conftest.
$ac_ext
14466 cat >>conftest.
$ac_ext <<_ACEOF
14467 /* end confdefs.h. */
14468 $ac_includes_default
14472 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14479 rm -f conftest.
$ac_objext
14480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14481 (eval $ac_compile) 2>&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); } &&
14485 { ac_try
='test -s conftest.$ac_objext'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 ac_hi
=$ac_mid; break
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.
$ac_ext >&5
14496 ac_lo
=`expr $ac_mid + 1`
14497 if test $ac_lo -le $ac_mid; then
14501 ac_mid
=`expr 2 '*' $ac_mid + 1`
14503 rm -f conftest.
$ac_objext conftest.
$ac_ext
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.
$ac_ext >&5
14509 cat >conftest.
$ac_ext <<_ACEOF
14510 #line $LINENO "configure"
14513 cat confdefs.h
>>conftest.
$ac_ext
14514 cat >>conftest.
$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14516 $ac_includes_default
14520 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14527 rm -f conftest.
$ac_objext
14528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14529 (eval $ac_compile) 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); } &&
14533 { ac_try
='test -s conftest.$ac_objext'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; }; then
14541 cat >conftest.
$ac_ext <<_ACEOF
14542 #line $LINENO "configure"
14545 cat confdefs.h
>>conftest.
$ac_ext
14546 cat >>conftest.
$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548 $ac_includes_default
14552 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14559 rm -f conftest.
$ac_objext
14560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14561 (eval $ac_compile) 2>&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } &&
14565 { ac_try
='test -s conftest.$ac_objext'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; }; then
14571 ac_lo
=$ac_mid; break
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.
$ac_ext >&5
14576 ac_hi
=`expr '(' $ac_mid ')' - 1`
14577 if test $ac_mid -le $ac_hi; then
14581 ac_mid
=`expr 2 '*' $ac_mid`
14583 rm -f conftest.
$ac_objext conftest.
$ac_ext
14586 echo "$as_me: failed program was:" >&5
14587 sed 's/^/| /' conftest.
$ac_ext >&5
14591 rm -f conftest.
$ac_objext conftest.
$ac_ext
14593 rm -f conftest.
$ac_objext conftest.
$ac_ext
14594 # Binary search between lo and hi bounds.
14595 while test "x$ac_lo" != "x$ac_hi"; do
14596 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14597 cat >conftest.
$ac_ext <<_ACEOF
14598 #line $LINENO "configure"
14601 cat confdefs.h
>>conftest.
$ac_ext
14602 cat >>conftest.
$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14604 $ac_includes_default
14608 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14615 rm -f conftest.
$ac_objext
14616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14617 (eval $ac_compile) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try
='test -s conftest.$ac_objext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.
$ac_ext >&5
14632 ac_lo
=`expr '(' $ac_mid ')' + 1`
14634 rm -f conftest.
$ac_objext conftest.
$ac_ext
14637 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14638 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14639 See \`config.log' for more details." >&5
14640 echo "$as_me: error: cannot compute sizeof (void *), 77
14641 See \`config.log' for more details." >&2;}
14642 { (exit 1); exit 1; }; } ;;
14645 if test "$cross_compiling" = yes; then
14646 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14647 See \`config.log' for more details." >&5
14648 echo "$as_me: error: cannot run test program while cross compiling
14649 See \`config.log' for more details." >&2;}
14650 { (exit 1); exit 1; }; }
14652 cat >conftest.
$ac_ext <<_ACEOF
14653 #line $LINENO "configure"
14656 cat confdefs.h
>>conftest.
$ac_ext
14657 cat >>conftest.
$ac_ext <<_ACEOF
14658 /* end confdefs.h. */
14659 $ac_includes_default
14660 long longval () { return (long) (sizeof (void *)); }
14661 unsigned long ulongval () { return (long) (sizeof (void *)); }
14663 #include <stdlib.h>
14668 FILE *f = fopen ("conftest.val", "w");
14671 if (((long) (sizeof (void *))) < 0)
14673 long i = longval ();
14674 if (i != ((long) (sizeof (void *))))
14676 fprintf (f, "%ld\n", i);
14680 unsigned long i = ulongval ();
14681 if (i != ((long) (sizeof (void *))))
14683 fprintf (f, "%lu\n", i);
14685 exit (ferror (f) || fclose (f) != 0);
14691 rm -f conftest
$ac_exeext
14692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14693 (eval $ac_link) 2>&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; }; then
14702 ac_cv_sizeof_void_p
=`cat conftest.val`
14704 echo "$as_me: program exited with status $ac_status" >&5
14705 echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.
$ac_ext >&5
14708 ( exit $ac_status )
14709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14710 See \`config.log' for more details." >&5
14711 echo "$as_me: error: cannot compute sizeof (void *), 77
14712 See \`config.log' for more details." >&2;}
14713 { (exit 1); exit 1; }; }
14715 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14720 ac_cv_sizeof_void_p
=0
14723 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14724 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14725 cat >>confdefs.h
<<_ACEOF
14726 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14730 echo "$as_me:$LINENO: checking for int" >&5
14731 echo $ECHO_N "checking for int... $ECHO_C" >&6
14732 if test "${ac_cv_type_int+set}" = set; then
14733 echo $ECHO_N "(cached) $ECHO_C" >&6
14735 cat >conftest.
$ac_ext <<_ACEOF
14736 #line $LINENO "configure"
14739 cat confdefs.h
>>conftest.
$ac_ext
14740 cat >>conftest.
$ac_ext <<_ACEOF
14741 /* end confdefs.h. */
14742 $ac_includes_default
14754 rm -f conftest.
$ac_objext
14755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14756 (eval $ac_compile) 2>&5
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); } &&
14760 { ac_try
='test -s conftest.$ac_objext'
14761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14762 (eval $ac_try) 2>&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); }; }; then
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.
$ac_ext >&5
14773 rm -f conftest.
$ac_objext conftest.
$ac_ext
14775 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14776 echo "${ECHO_T}$ac_cv_type_int" >&6
14778 echo "$as_me:$LINENO: checking size of int" >&5
14779 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14780 if test "${ac_cv_sizeof_int+set}" = set; then
14781 echo $ECHO_N "(cached) $ECHO_C" >&6
14783 if test "$ac_cv_type_int" = yes; then
14784 # The cast to unsigned long works around a bug in the HP C Compiler
14785 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14786 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14787 # This bug is HP SR number 8606223364.
14788 if test "$cross_compiling" = yes; then
14789 # Depending upon the size, compute the lo and hi bounds.
14790 cat >conftest.
$ac_ext <<_ACEOF
14791 #line $LINENO "configure"
14794 cat confdefs.h
>>conftest.
$ac_ext
14795 cat >>conftest.
$ac_ext <<_ACEOF
14796 /* end confdefs.h. */
14797 $ac_includes_default
14801 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14808 rm -f conftest.
$ac_objext
14809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14810 (eval $ac_compile) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); } &&
14814 { ac_try
='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14822 cat >conftest.
$ac_ext <<_ACEOF
14823 #line $LINENO "configure"
14826 cat confdefs.h
>>conftest.
$ac_ext
14827 cat >>conftest.
$ac_ext <<_ACEOF
14828 /* end confdefs.h. */
14829 $ac_includes_default
14833 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14840 rm -f conftest.
$ac_objext
14841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14842 (eval $ac_compile) 2>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); } &&
14846 { ac_try
='test -s conftest.$ac_objext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 ac_hi
=$ac_mid; break
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.
$ac_ext >&5
14857 ac_lo
=`expr $ac_mid + 1`
14858 if test $ac_lo -le $ac_mid; then
14862 ac_mid
=`expr 2 '*' $ac_mid + 1`
14864 rm -f conftest.
$ac_objext conftest.
$ac_ext
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.
$ac_ext >&5
14870 cat >conftest.
$ac_ext <<_ACEOF
14871 #line $LINENO "configure"
14874 cat confdefs.h
>>conftest.
$ac_ext
14875 cat >>conftest.
$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14877 $ac_includes_default
14881 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14888 rm -f conftest.
$ac_objext
14889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14890 (eval $ac_compile) 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); } &&
14894 { ac_try
='test -s conftest.$ac_objext'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; }; then
14902 cat >conftest.
$ac_ext <<_ACEOF
14903 #line $LINENO "configure"
14906 cat confdefs.h
>>conftest.
$ac_ext
14907 cat >>conftest.
$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 $ac_includes_default
14913 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14920 rm -f conftest.
$ac_objext
14921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14922 (eval $ac_compile) 2>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try
='test -s conftest.$ac_objext'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; }; then
14932 ac_lo
=$ac_mid; break
14934 echo "$as_me: failed program was:" >&5
14935 sed 's/^/| /' conftest.
$ac_ext >&5
14937 ac_hi
=`expr '(' $ac_mid ')' - 1`
14938 if test $ac_mid -le $ac_hi; then
14942 ac_mid
=`expr 2 '*' $ac_mid`
14944 rm -f conftest.
$ac_objext conftest.
$ac_ext
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.
$ac_ext >&5
14952 rm -f conftest.
$ac_objext conftest.
$ac_ext
14954 rm -f conftest.
$ac_objext conftest.
$ac_ext
14955 # Binary search between lo and hi bounds.
14956 while test "x$ac_lo" != "x$ac_hi"; do
14957 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14958 cat >conftest.
$ac_ext <<_ACEOF
14959 #line $LINENO "configure"
14962 cat confdefs.h
>>conftest.
$ac_ext
14963 cat >>conftest.
$ac_ext <<_ACEOF
14964 /* end confdefs.h. */
14965 $ac_includes_default
14969 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14976 rm -f conftest.
$ac_objext
14977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14978 (eval $ac_compile) 2>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try
='test -s conftest.$ac_objext'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; }; then
14990 echo "$as_me: failed program was:" >&5
14991 sed 's/^/| /' conftest.
$ac_ext >&5
14993 ac_lo
=`expr '(' $ac_mid ')' + 1`
14995 rm -f conftest.
$ac_objext conftest.
$ac_ext
14998 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14999 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15000 See \`config.log' for more details." >&5
15001 echo "$as_me: error: cannot compute sizeof (int), 77
15002 See \`config.log' for more details." >&2;}
15003 { (exit 1); exit 1; }; } ;;
15006 if test "$cross_compiling" = yes; then
15007 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15008 See \`config.log' for more details." >&5
15009 echo "$as_me: error: cannot run test program while cross compiling
15010 See \`config.log' for more details." >&2;}
15011 { (exit 1); exit 1; }; }
15013 cat >conftest.
$ac_ext <<_ACEOF
15014 #line $LINENO "configure"
15017 cat confdefs.h
>>conftest.
$ac_ext
15018 cat >>conftest.
$ac_ext <<_ACEOF
15019 /* end confdefs.h. */
15020 $ac_includes_default
15021 long longval () { return (long) (sizeof (int)); }
15022 unsigned long ulongval () { return (long) (sizeof (int)); }
15024 #include <stdlib.h>
15029 FILE *f = fopen ("conftest.val", "w");
15032 if (((long) (sizeof (int))) < 0)
15034 long i = longval ();
15035 if (i != ((long) (sizeof (int))))
15037 fprintf (f, "%ld\n", i);
15041 unsigned long i = ulongval ();
15042 if (i != ((long) (sizeof (int))))
15044 fprintf (f, "%lu\n", i);
15046 exit (ferror (f) || fclose (f) != 0);
15052 rm -f conftest
$ac_exeext
15053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15054 (eval $ac_link) 2>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; }; then
15063 ac_cv_sizeof_int
=`cat conftest.val`
15065 echo "$as_me: program exited with status $ac_status" >&5
15066 echo "$as_me: failed program was:" >&5
15067 sed 's/^/| /' conftest.
$ac_ext >&5
15069 ( exit $ac_status )
15070 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15071 See \`config.log' for more details." >&5
15072 echo "$as_me: error: cannot compute sizeof (int), 77
15073 See \`config.log' for more details." >&2;}
15074 { (exit 1); exit 1; }; }
15076 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15084 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15085 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15086 cat >>confdefs.h
<<_ACEOF
15087 #define SIZEOF_INT $ac_cv_sizeof_int
15091 echo "$as_me:$LINENO: checking for long" >&5
15092 echo $ECHO_N "checking for long... $ECHO_C" >&6
15093 if test "${ac_cv_type_long+set}" = set; then
15094 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 cat >conftest.
$ac_ext <<_ACEOF
15097 #line $LINENO "configure"
15100 cat confdefs.h
>>conftest.
$ac_ext
15101 cat >>conftest.
$ac_ext <<_ACEOF
15102 /* end confdefs.h. */
15103 $ac_includes_default
15115 rm -f conftest.
$ac_objext
15116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15117 (eval $ac_compile) 2>&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); } &&
15121 { ac_try
='test -s conftest.$ac_objext'
15122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15123 (eval $ac_try) 2>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); }; }; then
15127 ac_cv_type_long
=yes
15129 echo "$as_me: failed program was:" >&5
15130 sed 's/^/| /' conftest.
$ac_ext >&5
15134 rm -f conftest.
$ac_objext conftest.
$ac_ext
15136 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15137 echo "${ECHO_T}$ac_cv_type_long" >&6
15139 echo "$as_me:$LINENO: checking size of long" >&5
15140 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15141 if test "${ac_cv_sizeof_long+set}" = set; then
15142 echo $ECHO_N "(cached) $ECHO_C" >&6
15144 if test "$ac_cv_type_long" = yes; then
15145 # The cast to unsigned long works around a bug in the HP C Compiler
15146 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15147 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15148 # This bug is HP SR number 8606223364.
15149 if test "$cross_compiling" = yes; then
15150 # Depending upon the size, compute the lo and hi bounds.
15151 cat >conftest.
$ac_ext <<_ACEOF
15152 #line $LINENO "configure"
15155 cat confdefs.h
>>conftest.
$ac_ext
15156 cat >>conftest.
$ac_ext <<_ACEOF
15157 /* end confdefs.h. */
15158 $ac_includes_default
15162 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15169 rm -f conftest.
$ac_objext
15170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15171 (eval $ac_compile) 2>&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } &&
15175 { ac_try
='test -s conftest.$ac_objext'
15176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15177 (eval $ac_try) 2>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); }; }; then
15183 cat >conftest.
$ac_ext <<_ACEOF
15184 #line $LINENO "configure"
15187 cat confdefs.h
>>conftest.
$ac_ext
15188 cat >>conftest.
$ac_ext <<_ACEOF
15189 /* end confdefs.h. */
15190 $ac_includes_default
15194 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15201 rm -f conftest.
$ac_objext
15202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15203 (eval $ac_compile) 2>&5
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); } &&
15207 { ac_try
='test -s conftest.$ac_objext'
15208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15209 (eval $ac_try) 2>&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); }; }; then
15213 ac_hi
=$ac_mid; break
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.
$ac_ext >&5
15218 ac_lo
=`expr $ac_mid + 1`
15219 if test $ac_lo -le $ac_mid; then
15223 ac_mid
=`expr 2 '*' $ac_mid + 1`
15225 rm -f conftest.
$ac_objext conftest.
$ac_ext
15228 echo "$as_me: failed program was:" >&5
15229 sed 's/^/| /' conftest.
$ac_ext >&5
15231 cat >conftest.
$ac_ext <<_ACEOF
15232 #line $LINENO "configure"
15235 cat confdefs.h
>>conftest.
$ac_ext
15236 cat >>conftest.
$ac_ext <<_ACEOF
15237 /* end confdefs.h. */
15238 $ac_includes_default
15242 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15249 rm -f conftest.
$ac_objext
15250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15251 (eval $ac_compile) 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try
='test -s conftest.$ac_objext'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; }; then
15263 cat >conftest.
$ac_ext <<_ACEOF
15264 #line $LINENO "configure"
15267 cat confdefs.h
>>conftest.
$ac_ext
15268 cat >>conftest.
$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15270 $ac_includes_default
15274 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15281 rm -f conftest.
$ac_objext
15282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15283 (eval $ac_compile) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } &&
15287 { ac_try
='test -s conftest.$ac_objext'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; }; then
15293 ac_lo
=$ac_mid; break
15295 echo "$as_me: failed program was:" >&5
15296 sed 's/^/| /' conftest.
$ac_ext >&5
15298 ac_hi
=`expr '(' $ac_mid ')' - 1`
15299 if test $ac_mid -le $ac_hi; then
15303 ac_mid
=`expr 2 '*' $ac_mid`
15305 rm -f conftest.
$ac_objext conftest.
$ac_ext
15308 echo "$as_me: failed program was:" >&5
15309 sed 's/^/| /' conftest.
$ac_ext >&5
15313 rm -f conftest.
$ac_objext conftest.
$ac_ext
15315 rm -f conftest.
$ac_objext conftest.
$ac_ext
15316 # Binary search between lo and hi bounds.
15317 while test "x$ac_lo" != "x$ac_hi"; do
15318 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15319 cat >conftest.
$ac_ext <<_ACEOF
15320 #line $LINENO "configure"
15323 cat confdefs.h
>>conftest.
$ac_ext
15324 cat >>conftest.
$ac_ext <<_ACEOF
15325 /* end confdefs.h. */
15326 $ac_includes_default
15330 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15337 rm -f conftest.
$ac_objext
15338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15339 (eval $ac_compile) 2>&5
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); } &&
15343 { ac_try
='test -s conftest.$ac_objext'
15344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15345 (eval $ac_try) 2>&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); }; }; then
15351 echo "$as_me: failed program was:" >&5
15352 sed 's/^/| /' conftest.
$ac_ext >&5
15354 ac_lo
=`expr '(' $ac_mid ')' + 1`
15356 rm -f conftest.
$ac_objext conftest.
$ac_ext
15359 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15360 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15361 See \`config.log' for more details." >&5
15362 echo "$as_me: error: cannot compute sizeof (long), 77
15363 See \`config.log' for more details." >&2;}
15364 { (exit 1); exit 1; }; } ;;
15367 if test "$cross_compiling" = yes; then
15368 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15369 See \`config.log' for more details." >&5
15370 echo "$as_me: error: cannot run test program while cross compiling
15371 See \`config.log' for more details." >&2;}
15372 { (exit 1); exit 1; }; }
15374 cat >conftest.
$ac_ext <<_ACEOF
15375 #line $LINENO "configure"
15378 cat confdefs.h
>>conftest.
$ac_ext
15379 cat >>conftest.
$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15381 $ac_includes_default
15382 long longval () { return (long) (sizeof (long)); }
15383 unsigned long ulongval () { return (long) (sizeof (long)); }
15385 #include <stdlib.h>
15390 FILE *f = fopen ("conftest.val", "w");
15393 if (((long) (sizeof (long))) < 0)
15395 long i = longval ();
15396 if (i != ((long) (sizeof (long))))
15398 fprintf (f, "%ld\n", i);
15402 unsigned long i = ulongval ();
15403 if (i != ((long) (sizeof (long))))
15405 fprintf (f, "%lu\n", i);
15407 exit (ferror (f) || fclose (f) != 0);
15413 rm -f conftest
$ac_exeext
15414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15415 (eval $ac_link) 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420 (eval $ac_try) 2>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; }; then
15424 ac_cv_sizeof_long
=`cat conftest.val`
15426 echo "$as_me: program exited with status $ac_status" >&5
15427 echo "$as_me: failed program was:" >&5
15428 sed 's/^/| /' conftest.
$ac_ext >&5
15430 ( exit $ac_status )
15431 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15432 See \`config.log' for more details." >&5
15433 echo "$as_me: error: cannot compute sizeof (long), 77
15434 See \`config.log' for more details." >&2;}
15435 { (exit 1); exit 1; }; }
15437 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15442 ac_cv_sizeof_long
=0
15445 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15446 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15447 cat >>confdefs.h
<<_ACEOF
15448 #define SIZEOF_LONG $ac_cv_sizeof_long
15455 echo "$as_me:$LINENO: checking for long long" >&5
15456 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15457 if test "${ac_cv_type_long_long+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 cat >conftest.
$ac_ext <<_ACEOF
15461 #line $LINENO "configure"
15464 cat confdefs.h
>>conftest.
$ac_ext
15465 cat >>conftest.
$ac_ext <<_ACEOF
15466 /* end confdefs.h. */
15467 $ac_includes_default
15471 if ((long long *) 0)
15473 if (sizeof (long long))
15479 rm -f conftest.
$ac_objext
15480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15481 (eval $ac_compile) 2>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); } &&
15485 { ac_try
='test -s conftest.$ac_objext'
15486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15487 (eval $ac_try) 2>&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); }; }; then
15491 ac_cv_type_long_long
=yes
15493 echo "$as_me: failed program was:" >&5
15494 sed 's/^/| /' conftest.
$ac_ext >&5
15496 ac_cv_type_long_long
=no
15498 rm -f conftest.
$ac_objext conftest.
$ac_ext
15500 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15501 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15503 echo "$as_me:$LINENO: checking size of long long" >&5
15504 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15505 if test "${ac_cv_sizeof_long_long+set}" = set; then
15506 echo $ECHO_N "(cached) $ECHO_C" >&6
15508 if test "$ac_cv_type_long_long" = yes; then
15509 # The cast to unsigned long works around a bug in the HP C Compiler
15510 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15511 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15512 # This bug is HP SR number 8606223364.
15513 if test "$cross_compiling" = yes; then
15514 # Depending upon the size, compute the lo and hi bounds.
15515 cat >conftest.
$ac_ext <<_ACEOF
15516 #line $LINENO "configure"
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 $ac_includes_default
15526 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15533 rm -f conftest.
$ac_objext
15534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15535 (eval $ac_compile) 2>&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } &&
15539 { ac_try
='test -s conftest.$ac_objext'
15540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15541 (eval $ac_try) 2>&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); }; }; then
15547 cat >conftest.
$ac_ext <<_ACEOF
15548 #line $LINENO "configure"
15551 cat confdefs.h
>>conftest.
$ac_ext
15552 cat >>conftest.
$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15554 $ac_includes_default
15558 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15565 rm -f conftest.
$ac_objext
15566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15567 (eval $ac_compile) 2>&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); } &&
15571 { ac_try
='test -s conftest.$ac_objext'
15572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15573 (eval $ac_try) 2>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); }; }; then
15577 ac_hi
=$ac_mid; break
15579 echo "$as_me: failed program was:" >&5
15580 sed 's/^/| /' conftest.
$ac_ext >&5
15582 ac_lo
=`expr $ac_mid + 1`
15583 if test $ac_lo -le $ac_mid; then
15587 ac_mid
=`expr 2 '*' $ac_mid + 1`
15589 rm -f conftest.
$ac_objext conftest.
$ac_ext
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.
$ac_ext >&5
15595 cat >conftest.
$ac_ext <<_ACEOF
15596 #line $LINENO "configure"
15599 cat confdefs.h
>>conftest.
$ac_ext
15600 cat >>conftest.
$ac_ext <<_ACEOF
15601 /* end confdefs.h. */
15602 $ac_includes_default
15606 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15613 rm -f conftest.
$ac_objext
15614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15615 (eval $ac_compile) 2>&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } &&
15619 { ac_try
='test -s conftest.$ac_objext'
15620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15621 (eval $ac_try) 2>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); }; }; then
15627 cat >conftest.
$ac_ext <<_ACEOF
15628 #line $LINENO "configure"
15631 cat confdefs.h
>>conftest.
$ac_ext
15632 cat >>conftest.
$ac_ext <<_ACEOF
15633 /* end confdefs.h. */
15634 $ac_includes_default
15638 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15645 rm -f conftest.
$ac_objext
15646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15647 (eval $ac_compile) 2>&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } &&
15651 { ac_try
='test -s conftest.$ac_objext'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; }; then
15657 ac_lo
=$ac_mid; break
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.
$ac_ext >&5
15662 ac_hi
=`expr '(' $ac_mid ')' - 1`
15663 if test $ac_mid -le $ac_hi; then
15667 ac_mid
=`expr 2 '*' $ac_mid`
15669 rm -f conftest.
$ac_objext conftest.
$ac_ext
15672 echo "$as_me: failed program was:" >&5
15673 sed 's/^/| /' conftest.
$ac_ext >&5
15677 rm -f conftest.
$ac_objext conftest.
$ac_ext
15679 rm -f conftest.
$ac_objext conftest.
$ac_ext
15680 # Binary search between lo and hi bounds.
15681 while test "x$ac_lo" != "x$ac_hi"; do
15682 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15683 cat >conftest.
$ac_ext <<_ACEOF
15684 #line $LINENO "configure"
15687 cat confdefs.h
>>conftest.
$ac_ext
15688 cat >>conftest.
$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690 $ac_includes_default
15694 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15701 rm -f conftest.
$ac_objext
15702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15703 (eval $ac_compile) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try
='test -s conftest.$ac_objext'
15708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709 (eval $ac_try) 2>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; }; then
15715 echo "$as_me: failed program was:" >&5
15716 sed 's/^/| /' conftest.
$ac_ext >&5
15718 ac_lo
=`expr '(' $ac_mid ')' + 1`
15720 rm -f conftest.
$ac_objext conftest.
$ac_ext
15723 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15724 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15725 See \`config.log' for more details." >&5
15726 echo "$as_me: error: cannot compute sizeof (long long), 77
15727 See \`config.log' for more details." >&2;}
15728 { (exit 1); exit 1; }; } ;;
15731 if test "$cross_compiling" = yes; then
15732 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15733 See \`config.log' for more details." >&5
15734 echo "$as_me: error: cannot run test program while cross compiling
15735 See \`config.log' for more details." >&2;}
15736 { (exit 1); exit 1; }; }
15738 cat >conftest.
$ac_ext <<_ACEOF
15739 #line $LINENO "configure"
15742 cat confdefs.h
>>conftest.
$ac_ext
15743 cat >>conftest.
$ac_ext <<_ACEOF
15744 /* end confdefs.h. */
15745 $ac_includes_default
15746 long longval () { return (long) (sizeof (long long)); }
15747 unsigned long ulongval () { return (long) (sizeof (long long)); }
15749 #include <stdlib.h>
15754 FILE *f = fopen ("conftest.val", "w");
15757 if (((long) (sizeof (long long))) < 0)
15759 long i = longval ();
15760 if (i != ((long) (sizeof (long long))))
15762 fprintf (f, "%ld\n", i);
15766 unsigned long i = ulongval ();
15767 if (i != ((long) (sizeof (long long))))
15769 fprintf (f, "%lu\n", i);
15771 exit (ferror (f) || fclose (f) != 0);
15777 rm -f conftest
$ac_exeext
15778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15779 (eval $ac_link) 2>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784 (eval $ac_try) 2>&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); }; }; then
15788 ac_cv_sizeof_long_long
=`cat conftest.val`
15790 echo "$as_me: program exited with status $ac_status" >&5
15791 echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.
$ac_ext >&5
15794 ( exit $ac_status )
15795 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15796 See \`config.log' for more details." >&5
15797 echo "$as_me: error: cannot compute sizeof (long long), 77
15798 See \`config.log' for more details." >&2;}
15799 { (exit 1); exit 1; }; }
15801 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15806 ac_cv_sizeof_long_long
=0
15809 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15810 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15811 cat >>confdefs.h
<<_ACEOF
15812 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15818 echo "$as_me:$LINENO: checking for long long" >&5
15819 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15820 if test "${ac_cv_type_long_long+set}" = set; then
15821 echo $ECHO_N "(cached) $ECHO_C" >&6
15823 cat >conftest.
$ac_ext <<_ACEOF
15824 #line $LINENO "configure"
15827 cat confdefs.h
>>conftest.
$ac_ext
15828 cat >>conftest.
$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15830 $ac_includes_default
15834 if ((long long *) 0)
15836 if (sizeof (long long))
15842 rm -f conftest.
$ac_objext
15843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15844 (eval $ac_compile) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); } &&
15848 { ac_try
='test -s conftest.$ac_objext'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; }; then
15854 ac_cv_type_long_long
=yes
15856 echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.
$ac_ext >&5
15859 ac_cv_type_long_long
=no
15861 rm -f conftest.
$ac_objext conftest.
$ac_ext
15863 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15864 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15866 echo "$as_me:$LINENO: checking size of long long" >&5
15867 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15868 if test "${ac_cv_sizeof_long_long+set}" = set; then
15869 echo $ECHO_N "(cached) $ECHO_C" >&6
15871 if test "$ac_cv_type_long_long" = yes; then
15872 # The cast to unsigned long works around a bug in the HP C Compiler
15873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15875 # This bug is HP SR number 8606223364.
15876 if test "$cross_compiling" = yes; then
15877 # Depending upon the size, compute the lo and hi bounds.
15878 cat >conftest.
$ac_ext <<_ACEOF
15879 #line $LINENO "configure"
15882 cat confdefs.h
>>conftest.
$ac_ext
15883 cat >>conftest.
$ac_ext <<_ACEOF
15884 /* end confdefs.h. */
15885 $ac_includes_default
15889 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15896 rm -f conftest.
$ac_objext
15897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15898 (eval $ac_compile) 2>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); } &&
15902 { ac_try
='test -s conftest.$ac_objext'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; }; then
15910 cat >conftest.
$ac_ext <<_ACEOF
15911 #line $LINENO "configure"
15914 cat confdefs.h
>>conftest.
$ac_ext
15915 cat >>conftest.
$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15917 $ac_includes_default
15921 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15928 rm -f conftest.
$ac_objext
15929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15930 (eval $ac_compile) 2>&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); } &&
15934 { ac_try
='test -s conftest.$ac_objext'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; }; then
15940 ac_hi
=$ac_mid; break
15942 echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.
$ac_ext >&5
15945 ac_lo
=`expr $ac_mid + 1`
15946 if test $ac_lo -le $ac_mid; then
15950 ac_mid
=`expr 2 '*' $ac_mid + 1`
15952 rm -f conftest.
$ac_objext conftest.
$ac_ext
15955 echo "$as_me: failed program was:" >&5
15956 sed 's/^/| /' conftest.
$ac_ext >&5
15958 cat >conftest.
$ac_ext <<_ACEOF
15959 #line $LINENO "configure"
15962 cat confdefs.h
>>conftest.
$ac_ext
15963 cat >>conftest.
$ac_ext <<_ACEOF
15964 /* end confdefs.h. */
15965 $ac_includes_default
15969 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15976 rm -f conftest.
$ac_objext
15977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15978 (eval $ac_compile) 2>&5
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); } &&
15982 { ac_try
='test -s conftest.$ac_objext'
15983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984 (eval $ac_try) 2>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15990 cat >conftest.
$ac_ext <<_ACEOF
15991 #line $LINENO "configure"
15994 cat confdefs.h
>>conftest.
$ac_ext
15995 cat >>conftest.
$ac_ext <<_ACEOF
15996 /* end confdefs.h. */
15997 $ac_includes_default
16001 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16008 rm -f conftest.
$ac_objext
16009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16010 (eval $ac_compile) 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } &&
16014 { ac_try
='test -s conftest.$ac_objext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 ac_lo
=$ac_mid; break
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.
$ac_ext >&5
16025 ac_hi
=`expr '(' $ac_mid ')' - 1`
16026 if test $ac_mid -le $ac_hi; then
16030 ac_mid
=`expr 2 '*' $ac_mid`
16032 rm -f conftest.
$ac_objext conftest.
$ac_ext
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.
$ac_ext >&5
16040 rm -f conftest.
$ac_objext conftest.
$ac_ext
16042 rm -f conftest.
$ac_objext conftest.
$ac_ext
16043 # Binary search between lo and hi bounds.
16044 while test "x$ac_lo" != "x$ac_hi"; do
16045 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16046 cat >conftest.
$ac_ext <<_ACEOF
16047 #line $LINENO "configure"
16050 cat confdefs.h
>>conftest.
$ac_ext
16051 cat >>conftest.
$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16053 $ac_includes_default
16057 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16064 rm -f conftest.
$ac_objext
16065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16066 (eval $ac_compile) 2>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } &&
16070 { ac_try
='test -s conftest.$ac_objext'
16071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16072 (eval $ac_try) 2>&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); }; }; then
16078 echo "$as_me: failed program was:" >&5
16079 sed 's/^/| /' conftest.
$ac_ext >&5
16081 ac_lo
=`expr '(' $ac_mid ')' + 1`
16083 rm -f conftest.
$ac_objext conftest.
$ac_ext
16086 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16087 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16088 See \`config.log' for more details." >&5
16089 echo "$as_me: error: cannot compute sizeof (long long), 77
16090 See \`config.log' for more details." >&2;}
16091 { (exit 1); exit 1; }; } ;;
16094 if test "$cross_compiling" = yes; then
16095 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16096 See \`config.log' for more details." >&5
16097 echo "$as_me: error: cannot run test program while cross compiling
16098 See \`config.log' for more details." >&2;}
16099 { (exit 1); exit 1; }; }
16101 cat >conftest.
$ac_ext <<_ACEOF
16102 #line $LINENO "configure"
16105 cat confdefs.h
>>conftest.
$ac_ext
16106 cat >>conftest.
$ac_ext <<_ACEOF
16107 /* end confdefs.h. */
16108 $ac_includes_default
16109 long longval () { return (long) (sizeof (long long)); }
16110 unsigned long ulongval () { return (long) (sizeof (long long)); }
16112 #include <stdlib.h>
16117 FILE *f = fopen ("conftest.val", "w");
16120 if (((long) (sizeof (long long))) < 0)
16122 long i = longval ();
16123 if (i != ((long) (sizeof (long long))))
16125 fprintf (f, "%ld\n", i);
16129 unsigned long i = ulongval ();
16130 if (i != ((long) (sizeof (long long))))
16132 fprintf (f, "%lu\n", i);
16134 exit (ferror (f) || fclose (f) != 0);
16140 rm -f conftest
$ac_exeext
16141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16142 (eval $ac_link) 2>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16147 (eval $ac_try) 2>&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); }; }; then
16151 ac_cv_sizeof_long_long
=`cat conftest.val`
16153 echo "$as_me: program exited with status $ac_status" >&5
16154 echo "$as_me: failed program was:" >&5
16155 sed 's/^/| /' conftest.
$ac_ext >&5
16157 ( exit $ac_status )
16158 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16159 See \`config.log' for more details." >&5
16160 echo "$as_me: error: cannot compute sizeof (long long), 77
16161 See \`config.log' for more details." >&2;}
16162 { (exit 1); exit 1; }; }
16164 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16169 ac_cv_sizeof_long_long
=0
16172 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16173 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16174 cat >>confdefs.h
<<_ACEOF
16175 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16179 if test "$ac_cv_sizeof_long_long" != "0"; then
16180 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16184 echo "$as_me:$LINENO: checking for long long" >&5
16185 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16186 if test "${ac_cv_type_long_long+set}" = set; then
16187 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 cat >conftest.
$ac_ext <<_ACEOF
16190 #line $LINENO "configure"
16193 cat confdefs.h
>>conftest.
$ac_ext
16194 cat >>conftest.
$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16196 $ac_includes_default
16200 if ((long long *) 0)
16202 if (sizeof (long long))
16208 rm -f conftest.
$ac_objext
16209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16210 (eval $ac_compile) 2>&5
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); } &&
16214 { ac_try
='test -s conftest.$ac_objext'
16215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16216 (eval $ac_try) 2>&5
16218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16219 (exit $ac_status); }; }; then
16220 ac_cv_type_long_long
=yes
16222 echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.
$ac_ext >&5
16225 ac_cv_type_long_long
=no
16227 rm -f conftest.
$ac_objext conftest.
$ac_ext
16229 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16230 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16232 echo "$as_me:$LINENO: checking size of long long" >&5
16233 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16234 if test "${ac_cv_sizeof_long_long+set}" = set; then
16235 echo $ECHO_N "(cached) $ECHO_C" >&6
16237 if test "$ac_cv_type_long_long" = yes; then
16238 # The cast to unsigned long works around a bug in the HP C Compiler
16239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16241 # This bug is HP SR number 8606223364.
16242 if test "$cross_compiling" = yes; then
16243 # Depending upon the size, compute the lo and hi bounds.
16244 cat >conftest.
$ac_ext <<_ACEOF
16245 #line $LINENO "configure"
16248 cat confdefs.h
>>conftest.
$ac_ext
16249 cat >>conftest.
$ac_ext <<_ACEOF
16250 /* end confdefs.h. */
16251 $ac_includes_default
16255 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16262 rm -f conftest.
$ac_objext
16263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16264 (eval $ac_compile) 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); } &&
16268 { ac_try
='test -s conftest.$ac_objext'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; }; then
16276 cat >conftest.
$ac_ext <<_ACEOF
16277 #line $LINENO "configure"
16280 cat confdefs.h
>>conftest.
$ac_ext
16281 cat >>conftest.
$ac_ext <<_ACEOF
16282 /* end confdefs.h. */
16283 $ac_includes_default
16287 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16294 rm -f conftest.
$ac_objext
16295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16296 (eval $ac_compile) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } &&
16300 { ac_try
='test -s conftest.$ac_objext'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; }; then
16306 ac_hi
=$ac_mid; break
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.
$ac_ext >&5
16311 ac_lo
=`expr $ac_mid + 1`
16312 if test $ac_lo -le $ac_mid; then
16316 ac_mid
=`expr 2 '*' $ac_mid + 1`
16318 rm -f conftest.
$ac_objext conftest.
$ac_ext
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.
$ac_ext >&5
16324 cat >conftest.
$ac_ext <<_ACEOF
16325 #line $LINENO "configure"
16328 cat confdefs.h
>>conftest.
$ac_ext
16329 cat >>conftest.
$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16331 $ac_includes_default
16335 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16342 rm -f conftest.
$ac_objext
16343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16344 (eval $ac_compile) 2>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); } &&
16348 { ac_try
='test -s conftest.$ac_objext'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; }; then
16356 cat >conftest.
$ac_ext <<_ACEOF
16357 #line $LINENO "configure"
16360 cat confdefs.h
>>conftest.
$ac_ext
16361 cat >>conftest.
$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16363 $ac_includes_default
16367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16374 rm -f conftest.
$ac_objext
16375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16376 (eval $ac_compile) 2>&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); } &&
16380 { ac_try
='test -s conftest.$ac_objext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16386 ac_lo
=$ac_mid; break
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.
$ac_ext >&5
16391 ac_hi
=`expr '(' $ac_mid ')' - 1`
16392 if test $ac_mid -le $ac_hi; then
16396 ac_mid
=`expr 2 '*' $ac_mid`
16398 rm -f conftest.
$ac_objext conftest.
$ac_ext
16401 echo "$as_me: failed program was:" >&5
16402 sed 's/^/| /' conftest.
$ac_ext >&5
16406 rm -f conftest.
$ac_objext conftest.
$ac_ext
16408 rm -f conftest.
$ac_objext conftest.
$ac_ext
16409 # Binary search between lo and hi bounds.
16410 while test "x$ac_lo" != "x$ac_hi"; do
16411 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16412 cat >conftest.
$ac_ext <<_ACEOF
16413 #line $LINENO "configure"
16416 cat confdefs.h
>>conftest.
$ac_ext
16417 cat >>conftest.
$ac_ext <<_ACEOF
16418 /* end confdefs.h. */
16419 $ac_includes_default
16423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16430 rm -f conftest.
$ac_objext
16431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16432 (eval $ac_compile) 2>&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); } &&
16436 { ac_try
='test -s conftest.$ac_objext'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; }; then
16444 echo "$as_me: failed program was:" >&5
16445 sed 's/^/| /' conftest.
$ac_ext >&5
16447 ac_lo
=`expr '(' $ac_mid ')' + 1`
16449 rm -f conftest.
$ac_objext conftest.
$ac_ext
16452 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16453 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16454 See \`config.log' for more details." >&5
16455 echo "$as_me: error: cannot compute sizeof (long long), 77
16456 See \`config.log' for more details." >&2;}
16457 { (exit 1); exit 1; }; } ;;
16460 if test "$cross_compiling" = yes; then
16461 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16462 See \`config.log' for more details." >&5
16463 echo "$as_me: error: cannot run test program while cross compiling
16464 See \`config.log' for more details." >&2;}
16465 { (exit 1); exit 1; }; }
16467 cat >conftest.
$ac_ext <<_ACEOF
16468 #line $LINENO "configure"
16471 cat confdefs.h
>>conftest.
$ac_ext
16472 cat >>conftest.
$ac_ext <<_ACEOF
16473 /* end confdefs.h. */
16474 $ac_includes_default
16475 long longval () { return (long) (sizeof (long long)); }
16476 unsigned long ulongval () { return (long) (sizeof (long long)); }
16478 #include <stdlib.h>
16483 FILE *f = fopen ("conftest.val", "w");
16486 if (((long) (sizeof (long long))) < 0)
16488 long i = longval ();
16489 if (i != ((long) (sizeof (long long))))
16491 fprintf (f, "%ld\n", i);
16495 unsigned long i = ulongval ();
16496 if (i != ((long) (sizeof (long long))))
16498 fprintf (f, "%lu\n", i);
16500 exit (ferror (f) || fclose (f) != 0);
16506 rm -f conftest
$ac_exeext
16507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16508 (eval $ac_link) 2>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; }; then
16517 ac_cv_sizeof_long_long
=`cat conftest.val`
16519 echo "$as_me: program exited with status $ac_status" >&5
16520 echo "$as_me: failed program was:" >&5
16521 sed 's/^/| /' conftest.
$ac_ext >&5
16523 ( exit $ac_status )
16524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16525 See \`config.log' for more details." >&5
16526 echo "$as_me: error: cannot compute sizeof (long long), 77
16527 See \`config.log' for more details." >&2;}
16528 { (exit 1); exit 1; }; }
16530 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16535 ac_cv_sizeof_long_long
=0
16538 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16539 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16540 cat >>confdefs.h
<<_ACEOF
16541 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16547 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16548 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16549 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16553 if test "$cross_compiling" = yes; then
16557 wx_cv_sizeof_wchar_t
=0
16560 wx_cv_sizeof_wchar_t
=4
16566 cat >conftest.
$ac_ext <<_ACEOF
16567 #line $LINENO "configure"
16570 cat confdefs.h
>>conftest.
$ac_ext
16571 cat >>conftest.
$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16574 /* DJGPP only has fake wchar_t: */
16576 # error "fake wchar_t"
16578 #ifdef HAVE_WCHAR_H
16580 # include <stddef.h>
16582 # include <wchar.h>
16584 #ifdef HAVE_STDLIB_H
16585 # include <stdlib.h>
16590 FILE *f=fopen("conftestval", "w");
16592 fprintf(f, "%i", sizeof(wchar_t));
16597 rm -f conftest
$ac_exeext
16598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16599 (eval $ac_link) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16608 wx_cv_sizeof_wchar_t
=`cat conftestval`
16610 echo "$as_me: program exited with status $ac_status" >&5
16611 echo "$as_me: failed program was:" >&5
16612 sed 's/^/| /' conftest.
$ac_ext >&5
16614 ( exit $ac_status )
16615 wx_cv_sizeof_wchar_t
=0
16617 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16621 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16622 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16624 cat >>confdefs.h
<<_ACEOF
16625 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16629 # Check whether --enable-largefile or --disable-largefile was given.
16630 if test "${enable_largefile+set}" = set; then
16631 enableval
="$enable_largefile"
16634 if test "$enable_largefile" != no
; then
16637 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16638 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16639 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16643 cat >conftest.
$ac_ext <<_ACEOF
16644 #line $LINENO "configure"
16647 cat confdefs.h
>>conftest.
$ac_ext
16648 cat >>conftest.
$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650 #define _FILE_OFFSET_BITS 64
16651 #include <sys/types.h>
16656 unsigned int field: sizeof(off_t) == 8;
16663 rm -f conftest.
$ac_objext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16665 (eval $ac_compile) 2>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } &&
16669 { ac_try
='test -s conftest.$ac_objext'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; }; then
16675 ac_cv_sys_file_offset_bits
=64
16677 echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.
$ac_ext >&5
16680 ac_cv_sys_file_offset_bits
=no
16682 rm -f conftest.
$ac_objext conftest.
$ac_ext
16686 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16687 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16689 if test "$ac_cv_sys_file_offset_bits" != no
; then
16691 cat >>confdefs.h
<<_ACEOF
16692 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16697 if test "x$wx_largefile" != "xyes"; then
16699 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16700 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16701 if test "${ac_cv_sys_large_files+set}" = set; then
16702 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 cat >conftest.
$ac_ext <<_ACEOF
16706 #line $LINENO "configure"
16709 cat confdefs.h
>>conftest.
$ac_ext
16710 cat >>conftest.
$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712 #define _LARGE_FILES 1
16713 #include <sys/types.h>
16718 unsigned int field: sizeof(off_t) == 8;
16725 rm -f conftest.
$ac_objext
16726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16727 (eval $ac_compile) 2>&5
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); } &&
16731 { ac_try
='test -s conftest.$ac_objext'
16732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16733 (eval $ac_try) 2>&5
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); }; }; then
16737 ac_cv_sys_large_files
=1
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.
$ac_ext >&5
16742 ac_cv_sys_large_files
=no
16744 rm -f conftest.
$ac_objext conftest.
$ac_ext
16748 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16749 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16751 if test "$ac_cv_sys_large_files" != no
; then
16753 cat >>confdefs.h
<<_ACEOF
16754 #define _LARGE_FILES $ac_cv_sys_large_files
16761 echo "$as_me:$LINENO: checking if large file support is available" >&5
16762 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16763 if test "x$wx_largefile" = "xyes"; then
16764 cat >>confdefs.h
<<\_ACEOF
16765 #define HAVE_LARGEFILE_SUPPORT 1
16769 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16770 echo "${ECHO_T}$wx_largefile" >&6
16774 if test "x$wx_largefile" = "xyes"; then
16775 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16776 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16778 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16780 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16783 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16784 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16785 if test "${ac_cv_c_bigendian+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 ac_cv_c_bigendian
=unknown
16789 # See if sys/param.h defines the BYTE_ORDER macro.
16790 cat >conftest.
$ac_ext <<_ACEOF
16791 #line $LINENO "configure"
16794 cat confdefs.h
>>conftest.
$ac_ext
16795 cat >>conftest.
$ac_ext <<_ACEOF
16796 /* end confdefs.h. */
16797 #include <sys/types.h>
16798 #include <sys/param.h>
16803 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16804 bogus endian macros
16810 rm -f conftest.
$ac_objext
16811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16812 (eval $ac_compile) 2>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); } &&
16816 { ac_try
='test -s conftest.$ac_objext'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; }; then
16822 # It does; now see whether it defined to BIG_ENDIAN or not.
16823 cat >conftest.
$ac_ext <<_ACEOF
16824 #line $LINENO "configure"
16827 cat confdefs.h
>>conftest.
$ac_ext
16828 cat >>conftest.
$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 #include <sys/types.h>
16831 #include <sys/param.h>
16836 #if BYTE_ORDER != BIG_ENDIAN
16843 rm -f conftest.
$ac_objext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16845 (eval $ac_compile) 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } &&
16849 { ac_try
='test -s conftest.$ac_objext'
16850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16851 (eval $ac_try) 2>&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); }; }; then
16855 ac_cv_c_bigendian
=yes
16857 echo "$as_me: failed program was:" >&5
16858 sed 's/^/| /' conftest.
$ac_ext >&5
16860 ac_cv_c_bigendian
=no
16862 rm -f conftest.
$ac_objext conftest.
$ac_ext
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.
$ac_ext >&5
16868 rm -f conftest.
$ac_objext conftest.
$ac_ext
16869 if test $ac_cv_c_bigendian = unknown
; then
16870 if test "$cross_compiling" = yes; then
16871 ac_cv_c_bigendian
=unknown
16873 cat >conftest.
$ac_ext <<_ACEOF
16874 #line $LINENO "configure"
16877 cat confdefs.h
>>conftest.
$ac_ext
16878 cat >>conftest.
$ac_ext <<_ACEOF
16879 /* end confdefs.h. */
16881 /* Are we little or big endian? From Harbison&Steele. */
16885 char c[sizeof (long)];
16888 exit (u.c[sizeof (long) - 1] == 1);
16891 rm -f conftest
$ac_exeext
16892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16893 (eval $ac_link) 2>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16898 (eval $ac_try) 2>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); }; }; then
16902 ac_cv_c_bigendian
=no
16904 echo "$as_me: program exited with status $ac_status" >&5
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16908 ( exit $ac_status )
16909 ac_cv_c_bigendian
=yes
16911 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16915 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16916 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16917 if test $ac_cv_c_bigendian = unknown
; then
16918 { 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
16919 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;}
16921 if test $ac_cv_c_bigendian = yes; then
16922 cat >>confdefs.h
<<\_ACEOF
16923 #define WORDS_BIGENDIAN 1
16931 ac_cpp
='$CXXCPP $CPPFLAGS'
16932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16935 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16936 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16937 if test -z "$CXXCPP"; then
16938 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 # Double quotes because CXXCPP needs to be expanded
16942 for CXXCPP
in "$CXX -E" "/lib/cpp"
16944 ac_preproc_ok
=false
16945 for ac_cxx_preproc_warn_flag
in '' yes
16947 # Use a header file that comes with gcc, so configuring glibc
16948 # with a fresh cross-compiler works.
16949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16950 # <limits.h> exists even on freestanding compilers.
16951 # On the NeXT, cc -E runs the code through the compiler's parser,
16952 # not just through cpp. "Syntax error" is here to catch this case.
16953 cat >conftest.
$ac_ext <<_ACEOF
16954 #line $LINENO "configure"
16957 cat confdefs.h
>>conftest.
$ac_ext
16958 cat >>conftest.
$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16961 # include <limits.h>
16963 # include <assert.h>
16967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16968 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16970 grep -v '^ *+' conftest.er1
>conftest.err
16972 cat conftest.err
>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } >/dev
/null
; then
16975 if test -s conftest.err
; then
16976 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16983 if test -z "$ac_cpp_err"; then
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.
$ac_ext >&5
16989 # Broken: fails on valid input.
16992 rm -f conftest.err conftest.
$ac_ext
16994 # OK, works on sane cases. Now check whether non-existent headers
16995 # can be detected and how.
16996 cat >conftest.
$ac_ext <<_ACEOF
16997 #line $LINENO "configure"
17000 cat confdefs.h
>>conftest.
$ac_ext
17001 cat >>conftest.
$ac_ext <<_ACEOF
17002 /* end confdefs.h. */
17003 #include <ac_nonexistent.h>
17005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17008 grep -v '^ *+' conftest.er1
>conftest.err
17010 cat conftest.err
>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } >/dev
/null
; then
17013 if test -s conftest.err
; then
17014 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17021 if test -z "$ac_cpp_err"; then
17022 # Broken: success on invalid input.
17025 echo "$as_me: failed program was:" >&5
17026 sed 's/^/| /' conftest.
$ac_ext >&5
17028 # Passes both tests.
17032 rm -f conftest.err conftest.
$ac_ext
17035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17036 rm -f conftest.err conftest.
$ac_ext
17037 if $ac_preproc_ok; then
17042 ac_cv_prog_CXXCPP
=$CXXCPP
17045 CXXCPP
=$ac_cv_prog_CXXCPP
17047 ac_cv_prog_CXXCPP
=$CXXCPP
17049 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17050 echo "${ECHO_T}$CXXCPP" >&6
17051 ac_preproc_ok
=false
17052 for ac_cxx_preproc_warn_flag
in '' yes
17054 # Use a header file that comes with gcc, so configuring glibc
17055 # with a fresh cross-compiler works.
17056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17057 # <limits.h> exists even on freestanding compilers.
17058 # On the NeXT, cc -E runs the code through the compiler's parser,
17059 # not just through cpp. "Syntax error" is here to catch this case.
17060 cat >conftest.
$ac_ext <<_ACEOF
17061 #line $LINENO "configure"
17064 cat confdefs.h
>>conftest.
$ac_ext
17065 cat >>conftest.
$ac_ext <<_ACEOF
17066 /* end confdefs.h. */
17068 # include <limits.h>
17070 # include <assert.h>
17074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17075 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17077 grep -v '^ *+' conftest.er1
>conftest.err
17079 cat conftest.err
>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } >/dev
/null
; then
17082 if test -s conftest.err
; then
17083 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17090 if test -z "$ac_cpp_err"; then
17093 echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.
$ac_ext >&5
17096 # Broken: fails on valid input.
17099 rm -f conftest.err conftest.
$ac_ext
17101 # OK, works on sane cases. Now check whether non-existent headers
17102 # can be detected and how.
17103 cat >conftest.
$ac_ext <<_ACEOF
17104 #line $LINENO "configure"
17107 cat confdefs.h
>>conftest.
$ac_ext
17108 cat >>conftest.
$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 #include <ac_nonexistent.h>
17112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17113 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17115 grep -v '^ *+' conftest.er1
>conftest.err
17117 cat conftest.err
>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } >/dev
/null
; then
17120 if test -s conftest.err
; then
17121 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17128 if test -z "$ac_cpp_err"; then
17129 # Broken: success on invalid input.
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.
$ac_ext >&5
17135 # Passes both tests.
17139 rm -f conftest.err conftest.
$ac_ext
17142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17143 rm -f conftest.err conftest.
$ac_ext
17144 if $ac_preproc_ok; then
17147 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17148 See \`config.log' for more details." >&5
17149 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17150 See \`config.log' for more details." >&2;}
17151 { (exit 1); exit 1; }; }
17155 ac_cpp
='$CXXCPP $CPPFLAGS'
17156 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17157 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17158 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17162 if test "$cross_compiling" = "yes"; then
17163 cat >>confdefs.h
<<\_ACEOF
17164 #define wxUSE_IOSTREAMH 1
17171 ac_cpp
='$CXXCPP $CPPFLAGS'
17172 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17173 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17174 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17178 for ac_header
in iostream
17180 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17182 echo "$as_me:$LINENO: checking for $ac_header" >&5
17183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17190 # Is the header compilable?
17191 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17193 cat >conftest.
$ac_ext <<_ACEOF
17194 #line $LINENO "configure"
17197 cat confdefs.h
>>conftest.
$ac_ext
17198 cat >>conftest.
$ac_ext <<_ACEOF
17199 /* end confdefs.h. */
17200 $ac_includes_default
17201 #include <$ac_header>
17203 rm -f conftest.
$ac_objext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17205 (eval $ac_compile) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } &&
17209 { ac_try
='test -s conftest.$ac_objext'
17210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211 (eval $ac_try) 2>&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); }; }; then
17215 ac_header_compiler
=yes
17217 echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.
$ac_ext >&5
17220 ac_header_compiler
=no
17222 rm -f conftest.
$ac_objext conftest.
$ac_ext
17223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17224 echo "${ECHO_T}$ac_header_compiler" >&6
17226 # Is the header present?
17227 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17228 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17229 cat >conftest.
$ac_ext <<_ACEOF
17230 #line $LINENO "configure"
17233 cat confdefs.h
>>conftest.
$ac_ext
17234 cat >>conftest.
$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 #include <$ac_header>
17238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17239 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17241 grep -v '^ *+' conftest.er1
>conftest.err
17243 cat conftest.err
>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); } >/dev
/null
; then
17246 if test -s conftest.err
; then
17247 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17254 if test -z "$ac_cpp_err"; then
17255 ac_header_preproc
=yes
17257 echo "$as_me: failed program was:" >&5
17258 sed 's/^/| /' conftest.
$ac_ext >&5
17260 ac_header_preproc
=no
17262 rm -f conftest.err conftest.
$ac_ext
17263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17264 echo "${ECHO_T}$ac_header_preproc" >&6
17266 # So? What about this header?
17267 case $ac_header_compiler:$ac_header_preproc in
17269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17272 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17275 ## ------------------------------------ ##
17276 ## Report this to bug-autoconf@gnu.org. ##
17277 ## ------------------------------------ ##
17280 sed "s/^/$as_me: WARNING: /" >&2
17283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17291 ## ------------------------------------ ##
17292 ## Report this to bug-autoconf@gnu.org. ##
17293 ## ------------------------------------ ##
17296 sed "s/^/$as_me: WARNING: /" >&2
17299 echo "$as_me:$LINENO: checking for $ac_header" >&5
17300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17302 echo $ECHO_N "(cached) $ECHO_C" >&6
17304 eval "$as_ac_Header=$ac_header_preproc"
17306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17311 cat >>confdefs.h
<<_ACEOF
17312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17320 if test "$ac_cv_header_iostream" = "yes" ; then
17323 cat >>confdefs.h
<<\_ACEOF
17324 #define wxUSE_IOSTREAMH 1
17330 ac_cpp
='$CPP $CPPFLAGS'
17331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17339 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17340 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17341 if test "${wx_cv_cpp_bool+set}" = set; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17348 ac_cpp
='$CXXCPP $CPPFLAGS'
17349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17354 cat >conftest.
$ac_ext <<_ACEOF
17355 #line $LINENO "configure"
17358 cat confdefs.h
>>conftest.
$ac_ext
17359 cat >>conftest.
$ac_ext <<_ACEOF
17360 /* end confdefs.h. */
17375 rm -f conftest.
$ac_objext
17376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17377 (eval $ac_compile) 2>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } &&
17381 { ac_try
='test -s conftest.$ac_objext'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; }; then
17391 echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.
$ac_ext >&5
17399 rm -f conftest.
$ac_objext conftest.
$ac_ext
17402 ac_cpp
='$CPP $CPPFLAGS'
17403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17409 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17410 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17412 if test "$wx_cv_cpp_bool" = "yes"; then
17413 cat >>confdefs.h
<<\_ACEOF
17414 #define HAVE_BOOL 1
17421 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17422 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17423 if test "${wx_cv_explicit+set}" = set; then
17424 echo $ECHO_N "(cached) $ECHO_C" >&6
17430 ac_cpp
='$CXXCPP $CPPFLAGS'
17431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17436 cat >conftest.
$ac_ext <<_ACEOF
17437 #line $LINENO "configure"
17440 cat confdefs.h
>>conftest.
$ac_ext
17441 cat >>conftest.
$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17444 class Foo { public: explicit Foo(int) {} };
17456 rm -f conftest.
$ac_objext
17457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17458 (eval $ac_compile) 2>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } &&
17462 { ac_try
='test -s conftest.$ac_objext'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; }; then
17469 cat >conftest.
$ac_ext <<_ACEOF
17470 #line $LINENO "configure"
17473 cat confdefs.h
>>conftest.
$ac_ext
17474 cat >>conftest.
$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17477 class Foo { public: explicit Foo(int) {} };
17478 static void TakeFoo(const Foo& foo) { }
17491 rm -f conftest.
$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); } &&
17497 { ac_try
='test -s conftest.$ac_objext'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; }; then
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.
$ac_ext >&5
17511 rm -f conftest.
$ac_objext conftest.
$ac_ext
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.
$ac_ext >&5
17520 rm -f conftest.
$ac_objext conftest.
$ac_ext
17523 ac_cpp
='$CPP $CPPFLAGS'
17524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17530 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17531 echo "${ECHO_T}$wx_cv_explicit" >&6
17533 if test "$wx_cv_explicit" = "yes"; then
17534 cat >>confdefs.h
<<\_ACEOF
17535 #define HAVE_EXPLICIT 1
17541 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17542 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17543 if test "${ac_cv_cxx_const_cast+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 ac_cpp
='$CXXCPP $CPPFLAGS'
17550 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17551 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17552 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17554 cat >conftest.
$ac_ext <<_ACEOF
17555 #line $LINENO "configure"
17558 cat confdefs.h
>>conftest.
$ac_ext
17559 cat >>conftest.
$ac_ext <<_ACEOF
17560 /* end confdefs.h. */
17565 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17570 rm -f conftest.
$ac_objext
17571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17572 (eval $ac_compile) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } &&
17576 { ac_try
='test -s conftest.$ac_objext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17582 ac_cv_cxx_const_cast
=yes
17584 echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.
$ac_ext >&5
17587 ac_cv_cxx_const_cast
=no
17589 rm -f conftest.
$ac_objext conftest.
$ac_ext
17591 ac_cpp
='$CPP $CPPFLAGS'
17592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17598 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17599 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17600 if test "$ac_cv_cxx_const_cast" = yes; then
17602 cat >>confdefs.h
<<\_ACEOF
17603 #define HAVE_CONST_CAST
17611 /usr/local/include \
17613 /usr/Motif-1.2/include \
17614 /usr/Motif-2.1/include \
17616 /usr/include/Motif1.2 \
17617 /opt/xpm/include/X11 \
17618 /opt/GBxpm/include/ \
17619 /opt/GBxpm/X11/include/ \
17621 /usr/Motif1.2/include \
17623 /usr/openwin/include \
17627 /usr/X11R6/include \
17628 /usr/X11R6.4/include \
17629 /usr/X11R5/include \
17630 /usr/X11R4/include \
17632 /usr/include/X11R6 \
17633 /usr/include/X11R5 \
17634 /usr/include/X11R4 \
17636 /usr/local/X11R6/include \
17637 /usr/local/X11R5/include \
17638 /usr/local/X11R4/include \
17640 /usr/local/include/X11R6 \
17641 /usr/local/include/X11R5 \
17642 /usr/local/include/X11R4 \
17646 /usr/local/X11/include \
17647 /usr/local/include/X11 \
17649 /usr/X386/include \
17650 /usr/x386/include \
17651 /usr/XFree86/include/X11 \
17653 X:/XFree86/include \
17654 X:/XFree86/include/X11 \
17657 /usr/local/include/gtk \
17658 /usr/include/glib \
17659 /usr/local/include/glib \
17662 /usr/local/include/qt \
17664 /usr/include/windows \
17665 /usr/include/wine \
17666 /usr/local/include/wine \
17668 /usr/unsupported/include \
17669 /usr/athena/include \
17670 /usr/local/x11r5/include \
17671 /usr/lpp/Xamples/include \
17673 /usr/openwin/share/include"
17675 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17678 cat >confcache
<<\_ACEOF
17679 # This file is a shell script that caches the results of configure
17680 # tests run on this system so they can be shared between configure
17681 # scripts and configure runs, see configure's option --config-cache.
17682 # It is not useful on other systems. If it contains results you don't
17683 # want to keep, you may remove or edit it.
17685 # config.status only pays attention to the cache file if you give it
17686 # the --recheck option to rerun configure.
17688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17690 # following values.
17694 # The following way of writing the cache mishandles newlines in values,
17695 # but we know of no workaround that is simple, portable, and efficient.
17696 # So, don't put newlines in cache variables' values.
17697 # Ultrix sh set writes to stderr and can't be redirected directly,
17698 # and sets the high bit in the cache file unless we assign to the vars.
17701 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17703 # `set' does not quote correctly, so add quotes (double-quote
17704 # substitution turns \\\\ into \\, and sed turns \\ into \).
17707 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17710 # `set' quotes correctly as required by POSIX, so do not add quotes.
17712 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17719 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17721 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17723 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17724 if test -w $cache_file; then
17725 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17726 cat confcache
>$cache_file
17728 echo "not updating unwritable cache $cache_file"
17733 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17734 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17735 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17736 if test "${wx_cv_lib_glibc21+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 cat >conftest.
$ac_ext <<_ACEOF
17741 #line $LINENO "configure"
17744 cat confdefs.h
>>conftest.
$ac_ext
17745 cat >>conftest.
$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747 #include <features.h>
17752 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17753 #error not glibc2.1
17760 rm -f conftest.
$ac_objext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17762 (eval $ac_compile) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } &&
17766 { ac_try
='test -s conftest.$ac_objext'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; }; then
17773 wx_cv_lib_glibc21
=yes
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.
$ac_ext >&5
17780 wx_cv_lib_glibc21
=no
17784 rm -f conftest.
$ac_objext conftest.
$ac_ext
17787 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17788 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17789 if test "$wx_cv_lib_glibc21" = "yes"; then
17790 cat >>confdefs.h
<<\_ACEOF
17791 #define wxHAVE_GLIBC2 1
17797 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17798 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17799 cat >>confdefs.h
<<\_ACEOF
17800 #define _GNU_SOURCE 1
17809 if test "$wxUSE_REGEX" != "no"; then
17810 cat >>confdefs.h
<<\_ACEOF
17811 #define wxUSE_REGEX 1
17815 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17816 if test "${ac_cv_header_regex_h+set}" = set; then
17817 echo "$as_me:$LINENO: checking for regex.h" >&5
17818 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17819 if test "${ac_cv_header_regex_h+set}" = set; then
17820 echo $ECHO_N "(cached) $ECHO_C" >&6
17822 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17823 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17825 # Is the header compilable?
17826 echo "$as_me:$LINENO: checking regex.h usability" >&5
17827 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17828 cat >conftest.
$ac_ext <<_ACEOF
17829 #line $LINENO "configure"
17832 cat confdefs.h
>>conftest.
$ac_ext
17833 cat >>conftest.
$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 $ac_includes_default
17838 rm -f conftest.
$ac_objext
17839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17840 (eval $ac_compile) 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } &&
17844 { ac_try
='test -s conftest.$ac_objext'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17850 ac_header_compiler
=yes
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.
$ac_ext >&5
17855 ac_header_compiler
=no
17857 rm -f conftest.
$ac_objext conftest.
$ac_ext
17858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17859 echo "${ECHO_T}$ac_header_compiler" >&6
17861 # Is the header present?
17862 echo "$as_me:$LINENO: checking regex.h presence" >&5
17863 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17864 cat >conftest.
$ac_ext <<_ACEOF
17865 #line $LINENO "configure"
17868 cat confdefs.h
>>conftest.
$ac_ext
17869 cat >>conftest.
$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17874 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17876 grep -v '^ *+' conftest.er1
>conftest.err
17878 cat conftest.err
>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); } >/dev
/null
; then
17881 if test -s conftest.err
; then
17882 ac_cpp_err
=$ac_c_preproc_warn_flag
17889 if test -z "$ac_cpp_err"; then
17890 ac_header_preproc
=yes
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.
$ac_ext >&5
17895 ac_header_preproc
=no
17897 rm -f conftest.err conftest.
$ac_ext
17898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17899 echo "${ECHO_T}$ac_header_preproc" >&6
17901 # So? What about this header?
17902 case $ac_header_compiler:$ac_header_preproc in
17904 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17905 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17906 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17907 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17910 ## ------------------------------------ ##
17911 ## Report this to bug-autoconf@gnu.org. ##
17912 ## ------------------------------------ ##
17915 sed "s/^/$as_me: WARNING: /" >&2
17918 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17919 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17920 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17921 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17922 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17923 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17926 ## ------------------------------------ ##
17927 ## Report this to bug-autoconf@gnu.org. ##
17928 ## ------------------------------------ ##
17931 sed "s/^/$as_me: WARNING: /" >&2
17934 echo "$as_me:$LINENO: checking for regex.h" >&5
17935 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17936 if test "${ac_cv_header_regex_h+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17939 ac_cv_header_regex_h
=$ac_header_preproc
17941 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17942 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17945 if test $ac_cv_header_regex_h = yes; then
17947 for ac_func
in regcomp
17949 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17950 echo "$as_me:$LINENO: checking for $ac_func" >&5
17951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17952 if eval "test \"\${$as_ac_var+set}\" = set"; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17955 cat >conftest.
$ac_ext <<_ACEOF
17956 #line $LINENO "configure"
17959 cat confdefs.h
>>conftest.
$ac_ext
17960 cat >>conftest.
$ac_ext <<_ACEOF
17961 /* end confdefs.h. */
17962 /* System header to define __stub macros and hopefully few prototypes,
17963 which can conflict with char $ac_func (); below.
17964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17965 <limits.h> exists even on freestanding compilers. */
17967 # include <limits.h>
17969 # include <assert.h>
17971 /* Override any gcc2 internal prototype to avoid an error. */
17976 /* We use char because int might match the return type of a gcc2
17977 builtin and then its argument prototype would still apply. */
17979 /* The GNU C library defines this for functions which it implements
17980 to always fail with ENOSYS. Some functions are actually named
17981 something starting with __ and the normal name is an alias. */
17982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17985 char (*f) () = $ac_func;
17994 return f != $ac_func;
17999 rm -f conftest.
$ac_objext conftest
$ac_exeext
18000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18001 (eval $ac_link) 2>&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try
='test -s conftest$ac_exeext'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; }; then
18011 eval "$as_ac_var=yes"
18013 echo "$as_me: failed program was:" >&5
18014 sed 's/^/| /' conftest.
$ac_ext >&5
18016 eval "$as_ac_var=no"
18018 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18022 if test `eval echo '${'$as_ac_var'}'` = yes; then
18023 cat >>confdefs.h
<<_ACEOF
18024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18034 if test "x$ac_cv_func_regcomp" != "xyes"; then
18035 if test "$wxUSE_REGEX" = "sys" ; then
18036 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18037 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18038 { (exit 1); exit 1; }; }
18040 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18041 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18042 wxUSE_REGEX
=builtin
18049 if test "$wxUSE_REGEX" = "builtin" ; then
18050 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18057 if test "$wxUSE_ZLIB" != "no" ; then
18058 cat >>confdefs.h
<<\_ACEOF
18059 #define wxUSE_ZLIB 1
18063 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18064 if test "$USE_DARWIN" = 1; then
18065 system_zlib_h_ok
="yes"
18067 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18068 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18069 if test "${ac_cv_header_zlib_h+set}" = set; then
18070 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 if test "$cross_compiling" = yes; then
18073 unset ac_cv_header_zlib_h
18076 cat >conftest.
$ac_ext <<_ACEOF
18077 #line $LINENO "configure"
18080 cat confdefs.h
>>conftest.
$ac_ext
18081 cat >>conftest.
$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18089 FILE *f=fopen("conftestval", "w");
18092 ZLIB_VERSION[0] == '1' &&
18093 (ZLIB_VERSION[2] > '1' ||
18094 (ZLIB_VERSION[2] == '1' &&
18095 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18100 rm -f conftest
$ac_exeext
18101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18102 (eval $ac_link) 2>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; }; then
18111 ac_cv_header_zlib_h
=`cat conftestval`
18113 echo "$as_me: program exited with status $ac_status" >&5
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.
$ac_ext >&5
18117 ( exit $ac_status )
18118 ac_cv_header_zlib_h
=no
18120 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18124 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18125 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18126 if test "${ac_cv_header_zlib_h+set}" = set; then
18127 echo "$as_me:$LINENO: checking for zlib.h" >&5
18128 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18129 if test "${ac_cv_header_zlib_h+set}" = set; then
18130 echo $ECHO_N "(cached) $ECHO_C" >&6
18132 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18133 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18135 # Is the header compilable?
18136 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18137 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18138 cat >conftest.
$ac_ext <<_ACEOF
18139 #line $LINENO "configure"
18142 cat confdefs.h
>>conftest.
$ac_ext
18143 cat >>conftest.
$ac_ext <<_ACEOF
18144 /* end confdefs.h. */
18145 $ac_includes_default
18148 rm -f conftest.
$ac_objext
18149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18150 (eval $ac_compile) 2>&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); } &&
18154 { ac_try
='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_header_compiler
=yes
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.
$ac_ext >&5
18165 ac_header_compiler
=no
18167 rm -f conftest.
$ac_objext conftest.
$ac_ext
18168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18169 echo "${ECHO_T}$ac_header_compiler" >&6
18171 # Is the header present?
18172 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18173 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18174 cat >conftest.
$ac_ext <<_ACEOF
18175 #line $LINENO "configure"
18178 cat confdefs.h
>>conftest.
$ac_ext
18179 cat >>conftest.
$ac_ext <<_ACEOF
18180 /* end confdefs.h. */
18183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18184 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18186 grep -v '^ *+' conftest.er1
>conftest.err
18188 cat conftest.err
>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); } >/dev
/null
; then
18191 if test -s conftest.err
; then
18192 ac_cpp_err
=$ac_c_preproc_warn_flag
18199 if test -z "$ac_cpp_err"; then
18200 ac_header_preproc
=yes
18202 echo "$as_me: failed program was:" >&5
18203 sed 's/^/| /' conftest.
$ac_ext >&5
18205 ac_header_preproc
=no
18207 rm -f conftest.err conftest.
$ac_ext
18208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18209 echo "${ECHO_T}$ac_header_preproc" >&6
18211 # So? What about this header?
18212 case $ac_header_compiler:$ac_header_preproc in
18214 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18215 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18216 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18217 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18220 ## ------------------------------------ ##
18221 ## Report this to bug-autoconf@gnu.org. ##
18222 ## ------------------------------------ ##
18225 sed "s/^/$as_me: WARNING: /" >&2
18228 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18229 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18230 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18231 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18232 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18233 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18236 ## ------------------------------------ ##
18237 ## Report this to bug-autoconf@gnu.org. ##
18238 ## ------------------------------------ ##
18241 sed "s/^/$as_me: WARNING: /" >&2
18244 echo "$as_me:$LINENO: checking for zlib.h" >&5
18245 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18246 if test "${ac_cv_header_zlib_h+set}" = set; then
18247 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 ac_cv_header_zlib_h
=$ac_header_preproc
18251 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18252 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18258 system_zlib_h_ok
=$ac_cv_header_zlib_h
18261 if test "$system_zlib_h_ok" = "yes"; then
18262 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18263 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18264 if test "${ac_cv_lib_z_deflate+set}" = set; then
18265 echo $ECHO_N "(cached) $ECHO_C" >&6
18267 ac_check_lib_save_LIBS
=$LIBS
18269 cat >conftest.
$ac_ext <<_ACEOF
18270 #line $LINENO "configure"
18273 cat confdefs.h
>>conftest.
$ac_ext
18274 cat >>conftest.
$ac_ext <<_ACEOF
18275 /* end confdefs.h. */
18277 /* Override any gcc2 internal prototype to avoid an error. */
18281 /* We use char because int might match the return type of a gcc2
18282 builtin and then its argument prototype would still apply. */
18292 rm -f conftest.
$ac_objext conftest
$ac_exeext
18293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18294 (eval $ac_link) 2>&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); } &&
18298 { ac_try
='test -s conftest$ac_exeext'
18299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18300 (eval $ac_try) 2>&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); }; }; then
18304 ac_cv_lib_z_deflate
=yes
18306 echo "$as_me: failed program was:" >&5
18307 sed 's/^/| /' conftest.
$ac_ext >&5
18309 ac_cv_lib_z_deflate
=no
18311 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18312 LIBS
=$ac_check_lib_save_LIBS
18314 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18315 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18316 if test $ac_cv_lib_z_deflate = yes; then
18322 if test "x$ZLIB_LINK" = "x" ; then
18323 if test "$wxUSE_ZLIB" = "sys" ; then
18324 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18325 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18326 { (exit 1); exit 1; }; }
18328 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18329 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18337 if test "$wxUSE_ZLIB" = "builtin" ; then
18338 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18345 if test "$wxUSE_LIBPNG" != "no" ; then
18346 cat >>confdefs.h
<<\_ACEOF
18347 #define wxUSE_LIBPNG 1
18351 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18352 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18353 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18357 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18358 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18359 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18360 wxUSE_LIBPNG
=builtin
18363 if test "$wxUSE_MGL" != 1 ; then
18364 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18365 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18366 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18367 if test "${ac_cv_header_png_h+set}" = set; then
18368 echo $ECHO_N "(cached) $ECHO_C" >&6
18370 if test "$cross_compiling" = yes; then
18371 unset ac_cv_header_png_h
18374 cat >conftest.
$ac_ext <<_ACEOF
18375 #line $LINENO "configure"
18378 cat confdefs.h
>>conftest.
$ac_ext
18379 cat >>conftest.
$ac_ext <<_ACEOF
18380 /* end confdefs.h. */
18387 FILE *f=fopen("conftestval", "w");
18390 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18395 rm -f conftest
$ac_exeext
18396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18397 (eval $ac_link) 2>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18402 (eval $ac_try) 2>&5
18404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405 (exit $ac_status); }; }; then
18406 ac_cv_header_png_h
=`cat conftestval`
18408 echo "$as_me: program exited with status $ac_status" >&5
18409 echo "$as_me: failed program was:" >&5
18410 sed 's/^/| /' conftest.
$ac_ext >&5
18412 ( exit $ac_status )
18413 ac_cv_header_png_h
=no
18415 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18419 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18420 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18421 if test "${ac_cv_header_png_h+set}" = set; then
18422 echo "$as_me:$LINENO: checking for png.h" >&5
18423 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18424 if test "${ac_cv_header_png_h+set}" = set; then
18425 echo $ECHO_N "(cached) $ECHO_C" >&6
18427 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18428 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18430 # Is the header compilable?
18431 echo "$as_me:$LINENO: checking png.h usability" >&5
18432 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18433 cat >conftest.
$ac_ext <<_ACEOF
18434 #line $LINENO "configure"
18437 cat confdefs.h
>>conftest.
$ac_ext
18438 cat >>conftest.
$ac_ext <<_ACEOF
18439 /* end confdefs.h. */
18440 $ac_includes_default
18443 rm -f conftest.
$ac_objext
18444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18445 (eval $ac_compile) 2>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } &&
18449 { ac_try
='test -s conftest.$ac_objext'
18450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451 (eval $ac_try) 2>&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; }; then
18455 ac_header_compiler
=yes
18457 echo "$as_me: failed program was:" >&5
18458 sed 's/^/| /' conftest.
$ac_ext >&5
18460 ac_header_compiler
=no
18462 rm -f conftest.
$ac_objext conftest.
$ac_ext
18463 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18464 echo "${ECHO_T}$ac_header_compiler" >&6
18466 # Is the header present?
18467 echo "$as_me:$LINENO: checking png.h presence" >&5
18468 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18469 cat >conftest.
$ac_ext <<_ACEOF
18470 #line $LINENO "configure"
18473 cat confdefs.h
>>conftest.
$ac_ext
18474 cat >>conftest.
$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18479 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18481 grep -v '^ *+' conftest.er1
>conftest.err
18483 cat conftest.err
>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } >/dev
/null
; then
18486 if test -s conftest.err
; then
18487 ac_cpp_err
=$ac_c_preproc_warn_flag
18494 if test -z "$ac_cpp_err"; then
18495 ac_header_preproc
=yes
18497 echo "$as_me: failed program was:" >&5
18498 sed 's/^/| /' conftest.
$ac_ext >&5
18500 ac_header_preproc
=no
18502 rm -f conftest.err conftest.
$ac_ext
18503 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18504 echo "${ECHO_T}$ac_header_preproc" >&6
18506 # So? What about this header?
18507 case $ac_header_compiler:$ac_header_preproc in
18509 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18510 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18511 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18512 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18515 ## ------------------------------------ ##
18516 ## Report this to bug-autoconf@gnu.org. ##
18517 ## ------------------------------------ ##
18520 sed "s/^/$as_me: WARNING: /" >&2
18523 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18524 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18525 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18526 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18527 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18528 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18531 ## ------------------------------------ ##
18532 ## Report this to bug-autoconf@gnu.org. ##
18533 ## ------------------------------------ ##
18536 sed "s/^/$as_me: WARNING: /" >&2
18539 echo "$as_me:$LINENO: checking for png.h" >&5
18540 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18541 if test "${ac_cv_header_png_h+set}" = set; then
18542 echo $ECHO_N "(cached) $ECHO_C" >&6
18544 ac_cv_header_png_h
=$ac_header_preproc
18546 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18547 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18553 if test "$ac_cv_header_png_h" = "yes"; then
18554 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18555 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18556 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18557 echo $ECHO_N "(cached) $ECHO_C" >&6
18559 ac_check_lib_save_LIBS
=$LIBS
18560 LIBS
="-lpng -lz -lm $LIBS"
18561 cat >conftest.
$ac_ext <<_ACEOF
18562 #line $LINENO "configure"
18565 cat confdefs.h
>>conftest.
$ac_ext
18566 cat >>conftest.
$ac_ext <<_ACEOF
18567 /* end confdefs.h. */
18569 /* Override any gcc2 internal prototype to avoid an error. */
18573 /* We use char because int might match the return type of a gcc2
18574 builtin and then its argument prototype would still apply. */
18575 char png_check_sig ();
18584 rm -f conftest.
$ac_objext conftest
$ac_exeext
18585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18586 (eval $ac_link) 2>&5
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); } &&
18590 { ac_try
='test -s conftest$ac_exeext'
18591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18592 (eval $ac_try) 2>&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); }; }; then
18596 ac_cv_lib_png_png_check_sig
=yes
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.
$ac_ext >&5
18601 ac_cv_lib_png_png_check_sig
=no
18603 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18604 LIBS
=$ac_check_lib_save_LIBS
18606 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18607 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18608 if test $ac_cv_lib_png_png_check_sig = yes; then
18614 if test "x$PNG_LINK" = "x" ; then
18615 if test "$wxUSE_LIBPNG" = "sys" ; then
18616 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18617 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18618 { (exit 1); exit 1; }; }
18620 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18621 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18622 wxUSE_LIBPNG
=builtin
18630 if test "$wxUSE_LIBPNG" = "builtin" ; then
18631 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18640 if test "$wxUSE_LIBJPEG" != "no" ; then
18641 cat >>confdefs.h
<<\_ACEOF
18642 #define wxUSE_LIBJPEG 1
18646 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18647 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18648 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18652 if test "$wxUSE_MGL" != 1 ; then
18653 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18654 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18655 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18656 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18657 echo $ECHO_N "(cached) $ECHO_C" >&6
18659 cat >conftest.
$ac_ext <<_ACEOF
18660 #line $LINENO "configure"
18663 cat confdefs.h
>>conftest.
$ac_ext
18664 cat >>conftest.
$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18667 #undef HAVE_STDLIB_H
18669 #include <jpeglib.h>
18680 rm -f conftest.
$ac_objext
18681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18682 (eval $ac_compile) 2>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } &&
18686 { ac_try
='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18692 ac_cv_header_jpeglib_h
=yes
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.
$ac_ext >&5
18697 ac_cv_header_jpeglib_h
=no
18700 rm -f conftest.
$ac_objext conftest.
$ac_ext
18704 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18705 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18707 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18708 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18709 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18710 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 ac_check_lib_save_LIBS
=$LIBS
18714 LIBS
="-ljpeg $LIBS"
18715 cat >conftest.
$ac_ext <<_ACEOF
18716 #line $LINENO "configure"
18719 cat confdefs.h
>>conftest.
$ac_ext
18720 cat >>conftest.
$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18723 /* Override any gcc2 internal prototype to avoid an error. */
18727 /* We use char because int might match the return type of a gcc2
18728 builtin and then its argument prototype would still apply. */
18729 char jpeg_read_header ();
18733 jpeg_read_header ();
18738 rm -f conftest.
$ac_objext conftest
$ac_exeext
18739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18740 (eval $ac_link) 2>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); } &&
18744 { ac_try
='test -s conftest$ac_exeext'
18745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18746 (eval $ac_try) 2>&5
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); }; }; then
18750 ac_cv_lib_jpeg_jpeg_read_header
=yes
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.
$ac_ext >&5
18755 ac_cv_lib_jpeg_jpeg_read_header
=no
18757 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18758 LIBS
=$ac_check_lib_save_LIBS
18760 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18761 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18762 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18763 JPEG_LINK
=" -ljpeg"
18768 if test "x$JPEG_LINK" = "x" ; then
18769 if test "$wxUSE_LIBJPEG" = "sys" ; then
18770 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18771 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18772 { (exit 1); exit 1; }; }
18774 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18775 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18776 wxUSE_LIBJPEG
=builtin
18784 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18785 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18792 TIFF_PREREQ_LINKS
=-lm
18793 if test "$wxUSE_LIBTIFF" != "no" ; then
18794 cat >>confdefs.h
<<\_ACEOF
18795 #define wxUSE_LIBTIFF 1
18799 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18800 if test "$wxUSE_LIBJPEG" = "sys"; then
18801 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18803 if test "$wxUSE_ZLIB" = "sys"; then
18804 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18806 if test "${ac_cv_header_tiffio_h+set}" = set; then
18807 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18808 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18809 if test "${ac_cv_header_tiffio_h+set}" = set; then
18810 echo $ECHO_N "(cached) $ECHO_C" >&6
18812 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18813 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18815 # Is the header compilable?
18816 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18817 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18818 cat >conftest.
$ac_ext <<_ACEOF
18819 #line $LINENO "configure"
18822 cat confdefs.h
>>conftest.
$ac_ext
18823 cat >>conftest.
$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 $ac_includes_default
18826 #include <tiffio.h>
18828 rm -f conftest.
$ac_objext
18829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18830 (eval $ac_compile) 2>&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); } &&
18834 { ac_try
='test -s conftest.$ac_objext'
18835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836 (eval $ac_try) 2>&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; }; then
18840 ac_header_compiler
=yes
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.
$ac_ext >&5
18845 ac_header_compiler
=no
18847 rm -f conftest.
$ac_objext conftest.
$ac_ext
18848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18849 echo "${ECHO_T}$ac_header_compiler" >&6
18851 # Is the header present?
18852 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18853 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18854 cat >conftest.
$ac_ext <<_ACEOF
18855 #line $LINENO "configure"
18858 cat confdefs.h
>>conftest.
$ac_ext
18859 cat >>conftest.
$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 #include <tiffio.h>
18863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18864 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18866 grep -v '^ *+' conftest.er1
>conftest.err
18868 cat conftest.err
>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } >/dev
/null
; then
18871 if test -s conftest.err
; then
18872 ac_cpp_err
=$ac_c_preproc_warn_flag
18879 if test -z "$ac_cpp_err"; then
18880 ac_header_preproc
=yes
18882 echo "$as_me: failed program was:" >&5
18883 sed 's/^/| /' conftest.
$ac_ext >&5
18885 ac_header_preproc
=no
18887 rm -f conftest.err conftest.
$ac_ext
18888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18889 echo "${ECHO_T}$ac_header_preproc" >&6
18891 # So? What about this header?
18892 case $ac_header_compiler:$ac_header_preproc in
18894 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18895 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18896 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18897 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18900 ## ------------------------------------ ##
18901 ## Report this to bug-autoconf@gnu.org. ##
18902 ## ------------------------------------ ##
18905 sed "s/^/$as_me: WARNING: /" >&2
18908 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18909 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18910 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18911 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18912 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18913 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18916 ## ------------------------------------ ##
18917 ## Report this to bug-autoconf@gnu.org. ##
18918 ## ------------------------------------ ##
18921 sed "s/^/$as_me: WARNING: /" >&2
18924 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18925 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18926 if test "${ac_cv_header_tiffio_h+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 ac_cv_header_tiffio_h
=$ac_header_preproc
18931 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18932 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18935 if test $ac_cv_header_tiffio_h = yes; then
18936 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18937 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18938 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18939 echo $ECHO_N "(cached) $ECHO_C" >&6
18941 ac_check_lib_save_LIBS
=$LIBS
18942 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18943 cat >conftest.
$ac_ext <<_ACEOF
18944 #line $LINENO "configure"
18947 cat confdefs.h
>>conftest.
$ac_ext
18948 cat >>conftest.
$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18951 /* Override any gcc2 internal prototype to avoid an error. */
18955 /* We use char because int might match the return type of a gcc2
18956 builtin and then its argument prototype would still apply. */
18966 rm -f conftest.
$ac_objext conftest
$ac_exeext
18967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18968 (eval $ac_link) 2>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } &&
18972 { ac_try
='test -s conftest$ac_exeext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_lib_tiff_TIFFError
=yes
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.
$ac_ext >&5
18983 ac_cv_lib_tiff_TIFFError
=no
18985 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18986 LIBS
=$ac_check_lib_save_LIBS
18988 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18989 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18990 if test $ac_cv_lib_tiff_TIFFError = yes; then
18991 TIFF_LINK
=" -ltiff"
18999 if test "x$TIFF_LINK" = "x" ; then
19000 if test "$wxUSE_LIBTIFF" = "sys" ; then
19001 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19002 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19003 { (exit 1); exit 1; }; }
19005 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19006 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19007 wxUSE_LIBTIFF
=builtin
19014 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19015 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19027 if test "$USE_WIN32" = 1 ; then
19029 for ac_header
in w32api.h
19031 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19033 echo "$as_me:$LINENO: checking for $ac_header" >&5
19034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19036 echo $ECHO_N "(cached) $ECHO_C" >&6
19038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19041 # Is the header compilable?
19042 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19044 cat >conftest.
$ac_ext <<_ACEOF
19045 #line $LINENO "configure"
19048 cat confdefs.h
>>conftest.
$ac_ext
19049 cat >>conftest.
$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051 $ac_includes_default
19052 #include <$ac_header>
19054 rm -f conftest.
$ac_objext
19055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19056 (eval $ac_compile) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } &&
19060 { ac_try
='test -s conftest.$ac_objext'
19061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19062 (eval $ac_try) 2>&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; }; then
19066 ac_header_compiler
=yes
19068 echo "$as_me: failed program was:" >&5
19069 sed 's/^/| /' conftest.
$ac_ext >&5
19071 ac_header_compiler
=no
19073 rm -f conftest.
$ac_objext conftest.
$ac_ext
19074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19075 echo "${ECHO_T}$ac_header_compiler" >&6
19077 # Is the header present?
19078 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19080 cat >conftest.
$ac_ext <<_ACEOF
19081 #line $LINENO "configure"
19084 cat confdefs.h
>>conftest.
$ac_ext
19085 cat >>conftest.
$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 #include <$ac_header>
19089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19092 grep -v '^ *+' conftest.er1
>conftest.err
19094 cat conftest.err
>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } >/dev
/null
; then
19097 if test -s conftest.err
; then
19098 ac_cpp_err
=$ac_c_preproc_warn_flag
19105 if test -z "$ac_cpp_err"; then
19106 ac_header_preproc
=yes
19108 echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.
$ac_ext >&5
19111 ac_header_preproc
=no
19113 rm -f conftest.err conftest.
$ac_ext
19114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19115 echo "${ECHO_T}$ac_header_preproc" >&6
19117 # So? What about this header?
19118 case $ac_header_compiler:$ac_header_preproc in
19120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19121 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19126 ## ------------------------------------ ##
19127 ## Report this to bug-autoconf@gnu.org. ##
19128 ## ------------------------------------ ##
19131 sed "s/^/$as_me: WARNING: /" >&2
19134 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19135 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19136 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19137 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19142 ## ------------------------------------ ##
19143 ## Report this to bug-autoconf@gnu.org. ##
19144 ## ------------------------------------ ##
19147 sed "s/^/$as_me: WARNING: /" >&2
19150 echo "$as_me:$LINENO: checking for $ac_header" >&5
19151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 eval "$as_ac_Header=$ac_header_preproc"
19157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19162 cat >>confdefs.h
<<_ACEOF
19163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19170 if test "${ac_cv_header_windows_h+set}" = set; then
19171 echo "$as_me:$LINENO: checking for windows.h" >&5
19172 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19173 if test "${ac_cv_header_windows_h+set}" = set; then
19174 echo $ECHO_N "(cached) $ECHO_C" >&6
19176 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19177 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19179 # Is the header compilable?
19180 echo "$as_me:$LINENO: checking windows.h usability" >&5
19181 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19182 cat >conftest.
$ac_ext <<_ACEOF
19183 #line $LINENO "configure"
19186 cat confdefs.h
>>conftest.
$ac_ext
19187 cat >>conftest.
$ac_ext <<_ACEOF
19188 /* end confdefs.h. */
19189 $ac_includes_default
19190 #include <windows.h>
19192 rm -f conftest.
$ac_objext
19193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19194 (eval $ac_compile) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } &&
19198 { ac_try
='test -s conftest.$ac_objext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19204 ac_header_compiler
=yes
19206 echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.
$ac_ext >&5
19209 ac_header_compiler
=no
19211 rm -f conftest.
$ac_objext conftest.
$ac_ext
19212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19213 echo "${ECHO_T}$ac_header_compiler" >&6
19215 # Is the header present?
19216 echo "$as_me:$LINENO: checking windows.h presence" >&5
19217 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19218 cat >conftest.
$ac_ext <<_ACEOF
19219 #line $LINENO "configure"
19222 cat confdefs.h
>>conftest.
$ac_ext
19223 cat >>conftest.
$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 #include <windows.h>
19227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19228 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19230 grep -v '^ *+' conftest.er1
>conftest.err
19232 cat conftest.err
>&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } >/dev
/null
; then
19235 if test -s conftest.err
; then
19236 ac_cpp_err
=$ac_c_preproc_warn_flag
19243 if test -z "$ac_cpp_err"; then
19244 ac_header_preproc
=yes
19246 echo "$as_me: failed program was:" >&5
19247 sed 's/^/| /' conftest.
$ac_ext >&5
19249 ac_header_preproc
=no
19251 rm -f conftest.err conftest.
$ac_ext
19252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19253 echo "${ECHO_T}$ac_header_preproc" >&6
19255 # So? What about this header?
19256 case $ac_header_compiler:$ac_header_preproc in
19258 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19259 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19260 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19261 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19264 ## ------------------------------------ ##
19265 ## Report this to bug-autoconf@gnu.org. ##
19266 ## ------------------------------------ ##
19269 sed "s/^/$as_me: WARNING: /" >&2
19272 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19273 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19274 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19275 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19276 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19277 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19280 ## ------------------------------------ ##
19281 ## Report this to bug-autoconf@gnu.org. ##
19282 ## ------------------------------------ ##
19285 sed "s/^/$as_me: WARNING: /" >&2
19288 echo "$as_me:$LINENO: checking for windows.h" >&5
19289 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19290 if test "${ac_cv_header_windows_h+set}" = set; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19293 ac_cv_header_windows_h
=$ac_header_preproc
19295 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19296 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19299 if test $ac_cv_header_windows_h = yes; then
19303 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19304 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19305 { (exit 1); exit 1; }; }
19311 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19312 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19313 if test "${wx_cv_w32api_win32_ie+set}" = set; then
19314 echo $ECHO_N "(cached) $ECHO_C" >&6
19317 cat >conftest.
$ac_ext <<_ACEOF
19318 #line $LINENO "configure"
19321 cat confdefs.h
>>conftest.
$ac_ext
19322 cat >>conftest.
$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19324 #include <w32api.h>
19329 #define wxCHECK_W32API_VERSION( major, minor ) \
19330 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19331 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19332 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19334 #if !wxCHECK_W32API_VERSION(1,1)
19335 #error You need w32api 1.1 or newer
19342 rm -f conftest.
$ac_objext
19343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19344 (eval $ac_compile) 2>&5
19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347 (exit $ac_status); } &&
19348 { ac_try
='test -s conftest.$ac_objext'
19349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19350 (eval $ac_try) 2>&5
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); }; }; then
19355 wx_cv_w32api_win32_ie
=yes
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.
$ac_ext >&5
19362 wx_cv_w32api_win32_ie
=no
19365 rm -f conftest.
$ac_objext conftest.
$ac_ext
19368 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19369 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19370 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19371 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
19374 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19376 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19377 LIBS
="$LIBS -loleacc"
19382 LIBS
="$LIBS -lkernel32 -luser32 -lcomdlg32"
19383 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19386 if test "$wxUSE_ODBC" = "sys" ; then
19389 if test "$wxUSE_ODBC" = "yes" ; then
19390 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19391 cat >>confdefs.h
<<\_ACEOF
19392 #define wxUSE_ODBC 1
19397 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19398 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19400 WIN32INSTALL
=win32install
19403 if test "$USE_DARWIN" = 1; then
19404 if test "$wxUSE_PRECOMP" = "yes"; then
19405 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
19407 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
19411 if test "$wxUSE_GUI" = "yes"; then
19420 if test "$wxUSE_MSW" = 1 ; then
19425 if test "$wxUSE_GTK" = 1; then
19426 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19427 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19429 gtk_version_cached
=1
19430 if test "${wx_cv_lib_gtk+set}" = set; then
19431 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 gtk_version_cached
=0
19435 echo "$as_me:$LINENO: result: " >&5
19436 echo "${ECHO_T}" >&6
19439 if test "$wxUSE_THREADS" = "yes"; then
19440 GTK_MODULES
=gthread
19444 if test "x$wxUSE_GTK2" = "xyes"; then
19445 # Check whether --enable-gtktest or --disable-gtktest was given.
19446 if test "${enable_gtktest+set}" = set; then
19447 enableval
="$enable_gtktest"
19453 pkg_config_args
=gtk
+-2.0
19454 for module
in .
$GTK_MODULES
19458 pkg_config_args
="$pkg_config_args gthread-2.0"
19465 # Extract the first word of "pkg-config", so it can be a program name with args.
19466 set dummy pkg
-config; ac_word
=$2
19467 echo "$as_me:$LINENO: checking for $ac_word" >&5
19468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19469 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 case $PKG_CONFIG in
19474 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19478 for as_dir
in $PATH
19481 test -z "$as_dir" && as_dir
=.
19482 for ac_exec_ext
in '' $ac_executable_extensions; do
19483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19484 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19491 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19495 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19497 if test -n "$PKG_CONFIG"; then
19498 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19499 echo "${ECHO_T}$PKG_CONFIG" >&6
19501 echo "$as_me:$LINENO: result: no" >&5
19502 echo "${ECHO_T}no" >&6
19506 if test x
$PKG_CONFIG != xno
; then
19507 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19510 echo *** pkg
-config too old
; version
0.7 or better required.
19518 min_gtk_version
=2.0.0
19519 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19520 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19522 if test x
$PKG_CONFIG != xno
; then
19523 ## don't try to run the test against uninstalled libtool libs
19524 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19525 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19529 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19536 if test x
"$no_gtk" = x
; then
19537 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19538 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19539 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19540 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19541 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19542 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19543 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19545 if test "x$enable_gtktest" = "xyes" ; then
19546 ac_save_CFLAGS
="$CFLAGS"
19547 ac_save_LIBS
="$LIBS"
19548 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19549 LIBS
="$GTK_LIBS $LIBS"
19551 if test "$cross_compiling" = yes; then
19552 echo $ac_n "cross compiling; assumed OK... $ac_c"
19554 cat >conftest.
$ac_ext <<_ACEOF
19555 #line $LINENO "configure"
19558 cat confdefs.h
>>conftest.
$ac_ext
19559 cat >>conftest.
$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19562 #include <gtk/gtk.h>
19564 #include <stdlib.h>
19569 int major, minor, micro;
19572 system ("touch conf.gtktest");
19574 /* HP/UX 9 (%@#!) writes to sscanf strings */
19575 tmp_version = g_strdup("$min_gtk_version");
19576 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19577 printf("%s, bad version string\n", "$min_gtk_version");
19581 if ((gtk_major_version != $gtk_config_major_version) ||
19582 (gtk_minor_version != $gtk_config_minor_version) ||
19583 (gtk_micro_version != $gtk_config_micro_version))
19585 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19586 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19587 gtk_major_version, gtk_minor_version, gtk_micro_version);
19588 printf ("*** was found! If pkg-config was correct, then it is best\n");
19589 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19590 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19591 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19592 printf("*** required on your system.\n");
19593 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19594 printf("*** to point to the correct configuration files\n");
19596 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19597 (gtk_minor_version != GTK_MINOR_VERSION) ||
19598 (gtk_micro_version != GTK_MICRO_VERSION))
19600 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19601 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19602 printf("*** library (version %d.%d.%d)\n",
19603 gtk_major_version, gtk_minor_version, gtk_micro_version);
19607 if ((gtk_major_version > major) ||
19608 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19609 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19615 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19616 gtk_major_version, gtk_minor_version, gtk_micro_version);
19617 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19618 major, minor, micro);
19619 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19621 printf("*** If you have already installed a sufficiently new version, this error\n");
19622 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19623 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19624 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19625 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19626 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19627 printf("*** so that the correct libraries are found at run-time))\n");
19634 rm -f conftest
$ac_exeext
19635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19636 (eval $ac_link) 2>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641 (eval $ac_try) 2>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; }; then
19647 echo "$as_me: program exited with status $ac_status" >&5
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.
$ac_ext >&5
19651 ( exit $ac_status )
19654 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19656 CFLAGS
="$ac_save_CFLAGS"
19657 LIBS
="$ac_save_LIBS"
19660 if test "x$no_gtk" = x
; then
19661 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19662 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19665 echo "$as_me:$LINENO: result: no" >&5
19666 echo "${ECHO_T}no" >&6
19667 if test "$PKG_CONFIG" = "no" ; then
19668 echo "*** A new enough version of pkg-config was not found."
19669 echo "*** See http://pkgconfig.sourceforge.net"
19671 if test -f conf.gtktest
; then
19674 echo "*** Could not run GTK+ test program, checking why..."
19675 ac_save_CFLAGS
="$CFLAGS"
19676 ac_save_LIBS
="$LIBS"
19677 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19678 LIBS
="$LIBS $GTK_LIBS"
19679 cat >conftest.
$ac_ext <<_ACEOF
19680 #line $LINENO "configure"
19683 cat confdefs.h
>>conftest.
$ac_ext
19684 cat >>conftest.
$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19687 #include <gtk/gtk.h>
19693 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19698 rm -f conftest.
$ac_objext conftest
$ac_exeext
19699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19700 (eval $ac_link) 2>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } &&
19704 { ac_try
='test -s conftest$ac_exeext'
19705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19706 (eval $ac_try) 2>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); }; }; then
19710 echo "*** The test program compiled, but did not run. This usually means"
19711 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19712 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19713 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19714 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19715 echo "*** is required on your system"
19717 echo "*** If you have an old version installed, it is best to remove it, although"
19718 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.
$ac_ext >&5
19723 echo "*** The test program failed to compile or link. See the file config.log for the"
19724 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19726 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19727 CFLAGS
="$ac_save_CFLAGS"
19728 LIBS
="$ac_save_LIBS"
19741 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19742 if test "${with_gtk_prefix+set}" = set; then
19743 withval
="$with_gtk_prefix"
19744 gtk_config_prefix
="$withval"
19746 gtk_config_prefix
=""
19749 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19750 if test "${with_gtk_exec_prefix+set}" = set; then
19751 withval
="$with_gtk_exec_prefix"
19752 gtk_config_exec_prefix
="$withval"
19754 gtk_config_exec_prefix
=""
19756 # Check whether --enable-gtktest or --disable-gtktest was given.
19757 if test "${enable_gtktest+set}" = set; then
19758 enableval
="$enable_gtktest"
19764 for module
in .
$GTK_MODULES
19768 gtk_config_args
="$gtk_config_args gthread"
19773 if test x
$gtk_config_exec_prefix != x
; then
19774 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19775 if test x
${GTK_CONFIG+set} != xset
; then
19776 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
19779 if test x
$gtk_config_prefix != x
; then
19780 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
19781 if test x
${GTK_CONFIG+set} != xset
; then
19782 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
19786 # Extract the first word of "gtk-config", so it can be a program name with args.
19787 set dummy gtk
-config; ac_word
=$2
19788 echo "$as_me:$LINENO: checking for $ac_word" >&5
19789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19790 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19791 echo $ECHO_N "(cached) $ECHO_C" >&6
19793 case $GTK_CONFIG in
19795 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
19798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19799 for as_dir
in $PATH
19802 test -z "$as_dir" && as_dir
=.
19803 for ac_exec_ext
in '' $ac_executable_extensions; do
19804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19805 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19812 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
19816 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
19818 if test -n "$GTK_CONFIG"; then
19819 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19820 echo "${ECHO_T}$GTK_CONFIG" >&6
19822 echo "$as_me:$LINENO: result: no" >&5
19823 echo "${ECHO_T}no" >&6
19826 min_gtk_version
=1.2.7
19827 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19828 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19830 if test "$GTK_CONFIG" = "no" ; then
19833 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
19834 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
19835 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
19836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19837 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
19838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19839 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
19840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19841 if test "x$enable_gtktest" = "xyes" ; then
19842 ac_save_CFLAGS
="$CFLAGS"
19843 ac_save_LIBS
="$LIBS"
19844 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19845 LIBS
="$GTK_LIBS $LIBS"
19847 if test "$cross_compiling" = yes; then
19848 echo $ac_n "cross compiling; assumed OK... $ac_c"
19850 cat >conftest.
$ac_ext <<_ACEOF
19851 #line $LINENO "configure"
19854 cat confdefs.h
>>conftest.
$ac_ext
19855 cat >>conftest.
$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19858 #include <gtk/gtk.h>
19860 #include <stdlib.h>
19865 int major, minor, micro;
19868 system ("touch conf.gtktest");
19870 /* HP/UX 9 (%@#!) writes to sscanf strings */
19871 tmp_version = g_strdup("$min_gtk_version");
19872 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19873 printf("%s, bad version string\n", "$min_gtk_version");
19877 if ((gtk_major_version != $gtk_config_major_version) ||
19878 (gtk_minor_version != $gtk_config_minor_version) ||
19879 (gtk_micro_version != $gtk_config_micro_version))
19881 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19882 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19883 gtk_major_version, gtk_minor_version, gtk_micro_version);
19884 printf ("*** was found! If gtk-config was correct, then it is best\n");
19885 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19886 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19887 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19888 printf("*** required on your system.\n");
19889 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19890 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19891 printf("*** before re-running configure\n");
19893 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19894 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19895 (gtk_minor_version != GTK_MINOR_VERSION) ||
19896 (gtk_micro_version != GTK_MICRO_VERSION))
19898 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19899 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19900 printf("*** library (version %d.%d.%d)\n",
19901 gtk_major_version, gtk_minor_version, gtk_micro_version);
19903 #endif /* defined (GTK_MAJOR_VERSION) ... */
19906 if ((gtk_major_version > major) ||
19907 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19908 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19914 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19915 gtk_major_version, gtk_minor_version, gtk_micro_version);
19916 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19917 major, minor, micro);
19918 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19920 printf("*** If you have already installed a sufficiently new version, this error\n");
19921 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19922 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19923 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19924 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19925 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19926 printf("*** so that the correct libraries are found at run-time))\n");
19933 rm -f conftest
$ac_exeext
19934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19935 (eval $ac_link) 2>&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; }; then
19946 echo "$as_me: program exited with status $ac_status" >&5
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.
$ac_ext >&5
19950 ( exit $ac_status )
19953 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19955 CFLAGS
="$ac_save_CFLAGS"
19956 LIBS
="$ac_save_LIBS"
19959 if test "x$no_gtk" = x
; then
19960 echo "$as_me:$LINENO: result: yes" >&5
19961 echo "${ECHO_T}yes" >&6
19962 wx_cv_lib_gtk
=1.2.7
19964 echo "$as_me:$LINENO: result: no" >&5
19965 echo "${ECHO_T}no" >&6
19966 if test "$GTK_CONFIG" = "no" ; then
19967 echo "*** The gtk-config script installed by GTK could not be found"
19968 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19969 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19970 echo "*** full path to gtk-config."
19972 if test -f conf.gtktest
; then
19975 echo "*** Could not run GTK test program, checking why..."
19976 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19977 LIBS
="$LIBS $GTK_LIBS"
19978 cat >conftest.
$ac_ext <<_ACEOF
19979 #line $LINENO "configure"
19982 cat confdefs.h
>>conftest.
$ac_ext
19983 cat >>conftest.
$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19986 #include <gtk/gtk.h>
19992 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19997 rm -f conftest.
$ac_objext conftest
$ac_exeext
19998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19999 (eval $ac_link) 2>&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); } &&
20003 { ac_try
='test -s conftest$ac_exeext'
20004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20005 (eval $ac_try) 2>&5
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); }; }; then
20009 echo "*** The test program compiled, but did not run. This usually means"
20010 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20011 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20012 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20013 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20014 echo "*** is required on your system"
20016 echo "*** If you have an old version installed, it is best to remove it, although"
20017 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20019 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20020 echo "*** came with the system with the command"
20022 echo "*** rpm --erase --nodeps gtk gtk-devel"
20024 echo "$as_me: failed program was:" >&5
20025 sed 's/^/| /' conftest.
$ac_ext >&5
20027 echo "*** The test program failed to compile or link. See the file config.log for the"
20028 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20029 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20030 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20032 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20033 CFLAGS
="$ac_save_CFLAGS"
20034 LIBS
="$ac_save_LIBS"
20046 if test -z "$wx_cv_lib_gtk"; then
20048 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20049 if test "${with_gtk_prefix+set}" = set; then
20050 withval
="$with_gtk_prefix"
20051 gtk_config_prefix
="$withval"
20053 gtk_config_prefix
=""
20056 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20057 if test "${with_gtk_exec_prefix+set}" = set; then
20058 withval
="$with_gtk_exec_prefix"
20059 gtk_config_exec_prefix
="$withval"
20061 gtk_config_exec_prefix
=""
20063 # Check whether --enable-gtktest or --disable-gtktest was given.
20064 if test "${enable_gtktest+set}" = set; then
20065 enableval
="$enable_gtktest"
20071 for module
in .
$GTK_MODULES
20075 gtk_config_args
="$gtk_config_args gthread"
20080 if test x
$gtk_config_exec_prefix != x
; then
20081 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20082 if test x
${GTK_CONFIG+set} != xset
; then
20083 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20086 if test x
$gtk_config_prefix != x
; then
20087 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20088 if test x
${GTK_CONFIG+set} != xset
; then
20089 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20093 # Extract the first word of "gtk-config", so it can be a program name with args.
20094 set dummy gtk
-config; ac_word
=$2
20095 echo "$as_me:$LINENO: checking for $ac_word" >&5
20096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20097 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 case $GTK_CONFIG in
20102 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20106 for as_dir
in $PATH
20109 test -z "$as_dir" && as_dir
=.
20110 for ac_exec_ext
in '' $ac_executable_extensions; do
20111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20112 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20119 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20123 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20125 if test -n "$GTK_CONFIG"; then
20126 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20127 echo "${ECHO_T}$GTK_CONFIG" >&6
20129 echo "$as_me:$LINENO: result: no" >&5
20130 echo "${ECHO_T}no" >&6
20133 min_gtk_version
=1.2.3
20134 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20135 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20137 if test "$GTK_CONFIG" = "no" ; then
20140 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20141 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20142 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20144 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20146 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20148 if test "x$enable_gtktest" = "xyes" ; then
20149 ac_save_CFLAGS
="$CFLAGS"
20150 ac_save_LIBS
="$LIBS"
20151 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20152 LIBS
="$GTK_LIBS $LIBS"
20154 if test "$cross_compiling" = yes; then
20155 echo $ac_n "cross compiling; assumed OK... $ac_c"
20157 cat >conftest.
$ac_ext <<_ACEOF
20158 #line $LINENO "configure"
20161 cat confdefs.h
>>conftest.
$ac_ext
20162 cat >>conftest.
$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20165 #include <gtk/gtk.h>
20167 #include <stdlib.h>
20172 int major, minor, micro;
20175 system ("touch conf.gtktest");
20177 /* HP/UX 9 (%@#!) writes to sscanf strings */
20178 tmp_version = g_strdup("$min_gtk_version");
20179 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20180 printf("%s, bad version string\n", "$min_gtk_version");
20184 if ((gtk_major_version != $gtk_config_major_version) ||
20185 (gtk_minor_version != $gtk_config_minor_version) ||
20186 (gtk_micro_version != $gtk_config_micro_version))
20188 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20189 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20190 gtk_major_version, gtk_minor_version, gtk_micro_version);
20191 printf ("*** was found! If gtk-config was correct, then it is best\n");
20192 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20193 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20194 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20195 printf("*** required on your system.\n");
20196 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20197 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20198 printf("*** before re-running configure\n");
20200 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20201 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20202 (gtk_minor_version != GTK_MINOR_VERSION) ||
20203 (gtk_micro_version != GTK_MICRO_VERSION))
20205 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20206 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20207 printf("*** library (version %d.%d.%d)\n",
20208 gtk_major_version, gtk_minor_version, gtk_micro_version);
20210 #endif /* defined (GTK_MAJOR_VERSION) ... */
20213 if ((gtk_major_version > major) ||
20214 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20215 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20221 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20222 gtk_major_version, gtk_minor_version, gtk_micro_version);
20223 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20224 major, minor, micro);
20225 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20227 printf("*** If you have already installed a sufficiently new version, this error\n");
20228 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20229 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20230 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20231 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20232 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20233 printf("*** so that the correct libraries are found at run-time))\n");
20240 rm -f conftest
$ac_exeext
20241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20242 (eval $ac_link) 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; }; then
20253 echo "$as_me: program exited with status $ac_status" >&5
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.
$ac_ext >&5
20257 ( exit $ac_status )
20260 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20262 CFLAGS
="$ac_save_CFLAGS"
20263 LIBS
="$ac_save_LIBS"
20266 if test "x$no_gtk" = x
; then
20267 echo "$as_me:$LINENO: result: yes" >&5
20268 echo "${ECHO_T}yes" >&6
20269 wx_cv_lib_gtk
=1.2.3
20271 echo "$as_me:$LINENO: result: no" >&5
20272 echo "${ECHO_T}no" >&6
20273 if test "$GTK_CONFIG" = "no" ; then
20274 echo "*** The gtk-config script installed by GTK could not be found"
20275 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20276 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20277 echo "*** full path to gtk-config."
20279 if test -f conf.gtktest
; then
20282 echo "*** Could not run GTK test program, checking why..."
20283 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20284 LIBS
="$LIBS $GTK_LIBS"
20285 cat >conftest.
$ac_ext <<_ACEOF
20286 #line $LINENO "configure"
20289 cat confdefs.h
>>conftest.
$ac_ext
20290 cat >>conftest.
$ac_ext <<_ACEOF
20291 /* end confdefs.h. */
20293 #include <gtk/gtk.h>
20299 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20304 rm -f conftest.
$ac_objext conftest
$ac_exeext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20306 (eval $ac_link) 2>&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); } &&
20310 { ac_try
='test -s conftest$ac_exeext'
20311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312 (eval $ac_try) 2>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); }; }; then
20316 echo "*** The test program compiled, but did not run. This usually means"
20317 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20318 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20319 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20320 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20321 echo "*** is required on your system"
20323 echo "*** If you have an old version installed, it is best to remove it, although"
20324 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20326 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20327 echo "*** came with the system with the command"
20329 echo "*** rpm --erase --nodeps gtk gtk-devel"
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.
$ac_ext >&5
20334 echo "*** The test program failed to compile or link. See the file config.log for the"
20335 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20336 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20337 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20339 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20340 CFLAGS
="$ac_save_CFLAGS"
20341 LIBS
="$ac_save_LIBS"
20355 if test -z "$wx_cv_lib_gtk"; then
20358 wx_cv_cflags_gtk
=$GTK_CFLAGS
20359 wx_cv_libs_gtk
=$GTK_LIBS
20366 if test "$gtk_version_cached" = 1; then
20367 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20368 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20371 case "$wx_cv_lib_gtk" in
20380 *) { { echo "$as_me:$LINENO: error:
20381 Please check that gtk-config is in path, the directory
20382 where GTK+ libraries are installed (returned by
20383 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20384 equivalent variable and GTK+ is version 1.2.3 or above.
20386 echo "$as_me: error:
20387 Please check that gtk-config is in path, the directory
20388 where GTK+ libraries are installed (returned by
20389 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20390 equivalent variable and GTK+ is version 1.2.3 or above.
20392 { (exit 1); exit 1; }; }
20396 if test "$WXGTK20" = 1; then
20397 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20401 if test -z "$PKG_CONFIG"; then
20402 # Extract the first word of "pkg-config", so it can be a program name with args.
20403 set dummy pkg
-config; ac_word
=$2
20404 echo "$as_me:$LINENO: checking for $ac_word" >&5
20405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20406 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20407 echo $ECHO_N "(cached) $ECHO_C" >&6
20409 case $PKG_CONFIG in
20411 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20415 for as_dir
in $PATH
20418 test -z "$as_dir" && as_dir
=.
20419 for ac_exec_ext
in '' $ac_executable_extensions; do
20420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20421 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20428 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20432 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20434 if test -n "$PKG_CONFIG"; then
20435 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20436 echo "${ECHO_T}$PKG_CONFIG" >&6
20438 echo "$as_me:$LINENO: result: no" >&5
20439 echo "${ECHO_T}no" >&6
20444 if test "$PKG_CONFIG" = "no" ; then
20445 echo "*** The pkg-config script could not be found. Make sure it is"
20446 echo "*** in your path, or set the PKG_CONFIG environment variable"
20447 echo "*** to the full path to pkg-config."
20448 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20450 PKG_CONFIG_MIN_VERSION
=0.9.0
20451 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20452 echo "$as_me:$LINENO: checking for pangoft2" >&5
20453 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20455 if $PKG_CONFIG --exists "pangoft2" ; then
20456 echo "$as_me:$LINENO: result: yes" >&5
20457 echo "${ECHO_T}yes" >&6
20460 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20461 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20462 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20463 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20464 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20466 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20467 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20468 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20469 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20470 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20474 ## If we have a custom action on failure, don't print errors, but
20475 ## do set a variable so people can do so.
20476 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20483 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20484 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20488 if test $succeeded = yes; then
20490 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20491 LIBS
="$LIBS $PANGOFT2_LIBS"
20495 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20496 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20497 wxUSE_PRINTING_ARCHITECTURE
="no"
20504 if test "$wxUSE_UNICODE" = "yes"; then
20505 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20506 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20511 if test "$USE_DARWIN" != 1; then
20513 for ac_func
in poll
20515 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20516 echo "$as_me:$LINENO: checking for $ac_func" >&5
20517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20518 if eval "test \"\${$as_ac_var+set}\" = set"; then
20519 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 cat >conftest.
$ac_ext <<_ACEOF
20522 #line $LINENO "configure"
20525 cat confdefs.h
>>conftest.
$ac_ext
20526 cat >>conftest.
$ac_ext <<_ACEOF
20527 /* end confdefs.h. */
20528 /* System header to define __stub macros and hopefully few prototypes,
20529 which can conflict with char $ac_func (); below.
20530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20531 <limits.h> exists even on freestanding compilers. */
20533 # include <limits.h>
20535 # include <assert.h>
20537 /* Override any gcc2 internal prototype to avoid an error. */
20542 /* We use char because int might match the return type of a gcc2
20543 builtin and then its argument prototype would still apply. */
20545 /* The GNU C library defines this for functions which it implements
20546 to always fail with ENOSYS. Some functions are actually named
20547 something starting with __ and the normal name is an alias. */
20548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20551 char (*f) () = $ac_func;
20560 return f != $ac_func;
20565 rm -f conftest.
$ac_objext conftest
$ac_exeext
20566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20567 (eval $ac_link) 2>&5
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570 (exit $ac_status); } &&
20571 { ac_try
='test -s conftest$ac_exeext'
20572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20573 (eval $ac_try) 2>&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); }; }; then
20577 eval "$as_ac_var=yes"
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.
$ac_ext >&5
20582 eval "$as_ac_var=no"
20584 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20588 if test `eval echo '${'$as_ac_var'}'` = yes; then
20589 cat >>confdefs.h
<<_ACEOF
20590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20598 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20599 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
20601 AFMINSTALL
=afminstall
20605 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20606 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20607 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20608 echo $ECHO_N "(cached) $ECHO_C" >&6
20610 ac_check_lib_save_LIBS
=$LIBS
20612 cat >conftest.
$ac_ext <<_ACEOF
20613 #line $LINENO "configure"
20616 cat confdefs.h
>>conftest.
$ac_ext
20617 cat >>conftest.
$ac_ext <<_ACEOF
20618 /* end confdefs.h. */
20620 /* Override any gcc2 internal prototype to avoid an error. */
20624 /* We use char because int might match the return type of a gcc2
20625 builtin and then its argument prototype would still apply. */
20626 char gdk_im_open ();
20635 rm -f conftest.
$ac_objext conftest
$ac_exeext
20636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20637 (eval $ac_link) 2>&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); } &&
20641 { ac_try
='test -s conftest$ac_exeext'
20642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20643 (eval $ac_try) 2>&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); }; }; then
20647 ac_cv_lib_gdk_gdk_im_open
=yes
20649 echo "$as_me: failed program was:" >&5
20650 sed 's/^/| /' conftest.
$ac_ext >&5
20652 ac_cv_lib_gdk_gdk_im_open
=no
20654 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20655 LIBS
=$ac_check_lib_save_LIBS
20657 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20658 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20659 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20660 cat >>confdefs.h
<<\_ACEOF
20668 if test "$wxUSE_MGL" = 1; then
20669 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20670 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20671 if test "x$MGL_ROOT" = x
; then
20672 echo "$as_me:$LINENO: result: not found" >&5
20673 echo "${ECHO_T}not found" >&6
20674 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20675 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20676 { (exit 1); exit 1; }; }
20678 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20679 echo "${ECHO_T}$MGL_ROOT" >&6
20682 echo "$as_me:$LINENO: checking for libmgl location" >&5
20683 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20686 if test "x$wxUSE_SHARED" = xyes
; then
20687 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20689 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20693 mgl_os_candidates
="dos32/dj2"
20696 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20697 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20698 { (exit 1); exit 1; }; }
20704 for mgl_os_i
in $mgl_os_candidates ; do
20705 if test "x$mgl_os" = x
; then
20706 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20707 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
20708 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
20713 if test "x$mgl_lib_type" = x
; then
20714 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
20715 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
20716 mgl_lib_type
=release
20723 if test "x$mgl_os" = x
; then
20724 echo "$as_me:$LINENO: result: not found" >&5
20725 echo "${ECHO_T}not found" >&6
20726 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20727 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20728 { (exit 1); exit 1; }; }
20730 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20731 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20733 wxUSE_UNIVERSAL
="yes"
20735 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
20736 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20738 AFMINSTALL
=afminstall
20743 if test "$wxUSE_MICROWIN" = 1; then
20744 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20745 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20746 if test "x$MICROWINDOWS" = x
; then
20747 echo "$as_me:$LINENO: result: not found" >&5
20748 echo "${ECHO_T}not found" >&6
20749 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20750 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20751 { (exit 1); exit 1; }; }
20753 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20754 echo "${ECHO_T}$MICROWINDOWS" >&6
20757 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
20758 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20759 echo "${ECHO_T}MicroWindows' libraries found." >&6
20761 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20762 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20763 { (exit 1); exit 1; }; }
20766 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
20767 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20769 wxUSE_UNIVERSAL
="yes"
20771 AFMINSTALL
=afminstall
20773 GUIDIST
=MICROWIN_DIST
20775 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20778 if test "$wxUSE_X11" = 1; then
20779 echo "$as_me:$LINENO: checking for X" >&5
20780 echo $ECHO_N "checking for X... $ECHO_C" >&6
20783 # Check whether --with-x or --without-x was given.
20784 if test "${with_x+set}" = set; then
20788 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20789 if test "x$with_x" = xno
; then
20790 # The user explicitly disabled X.
20793 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
20794 # Both variables are already set.
20797 if test "${ac_cv_have_x+set}" = set; then
20798 echo $ECHO_N "(cached) $ECHO_C" >&6
20800 # One or both of the vars are not set, and there is no cached value.
20801 ac_x_includes
=no ac_x_libraries
=no
20802 rm -fr conftest.dir
20803 if mkdir conftest.dir
; then
20805 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20806 cat >Imakefile
<<'_ACEOF'
20808 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20810 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
20811 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20812 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20813 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20814 for ac_extension
in a so sl
; do
20815 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
20816 test -f $ac_im_libdir/libX11.
$ac_extension; then
20817 ac_im_usrlibdir
=$ac_im_libdir; break
20820 # Screen out bogus values from the imake configuration. They are
20821 # bogus both because they are the default anyway, and because
20822 # using them would break gcc on systems where it needs fixed includes.
20823 case $ac_im_incroot in
20825 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
20827 case $ac_im_usrlibdir in
20828 /usr
/lib
| /lib
) ;;
20829 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
20833 rm -fr conftest.dir
20836 # Standard set of common directories for X headers.
20837 # Check X11 before X11Rn because it is often a symlink to the current release.
20849 /usr/local/X11/include
20850 /usr/local/X11R6/include
20851 /usr/local/X11R5/include
20852 /usr/local/X11R4/include
20854 /usr/local/include/X11
20855 /usr/local/include/X11R6
20856 /usr/local/include/X11R5
20857 /usr/local/include/X11R4
20861 /usr/XFree86/include/X11
20865 /usr/unsupported/include
20866 /usr/athena/include
20867 /usr/local/x11r5/include
20868 /usr/lpp/Xamples/include
20870 /usr/openwin/include
20871 /usr/openwin/share/include'
20873 if test "$ac_x_includes" = no
; then
20874 # Guess where to find include files, by looking for Intrinsic.h.
20875 # First, try using that file with no special directory specified.
20876 cat >conftest.
$ac_ext <<_ACEOF
20877 #line $LINENO "configure"
20880 cat confdefs.h
>>conftest.
$ac_ext
20881 cat >>conftest.
$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 #include <X11/Intrinsic.h>
20885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20886 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20888 grep -v '^ *+' conftest.er1
>conftest.err
20890 cat conftest.err
>&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } >/dev
/null
; then
20893 if test -s conftest.err
; then
20894 ac_cpp_err
=$ac_c_preproc_warn_flag
20901 if test -z "$ac_cpp_err"; then
20902 # We can compile using X headers with no special include directory.
20905 echo "$as_me: failed program was:" >&5
20906 sed 's/^/| /' conftest.
$ac_ext >&5
20908 for ac_dir
in $ac_x_header_dirs; do
20909 if test -r "$ac_dir/X11/Intrinsic.h"; then
20910 ac_x_includes
=$ac_dir
20915 rm -f conftest.err conftest.
$ac_ext
20916 fi # $ac_x_includes = no
20918 if test "$ac_x_libraries" = no
; then
20919 # Check for the libraries.
20920 # See if we find them without any special options.
20921 # Don't add to $LIBS permanently.
20924 cat >conftest.
$ac_ext <<_ACEOF
20925 #line $LINENO "configure"
20928 cat confdefs.h
>>conftest.
$ac_ext
20929 cat >>conftest.
$ac_ext <<_ACEOF
20930 /* end confdefs.h. */
20931 #include <X11/Intrinsic.h>
20940 rm -f conftest.
$ac_objext conftest
$ac_exeext
20941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20942 (eval $ac_link) 2>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } &&
20946 { ac_try
='test -s conftest$ac_exeext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20953 # We can link X programs with no special library path.
20956 echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.
$ac_ext >&5
20960 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20962 # Don't even attempt the hair of trying to link an X program!
20963 for ac_extension
in a so sl
; do
20964 if test -r $ac_dir/libXt.
$ac_extension; then
20965 ac_x_libraries
=$ac_dir
20971 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20972 fi # $ac_x_libraries = no
20974 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
20975 # Didn't find X anywhere. Cache the known absence of X.
20976 ac_cv_have_x
="have_x=no"
20978 # Record where we found X for the cache.
20979 ac_cv_have_x
="have_x=yes \
20980 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20985 eval "$ac_cv_have_x"
20988 if test "$have_x" != yes; then
20989 echo "$as_me:$LINENO: result: $have_x" >&5
20990 echo "${ECHO_T}$have_x" >&6
20993 # If each of the values was on the command line, it overrides each guess.
20994 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
20995 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
20996 # Update the cache value to reflect the command line values.
20997 ac_cv_have_x
="have_x=yes \
20998 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20999 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21000 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21003 if test "$no_x" = yes; then
21004 # Not all programs may use this symbol, but it does not hurt to define it.
21006 cat >>confdefs.h
<<\_ACEOF
21007 #define X_DISPLAY_MISSING 1
21010 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21012 if test -n "$x_includes"; then
21013 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21016 # It would also be nice to do this for all -L options, not just this one.
21017 if test -n "$x_libraries"; then
21018 X_LIBS
="$X_LIBS -L$x_libraries"
21019 # For Solaris; some versions of Sun CC require a space after -R and
21020 # others require no space. Words are not sufficient . . . .
21021 case `(uname -sr) 2>/dev/null` in
21023 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21024 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21025 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21026 cat >conftest.
$ac_ext <<_ACEOF
21027 #line $LINENO "configure"
21030 cat confdefs.h
>>conftest.
$ac_ext
21031 cat >>conftest.
$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21042 rm -f conftest.
$ac_objext conftest
$ac_exeext
21043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21044 (eval $ac_link) 2>&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); } &&
21048 { ac_try
='test -s conftest$ac_exeext'
21049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21050 (eval $ac_try) 2>&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); }; }; then
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.
$ac_ext >&5
21061 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21062 if test $ac_R_nospace = yes; then
21063 echo "$as_me:$LINENO: result: no" >&5
21064 echo "${ECHO_T}no" >&6
21065 X_LIBS
="$X_LIBS -R$x_libraries"
21067 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21068 cat >conftest.
$ac_ext <<_ACEOF
21069 #line $LINENO "configure"
21072 cat confdefs.h
>>conftest.
$ac_ext
21073 cat >>conftest.
$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21084 rm -f conftest.
$ac_objext conftest
$ac_exeext
21085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21086 (eval $ac_link) 2>&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } &&
21090 { ac_try
='test -s conftest$ac_exeext'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; }; then
21098 echo "$as_me: failed program was:" >&5
21099 sed 's/^/| /' conftest.
$ac_ext >&5
21103 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21104 if test $ac_R_space = yes; then
21105 echo "$as_me:$LINENO: result: yes" >&5
21106 echo "${ECHO_T}yes" >&6
21107 X_LIBS
="$X_LIBS -R $x_libraries"
21109 echo "$as_me:$LINENO: result: neither works" >&5
21110 echo "${ECHO_T}neither works" >&6
21113 LIBS
=$ac_xsave_LIBS
21117 # Check for system-dependent libraries X programs must link with.
21118 # Do this before checking for the system-independent R6 libraries
21119 # (-lICE), since we may need -lsocket or whatever for X linking.
21121 if test "$ISC" = yes; then
21122 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21124 # Martyn Johnson says this is needed for Ultrix, if the X
21125 # libraries were built with DECnet support. And Karl Berry says
21126 # the Alpha needs dnet_stub (dnet does not exist).
21127 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21128 cat >conftest.
$ac_ext <<_ACEOF
21129 #line $LINENO "configure"
21132 cat confdefs.h
>>conftest.
$ac_ext
21133 cat >>conftest.
$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21136 /* Override any gcc2 internal prototype to avoid an error. */
21140 /* We use char because int might match the return type of a gcc2
21141 builtin and then its argument prototype would still apply. */
21142 char XOpenDisplay ();
21151 rm -f conftest.
$ac_objext conftest
$ac_exeext
21152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21153 (eval $ac_link) 2>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } &&
21157 { ac_try
='test -s conftest$ac_exeext'
21158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159 (eval $ac_try) 2>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; }; then
21165 echo "$as_me: failed program was:" >&5
21166 sed 's/^/| /' conftest.
$ac_ext >&5
21168 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21169 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21170 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21171 echo $ECHO_N "(cached) $ECHO_C" >&6
21173 ac_check_lib_save_LIBS
=$LIBS
21174 LIBS
="-ldnet $LIBS"
21175 cat >conftest.
$ac_ext <<_ACEOF
21176 #line $LINENO "configure"
21179 cat confdefs.h
>>conftest.
$ac_ext
21180 cat >>conftest.
$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21183 /* Override any gcc2 internal prototype to avoid an error. */
21187 /* We use char because int might match the return type of a gcc2
21188 builtin and then its argument prototype would still apply. */
21198 rm -f conftest.
$ac_objext conftest
$ac_exeext
21199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21200 (eval $ac_link) 2>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } &&
21204 { ac_try
='test -s conftest$ac_exeext'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; }; then
21210 ac_cv_lib_dnet_dnet_ntoa
=yes
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.
$ac_ext >&5
21215 ac_cv_lib_dnet_dnet_ntoa
=no
21217 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21218 LIBS
=$ac_check_lib_save_LIBS
21220 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21221 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21222 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21223 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21226 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21227 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21228 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21229 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21230 echo $ECHO_N "(cached) $ECHO_C" >&6
21232 ac_check_lib_save_LIBS
=$LIBS
21233 LIBS
="-ldnet_stub $LIBS"
21234 cat >conftest.
$ac_ext <<_ACEOF
21235 #line $LINENO "configure"
21238 cat confdefs.h
>>conftest.
$ac_ext
21239 cat >>conftest.
$ac_ext <<_ACEOF
21240 /* end confdefs.h. */
21242 /* Override any gcc2 internal prototype to avoid an error. */
21246 /* We use char because int might match the return type of a gcc2
21247 builtin and then its argument prototype would still apply. */
21257 rm -f conftest.
$ac_objext conftest
$ac_exeext
21258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21259 (eval $ac_link) 2>&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); } &&
21263 { ac_try
='test -s conftest$ac_exeext'
21264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21265 (eval $ac_try) 2>&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); }; }; then
21269 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.
$ac_ext >&5
21274 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21276 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21277 LIBS
=$ac_check_lib_save_LIBS
21279 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21280 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21281 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21282 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21287 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21288 LIBS
="$ac_xsave_LIBS"
21290 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21291 # to get the SysV transport functions.
21292 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21294 # The nsl library prevents programs from opening the X display
21295 # on Irix 5.2, according to T.E. Dickey.
21296 # The functions gethostbyname, getservbyname, and inet_addr are
21297 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21298 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21299 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21300 if test "${ac_cv_func_gethostbyname+set}" = set; then
21301 echo $ECHO_N "(cached) $ECHO_C" >&6
21303 cat >conftest.
$ac_ext <<_ACEOF
21304 #line $LINENO "configure"
21307 cat confdefs.h
>>conftest.
$ac_ext
21308 cat >>conftest.
$ac_ext <<_ACEOF
21309 /* end confdefs.h. */
21310 /* System header to define __stub macros and hopefully few prototypes,
21311 which can conflict with char gethostbyname (); below.
21312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21313 <limits.h> exists even on freestanding compilers. */
21315 # include <limits.h>
21317 # include <assert.h>
21319 /* Override any gcc2 internal prototype to avoid an error. */
21324 /* We use char because int might match the return type of a gcc2
21325 builtin and then its argument prototype would still apply. */
21326 char gethostbyname ();
21327 /* The GNU C library defines this for functions which it implements
21328 to always fail with ENOSYS. Some functions are actually named
21329 something starting with __ and the normal name is an alias. */
21330 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21333 char (*f) () = gethostbyname;
21342 return f != gethostbyname;
21347 rm -f conftest.
$ac_objext conftest
$ac_exeext
21348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21349 (eval $ac_link) 2>&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } &&
21353 { ac_try
='test -s conftest$ac_exeext'
21354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21355 (eval $ac_try) 2>&5
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); }; }; then
21359 ac_cv_func_gethostbyname
=yes
21361 echo "$as_me: failed program was:" >&5
21362 sed 's/^/| /' conftest.
$ac_ext >&5
21364 ac_cv_func_gethostbyname
=no
21366 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21368 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21369 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21371 if test $ac_cv_func_gethostbyname = no
; then
21372 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21373 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21374 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21375 echo $ECHO_N "(cached) $ECHO_C" >&6
21377 ac_check_lib_save_LIBS
=$LIBS
21379 cat >conftest.
$ac_ext <<_ACEOF
21380 #line $LINENO "configure"
21383 cat confdefs.h
>>conftest.
$ac_ext
21384 cat >>conftest.
$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21387 /* Override any gcc2 internal prototype to avoid an error. */
21391 /* We use char because int might match the return type of a gcc2
21392 builtin and then its argument prototype would still apply. */
21393 char gethostbyname ();
21402 rm -f conftest.
$ac_objext conftest
$ac_exeext
21403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21404 (eval $ac_link) 2>&5
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); } &&
21408 { ac_try
='test -s conftest$ac_exeext'
21409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21410 (eval $ac_try) 2>&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; }; then
21414 ac_cv_lib_nsl_gethostbyname
=yes
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.
$ac_ext >&5
21419 ac_cv_lib_nsl_gethostbyname
=no
21421 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21422 LIBS
=$ac_check_lib_save_LIBS
21424 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21425 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21426 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21427 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21430 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21431 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21432 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21433 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21434 echo $ECHO_N "(cached) $ECHO_C" >&6
21436 ac_check_lib_save_LIBS
=$LIBS
21438 cat >conftest.
$ac_ext <<_ACEOF
21439 #line $LINENO "configure"
21442 cat confdefs.h
>>conftest.
$ac_ext
21443 cat >>conftest.
$ac_ext <<_ACEOF
21444 /* end confdefs.h. */
21446 /* Override any gcc2 internal prototype to avoid an error. */
21450 /* We use char because int might match the return type of a gcc2
21451 builtin and then its argument prototype would still apply. */
21452 char gethostbyname ();
21461 rm -f conftest.
$ac_objext conftest
$ac_exeext
21462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21463 (eval $ac_link) 2>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); } &&
21467 { ac_try
='test -s conftest$ac_exeext'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; }; then
21473 ac_cv_lib_bsd_gethostbyname
=yes
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.
$ac_ext >&5
21478 ac_cv_lib_bsd_gethostbyname
=no
21480 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21481 LIBS
=$ac_check_lib_save_LIBS
21483 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21484 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21485 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21486 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21492 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21493 # socket/setsockopt and other routines are undefined under SCO ODT
21494 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21495 # on later versions), says Simon Leinen: it contains gethostby*
21496 # variants that don't use the name server (or something). -lsocket
21497 # must be given before -lnsl if both are needed. We assume that
21498 # if connect needs -lnsl, so does gethostbyname.
21499 echo "$as_me:$LINENO: checking for connect" >&5
21500 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21501 if test "${ac_cv_func_connect+set}" = set; then
21502 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 cat >conftest.
$ac_ext <<_ACEOF
21505 #line $LINENO "configure"
21508 cat confdefs.h
>>conftest.
$ac_ext
21509 cat >>conftest.
$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21511 /* System header to define __stub macros and hopefully few prototypes,
21512 which can conflict with char connect (); below.
21513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21514 <limits.h> exists even on freestanding compilers. */
21516 # include <limits.h>
21518 # include <assert.h>
21520 /* Override any gcc2 internal prototype to avoid an error. */
21525 /* We use char because int might match the return type of a gcc2
21526 builtin and then its argument prototype would still apply. */
21528 /* The GNU C library defines this for functions which it implements
21529 to always fail with ENOSYS. Some functions are actually named
21530 something starting with __ and the normal name is an alias. */
21531 #if defined (__stub_connect) || defined (__stub___connect)
21534 char (*f) () = connect;
21543 return f != connect;
21548 rm -f conftest.
$ac_objext conftest
$ac_exeext
21549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21550 (eval $ac_link) 2>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); } &&
21554 { ac_try
='test -s conftest$ac_exeext'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; }; then
21560 ac_cv_func_connect
=yes
21562 echo "$as_me: failed program was:" >&5
21563 sed 's/^/| /' conftest.
$ac_ext >&5
21565 ac_cv_func_connect
=no
21567 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21569 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21570 echo "${ECHO_T}$ac_cv_func_connect" >&6
21572 if test $ac_cv_func_connect = no
; then
21573 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21574 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21575 if test "${ac_cv_lib_socket_connect+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21578 ac_check_lib_save_LIBS
=$LIBS
21579 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21580 cat >conftest.
$ac_ext <<_ACEOF
21581 #line $LINENO "configure"
21584 cat confdefs.h
>>conftest.
$ac_ext
21585 cat >>conftest.
$ac_ext <<_ACEOF
21586 /* end confdefs.h. */
21588 /* Override any gcc2 internal prototype to avoid an error. */
21592 /* We use char because int might match the return type of a gcc2
21593 builtin and then its argument prototype would still apply. */
21603 rm -f conftest.
$ac_objext conftest
$ac_exeext
21604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21605 (eval $ac_link) 2>&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } &&
21609 { ac_try
='test -s conftest$ac_exeext'
21610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21611 (eval $ac_try) 2>&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); }; }; then
21615 ac_cv_lib_socket_connect
=yes
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.
$ac_ext >&5
21620 ac_cv_lib_socket_connect
=no
21622 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21623 LIBS
=$ac_check_lib_save_LIBS
21625 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21626 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21627 if test $ac_cv_lib_socket_connect = yes; then
21628 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21633 # Guillermo Gomez says -lposix is necessary on A/UX.
21634 echo "$as_me:$LINENO: checking for remove" >&5
21635 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21636 if test "${ac_cv_func_remove+set}" = set; then
21637 echo $ECHO_N "(cached) $ECHO_C" >&6
21639 cat >conftest.
$ac_ext <<_ACEOF
21640 #line $LINENO "configure"
21643 cat confdefs.h
>>conftest.
$ac_ext
21644 cat >>conftest.
$ac_ext <<_ACEOF
21645 /* end confdefs.h. */
21646 /* System header to define __stub macros and hopefully few prototypes,
21647 which can conflict with char remove (); below.
21648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21649 <limits.h> exists even on freestanding compilers. */
21651 # include <limits.h>
21653 # include <assert.h>
21655 /* Override any gcc2 internal prototype to avoid an error. */
21660 /* We use char because int might match the return type of a gcc2
21661 builtin and then its argument prototype would still apply. */
21663 /* The GNU C library defines this for functions which it implements
21664 to always fail with ENOSYS. Some functions are actually named
21665 something starting with __ and the normal name is an alias. */
21666 #if defined (__stub_remove) || defined (__stub___remove)
21669 char (*f) () = remove;
21678 return f != remove;
21683 rm -f conftest.
$ac_objext conftest
$ac_exeext
21684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21685 (eval $ac_link) 2>&5
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); } &&
21689 { ac_try
='test -s conftest$ac_exeext'
21690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21691 (eval $ac_try) 2>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); }; }; then
21695 ac_cv_func_remove
=yes
21697 echo "$as_me: failed program was:" >&5
21698 sed 's/^/| /' conftest.
$ac_ext >&5
21700 ac_cv_func_remove
=no
21702 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21704 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21705 echo "${ECHO_T}$ac_cv_func_remove" >&6
21707 if test $ac_cv_func_remove = no
; then
21708 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21709 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21710 if test "${ac_cv_lib_posix_remove+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21713 ac_check_lib_save_LIBS
=$LIBS
21714 LIBS
="-lposix $LIBS"
21715 cat >conftest.
$ac_ext <<_ACEOF
21716 #line $LINENO "configure"
21719 cat confdefs.h
>>conftest.
$ac_ext
21720 cat >>conftest.
$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21723 /* Override any gcc2 internal prototype to avoid an error. */
21727 /* We use char because int might match the return type of a gcc2
21728 builtin and then its argument prototype would still apply. */
21738 rm -f conftest.
$ac_objext conftest
$ac_exeext
21739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21740 (eval $ac_link) 2>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); } &&
21744 { ac_try
='test -s conftest$ac_exeext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21750 ac_cv_lib_posix_remove
=yes
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.
$ac_ext >&5
21755 ac_cv_lib_posix_remove
=no
21757 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21758 LIBS
=$ac_check_lib_save_LIBS
21760 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21761 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21762 if test $ac_cv_lib_posix_remove = yes; then
21763 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
21768 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21769 echo "$as_me:$LINENO: checking for shmat" >&5
21770 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21771 if test "${ac_cv_func_shmat+set}" = set; then
21772 echo $ECHO_N "(cached) $ECHO_C" >&6
21774 cat >conftest.
$ac_ext <<_ACEOF
21775 #line $LINENO "configure"
21778 cat confdefs.h
>>conftest.
$ac_ext
21779 cat >>conftest.
$ac_ext <<_ACEOF
21780 /* end confdefs.h. */
21781 /* System header to define __stub macros and hopefully few prototypes,
21782 which can conflict with char shmat (); below.
21783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21784 <limits.h> exists even on freestanding compilers. */
21786 # include <limits.h>
21788 # include <assert.h>
21790 /* Override any gcc2 internal prototype to avoid an error. */
21795 /* We use char because int might match the return type of a gcc2
21796 builtin and then its argument prototype would still apply. */
21798 /* The GNU C library defines this for functions which it implements
21799 to always fail with ENOSYS. Some functions are actually named
21800 something starting with __ and the normal name is an alias. */
21801 #if defined (__stub_shmat) || defined (__stub___shmat)
21804 char (*f) () = shmat;
21818 rm -f conftest.
$ac_objext conftest
$ac_exeext
21819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21820 (eval $ac_link) 2>&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } &&
21824 { ac_try
='test -s conftest$ac_exeext'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; }; then
21830 ac_cv_func_shmat
=yes
21832 echo "$as_me: failed program was:" >&5
21833 sed 's/^/| /' conftest.
$ac_ext >&5
21835 ac_cv_func_shmat
=no
21837 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21839 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21840 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21842 if test $ac_cv_func_shmat = no
; then
21843 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21844 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21845 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21846 echo $ECHO_N "(cached) $ECHO_C" >&6
21848 ac_check_lib_save_LIBS
=$LIBS
21850 cat >conftest.
$ac_ext <<_ACEOF
21851 #line $LINENO "configure"
21854 cat confdefs.h
>>conftest.
$ac_ext
21855 cat >>conftest.
$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21858 /* Override any gcc2 internal prototype to avoid an error. */
21862 /* We use char because int might match the return type of a gcc2
21863 builtin and then its argument prototype would still apply. */
21873 rm -f conftest.
$ac_objext conftest
$ac_exeext
21874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21875 (eval $ac_link) 2>&5
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); } &&
21879 { ac_try
='test -s conftest$ac_exeext'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; }; then
21885 ac_cv_lib_ipc_shmat
=yes
21887 echo "$as_me: failed program was:" >&5
21888 sed 's/^/| /' conftest.
$ac_ext >&5
21890 ac_cv_lib_ipc_shmat
=no
21892 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21893 LIBS
=$ac_check_lib_save_LIBS
21895 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21896 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21897 if test $ac_cv_lib_ipc_shmat = yes; then
21898 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
21904 # Check for libraries that X11R6 Xt/Xaw programs need.
21905 ac_save_LDFLAGS
=$LDFLAGS
21906 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
21907 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21908 # check for ICE first), but we must link in the order -lSM -lICE or
21909 # we get undefined symbols. So assume we have SM if we have ICE.
21910 # These have to be linked with before -lX11, unlike the other
21911 # libraries we check for below, so use a different variable.
21912 # John Interrante, Karl Berry
21913 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21914 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21915 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21918 ac_check_lib_save_LIBS
=$LIBS
21919 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
21920 cat >conftest.
$ac_ext <<_ACEOF
21921 #line $LINENO "configure"
21924 cat confdefs.h
>>conftest.
$ac_ext
21925 cat >>conftest.
$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21928 /* Override any gcc2 internal prototype to avoid an error. */
21932 /* We use char because int might match the return type of a gcc2
21933 builtin and then its argument prototype would still apply. */
21934 char IceConnectionNumber ();
21938 IceConnectionNumber ();
21943 rm -f conftest.
$ac_objext conftest
$ac_exeext
21944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21945 (eval $ac_link) 2>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } &&
21949 { ac_try
='test -s conftest$ac_exeext'
21950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21951 (eval $ac_try) 2>&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); }; }; then
21955 ac_cv_lib_ICE_IceConnectionNumber
=yes
21957 echo "$as_me: failed program was:" >&5
21958 sed 's/^/| /' conftest.
$ac_ext >&5
21960 ac_cv_lib_ICE_IceConnectionNumber
=no
21962 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21963 LIBS
=$ac_check_lib_save_LIBS
21965 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21966 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21967 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21968 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
21971 LDFLAGS
=$ac_save_LDFLAGS
21976 if test "$no_x" = "yes"; then
21977 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21978 echo "$as_me: error: X11 not found" >&2;}
21979 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
21982 GUI_TK_LIBRARY
="$X_LIBS"
21983 TOOLKIT_INCLUDE
="$X_CFLAGS"
21984 AFMINSTALL
=afminstall
21985 COMPILED_X_PROGRAM
=0
21987 if test "$wxUSE_NANOX" = "yes"; then
21988 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21989 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21990 if test "x$MICROWIN" = x
; then
21991 echo "$as_me:$LINENO: result: not found" >&5
21992 echo "${ECHO_T}not found" >&6
21993 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21994 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21995 { (exit 1); exit 1; }; }
21997 echo "$as_me:$LINENO: result: $MICROWIN" >&5
21998 echo "${ECHO_T}$MICROWIN" >&6
21999 cat >>confdefs.h
<<\_ACEOF
22000 #define wxUSE_NANOX 1
22007 echo "$as_me:$LINENO: checking for Xpm library" >&5
22008 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22011 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22013 for ac_extension
in a so sl dylib
; do
22014 if test -f "$ac_dir/libXpm.$ac_extension"; then
22015 ac_find_libraries
=$ac_dir
22021 if test "$ac_find_libraries" != "" ; then
22023 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22025 if test $result = 0; then
22028 ac_path_to_link
=" -L$ac_find_libraries"
22031 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22033 cat >>confdefs.h
<<\_ACEOF
22034 #define wxHAVE_LIB_XPM 1
22037 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22038 echo "${ECHO_T}found at $ac_find_libraries" >&6
22040 cat >conftest.
$ac_ext <<_ACEOF
22041 #line $LINENO "configure"
22044 cat confdefs.h
>>conftest.
$ac_ext
22045 cat >>conftest.
$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22048 #include <X11/xpm.h>
22055 version = XpmLibraryVersion();
22061 rm -f conftest.
$ac_objext
22062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22063 (eval $ac_compile) 2>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try
='test -s conftest.$ac_objext'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; }; then
22075 cat >>confdefs.h
<<\_ACEOF
22076 #define wxHAVE_LIB_XPM 1
22079 echo "$as_me:$LINENO: result: found in default search path" >&5
22080 echo "${ECHO_T}found in default search path" >&6
22081 COMPILED_X_PROGRAM
=0
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.
$ac_ext >&5
22088 echo "$as_me:$LINENO: result: no" >&5
22089 echo "${ECHO_T}no" >&6
22090 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22091 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22095 rm -f conftest.
$ac_objext conftest.
$ac_ext
22098 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22099 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22100 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22101 echo $ECHO_N "(cached) $ECHO_C" >&6
22103 ac_check_lib_save_LIBS
=$LIBS
22104 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22105 cat >conftest.
$ac_ext <<_ACEOF
22106 #line $LINENO "configure"
22109 cat confdefs.h
>>conftest.
$ac_ext
22110 cat >>conftest.
$ac_ext <<_ACEOF
22111 /* end confdefs.h. */
22113 /* Override any gcc2 internal prototype to avoid an error. */
22117 /* We use char because int might match the return type of a gcc2
22118 builtin and then its argument prototype would still apply. */
22119 char XShapeQueryExtension ();
22123 XShapeQueryExtension ();
22128 rm -f conftest.
$ac_objext conftest
$ac_exeext
22129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22130 (eval $ac_link) 2>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try
='test -s conftest$ac_exeext'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.
$ac_ext >&5
22145 ac_cv_lib_Xext_XShapeQueryExtension
=no
22147 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22148 LIBS
=$ac_check_lib_save_LIBS
22150 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22151 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22152 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22154 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22160 if test "$wxUSE_UNICODE" = "yes"; then
22164 if test -z "$PKG_CONFIG"; then
22165 # Extract the first word of "pkg-config", so it can be a program name with args.
22166 set dummy pkg
-config; ac_word
=$2
22167 echo "$as_me:$LINENO: checking for $ac_word" >&5
22168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22169 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22170 echo $ECHO_N "(cached) $ECHO_C" >&6
22172 case $PKG_CONFIG in
22174 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22178 for as_dir
in $PATH
22181 test -z "$as_dir" && as_dir
=.
22182 for ac_exec_ext
in '' $ac_executable_extensions; do
22183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22184 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22191 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22195 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22197 if test -n "$PKG_CONFIG"; then
22198 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22199 echo "${ECHO_T}$PKG_CONFIG" >&6
22201 echo "$as_me:$LINENO: result: no" >&5
22202 echo "${ECHO_T}no" >&6
22207 if test "$PKG_CONFIG" = "no" ; then
22208 echo "*** The pkg-config script could not be found. Make sure it is"
22209 echo "*** in your path, or set the PKG_CONFIG environment variable"
22210 echo "*** to the full path to pkg-config."
22211 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22213 PKG_CONFIG_MIN_VERSION
=0.9.0
22214 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22215 echo "$as_me:$LINENO: checking for pangox" >&5
22216 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22218 if $PKG_CONFIG --exists "pangox" ; then
22219 echo "$as_me:$LINENO: result: yes" >&5
22220 echo "${ECHO_T}yes" >&6
22223 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22224 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22225 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22226 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22227 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22229 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22230 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22231 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22232 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22233 echo "${ECHO_T}$PANGOX_LIBS" >&6
22237 ## If we have a custom action on failure, don't print errors, but
22238 ## do set a variable so people can do so.
22239 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22246 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22247 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22251 if test $succeeded = yes; then
22253 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22254 LIBS
="$LIBS $PANGOX_LIBS"
22258 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22259 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22260 { (exit 1); exit 1; }; }
22268 if test -z "$PKG_CONFIG"; then
22269 # Extract the first word of "pkg-config", so it can be a program name with args.
22270 set dummy pkg
-config; ac_word
=$2
22271 echo "$as_me:$LINENO: checking for $ac_word" >&5
22272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22273 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 case $PKG_CONFIG in
22278 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22282 for as_dir
in $PATH
22285 test -z "$as_dir" && as_dir
=.
22286 for ac_exec_ext
in '' $ac_executable_extensions; do
22287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22288 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22295 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22299 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22301 if test -n "$PKG_CONFIG"; then
22302 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22303 echo "${ECHO_T}$PKG_CONFIG" >&6
22305 echo "$as_me:$LINENO: result: no" >&5
22306 echo "${ECHO_T}no" >&6
22311 if test "$PKG_CONFIG" = "no" ; then
22312 echo "*** The pkg-config script could not be found. Make sure it is"
22313 echo "*** in your path, or set the PKG_CONFIG environment variable"
22314 echo "*** to the full path to pkg-config."
22315 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22317 PKG_CONFIG_MIN_VERSION
=0.9.0
22318 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22319 echo "$as_me:$LINENO: checking for pangoft2" >&5
22320 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22322 if $PKG_CONFIG --exists "pangoft2" ; then
22323 echo "$as_me:$LINENO: result: yes" >&5
22324 echo "${ECHO_T}yes" >&6
22327 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22328 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22329 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22330 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22331 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22333 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22334 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22335 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22336 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22337 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22341 ## If we have a custom action on failure, don't print errors, but
22342 ## do set a variable so people can do so.
22343 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22350 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22351 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22355 if test $succeeded = yes; then
22357 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22358 LIBS
="$LIBS $PANGOFT2_LIBS"
22362 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22363 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22364 wxUSE_PRINTING_ARCHITECTURE
="no"
22372 if test -z "$PKG_CONFIG"; then
22373 # Extract the first word of "pkg-config", so it can be a program name with args.
22374 set dummy pkg
-config; ac_word
=$2
22375 echo "$as_me:$LINENO: checking for $ac_word" >&5
22376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22377 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22378 echo $ECHO_N "(cached) $ECHO_C" >&6
22380 case $PKG_CONFIG in
22382 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22386 for as_dir
in $PATH
22389 test -z "$as_dir" && as_dir
=.
22390 for ac_exec_ext
in '' $ac_executable_extensions; do
22391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22392 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22399 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22403 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22405 if test -n "$PKG_CONFIG"; then
22406 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22407 echo "${ECHO_T}$PKG_CONFIG" >&6
22409 echo "$as_me:$LINENO: result: no" >&5
22410 echo "${ECHO_T}no" >&6
22415 if test "$PKG_CONFIG" = "no" ; then
22416 echo "*** The pkg-config script could not be found. Make sure it is"
22417 echo "*** in your path, or set the PKG_CONFIG environment variable"
22418 echo "*** to the full path to pkg-config."
22419 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22421 PKG_CONFIG_MIN_VERSION
=0.9.0
22422 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22423 echo "$as_me:$LINENO: checking for pangoxft" >&5
22424 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22426 if $PKG_CONFIG --exists "pangoxft" ; then
22427 echo "$as_me:$LINENO: result: yes" >&5
22428 echo "${ECHO_T}yes" >&6
22431 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22432 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22433 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22434 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22435 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22437 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22438 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22439 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22440 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22441 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22445 ## If we have a custom action on failure, don't print errors, but
22446 ## do set a variable so people can do so.
22447 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22454 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22455 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22459 if test $succeeded = yes; then
22461 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22462 LIBS
="$LIBS $PANGOXFT_LIBS"
22466 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22467 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22474 wxUSE_UNIVERSAL
="yes"
22476 if test "$wxUSE_NANOX" = "yes"; then
22477 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22478 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"
22479 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22481 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22484 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22489 if test "$wxUSE_MOTIF" = 1; then
22490 if test "$no_x" = yes; then
22491 # Not all programs may use this symbol, but it does not hurt to define it.
22493 cat >>confdefs.h
<<\_ACEOF
22494 #define X_DISPLAY_MISSING 1
22497 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22499 if test -n "$x_includes"; then
22500 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22503 # It would also be nice to do this for all -L options, not just this one.
22504 if test -n "$x_libraries"; then
22505 X_LIBS
="$X_LIBS -L$x_libraries"
22506 # For Solaris; some versions of Sun CC require a space after -R and
22507 # others require no space. Words are not sufficient . . . .
22508 case `(uname -sr) 2>/dev/null` in
22510 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22511 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22512 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22513 cat >conftest.
$ac_ext <<_ACEOF
22514 #line $LINENO "configure"
22517 cat confdefs.h
>>conftest.
$ac_ext
22518 cat >>conftest.
$ac_ext <<_ACEOF
22519 /* end confdefs.h. */
22529 rm -f conftest.
$ac_objext conftest
$ac_exeext
22530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22531 (eval $ac_link) 2>&5
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); } &&
22535 { ac_try
='test -s conftest$ac_exeext'
22536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22537 (eval $ac_try) 2>&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; }; then
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.
$ac_ext >&5
22548 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22549 if test $ac_R_nospace = yes; then
22550 echo "$as_me:$LINENO: result: no" >&5
22551 echo "${ECHO_T}no" >&6
22552 X_LIBS
="$X_LIBS -R$x_libraries"
22554 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22555 cat >conftest.
$ac_ext <<_ACEOF
22556 #line $LINENO "configure"
22559 cat confdefs.h
>>conftest.
$ac_ext
22560 cat >>conftest.
$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22571 rm -f conftest.
$ac_objext conftest
$ac_exeext
22572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22573 (eval $ac_link) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } &&
22577 { ac_try
='test -s conftest$ac_exeext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.
$ac_ext >&5
22590 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22591 if test $ac_R_space = yes; then
22592 echo "$as_me:$LINENO: result: yes" >&5
22593 echo "${ECHO_T}yes" >&6
22594 X_LIBS
="$X_LIBS -R $x_libraries"
22596 echo "$as_me:$LINENO: result: neither works" >&5
22597 echo "${ECHO_T}neither works" >&6
22600 LIBS
=$ac_xsave_LIBS
22604 # Check for system-dependent libraries X programs must link with.
22605 # Do this before checking for the system-independent R6 libraries
22606 # (-lICE), since we may need -lsocket or whatever for X linking.
22608 if test "$ISC" = yes; then
22609 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22611 # Martyn Johnson says this is needed for Ultrix, if the X
22612 # libraries were built with DECnet support. And Karl Berry says
22613 # the Alpha needs dnet_stub (dnet does not exist).
22614 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22615 cat >conftest.
$ac_ext <<_ACEOF
22616 #line $LINENO "configure"
22619 cat confdefs.h
>>conftest.
$ac_ext
22620 cat >>conftest.
$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22623 /* Override any gcc2 internal prototype to avoid an error. */
22627 /* We use char because int might match the return type of a gcc2
22628 builtin and then its argument prototype would still apply. */
22629 char XOpenDisplay ();
22638 rm -f conftest.
$ac_objext conftest
$ac_exeext
22639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22640 (eval $ac_link) 2>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } &&
22644 { ac_try
='test -s conftest$ac_exeext'
22645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646 (eval $ac_try) 2>&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); }; }; then
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.
$ac_ext >&5
22655 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22656 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22657 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22658 echo $ECHO_N "(cached) $ECHO_C" >&6
22660 ac_check_lib_save_LIBS
=$LIBS
22661 LIBS
="-ldnet $LIBS"
22662 cat >conftest.
$ac_ext <<_ACEOF
22663 #line $LINENO "configure"
22666 cat confdefs.h
>>conftest.
$ac_ext
22667 cat >>conftest.
$ac_ext <<_ACEOF
22668 /* end confdefs.h. */
22670 /* Override any gcc2 internal prototype to avoid an error. */
22674 /* We use char because int might match the return type of a gcc2
22675 builtin and then its argument prototype would still apply. */
22685 rm -f conftest.
$ac_objext conftest
$ac_exeext
22686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22687 (eval $ac_link) 2>&5
22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690 (exit $ac_status); } &&
22691 { ac_try
='test -s conftest$ac_exeext'
22692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22693 (eval $ac_try) 2>&5
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); }; }; then
22697 ac_cv_lib_dnet_dnet_ntoa
=yes
22699 echo "$as_me: failed program was:" >&5
22700 sed 's/^/| /' conftest.
$ac_ext >&5
22702 ac_cv_lib_dnet_dnet_ntoa
=no
22704 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22705 LIBS
=$ac_check_lib_save_LIBS
22707 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22708 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22709 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22710 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22713 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22714 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22715 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22716 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22717 echo $ECHO_N "(cached) $ECHO_C" >&6
22719 ac_check_lib_save_LIBS
=$LIBS
22720 LIBS
="-ldnet_stub $LIBS"
22721 cat >conftest.
$ac_ext <<_ACEOF
22722 #line $LINENO "configure"
22725 cat confdefs.h
>>conftest.
$ac_ext
22726 cat >>conftest.
$ac_ext <<_ACEOF
22727 /* end confdefs.h. */
22729 /* Override any gcc2 internal prototype to avoid an error. */
22733 /* We use char because int might match the return type of a gcc2
22734 builtin and then its argument prototype would still apply. */
22744 rm -f conftest.
$ac_objext conftest
$ac_exeext
22745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22746 (eval $ac_link) 2>&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } &&
22750 { ac_try
='test -s conftest$ac_exeext'
22751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22752 (eval $ac_try) 2>&5
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); }; }; then
22756 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
22758 echo "$as_me: failed program was:" >&5
22759 sed 's/^/| /' conftest.
$ac_ext >&5
22761 ac_cv_lib_dnet_stub_dnet_ntoa
=no
22763 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22764 LIBS
=$ac_check_lib_save_LIBS
22766 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22767 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22768 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22769 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22774 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22775 LIBS
="$ac_xsave_LIBS"
22777 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22778 # to get the SysV transport functions.
22779 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22781 # The nsl library prevents programs from opening the X display
22782 # on Irix 5.2, according to T.E. Dickey.
22783 # The functions gethostbyname, getservbyname, and inet_addr are
22784 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22785 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22786 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22787 if test "${ac_cv_func_gethostbyname+set}" = set; then
22788 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 cat >conftest.
$ac_ext <<_ACEOF
22791 #line $LINENO "configure"
22794 cat confdefs.h
>>conftest.
$ac_ext
22795 cat >>conftest.
$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797 /* System header to define __stub macros and hopefully few prototypes,
22798 which can conflict with char gethostbyname (); below.
22799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22800 <limits.h> exists even on freestanding compilers. */
22802 # include <limits.h>
22804 # include <assert.h>
22806 /* Override any gcc2 internal prototype to avoid an error. */
22811 /* We use char because int might match the return type of a gcc2
22812 builtin and then its argument prototype would still apply. */
22813 char gethostbyname ();
22814 /* The GNU C library defines this for functions which it implements
22815 to always fail with ENOSYS. Some functions are actually named
22816 something starting with __ and the normal name is an alias. */
22817 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22820 char (*f) () = gethostbyname;
22829 return f != gethostbyname;
22834 rm -f conftest.
$ac_objext conftest
$ac_exeext
22835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22836 (eval $ac_link) 2>&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } &&
22840 { ac_try
='test -s conftest$ac_exeext'
22841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22842 (eval $ac_try) 2>&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; }; then
22846 ac_cv_func_gethostbyname
=yes
22848 echo "$as_me: failed program was:" >&5
22849 sed 's/^/| /' conftest.
$ac_ext >&5
22851 ac_cv_func_gethostbyname
=no
22853 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22855 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22856 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22858 if test $ac_cv_func_gethostbyname = no
; then
22859 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22860 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22861 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22864 ac_check_lib_save_LIBS
=$LIBS
22866 cat >conftest.
$ac_ext <<_ACEOF
22867 #line $LINENO "configure"
22870 cat confdefs.h
>>conftest.
$ac_ext
22871 cat >>conftest.
$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22874 /* Override any gcc2 internal prototype to avoid an error. */
22878 /* We use char because int might match the return type of a gcc2
22879 builtin and then its argument prototype would still apply. */
22880 char gethostbyname ();
22889 rm -f conftest.
$ac_objext conftest
$ac_exeext
22890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22891 (eval $ac_link) 2>&5
22893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894 (exit $ac_status); } &&
22895 { ac_try
='test -s conftest$ac_exeext'
22896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22897 (eval $ac_try) 2>&5
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); }; }; then
22901 ac_cv_lib_nsl_gethostbyname
=yes
22903 echo "$as_me: failed program was:" >&5
22904 sed 's/^/| /' conftest.
$ac_ext >&5
22906 ac_cv_lib_nsl_gethostbyname
=no
22908 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22909 LIBS
=$ac_check_lib_save_LIBS
22911 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22912 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22913 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22914 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22917 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22918 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22919 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22920 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22921 echo $ECHO_N "(cached) $ECHO_C" >&6
22923 ac_check_lib_save_LIBS
=$LIBS
22925 cat >conftest.
$ac_ext <<_ACEOF
22926 #line $LINENO "configure"
22929 cat confdefs.h
>>conftest.
$ac_ext
22930 cat >>conftest.
$ac_ext <<_ACEOF
22931 /* end confdefs.h. */
22933 /* Override any gcc2 internal prototype to avoid an error. */
22937 /* We use char because int might match the return type of a gcc2
22938 builtin and then its argument prototype would still apply. */
22939 char gethostbyname ();
22948 rm -f conftest.
$ac_objext conftest
$ac_exeext
22949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22950 (eval $ac_link) 2>&5
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); } &&
22954 { ac_try
='test -s conftest$ac_exeext'
22955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956 (eval $ac_try) 2>&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; }; then
22960 ac_cv_lib_bsd_gethostbyname
=yes
22962 echo "$as_me: failed program was:" >&5
22963 sed 's/^/| /' conftest.
$ac_ext >&5
22965 ac_cv_lib_bsd_gethostbyname
=no
22967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22968 LIBS
=$ac_check_lib_save_LIBS
22970 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22971 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22972 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22973 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22979 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22980 # socket/setsockopt and other routines are undefined under SCO ODT
22981 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22982 # on later versions), says Simon Leinen: it contains gethostby*
22983 # variants that don't use the name server (or something). -lsocket
22984 # must be given before -lnsl if both are needed. We assume that
22985 # if connect needs -lnsl, so does gethostbyname.
22986 echo "$as_me:$LINENO: checking for connect" >&5
22987 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22988 if test "${ac_cv_func_connect+set}" = set; then
22989 echo $ECHO_N "(cached) $ECHO_C" >&6
22991 cat >conftest.
$ac_ext <<_ACEOF
22992 #line $LINENO "configure"
22995 cat confdefs.h
>>conftest.
$ac_ext
22996 cat >>conftest.
$ac_ext <<_ACEOF
22997 /* end confdefs.h. */
22998 /* System header to define __stub macros and hopefully few prototypes,
22999 which can conflict with char connect (); below.
23000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23001 <limits.h> exists even on freestanding compilers. */
23003 # include <limits.h>
23005 # include <assert.h>
23007 /* Override any gcc2 internal prototype to avoid an error. */
23012 /* We use char because int might match the return type of a gcc2
23013 builtin and then its argument prototype would still apply. */
23015 /* The GNU C library defines this for functions which it implements
23016 to always fail with ENOSYS. Some functions are actually named
23017 something starting with __ and the normal name is an alias. */
23018 #if defined (__stub_connect) || defined (__stub___connect)
23021 char (*f) () = connect;
23030 return f != connect;
23035 rm -f conftest.
$ac_objext conftest
$ac_exeext
23036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23037 (eval $ac_link) 2>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } &&
23041 { ac_try
='test -s conftest$ac_exeext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_cv_func_connect
=yes
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.
$ac_ext >&5
23052 ac_cv_func_connect
=no
23054 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23056 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23057 echo "${ECHO_T}$ac_cv_func_connect" >&6
23059 if test $ac_cv_func_connect = no
; then
23060 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23061 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23062 if test "${ac_cv_lib_socket_connect+set}" = set; then
23063 echo $ECHO_N "(cached) $ECHO_C" >&6
23065 ac_check_lib_save_LIBS
=$LIBS
23066 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23067 cat >conftest.
$ac_ext <<_ACEOF
23068 #line $LINENO "configure"
23071 cat confdefs.h
>>conftest.
$ac_ext
23072 cat >>conftest.
$ac_ext <<_ACEOF
23073 /* end confdefs.h. */
23075 /* Override any gcc2 internal prototype to avoid an error. */
23079 /* We use char because int might match the return type of a gcc2
23080 builtin and then its argument prototype would still apply. */
23090 rm -f conftest.
$ac_objext conftest
$ac_exeext
23091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23092 (eval $ac_link) 2>&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } &&
23096 { ac_try
='test -s conftest$ac_exeext'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; }; then
23102 ac_cv_lib_socket_connect
=yes
23104 echo "$as_me: failed program was:" >&5
23105 sed 's/^/| /' conftest.
$ac_ext >&5
23107 ac_cv_lib_socket_connect
=no
23109 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23110 LIBS
=$ac_check_lib_save_LIBS
23112 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23113 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23114 if test $ac_cv_lib_socket_connect = yes; then
23115 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23120 # Guillermo Gomez says -lposix is necessary on A/UX.
23121 echo "$as_me:$LINENO: checking for remove" >&5
23122 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23123 if test "${ac_cv_func_remove+set}" = set; then
23124 echo $ECHO_N "(cached) $ECHO_C" >&6
23126 cat >conftest.
$ac_ext <<_ACEOF
23127 #line $LINENO "configure"
23130 cat confdefs.h
>>conftest.
$ac_ext
23131 cat >>conftest.
$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23133 /* System header to define __stub macros and hopefully few prototypes,
23134 which can conflict with char remove (); below.
23135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23136 <limits.h> exists even on freestanding compilers. */
23138 # include <limits.h>
23140 # include <assert.h>
23142 /* Override any gcc2 internal prototype to avoid an error. */
23147 /* We use char because int might match the return type of a gcc2
23148 builtin and then its argument prototype would still apply. */
23150 /* The GNU C library defines this for functions which it implements
23151 to always fail with ENOSYS. Some functions are actually named
23152 something starting with __ and the normal name is an alias. */
23153 #if defined (__stub_remove) || defined (__stub___remove)
23156 char (*f) () = remove;
23165 return f != remove;
23170 rm -f conftest.
$ac_objext conftest
$ac_exeext
23171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23172 (eval $ac_link) 2>&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } &&
23176 { ac_try
='test -s conftest$ac_exeext'
23177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23178 (eval $ac_try) 2>&5
23180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23181 (exit $ac_status); }; }; then
23182 ac_cv_func_remove
=yes
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.
$ac_ext >&5
23187 ac_cv_func_remove
=no
23189 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23191 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23192 echo "${ECHO_T}$ac_cv_func_remove" >&6
23194 if test $ac_cv_func_remove = no
; then
23195 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23196 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23197 if test "${ac_cv_lib_posix_remove+set}" = set; then
23198 echo $ECHO_N "(cached) $ECHO_C" >&6
23200 ac_check_lib_save_LIBS
=$LIBS
23201 LIBS
="-lposix $LIBS"
23202 cat >conftest.
$ac_ext <<_ACEOF
23203 #line $LINENO "configure"
23206 cat confdefs.h
>>conftest.
$ac_ext
23207 cat >>conftest.
$ac_ext <<_ACEOF
23208 /* end confdefs.h. */
23210 /* Override any gcc2 internal prototype to avoid an error. */
23214 /* We use char because int might match the return type of a gcc2
23215 builtin and then its argument prototype would still apply. */
23225 rm -f conftest.
$ac_objext conftest
$ac_exeext
23226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23227 (eval $ac_link) 2>&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } &&
23231 { ac_try
='test -s conftest$ac_exeext'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 ac_cv_lib_posix_remove
=yes
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.
$ac_ext >&5
23242 ac_cv_lib_posix_remove
=no
23244 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23245 LIBS
=$ac_check_lib_save_LIBS
23247 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23248 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23249 if test $ac_cv_lib_posix_remove = yes; then
23250 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23255 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23256 echo "$as_me:$LINENO: checking for shmat" >&5
23257 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23258 if test "${ac_cv_func_shmat+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23261 cat >conftest.
$ac_ext <<_ACEOF
23262 #line $LINENO "configure"
23265 cat confdefs.h
>>conftest.
$ac_ext
23266 cat >>conftest.
$ac_ext <<_ACEOF
23267 /* end confdefs.h. */
23268 /* System header to define __stub macros and hopefully few prototypes,
23269 which can conflict with char shmat (); below.
23270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23271 <limits.h> exists even on freestanding compilers. */
23273 # include <limits.h>
23275 # include <assert.h>
23277 /* Override any gcc2 internal prototype to avoid an error. */
23282 /* We use char because int might match the return type of a gcc2
23283 builtin and then its argument prototype would still apply. */
23285 /* The GNU C library defines this for functions which it implements
23286 to always fail with ENOSYS. Some functions are actually named
23287 something starting with __ and the normal name is an alias. */
23288 #if defined (__stub_shmat) || defined (__stub___shmat)
23291 char (*f) () = shmat;
23305 rm -f conftest.
$ac_objext conftest
$ac_exeext
23306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23307 (eval $ac_link) 2>&5
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); } &&
23311 { ac_try
='test -s conftest$ac_exeext'
23312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23313 (eval $ac_try) 2>&5
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); }; }; then
23317 ac_cv_func_shmat
=yes
23319 echo "$as_me: failed program was:" >&5
23320 sed 's/^/| /' conftest.
$ac_ext >&5
23322 ac_cv_func_shmat
=no
23324 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23326 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23327 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23329 if test $ac_cv_func_shmat = no
; then
23330 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23331 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23332 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23333 echo $ECHO_N "(cached) $ECHO_C" >&6
23335 ac_check_lib_save_LIBS
=$LIBS
23337 cat >conftest.
$ac_ext <<_ACEOF
23338 #line $LINENO "configure"
23341 cat confdefs.h
>>conftest.
$ac_ext
23342 cat >>conftest.
$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23345 /* Override any gcc2 internal prototype to avoid an error. */
23349 /* We use char because int might match the return type of a gcc2
23350 builtin and then its argument prototype would still apply. */
23360 rm -f conftest.
$ac_objext conftest
$ac_exeext
23361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23362 (eval $ac_link) 2>&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); } &&
23366 { ac_try
='test -s conftest$ac_exeext'
23367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23368 (eval $ac_try) 2>&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); }; }; then
23372 ac_cv_lib_ipc_shmat
=yes
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.
$ac_ext >&5
23377 ac_cv_lib_ipc_shmat
=no
23379 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23380 LIBS
=$ac_check_lib_save_LIBS
23382 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23383 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23384 if test $ac_cv_lib_ipc_shmat = yes; then
23385 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23391 # Check for libraries that X11R6 Xt/Xaw programs need.
23392 ac_save_LDFLAGS
=$LDFLAGS
23393 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23394 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23395 # check for ICE first), but we must link in the order -lSM -lICE or
23396 # we get undefined symbols. So assume we have SM if we have ICE.
23397 # These have to be linked with before -lX11, unlike the other
23398 # libraries we check for below, so use a different variable.
23399 # John Interrante, Karl Berry
23400 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23401 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23402 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23403 echo $ECHO_N "(cached) $ECHO_C" >&6
23405 ac_check_lib_save_LIBS
=$LIBS
23406 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23407 cat >conftest.
$ac_ext <<_ACEOF
23408 #line $LINENO "configure"
23411 cat confdefs.h
>>conftest.
$ac_ext
23412 cat >>conftest.
$ac_ext <<_ACEOF
23413 /* end confdefs.h. */
23415 /* Override any gcc2 internal prototype to avoid an error. */
23419 /* We use char because int might match the return type of a gcc2
23420 builtin and then its argument prototype would still apply. */
23421 char IceConnectionNumber ();
23425 IceConnectionNumber ();
23430 rm -f conftest.
$ac_objext conftest
$ac_exeext
23431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23432 (eval $ac_link) 2>&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); } &&
23436 { ac_try
='test -s conftest$ac_exeext'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; }; then
23442 ac_cv_lib_ICE_IceConnectionNumber
=yes
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.
$ac_ext >&5
23447 ac_cv_lib_ICE_IceConnectionNumber
=no
23449 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23450 LIBS
=$ac_check_lib_save_LIBS
23452 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23453 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23454 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23455 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23458 LDFLAGS
=$ac_save_LDFLAGS
23463 if test "$no_x" = "yes"; then
23464 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23465 echo "$as_me: error: X11 not found" >&2;}
23466 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23469 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23470 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23471 AFMINSTALL
=afminstall
23472 COMPILED_X_PROGRAM
=0
23474 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23475 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23478 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23480 if test -f "$ac_dir/Xm/Xm.h"; then
23481 ac_find_includes
=$ac_dir
23486 if test "$ac_find_includes" != "" ; then
23487 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23488 echo "${ECHO_T}found in $ac_find_includes" >&6
23490 if test "x$ac_find_includes" = "x/usr/include"; then
23491 ac_path_to_include
=""
23493 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23495 if test $result = 0; then
23496 ac_path_to_include
=""
23498 ac_path_to_include
=" -I$ac_find_includes"
23502 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23504 cat >conftest.
$ac_ext <<_ACEOF
23505 #line $LINENO "configure"
23508 cat confdefs.h
>>conftest.
$ac_ext
23509 cat >>conftest.
$ac_ext <<_ACEOF
23510 /* end confdefs.h. */
23519 version = xmUseVersion;
23525 rm -f conftest.
$ac_objext
23526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23527 (eval $ac_compile) 2>&5
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); } &&
23531 { ac_try
='test -s conftest.$ac_objext'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23538 echo "$as_me:$LINENO: result: found in default search path" >&5
23539 echo "${ECHO_T}found in default search path" >&6
23540 COMPILED_X_PROGRAM
=1
23543 echo "$as_me: failed program was:" >&5
23544 sed 's/^/| /' conftest.
$ac_ext >&5
23547 echo "$as_me:$LINENO: result: no" >&5
23548 echo "${ECHO_T}no" >&6
23549 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23550 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23551 { (exit 1); exit 1; }; }
23555 rm -f conftest.
$ac_objext conftest.
$ac_ext
23558 if test "$COMPILED_X_PROGRAM" = 0; then
23559 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23560 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23563 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23565 for ac_extension
in a so sl dylib
; do
23566 if test -f "$ac_dir/libXm.$ac_extension"; then
23567 ac_find_libraries
=$ac_dir
23573 if test "$ac_find_libraries" != "" ; then
23574 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23575 echo "${ECHO_T}found at $ac_find_libraries" >&6
23578 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23580 if test $result = 0; then
23583 ac_path_to_link
=" -L$ac_find_libraries"
23586 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23588 save_CFLAGS
=$CFLAGS
23589 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23591 cat >conftest.
$ac_ext <<_ACEOF
23592 #line $LINENO "configure"
23595 cat confdefs.h
>>conftest.
$ac_ext
23596 cat >>conftest.
$ac_ext <<_ACEOF
23597 /* end confdefs.h. */
23606 version = xmUseVersion;
23612 rm -f conftest.
$ac_objext
23613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23614 (eval $ac_compile) 2>&5
23616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); } &&
23618 { ac_try
='test -s conftest.$ac_objext'
23619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23620 (eval $ac_try) 2>&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); }; }; then
23625 echo "$as_me:$LINENO: result: found in default search path" >&5
23626 echo "${ECHO_T}found in default search path" >&6
23627 COMPILED_X_PROGRAM
=1
23630 echo "$as_me: failed program was:" >&5
23631 sed 's/^/| /' conftest.
$ac_ext >&5
23634 echo "$as_me:$LINENO: result: no" >&5
23635 echo "${ECHO_T}no" >&6
23636 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23637 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23638 { (exit 1); exit 1; }; }
23642 rm -f conftest.
$ac_objext conftest.
$ac_ext
23644 CFLAGS
=$save_CFLAGS
23649 echo "$as_me:$LINENO: checking for Xpm library" >&5
23650 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23653 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23655 for ac_extension
in a so sl dylib
; do
23656 if test -f "$ac_dir/libXpm.$ac_extension"; then
23657 ac_find_libraries
=$ac_dir
23663 if test "$ac_find_libraries" != "" ; then
23665 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23667 if test $result = 0; then
23670 ac_path_to_link
=" -L$ac_find_libraries"
23673 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23676 cat >>confdefs.h
<<\_ACEOF
23677 #define wxHAVE_LIB_XPM 1
23680 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23681 echo "${ECHO_T}found at $ac_find_libraries" >&6
23683 save_CFLAGS
=$CFLAGS
23684 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23686 cat >conftest.
$ac_ext <<_ACEOF
23687 #line $LINENO "configure"
23690 cat confdefs.h
>>conftest.
$ac_ext
23691 cat >>conftest.
$ac_ext <<_ACEOF
23692 /* end confdefs.h. */
23694 #include <X11/xpm.h>
23701 version = XpmLibraryVersion();
23707 rm -f conftest.
$ac_objext
23708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23709 (eval $ac_compile) 2>&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); } &&
23713 { ac_try
='test -s conftest.$ac_objext'
23714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23715 (eval $ac_try) 2>&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); }; }; then
23721 cat >>confdefs.h
<<\_ACEOF
23722 #define wxHAVE_LIB_XPM 1
23725 echo "$as_me:$LINENO: result: found in default search path" >&5
23726 echo "${ECHO_T}found in default search path" >&6
23727 COMPILED_X_PROGRAM
=0
23730 echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.
$ac_ext >&5
23734 echo "$as_me:$LINENO: result: no" >&5
23735 echo "${ECHO_T}no" >&6
23736 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23737 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23741 rm -f conftest.
$ac_objext conftest.
$ac_ext
23743 CFLAGS
=$save_CFLAGS
23746 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23747 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23751 for libp
in "" " -lXp"; do
23752 if test "$libs_found" = "0"; then
23753 for libsm_ice
in " -lSM -lICE"; do
23754 if test "$libs_found" = "0"; then
23756 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23757 save_CFLAGS
=$CFLAGS
23758 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23760 cat >conftest.
$ac_ext <<_ACEOF
23761 #line $LINENO "configure"
23764 cat confdefs.h
>>conftest.
$ac_ext
23765 cat >>conftest.
$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23769 #include <Xm/List.h>
23775 XmString string = NULL;
23778 XmListAddItem(w, string, position);
23784 rm -f conftest.
$ac_objext conftest
$ac_exeext
23785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23786 (eval $ac_link) 2>&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); } &&
23790 { ac_try
='test -s conftest$ac_exeext'
23791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23792 (eval $ac_try) 2>&5
23794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23795 (exit $ac_status); }; }; then
23798 libsm_ice_link
="$libsm_ice"
23799 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23800 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23804 echo "$as_me: failed program was:" >&5
23805 sed 's/^/| /' conftest.
$ac_ext >&5
23810 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23813 CFLAGS
=$save_CFLAGS
23819 if test "$libs_found" = "0"; then
23820 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23821 echo "${ECHO_T}can't find the right libraries" >&6
23822 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23823 echo "$as_me: error: can't link a simple motif program" >&2;}
23824 { (exit 1); exit 1; }; }
23827 save_CFLAGS
=$CFLAGS
23828 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23829 echo "$as_me:$LINENO: checking for Motif 2" >&5
23830 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23831 cat >conftest.
$ac_ext <<_ACEOF
23832 #line $LINENO "configure"
23835 cat confdefs.h
>>conftest.
$ac_ext
23836 cat >>conftest.
$ac_ext <<_ACEOF
23837 /* end confdefs.h. */
23845 #if XmVersion < 2000
23846 #error "Not Motif 2"
23853 rm -f conftest.
$ac_objext
23854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23855 (eval $ac_compile) 2>&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try
='test -s conftest.$ac_objext'
23860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861 (eval $ac_try) 2>&5
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); }; }; then
23866 cat >>confdefs.h
<<\_ACEOF
23867 #define __WXMOTIF20__ 1
23870 echo "$as_me:$LINENO: result: found" >&5
23871 echo "${ECHO_T}found" >&6
23874 echo "$as_me: failed program was:" >&5
23875 sed 's/^/| /' conftest.
$ac_ext >&5
23878 cat >>confdefs.h
<<\_ACEOF
23879 #define __WXMOTIF20__ 0
23882 echo "$as_me:$LINENO: result: not found" >&5
23883 echo "${ECHO_T}not found" >&6
23886 rm -f conftest.
$ac_objext conftest.
$ac_ext
23887 CFLAGS
=$save_CFLAGS
23889 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23890 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23896 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23897 test "$wxHAVE_XEXT_LIB" = 1; then
23898 save_CFLAGS
="$CFLAGS"
23899 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23901 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23902 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23903 cat >conftest.
$ac_ext <<_ACEOF
23904 #line $LINENO "configure"
23907 cat confdefs.h
>>conftest.
$ac_ext
23908 cat >>conftest.
$ac_ext <<_ACEOF
23909 /* end confdefs.h. */
23911 #include <X11/Xlib.h>
23912 #include <X11/extensions/shape.h>
23918 int dummy1, dummy2;
23919 XShapeQueryExtension((Display*)NULL,
23920 (int*)NULL, (int*)NULL);
23926 rm -f conftest.
$ac_objext
23927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23928 (eval $ac_compile) 2>&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } &&
23932 { ac_try
='test -s conftest.$ac_objext'
23933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934 (eval $ac_try) 2>&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; }; then
23939 cat >>confdefs.h
<<\_ACEOF
23940 #define HAVE_XSHAPE 1
23943 echo "$as_me:$LINENO: result: found" >&5
23944 echo "${ECHO_T}found" >&6
23947 echo "$as_me: failed program was:" >&5
23948 sed 's/^/| /' conftest.
$ac_ext >&5
23951 echo "$as_me:$LINENO: result: not found" >&5
23952 echo "${ECHO_T}not found" >&6
23955 rm -f conftest.
$ac_objext conftest.
$ac_ext
23956 CFLAGS
="$save_CFLAGS"
23959 if test "$wxUSE_MAC" = 1; then
23960 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23962 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23967 if test "$wxUSE_COCOA" = 1; then
23968 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
23973 if test "$wxUSE_PM" = 1; then
23976 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23977 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23981 if test "$TOOLKIT" = "PM" ; then
23984 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23987 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23989 if test "$wxUSE_UNIVERSAL" = "yes"; then
23990 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23992 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23993 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23995 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23996 if test "$wxUSE_X11" = 1; then
23997 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
23999 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24001 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24004 ALL_OBJECTS
="\$(GUIOBJS)"
24005 ALL_SOURCES
="\$(ALL_SOURCES)"
24006 ALL_HEADERS
="\$(ALL_HEADERS)"
24009 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24011 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24012 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24015 if test "$wxUSE_HTML" = "yes"; then
24016 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24019 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24020 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24022 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24023 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24025 if test "$wxUSE_LIBPNG" = "builtin" ; then
24026 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24029 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24030 DISTDIR
="wx\$(TOOLKIT)"
24036 if test "$USE_WIN32" = 1 ; then
24037 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24038 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24042 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24043 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24046 ALL_SOURCES
="\$(ALL_SOURCES)"
24047 ALL_HEADERS
="\$(ALL_HEADERS)"
24049 PORT_FILES
="\${top_srcdir}/src/files.lst"
24051 GUIDIST
="BASE_DIST"
24061 if test "$TOOLKIT" != "MSW" ; then
24063 if test "$wxUSE_ODBC" != "no" ; then
24064 cat >>confdefs.h
<<\_ACEOF
24065 #define wxUSE_ODBC 1
24068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24070 WXODBCFLAG
="-D_IODBC_"
24073 if test "$wxUSE_ODBC" = "sys" ; then
24075 if test "${ac_cv_header_sql_h+set}" = set; then
24076 echo "$as_me:$LINENO: checking for sql.h" >&5
24077 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24078 if test "${ac_cv_header_sql_h+set}" = set; then
24079 echo $ECHO_N "(cached) $ECHO_C" >&6
24081 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24082 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24084 # Is the header compilable?
24085 echo "$as_me:$LINENO: checking sql.h usability" >&5
24086 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24087 cat >conftest.
$ac_ext <<_ACEOF
24088 #line $LINENO "configure"
24091 cat confdefs.h
>>conftest.
$ac_ext
24092 cat >>conftest.
$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24094 $ac_includes_default
24097 rm -f conftest.
$ac_objext
24098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24099 (eval $ac_compile) 2>&5
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); } &&
24103 { ac_try
='test -s conftest.$ac_objext'
24104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105 (eval $ac_try) 2>&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); }; }; then
24109 ac_header_compiler
=yes
24111 echo "$as_me: failed program was:" >&5
24112 sed 's/^/| /' conftest.
$ac_ext >&5
24114 ac_header_compiler
=no
24116 rm -f conftest.
$ac_objext conftest.
$ac_ext
24117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24118 echo "${ECHO_T}$ac_header_compiler" >&6
24120 # Is the header present?
24121 echo "$as_me:$LINENO: checking sql.h presence" >&5
24122 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24123 cat >conftest.
$ac_ext <<_ACEOF
24124 #line $LINENO "configure"
24127 cat confdefs.h
>>conftest.
$ac_ext
24128 cat >>conftest.
$ac_ext <<_ACEOF
24129 /* end confdefs.h. */
24132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24135 grep -v '^ *+' conftest.er1
>conftest.err
24137 cat conftest.err
>&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } >/dev
/null
; then
24140 if test -s conftest.err
; then
24141 ac_cpp_err
=$ac_c_preproc_warn_flag
24148 if test -z "$ac_cpp_err"; then
24149 ac_header_preproc
=yes
24151 echo "$as_me: failed program was:" >&5
24152 sed 's/^/| /' conftest.
$ac_ext >&5
24154 ac_header_preproc
=no
24156 rm -f conftest.err conftest.
$ac_ext
24157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24158 echo "${ECHO_T}$ac_header_preproc" >&6
24160 # So? What about this header?
24161 case $ac_header_compiler:$ac_header_preproc in
24163 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24164 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24165 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24166 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24169 ## ------------------------------------ ##
24170 ## Report this to bug-autoconf@gnu.org. ##
24171 ## ------------------------------------ ##
24174 sed "s/^/$as_me: WARNING: /" >&2
24177 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24178 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24179 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24180 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24181 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24182 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24185 ## ------------------------------------ ##
24186 ## Report this to bug-autoconf@gnu.org. ##
24187 ## ------------------------------------ ##
24190 sed "s/^/$as_me: WARNING: /" >&2
24193 echo "$as_me:$LINENO: checking for sql.h" >&5
24194 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24195 if test "${ac_cv_header_sql_h+set}" = set; then
24196 echo $ECHO_N "(cached) $ECHO_C" >&6
24198 ac_cv_header_sql_h
=$ac_header_preproc
24200 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24201 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24206 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24207 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24208 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24209 echo $ECHO_N "(cached) $ECHO_C" >&6
24211 ac_func_search_save_LIBS
=$LIBS
24212 ac_cv_search_SQLAllocEnv
=no
24213 cat >conftest.
$ac_ext <<_ACEOF
24214 #line $LINENO "configure"
24217 cat confdefs.h
>>conftest.
$ac_ext
24218 cat >>conftest.
$ac_ext <<_ACEOF
24219 /* end confdefs.h. */
24221 /* Override any gcc2 internal prototype to avoid an error. */
24225 /* We use char because int might match the return type of a gcc2
24226 builtin and then its argument prototype would still apply. */
24227 char SQLAllocEnv ();
24236 rm -f conftest.
$ac_objext conftest
$ac_exeext
24237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24238 (eval $ac_link) 2>&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } &&
24242 { ac_try
='test -s conftest$ac_exeext'
24243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24244 (eval $ac_try) 2>&5
24246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24247 (exit $ac_status); }; }; then
24248 ac_cv_search_SQLAllocEnv
="none required"
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.
$ac_ext >&5
24254 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24255 if test "$ac_cv_search_SQLAllocEnv" = no
; then
24256 for ac_lib
in iodbc unixodbc odbc
; do
24257 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
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
="-l$ac_lib"
24296 echo "$as_me: failed program was:" >&5
24297 sed 's/^/| /' conftest.
$ac_ext >&5
24300 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24303 LIBS
=$ac_func_search_save_LIBS
24305 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24306 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24307 if test "$ac_cv_search_SQLAllocEnv" != no
; then
24308 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS
="$ac_cv_search_SQLAllocEnv $LIBS"
24312 wxUSE_ODBC
=builtin;
24313 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24314 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24319 if test "$wxUSE_ODBC" != "sys" ; then
24320 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
24327 if test "$wxUSE_REGEX" = "builtin" ; then
24328 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24330 if test "$wxUSE_ZLIB" = "builtin" ; then
24331 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24335 if test "$wxUSE_OPENGL" = "yes"; then
24336 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24337 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24338 elif test "$wxUSE_MSW" = 1; then
24339 OPENGL_LIBS
="-lopengl32 -lglu32"
24344 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24346 if test -f "$ac_dir/GL/gl.h"; then
24347 ac_find_includes
=$ac_dir
24352 if test "$ac_find_includes" != "" ; then
24353 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24354 echo "${ECHO_T}found in $ac_find_includes" >&6
24357 if test "x$ac_find_includes" = "x/usr/include"; then
24358 ac_path_to_include
=""
24360 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24362 if test $result = 0; then
24363 ac_path_to_include
=""
24365 ac_path_to_include
=" -I$ac_find_includes"
24369 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24373 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24374 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24375 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24376 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24377 echo $ECHO_N "(cached) $ECHO_C" >&6
24379 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24380 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24382 # Is the header compilable?
24383 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24384 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24385 cat >conftest.
$ac_ext <<_ACEOF
24386 #line $LINENO "configure"
24389 cat confdefs.h
>>conftest.
$ac_ext
24390 cat >>conftest.
$ac_ext <<_ACEOF
24391 /* end confdefs.h. */
24392 $ac_includes_default
24395 rm -f conftest.
$ac_objext
24396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24397 (eval $ac_compile) 2>&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); } &&
24401 { ac_try
='test -s conftest.$ac_objext'
24402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24403 (eval $ac_try) 2>&5
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); }; }; then
24407 ac_header_compiler
=yes
24409 echo "$as_me: failed program was:" >&5
24410 sed 's/^/| /' conftest.
$ac_ext >&5
24412 ac_header_compiler
=no
24414 rm -f conftest.
$ac_objext conftest.
$ac_ext
24415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24416 echo "${ECHO_T}$ac_header_compiler" >&6
24418 # Is the header present?
24419 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24420 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24421 cat >conftest.
$ac_ext <<_ACEOF
24422 #line $LINENO "configure"
24425 cat confdefs.h
>>conftest.
$ac_ext
24426 cat >>conftest.
$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24431 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24433 grep -v '^ *+' conftest.er1
>conftest.err
24435 cat conftest.err
>&5
24436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24437 (exit $ac_status); } >/dev
/null
; then
24438 if test -s conftest.err
; then
24439 ac_cpp_err
=$ac_c_preproc_warn_flag
24446 if test -z "$ac_cpp_err"; then
24447 ac_header_preproc
=yes
24449 echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.
$ac_ext >&5
24452 ac_header_preproc
=no
24454 rm -f conftest.err conftest.
$ac_ext
24455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24456 echo "${ECHO_T}$ac_header_preproc" >&6
24458 # So? What about this header?
24459 case $ac_header_compiler:$ac_header_preproc in
24461 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24462 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24464 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24467 ## ------------------------------------ ##
24468 ## Report this to bug-autoconf@gnu.org. ##
24469 ## ------------------------------------ ##
24472 sed "s/^/$as_me: WARNING: /" >&2
24475 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24476 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24477 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24478 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24479 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24480 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24483 ## ------------------------------------ ##
24484 ## Report this to bug-autoconf@gnu.org. ##
24485 ## ------------------------------------ ##
24488 sed "s/^/$as_me: WARNING: /" >&2
24491 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24492 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24493 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24494 echo $ECHO_N "(cached) $ECHO_C" >&6
24496 ac_cv_header_GL_gl_h
=$ac_header_preproc
24498 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24499 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24502 if test $ac_cv_header_GL_gl_h = yes; then
24506 echo "$as_me:$LINENO: checking for -lGL" >&5
24507 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24510 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24512 for ac_extension
in a so sl dylib
; do
24513 if test -f "$ac_dir/libGL.$ac_extension"; then
24514 ac_find_libraries
=$ac_dir
24520 if test "$ac_find_libraries" != "" ; then
24522 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24524 if test $result = 0; then
24527 ac_path_to_link
=" -L$ac_find_libraries"
24530 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24531 LDFLAGS_GL
="$ac_path_to_link"
24536 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24538 for ac_extension
in a so sl dylib
; do
24539 if test -f "$ac_dir/libGLU.$ac_extension"; then
24540 ac_find_libraries
=$ac_dir
24546 if test "$ac_find_libraries" != "" ; then
24548 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24550 if test $result = 0; then
24553 ac_path_to_link
=" -L$ac_find_libraries"
24556 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24557 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24558 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24562 OPENGL_LIBS
="-lGL -lGLU"
24563 echo "$as_me:$LINENO: result: yes" >&5
24564 echo "${ECHO_T}yes" >&6
24568 if "$found_gl" != 1; then
24569 echo "$as_me:$LINENO: result: no" >&5
24570 echo "${ECHO_T}no" >&6
24571 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24572 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24575 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24577 for ac_extension
in a so sl dylib
; do
24578 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24579 ac_find_libraries
=$ac_dir
24585 if test "$ac_find_libraries" != "" ; then
24587 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24589 if test $result = 0; then
24592 ac_path_to_link
=" -L$ac_find_libraries"
24595 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24596 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24597 echo "$as_me:$LINENO: result: yes" >&5
24598 echo "${ECHO_T}yes" >&6
24600 echo "$as_me:$LINENO: result: no" >&5
24601 echo "${ECHO_T}no" >&6
24609 if test "x$OPENGL_LIBS" = "x"; then
24610 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24611 echo "$as_me: error: OpenGL libraries not available" >&2;}
24612 { (exit 1); exit 1; }; }
24616 if test "$wxUSE_OPENGL" = "yes"; then
24617 cat >>confdefs.h
<<\_ACEOF
24618 #define wxUSE_OPENGL 1
24621 cat >>confdefs.h
<<\_ACEOF
24622 #define wxUSE_GLCANVAS 1
24625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
24629 if test -z "$TOOLKIT_VPATH" ; then
24630 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
24633 if test -n "$TOOLKIT" ; then
24634 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24638 lib_unicode_suffix
=
24639 if test "$wxUSE_UNICODE" = "yes"; then
24640 lib_unicode_suffix
=u
24646 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24651 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24653 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24654 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24656 if test "$cross_compiling" = "yes"; then
24657 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
24658 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
24661 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
24662 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
24663 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24665 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24666 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24668 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24669 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24670 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24671 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24674 *-*-cygwin* | *-*-mingw32* )
24678 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24679 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24680 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24681 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
24682 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24684 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24685 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24691 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24692 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24694 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24695 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24696 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24697 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24699 if test "$wxUSE_MAC" = 1; then
24700 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24701 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24706 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
24707 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
24709 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
24710 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
24712 if test "$wxUSE_OPENGL" = "yes"; then
24713 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24714 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24719 if test "$wxUSE_SHARED" = "yes"; then
24721 *-pc-os2_emx | *-pc-os2-emx | \
24724 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24725 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24731 if test "$wxUSE_SHARED" = "yes"; then
24734 if test "$wxUSE_OPENGL" = "yes"; then
24735 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
24736 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
24738 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
24739 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
24742 if test "$GCC" = "yes"; then
24748 found_versioning
=no
24751 if test $found_versioning = no
; then
24752 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24753 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24754 if test "${wx_cv_version_script+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24758 echo "VER_1 { *; };" >conftest.sym
24759 echo "int main() { return 0; }" >conftest.cpp
24762 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24763 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24765 (eval $ac_try) 2>&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); }; } ; then
24769 if test -s conftest.stderr
; then
24770 wx_cv_version_script
=no
24772 wx_cv_version_script
=yes
24775 wx_cv_version_script
=no
24777 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24780 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24781 echo "${ECHO_T}$wx_cv_version_script" >&6
24782 if test $wx_cv_version_script = yes ; then
24783 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
24788 SHARED_LD
="${CXX} -shared -o"
24792 if test "$GCC" = "yes"; then
24793 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
24795 LDFLAGS
="$LDFLAGS -L/usr/lib"
24797 SHARED_LD
="${CXX} -b -o"
24801 if test "$wxUSE_OPENGL" = "yes"; then
24802 WX_ALL_INSTALLED
="preinstall_gl"
24803 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
24805 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24809 *-*-linux* | *-*-gnu* )
24810 if test "$GCC" != "yes"; then
24811 echo "$as_me:$LINENO: checking for Intel compiler" >&5
24812 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
24813 if test "${wx_cv_prog_icc+set}" = set; then
24814 echo $ECHO_N "(cached) $ECHO_C" >&6
24817 cat >conftest.
$ac_ext <<_ACEOF
24818 #line $LINENO "configure"
24821 cat confdefs.h
>>conftest.
$ac_ext
24822 cat >>conftest.
$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24829 #ifndef __INTEL_COMPILER
24837 rm -f conftest.
$ac_objext
24838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24839 (eval $ac_compile) 2>&5
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); } &&
24843 { ac_try
='test -s conftest.$ac_objext'
24844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24845 (eval $ac_try) 2>&5
24847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24848 (exit $ac_status); }; }; then
24851 echo "$as_me: failed program was:" >&5
24852 sed 's/^/| /' conftest.
$ac_ext >&5
24857 rm -f conftest.
$ac_objext conftest.
$ac_ext
24860 echo "$as_me:$LINENO: result: $wx_cv_prog_icc" >&5
24861 echo "${ECHO_T}$wx_cv_prog_icc" >&6
24862 if test "$wx_cv_prog_icc" = "yes"; then
24867 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
24871 if test "$GCC" = yes ; then
24872 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
24874 saveLdflags
="$LDFLAGS"
24875 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
24876 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24877 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24878 cat >conftest.
$ac_ext <<_ACEOF
24879 #line $LINENO "configure"
24882 cat confdefs.h
>>conftest.
$ac_ext
24883 cat >>conftest.
$ac_ext <<_ACEOF
24884 /* end confdefs.h. */
24894 rm -f conftest.
$ac_objext conftest
$ac_exeext
24895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24896 (eval $ac_link) 2>&5
24898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24899 (exit $ac_status); } &&
24900 { ac_try
='test -s conftest$ac_exeext'
24901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902 (eval $ac_try) 2>&5
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; }; then
24907 echo "$as_me:$LINENO: result: yes" >&5
24908 echo "${ECHO_T}yes" >&6
24909 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
24912 echo "$as_me: failed program was:" >&5
24913 sed 's/^/| /' conftest.
$ac_ext >&5
24916 echo "$as_me:$LINENO: result: no" >&5
24917 echo "${ECHO_T}no" >&6
24918 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24919 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24920 LDFLAGS
="$saveLdflags -Wl,-R,/"
24921 cat >conftest.
$ac_ext <<_ACEOF
24922 #line $LINENO "configure"
24925 cat confdefs.h
>>conftest.
$ac_ext
24926 cat >>conftest.
$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24937 rm -f conftest.
$ac_objext conftest
$ac_exeext
24938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24939 (eval $ac_link) 2>&5
24941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24942 (exit $ac_status); } &&
24943 { ac_try
='test -s conftest$ac_exeext'
24944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24945 (eval $ac_try) 2>&5
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); }; }; then
24950 echo "$as_me:$LINENO: result: yes" >&5
24951 echo "${ECHO_T}yes" >&6
24952 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
24954 echo "$as_me: failed program was:" >&5
24955 sed 's/^/| /' conftest.
$ac_ext >&5
24958 echo "$as_me:$LINENO: result: no" >&5
24959 echo "${ECHO_T}no" >&6
24962 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24965 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24966 LDFLAGS
="$saveLdflags"
24968 SHARED_LD
="${CXX} -G -o"
24970 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
24975 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
24976 CFLAGS
="$CFLAGS -fno-common"
24977 CXXFLAGS
="$CXXFLAGS -fno-common"
24978 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
24979 PIC_FLAG
="-dynamic -fPIC"
24983 if test "$GCC" != "yes"; then
24984 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
24985 set dummy makeC
++SharedLib
; ac_word
=$2
24986 echo "$as_me:$LINENO: checking for $ac_word" >&5
24987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24988 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
24989 echo $ECHO_N "(cached) $ECHO_C" >&6
24991 if test -n "$AIX_CXX_LD"; then
24992 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
24994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24995 for as_dir
in $PATH
24998 test -z "$as_dir" && as_dir
=.
24999 for ac_exec_ext
in '' $ac_executable_extensions; do
25000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25001 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
25002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25008 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
25011 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
25012 if test -n "$AIX_CXX_LD"; then
25013 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
25014 echo "${ECHO_T}$AIX_CXX_LD" >&6
25016 echo "$as_me:$LINENO: result: no" >&5
25017 echo "${ECHO_T}no" >&6
25021 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
25025 *-*-cygwin* | *-*-mingw32* )
25026 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
25028 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
25029 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
25031 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
25033 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
25034 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
25036 if test "$wxUSE_OPENGL" = "yes"; then
25037 LIBS
="${LIBS} ${OPENGL_LIBS}"
25042 SHARED_LD
="${LD} -shared -o"
25046 if test "$GCC" != "yes"; then
25051 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
25059 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
25060 echo "$as_me: error: unknown system type $host." >&2;}
25061 { (exit 1); exit 1; }; }
25064 if test "x$WX_TARGET_LIBRARY" = "x"; then
25065 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25066 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25069 WX_TARGET_LIBRARY_TYPE
="so"
25070 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25073 if test "$wxUSE_SHARED" = "no"; then
25075 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25076 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25079 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25080 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25083 if test "$wxUSE_OPENGL" = "yes"; then
25084 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25085 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25087 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25090 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25091 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25093 WX_TARGET_LIBRARY_TYPE
="a"
25094 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25104 if test "$wxUSE_MAC" = 1; then
25105 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25106 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25107 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25108 # Extract the first word of "Rez", so it can be a program name with args.
25109 set dummy Rez
; ac_word
=$2
25110 echo "$as_me:$LINENO: checking for $ac_word" >&5
25111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25112 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25113 echo $ECHO_N "(cached) $ECHO_C" >&6
25115 if test -n "$RESCOMP"; then
25116 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25119 for as_dir
in $PATH
25122 test -z "$as_dir" && as_dir
=.
25123 for ac_exec_ext
in '' $ac_executable_extensions; do
25124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25125 ac_cv_prog_RESCOMP
="Rez"
25126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25132 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25135 RESCOMP
=$ac_cv_prog_RESCOMP
25136 if test -n "$RESCOMP"; then
25137 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25138 echo "${ECHO_T}$RESCOMP" >&6
25140 echo "$as_me:$LINENO: result: no" >&5
25141 echo "${ECHO_T}no" >&6
25144 # Extract the first word of "DeRez", so it can be a program name with args.
25145 set dummy DeRez
; ac_word
=$2
25146 echo "$as_me:$LINENO: checking for $ac_word" >&5
25147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25148 if test "${ac_cv_prog_DEREZ+set}" = set; then
25149 echo $ECHO_N "(cached) $ECHO_C" >&6
25151 if test -n "$DEREZ"; then
25152 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25155 for as_dir
in $PATH
25158 test -z "$as_dir" && as_dir
=.
25159 for ac_exec_ext
in '' $ac_executable_extensions; do
25160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25161 ac_cv_prog_DEREZ
="DeRez"
25162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25168 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25171 DEREZ
=$ac_cv_prog_DEREZ
25172 if test -n "$DEREZ"; then
25173 echo "$as_me:$LINENO: result: $DEREZ" >&5
25174 echo "${ECHO_T}$DEREZ" >&6
25176 echo "$as_me:$LINENO: result: no" >&5
25177 echo "${ECHO_T}no" >&6
25180 # Extract the first word of "SetFile", so it can be a program name with args.
25181 set dummy SetFile
; ac_word
=$2
25182 echo "$as_me:$LINENO: checking for $ac_word" >&5
25183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25184 if test "${ac_cv_prog_SETFILE+set}" = set; then
25185 echo $ECHO_N "(cached) $ECHO_C" >&6
25187 if test -n "$SETFILE"; then
25188 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25191 for as_dir
in $PATH
25194 test -z "$as_dir" && as_dir
=.
25195 for ac_exec_ext
in '' $ac_executable_extensions; do
25196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25197 ac_cv_prog_SETFILE
="SetFile"
25198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25204 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25207 SETFILE
=$ac_cv_prog_SETFILE
25208 if test -n "$SETFILE"; then
25209 echo "$as_me:$LINENO: result: $SETFILE" >&5
25210 echo "${ECHO_T}$SETFILE" >&6
25212 echo "$as_me:$LINENO: result: no" >&5
25213 echo "${ECHO_T}no" >&6
25216 MACOSX_BUNDLE
="bundle"
25217 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25218 MACSETFILE
="\$(SETFILE)"
25219 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25220 elif test "$wxUSE_COCOA" = 1; then
25221 # Extract the first word of "Rez", so it can be a program name with args.
25222 set dummy Rez
; ac_word
=$2
25223 echo "$as_me:$LINENO: checking for $ac_word" >&5
25224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25225 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25226 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 if test -n "$RESCOMP"; then
25229 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25232 for as_dir
in $PATH
25235 test -z "$as_dir" && as_dir
=.
25236 for ac_exec_ext
in '' $ac_executable_extensions; do
25237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25238 ac_cv_prog_RESCOMP
="Rez"
25239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25245 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25248 RESCOMP
=$ac_cv_prog_RESCOMP
25249 if test -n "$RESCOMP"; then
25250 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25251 echo "${ECHO_T}$RESCOMP" >&6
25253 echo "$as_me:$LINENO: result: no" >&5
25254 echo "${ECHO_T}no" >&6
25257 # Extract the first word of "DeRez", so it can be a program name with args.
25258 set dummy DeRez
; ac_word
=$2
25259 echo "$as_me:$LINENO: checking for $ac_word" >&5
25260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25261 if test "${ac_cv_prog_DEREZ+set}" = set; then
25262 echo $ECHO_N "(cached) $ECHO_C" >&6
25264 if test -n "$DEREZ"; then
25265 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25268 for as_dir
in $PATH
25271 test -z "$as_dir" && as_dir
=.
25272 for ac_exec_ext
in '' $ac_executable_extensions; do
25273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25274 ac_cv_prog_DEREZ
="DeRez"
25275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25281 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25284 DEREZ
=$ac_cv_prog_DEREZ
25285 if test -n "$DEREZ"; then
25286 echo "$as_me:$LINENO: result: $DEREZ" >&5
25287 echo "${ECHO_T}$DEREZ" >&6
25289 echo "$as_me:$LINENO: result: no" >&5
25290 echo "${ECHO_T}no" >&6
25293 # Extract the first word of "SetFile", so it can be a program name with args.
25294 set dummy SetFile
; ac_word
=$2
25295 echo "$as_me:$LINENO: checking for $ac_word" >&5
25296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25297 if test "${ac_cv_prog_SETFILE+set}" = set; then
25298 echo $ECHO_N "(cached) $ECHO_C" >&6
25300 if test -n "$SETFILE"; then
25301 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25304 for as_dir
in $PATH
25307 test -z "$as_dir" && as_dir
=.
25308 for ac_exec_ext
in '' $ac_executable_extensions; do
25309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25310 ac_cv_prog_SETFILE
="SetFile"
25311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25317 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25320 SETFILE
=$ac_cv_prog_SETFILE
25321 if test -n "$SETFILE"; then
25322 echo "$as_me:$LINENO: result: $SETFILE" >&5
25323 echo "${ECHO_T}$SETFILE" >&6
25325 echo "$as_me:$LINENO: result: no" >&5
25326 echo "${ECHO_T}no" >&6
25329 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25330 MACSETFILE
="\$(SETFILE)"
25331 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25333 if test "$wxUSE_PM" = 1; then
25334 MACRESCOMP
="emxbind -ep"
25339 echo "$as_me:$LINENO: checking for mode_t" >&5
25340 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25341 if test "${ac_cv_type_mode_t+set}" = set; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25344 cat >conftest.
$ac_ext <<_ACEOF
25345 #line $LINENO "configure"
25348 cat confdefs.h
>>conftest.
$ac_ext
25349 cat >>conftest.
$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25351 $ac_includes_default
25357 if (sizeof (mode_t))
25363 rm -f conftest.
$ac_objext
25364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25365 (eval $ac_compile) 2>&5
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); } &&
25369 { ac_try
='test -s conftest.$ac_objext'
25370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371 (eval $ac_try) 2>&5
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); }; }; then
25375 ac_cv_type_mode_t
=yes
25377 echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.
$ac_ext >&5
25380 ac_cv_type_mode_t
=no
25382 rm -f conftest.
$ac_objext conftest.
$ac_ext
25384 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25385 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25386 if test $ac_cv_type_mode_t = yes; then
25390 cat >>confdefs.h
<<_ACEOF
25396 echo "$as_me:$LINENO: checking for off_t" >&5
25397 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25398 if test "${ac_cv_type_off_t+set}" = set; then
25399 echo $ECHO_N "(cached) $ECHO_C" >&6
25401 cat >conftest.
$ac_ext <<_ACEOF
25402 #line $LINENO "configure"
25405 cat confdefs.h
>>conftest.
$ac_ext
25406 cat >>conftest.
$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25408 $ac_includes_default
25414 if (sizeof (off_t))
25420 rm -f conftest.
$ac_objext
25421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25422 (eval $ac_compile) 2>&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); } &&
25426 { ac_try
='test -s conftest.$ac_objext'
25427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25428 (eval $ac_try) 2>&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); }; }; then
25432 ac_cv_type_off_t
=yes
25434 echo "$as_me: failed program was:" >&5
25435 sed 's/^/| /' conftest.
$ac_ext >&5
25437 ac_cv_type_off_t
=no
25439 rm -f conftest.
$ac_objext conftest.
$ac_ext
25441 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25442 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25443 if test $ac_cv_type_off_t = yes; then
25447 cat >>confdefs.h
<<_ACEOF
25453 echo "$as_me:$LINENO: checking for pid_t" >&5
25454 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25455 if test "${ac_cv_type_pid_t+set}" = set; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 cat >conftest.
$ac_ext <<_ACEOF
25459 #line $LINENO "configure"
25462 cat confdefs.h
>>conftest.
$ac_ext
25463 cat >>conftest.
$ac_ext <<_ACEOF
25464 /* end confdefs.h. */
25465 $ac_includes_default
25471 if (sizeof (pid_t))
25477 rm -f conftest.
$ac_objext
25478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25479 (eval $ac_compile) 2>&5
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); } &&
25483 { ac_try
='test -s conftest.$ac_objext'
25484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25485 (eval $ac_try) 2>&5
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); }; }; then
25489 ac_cv_type_pid_t
=yes
25491 echo "$as_me: failed program was:" >&5
25492 sed 's/^/| /' conftest.
$ac_ext >&5
25494 ac_cv_type_pid_t
=no
25496 rm -f conftest.
$ac_objext conftest.
$ac_ext
25498 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25499 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25500 if test $ac_cv_type_pid_t = yes; then
25504 cat >>confdefs.h
<<_ACEOF
25510 echo "$as_me:$LINENO: checking for size_t" >&5
25511 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25512 if test "${ac_cv_type_size_t+set}" = set; then
25513 echo $ECHO_N "(cached) $ECHO_C" >&6
25515 cat >conftest.
$ac_ext <<_ACEOF
25516 #line $LINENO "configure"
25519 cat confdefs.h
>>conftest.
$ac_ext
25520 cat >>conftest.
$ac_ext <<_ACEOF
25521 /* end confdefs.h. */
25522 $ac_includes_default
25528 if (sizeof (size_t))
25534 rm -f conftest.
$ac_objext
25535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25536 (eval $ac_compile) 2>&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); } &&
25540 { ac_try
='test -s conftest.$ac_objext'
25541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25542 (eval $ac_try) 2>&5
25544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545 (exit $ac_status); }; }; then
25546 ac_cv_type_size_t
=yes
25548 echo "$as_me: failed program was:" >&5
25549 sed 's/^/| /' conftest.
$ac_ext >&5
25551 ac_cv_type_size_t
=no
25553 rm -f conftest.
$ac_objext conftest.
$ac_ext
25555 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25556 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25557 if test $ac_cv_type_size_t = yes; then
25561 cat >>confdefs.h
<<_ACEOF
25562 #define size_t unsigned
25567 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25568 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25569 if test "${ac_cv_type_uid_t+set}" = set; then
25570 echo $ECHO_N "(cached) $ECHO_C" >&6
25572 cat >conftest.
$ac_ext <<_ACEOF
25573 #line $LINENO "configure"
25576 cat confdefs.h
>>conftest.
$ac_ext
25577 cat >>conftest.
$ac_ext <<_ACEOF
25578 /* end confdefs.h. */
25579 #include <sys/types.h>
25582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25583 $EGREP "uid_t" >/dev
/null
2>&1; then
25584 ac_cv_type_uid_t
=yes
25586 ac_cv_type_uid_t
=no
25591 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25592 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25593 if test $ac_cv_type_uid_t = no
; then
25595 cat >>confdefs.h
<<\_ACEOF
25600 cat >>confdefs.h
<<\_ACEOF
25610 ac_cpp
='$CXXCPP $CPPFLAGS'
25611 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25612 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25613 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25615 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25616 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25617 if test "${wx_cv_size_t_is_uint+set}" = set; then
25618 echo $ECHO_N "(cached) $ECHO_C" >&6
25621 cat >conftest.
$ac_ext <<_ACEOF
25622 #line $LINENO "configure"
25625 cat confdefs.h
>>conftest.
$ac_ext
25626 cat >>conftest.
$ac_ext <<_ACEOF
25627 /* end confdefs.h. */
25628 #include <stddef.h>
25635 struct Foo { void foo(size_t); void foo(unsigned int); };
25643 rm -f conftest.
$ac_objext
25644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25645 (eval $ac_compile) 2>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); } &&
25649 { ac_try
='test -s conftest.$ac_objext'
25650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25651 (eval $ac_try) 2>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; }; then
25655 wx_cv_size_t_is_uint
=no
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.
$ac_ext >&5
25660 wx_cv_size_t_is_uint
=yes
25663 rm -f conftest.
$ac_objext conftest.
$ac_ext
25667 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25668 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25670 if test "$wx_cv_size_t_is_uint" = "yes"; then
25671 cat >>confdefs.h
<<\_ACEOF
25672 #define wxSIZE_T_IS_UINT 1
25676 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25677 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25678 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25679 echo $ECHO_N "(cached) $ECHO_C" >&6
25681 cat >conftest.
$ac_ext <<_ACEOF
25682 #line $LINENO "configure"
25685 cat confdefs.h
>>conftest.
$ac_ext
25686 cat >>conftest.
$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25688 #include <stddef.h>
25695 struct Foo { void foo(size_t); void foo(unsigned long); };
25703 rm -f conftest.
$ac_objext
25704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25705 (eval $ac_compile) 2>&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); } &&
25709 { ac_try
='test -s conftest.$ac_objext'
25710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25711 (eval $ac_try) 2>&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; }; then
25715 wx_cv_size_t_is_ulong
=no
25717 echo "$as_me: failed program was:" >&5
25718 sed 's/^/| /' conftest.
$ac_ext >&5
25720 wx_cv_size_t_is_ulong
=yes
25723 rm -f conftest.
$ac_objext conftest.
$ac_ext
25726 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25727 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25729 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25730 cat >>confdefs.h
<<\_ACEOF
25731 #define wxSIZE_T_IS_ULONG 1
25738 ac_cpp
='$CPP $CPPFLAGS'
25739 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25740 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25741 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25745 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25746 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25747 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25751 cat >conftest.
$ac_ext <<_ACEOF
25752 #line $LINENO "configure"
25755 cat confdefs.h
>>conftest.
$ac_ext
25756 cat >>conftest.
$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25771 rm -f conftest.
$ac_objext
25772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25773 (eval $ac_compile) 2>&5
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); } &&
25777 { ac_try
='test -s conftest.$ac_objext'
25778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779 (eval $ac_try) 2>&5
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); }; }; then
25784 wx_cv_struct_pw_gecos
=yes
25787 echo "$as_me: failed program was:" >&5
25788 sed 's/^/| /' conftest.
$ac_ext >&5
25791 wx_cv_struct_pw_gecos
=no
25795 rm -f conftest.
$ac_objext conftest.
$ac_ext
25799 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25800 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25802 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25803 cat >>confdefs.h
<<\_ACEOF
25804 #define HAVE_PW_GECOS 1
25810 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25811 cat >>confdefs.h
<<\_ACEOF
25812 #define wxUSE_WCHAR_T 1
25819 for ac_func
in wcslen
25821 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25822 echo "$as_me:$LINENO: checking for $ac_func" >&5
25823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25824 if eval "test \"\${$as_ac_var+set}\" = set"; then
25825 echo $ECHO_N "(cached) $ECHO_C" >&6
25827 cat >conftest.
$ac_ext <<_ACEOF
25828 #line $LINENO "configure"
25831 cat confdefs.h
>>conftest.
$ac_ext
25832 cat >>conftest.
$ac_ext <<_ACEOF
25833 /* end confdefs.h. */
25834 /* System header to define __stub macros and hopefully few prototypes,
25835 which can conflict with char $ac_func (); below.
25836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25837 <limits.h> exists even on freestanding compilers. */
25839 # include <limits.h>
25841 # include <assert.h>
25843 /* Override any gcc2 internal prototype to avoid an error. */
25848 /* We use char because int might match the return type of a gcc2
25849 builtin and then its argument prototype would still apply. */
25851 /* The GNU C library defines this for functions which it implements
25852 to always fail with ENOSYS. Some functions are actually named
25853 something starting with __ and the normal name is an alias. */
25854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25857 char (*f) () = $ac_func;
25866 return f != $ac_func;
25871 rm -f conftest.
$ac_objext conftest
$ac_exeext
25872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25873 (eval $ac_link) 2>&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); } &&
25877 { ac_try
='test -s conftest$ac_exeext'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; }; then
25883 eval "$as_ac_var=yes"
25885 echo "$as_me: failed program was:" >&5
25886 sed 's/^/| /' conftest.
$ac_ext >&5
25888 eval "$as_ac_var=no"
25890 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25894 if test `eval echo '${'$as_ac_var'}'` = yes; then
25895 cat >>confdefs.h
<<_ACEOF
25896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25903 if test "$WCSLEN_FOUND" = 0; then
25904 if test "$TOOLKIT" = "MSW"; then
25905 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25906 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25907 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25908 echo $ECHO_N "(cached) $ECHO_C" >&6
25910 ac_check_lib_save_LIBS
=$LIBS
25911 LIBS
="-lmsvcrt $LIBS"
25912 cat >conftest.
$ac_ext <<_ACEOF
25913 #line $LINENO "configure"
25916 cat confdefs.h
>>conftest.
$ac_ext
25917 cat >>conftest.
$ac_ext <<_ACEOF
25918 /* end confdefs.h. */
25920 /* Override any gcc2 internal prototype to avoid an error. */
25924 /* We use char because int might match the return type of a gcc2
25925 builtin and then its argument prototype would still apply. */
25935 rm -f conftest.
$ac_objext conftest
$ac_exeext
25936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25937 (eval $ac_link) 2>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); } &&
25941 { ac_try
='test -s conftest$ac_exeext'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; }; then
25947 ac_cv_lib_msvcrt_wcslen
=yes
25949 echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.
$ac_ext >&5
25952 ac_cv_lib_msvcrt_wcslen
=no
25954 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25955 LIBS
=$ac_check_lib_save_LIBS
25957 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25958 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25959 if test $ac_cv_lib_msvcrt_wcslen = yes; then
25964 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25965 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25966 if test "${ac_cv_lib_w_wcslen+set}" = set; then
25967 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 ac_check_lib_save_LIBS
=$LIBS
25971 cat >conftest.
$ac_ext <<_ACEOF
25972 #line $LINENO "configure"
25975 cat confdefs.h
>>conftest.
$ac_ext
25976 cat >>conftest.
$ac_ext <<_ACEOF
25977 /* end confdefs.h. */
25979 /* Override any gcc2 internal prototype to avoid an error. */
25983 /* We use char because int might match the return type of a gcc2
25984 builtin and then its argument prototype would still apply. */
25994 rm -f conftest.
$ac_objext conftest
$ac_exeext
25995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25996 (eval $ac_link) 2>&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try
='test -s conftest$ac_exeext'
26001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26002 (eval $ac_try) 2>&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); }; }; then
26006 ac_cv_lib_w_wcslen
=yes
26008 echo "$as_me: failed program was:" >&5
26009 sed 's/^/| /' conftest.
$ac_ext >&5
26011 ac_cv_lib_w_wcslen
=no
26013 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26014 LIBS
=$ac_check_lib_save_LIBS
26016 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26017 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26018 if test $ac_cv_lib_w_wcslen = yes; then
26028 if test "$WCSLEN_FOUND" = 1; then
26029 cat >>confdefs.h
<<\_ACEOF
26030 #define HAVE_WCSLEN 1
26036 for ac_func
in wcsrtombs
26038 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26039 echo "$as_me:$LINENO: checking for $ac_func" >&5
26040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26041 if eval "test \"\${$as_ac_var+set}\" = set"; then
26042 echo $ECHO_N "(cached) $ECHO_C" >&6
26044 cat >conftest.
$ac_ext <<_ACEOF
26045 #line $LINENO "configure"
26048 cat confdefs.h
>>conftest.
$ac_ext
26049 cat >>conftest.
$ac_ext <<_ACEOF
26050 /* end confdefs.h. */
26051 /* System header to define __stub macros and hopefully few prototypes,
26052 which can conflict with char $ac_func (); below.
26053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26054 <limits.h> exists even on freestanding compilers. */
26056 # include <limits.h>
26058 # include <assert.h>
26060 /* Override any gcc2 internal prototype to avoid an error. */
26065 /* We use char because int might match the return type of a gcc2
26066 builtin and then its argument prototype would still apply. */
26068 /* The GNU C library defines this for functions which it implements
26069 to always fail with ENOSYS. Some functions are actually named
26070 something starting with __ and the normal name is an alias. */
26071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26074 char (*f) () = $ac_func;
26083 return f != $ac_func;
26088 rm -f conftest.
$ac_objext conftest
$ac_exeext
26089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26090 (eval $ac_link) 2>&5
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); } &&
26094 { ac_try
='test -s conftest$ac_exeext'
26095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26096 (eval $ac_try) 2>&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); }; }; then
26100 eval "$as_ac_var=yes"
26102 echo "$as_me: failed program was:" >&5
26103 sed 's/^/| /' conftest.
$ac_ext >&5
26105 eval "$as_ac_var=no"
26107 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26111 if test `eval echo '${'$as_ac_var'}'` = yes; then
26112 cat >>confdefs.h
<<_ACEOF
26113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26120 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26121 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26127 ac_cpp
='$CXXCPP $CPPFLAGS'
26128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26134 for ac_func
in vsnprintf
26136 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26137 echo "$as_me:$LINENO: checking for $ac_func" >&5
26138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26139 if eval "test \"\${$as_ac_var+set}\" = set"; then
26140 echo $ECHO_N "(cached) $ECHO_C" >&6
26142 cat >conftest.
$ac_ext <<_ACEOF
26143 #line $LINENO "configure"
26146 cat confdefs.h
>>conftest.
$ac_ext
26147 cat >>conftest.
$ac_ext <<_ACEOF
26148 /* end confdefs.h. */
26149 /* System header to define __stub macros and hopefully few prototypes,
26150 which can conflict with char $ac_func (); below.
26151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26152 <limits.h> exists even on freestanding compilers. */
26154 # include <limits.h>
26156 # include <assert.h>
26158 /* Override any gcc2 internal prototype to avoid an error. */
26163 /* We use char because int might match the return type of a gcc2
26164 builtin and then its argument prototype would still apply. */
26166 /* The GNU C library defines this for functions which it implements
26167 to always fail with ENOSYS. Some functions are actually named
26168 something starting with __ and the normal name is an alias. */
26169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26172 char (*f) () = $ac_func;
26181 return f != $ac_func;
26186 rm -f conftest.
$ac_objext conftest
$ac_exeext
26187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26188 (eval $ac_link) 2>&5
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); } &&
26192 { ac_try
='test -s conftest$ac_exeext'
26193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26194 (eval $ac_try) 2>&5
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); }; }; then
26198 eval "$as_ac_var=yes"
26200 echo "$as_me: failed program was:" >&5
26201 sed 's/^/| /' conftest.
$ac_ext >&5
26203 eval "$as_ac_var=no"
26205 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26209 if test `eval echo '${'$as_ac_var'}'` = yes; then
26210 cat >>confdefs.h
<<_ACEOF
26211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26218 if test "$ac_cv_func_vsnprintf" = "yes"; then
26219 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26220 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26221 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26222 echo $ECHO_N "(cached) $ECHO_C" >&6
26225 cat >conftest.
$ac_ext <<_ACEOF
26226 #line $LINENO "configure"
26229 cat confdefs.h
>>conftest.
$ac_ext
26230 cat >>conftest.
$ac_ext <<_ACEOF
26231 /* end confdefs.h. */
26234 #include <stdarg.h>
26242 vsnprintf(buf, 10u, "%s", ap);
26248 rm -f conftest.
$ac_objext
26249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26250 (eval $ac_compile) 2>&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); } &&
26254 { ac_try
='test -s conftest.$ac_objext'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; }; then
26260 wx_cv_func_vsnprintf_decl
=yes
26262 echo "$as_me: failed program was:" >&5
26263 sed 's/^/| /' conftest.
$ac_ext >&5
26265 wx_cv_func_vsnprintf_decl
=no
26268 rm -f conftest.
$ac_objext conftest.
$ac_ext
26272 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26273 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26275 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26276 cat >>confdefs.h
<<\_ACEOF
26277 #define HAVE_VSNPRINTF_DECL 1
26283 if test "$wxUSE_UNICODE" = yes; then
26287 for ac_func
in fputwc wprintf vswprintf
26289 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26290 echo "$as_me:$LINENO: checking for $ac_func" >&5
26291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26292 if eval "test \"\${$as_ac_var+set}\" = set"; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26295 cat >conftest.
$ac_ext <<_ACEOF
26296 #line $LINENO "configure"
26299 cat confdefs.h
>>conftest.
$ac_ext
26300 cat >>conftest.
$ac_ext <<_ACEOF
26301 /* end confdefs.h. */
26302 /* System header to define __stub macros and hopefully few prototypes,
26303 which can conflict with char $ac_func (); below.
26304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26305 <limits.h> exists even on freestanding compilers. */
26307 # include <limits.h>
26309 # include <assert.h>
26311 /* Override any gcc2 internal prototype to avoid an error. */
26316 /* We use char because int might match the return type of a gcc2
26317 builtin and then its argument prototype would still apply. */
26319 /* The GNU C library defines this for functions which it implements
26320 to always fail with ENOSYS. Some functions are actually named
26321 something starting with __ and the normal name is an alias. */
26322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26325 char (*f) () = $ac_func;
26334 return f != $ac_func;
26339 rm -f conftest.
$ac_objext conftest
$ac_exeext
26340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26341 (eval $ac_link) 2>&5
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); } &&
26345 { ac_try
='test -s conftest$ac_exeext'
26346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26347 (eval $ac_try) 2>&5
26349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350 (exit $ac_status); }; }; then
26351 eval "$as_ac_var=yes"
26353 echo "$as_me: failed program was:" >&5
26354 sed 's/^/| /' conftest.
$ac_ext >&5
26356 eval "$as_ac_var=no"
26358 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26362 if test `eval echo '${'$as_ac_var'}'` = yes; then
26363 cat >>confdefs.h
<<_ACEOF
26364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26371 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26372 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26373 cat >conftest.
$ac_ext <<_ACEOF
26374 #line $LINENO "configure"
26377 cat confdefs.h
>>conftest.
$ac_ext
26378 cat >>conftest.
$ac_ext <<_ACEOF
26379 /* end confdefs.h. */
26389 rm -f conftest.
$ac_objext
26390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26391 (eval $ac_compile) 2>&5
26393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26394 (exit $ac_status); } &&
26395 { ac_try
='test -s conftest.$ac_objext'
26396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26397 (eval $ac_try) 2>&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); }; }; then
26401 echo "$as_me:$LINENO: result: yes" >&5
26402 echo "${ECHO_T}yes" >&6
26403 cat >>confdefs.h
<<\_ACEOF
26404 #define HAVE__VSNWPRINTF 1
26408 echo "$as_me: failed program was:" >&5
26409 sed 's/^/| /' conftest.
$ac_ext >&5
26411 echo "$as_me:$LINENO: result: no" >&5
26412 echo "${ECHO_T}no" >&6
26414 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26418 ac_cpp
='$CPP $CPPFLAGS'
26419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26426 if test "$TOOLKIT" != "MSW"; then
26432 ac_cpp
='$CXXCPP $CPPFLAGS'
26433 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26434 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26435 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26440 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26441 if test "${with_libiconv_prefix+set}" = set; then
26442 withval
="$with_libiconv_prefix"
26444 for dir
in `echo "$withval" | tr : ' '`; do
26445 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26446 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26451 echo "$as_me:$LINENO: checking for iconv" >&5
26452 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26453 if test "${am_cv_func_iconv+set}" = set; then
26454 echo $ECHO_N "(cached) $ECHO_C" >&6
26457 am_cv_func_iconv
="no, consider installing GNU libiconv"
26459 cat >conftest.
$ac_ext <<_ACEOF
26460 #line $LINENO "configure"
26463 cat confdefs.h
>>conftest.
$ac_ext
26464 cat >>conftest.
$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26466 #include <stdlib.h>
26471 iconv_t cd = iconv_open("","");
26472 iconv(cd,NULL,NULL,NULL,NULL);
26478 rm -f conftest.
$ac_objext conftest
$ac_exeext
26479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26480 (eval $ac_link) 2>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); } &&
26484 { ac_try
='test -s conftest$ac_exeext'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; }; then
26490 am_cv_func_iconv
=yes
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.
$ac_ext >&5
26496 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26497 if test "$am_cv_func_iconv" != yes; then
26498 am_save_LIBS
="$LIBS"
26499 LIBS
="$LIBS -liconv"
26500 cat >conftest.
$ac_ext <<_ACEOF
26501 #line $LINENO "configure"
26504 cat confdefs.h
>>conftest.
$ac_ext
26505 cat >>conftest.
$ac_ext <<_ACEOF
26506 /* end confdefs.h. */
26507 #include <stdlib.h>
26512 iconv_t cd = iconv_open("","");
26513 iconv(cd,NULL,NULL,NULL,NULL);
26519 rm -f conftest.
$ac_objext conftest
$ac_exeext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26521 (eval $ac_link) 2>&5
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); } &&
26525 { ac_try
='test -s conftest$ac_exeext'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; }; then
26531 am_cv_lib_iconv
=yes
26532 am_cv_func_iconv
=yes
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.
$ac_ext >&5
26538 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26539 LIBS
="$am_save_LIBS"
26543 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26544 echo "${ECHO_T}$am_cv_func_iconv" >&6
26545 if test "$am_cv_func_iconv" = yes; then
26547 cat >>confdefs.h
<<\_ACEOF
26548 #define HAVE_ICONV 1
26551 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26552 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26553 if test "${wx_cv_func_iconv_const+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26556 cat >conftest.
$ac_ext <<_ACEOF
26557 #line $LINENO "configure"
26560 cat confdefs.h
>>conftest.
$ac_ext
26561 cat >>conftest.
$ac_ext <<_ACEOF
26562 /* end confdefs.h. */
26564 #include <stdlib.h>
26570 #if defined(__STDC__) || defined(__cplusplus)
26571 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26584 rm -f conftest.
$ac_objext
26585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26586 (eval $ac_compile) 2>&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); } &&
26590 { ac_try
='test -s conftest.$ac_objext'
26591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26592 (eval $ac_try) 2>&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); }; }; then
26596 wx_cv_func_iconv_const
="no"
26598 echo "$as_me: failed program was:" >&5
26599 sed 's/^/| /' conftest.
$ac_ext >&5
26601 wx_cv_func_iconv_const
="yes"
26604 rm -f conftest.
$ac_objext conftest.
$ac_ext
26607 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26608 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26611 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26612 iconv_const
="const"
26616 cat >>confdefs.h
<<_ACEOF
26617 #define ICONV_CONST $iconv_const
26622 if test "$am_cv_lib_iconv" = yes; then
26627 LIBS
="$LIBICONV $LIBS"
26629 ac_cpp
='$CPP $CPPFLAGS'
26630 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26631 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26632 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26635 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26637 for ac_func
in sigaction
26639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26640 echo "$as_me:$LINENO: checking for $ac_func" >&5
26641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26642 if eval "test \"\${$as_ac_var+set}\" = set"; then
26643 echo $ECHO_N "(cached) $ECHO_C" >&6
26645 cat >conftest.
$ac_ext <<_ACEOF
26646 #line $LINENO "configure"
26649 cat confdefs.h
>>conftest.
$ac_ext
26650 cat >>conftest.
$ac_ext <<_ACEOF
26651 /* end confdefs.h. */
26652 /* System header to define __stub macros and hopefully few prototypes,
26653 which can conflict with char $ac_func (); below.
26654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26655 <limits.h> exists even on freestanding compilers. */
26657 # include <limits.h>
26659 # include <assert.h>
26661 /* Override any gcc2 internal prototype to avoid an error. */
26666 /* We use char because int might match the return type of a gcc2
26667 builtin and then its argument prototype would still apply. */
26669 /* The GNU C library defines this for functions which it implements
26670 to always fail with ENOSYS. Some functions are actually named
26671 something starting with __ and the normal name is an alias. */
26672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26675 char (*f) () = $ac_func;
26684 return f != $ac_func;
26689 rm -f conftest.
$ac_objext conftest
$ac_exeext
26690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26691 (eval $ac_link) 2>&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); } &&
26695 { ac_try
='test -s conftest$ac_exeext'
26696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26697 (eval $ac_try) 2>&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); }; }; then
26701 eval "$as_ac_var=yes"
26703 echo "$as_me: failed program was:" >&5
26704 sed 's/^/| /' conftest.
$ac_ext >&5
26706 eval "$as_ac_var=no"
26708 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26712 if test `eval echo '${'$as_ac_var'}'` = yes; then
26713 cat >>confdefs.h
<<_ACEOF
26714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26721 if test "$ac_cv_func_sigaction" = "no"; then
26722 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26723 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26724 wxUSE_ON_FATAL_EXCEPTION
=no
26727 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26731 ac_cpp
='$CXXCPP $CPPFLAGS'
26732 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26733 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26734 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26737 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26738 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26739 if test "${wx_cv_type_sa_handler+set}" = set; then
26740 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 cat >conftest.
$ac_ext <<_ACEOF
26744 #line $LINENO "configure"
26747 cat confdefs.h
>>conftest.
$ac_ext
26748 cat >>conftest.
$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26750 #include <signal.h>
26755 extern void testSigHandler(int);
26757 struct sigaction sa;
26758 sa.sa_handler = testSigHandler;
26764 rm -f conftest.
$ac_objext
26765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26766 (eval $ac_compile) 2>&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } &&
26770 { ac_try
='test -s conftest.$ac_objext'
26771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26772 (eval $ac_try) 2>&5
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); }; }; then
26777 wx_cv_type_sa_handler
=int
26780 echo "$as_me: failed program was:" >&5
26781 sed 's/^/| /' conftest.
$ac_ext >&5
26784 wx_cv_type_sa_handler
=void
26787 rm -f conftest.
$ac_objext conftest.
$ac_ext
26790 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26791 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26794 ac_cpp
='$CPP $CPPFLAGS'
26795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26800 cat >>confdefs.h
<<_ACEOF
26801 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26809 for ac_func
in mkstemp mktemp
26811 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26812 echo "$as_me:$LINENO: checking for $ac_func" >&5
26813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26814 if eval "test \"\${$as_ac_var+set}\" = set"; then
26815 echo $ECHO_N "(cached) $ECHO_C" >&6
26817 cat >conftest.
$ac_ext <<_ACEOF
26818 #line $LINENO "configure"
26821 cat confdefs.h
>>conftest.
$ac_ext
26822 cat >>conftest.
$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26824 /* System header to define __stub macros and hopefully few prototypes,
26825 which can conflict with char $ac_func (); below.
26826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26827 <limits.h> exists even on freestanding compilers. */
26829 # include <limits.h>
26831 # include <assert.h>
26833 /* Override any gcc2 internal prototype to avoid an error. */
26838 /* We use char because int might match the return type of a gcc2
26839 builtin and then its argument prototype would still apply. */
26841 /* The GNU C library defines this for functions which it implements
26842 to always fail with ENOSYS. Some functions are actually named
26843 something starting with __ and the normal name is an alias. */
26844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26847 char (*f) () = $ac_func;
26856 return f != $ac_func;
26861 rm -f conftest.
$ac_objext conftest
$ac_exeext
26862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26863 (eval $ac_link) 2>&5
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); } &&
26867 { ac_try
='test -s conftest$ac_exeext'
26868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26869 (eval $ac_try) 2>&5
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); }; }; then
26873 eval "$as_ac_var=yes"
26875 echo "$as_me: failed program was:" >&5
26876 sed 's/^/| /' conftest.
$ac_ext >&5
26878 eval "$as_ac_var=no"
26880 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26884 if test `eval echo '${'$as_ac_var'}'` = yes; then
26885 cat >>confdefs.h
<<_ACEOF
26886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26893 echo "$as_me:$LINENO: checking for statfs" >&5
26894 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26895 if test "${wx_cv_func_statfs+set}" = set; then
26896 echo $ECHO_N "(cached) $ECHO_C" >&6
26898 cat >conftest.
$ac_ext <<_ACEOF
26899 #line $LINENO "configure"
26902 cat confdefs.h
>>conftest.
$ac_ext
26903 cat >>conftest.
$ac_ext <<_ACEOF
26904 /* end confdefs.h. */
26906 #if defined(__BSD__)
26907 #include <sys/param.h>
26908 #include <sys/mount.h>
26910 #include <sys/vfs.h>
26928 rm -f conftest.
$ac_objext
26929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26930 (eval $ac_compile) 2>&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); } &&
26934 { ac_try
='test -s conftest.$ac_objext'
26935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26936 (eval $ac_try) 2>&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); }; }; then
26941 wx_cv_func_statfs
=yes
26944 echo "$as_me: failed program was:" >&5
26945 sed 's/^/| /' conftest.
$ac_ext >&5
26948 wx_cv_func_statfs
=no
26952 rm -f conftest.
$ac_objext conftest.
$ac_ext
26955 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26956 echo "${ECHO_T}$wx_cv_func_statfs" >&6
26958 if test "$wx_cv_func_statfs" = "yes"; then
26959 wx_cv_type_statvfs_t
="struct statfs"
26960 cat >>confdefs.h
<<\_ACEOF
26961 #define HAVE_STATFS 1
26965 echo "$as_me:$LINENO: checking for statvfs" >&5
26966 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26967 if test "${wx_cv_func_statvfs+set}" = set; then
26968 echo $ECHO_N "(cached) $ECHO_C" >&6
26970 cat >conftest.
$ac_ext <<_ACEOF
26971 #line $LINENO "configure"
26974 cat confdefs.h
>>conftest.
$ac_ext
26975 cat >>conftest.
$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26978 #include <stddef.h>
26979 #include <sys/statvfs.h>
26985 statvfs("/", NULL);
26991 rm -f conftest.
$ac_objext
26992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26993 (eval $ac_compile) 2>&5
26995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996 (exit $ac_status); } &&
26997 { ac_try
='test -s conftest.$ac_objext'
26998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26999 (eval $ac_try) 2>&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); }; }; then
27003 wx_cv_func_statvfs
=yes
27005 echo "$as_me: failed program was:" >&5
27006 sed 's/^/| /' conftest.
$ac_ext >&5
27008 wx_cv_func_statvfs
=no
27011 rm -f conftest.
$ac_objext conftest.
$ac_ext
27014 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27015 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27017 if test "$wx_cv_func_statvfs" = "yes"; then
27021 ac_cpp
='$CXXCPP $CPPFLAGS'
27022 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27023 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27024 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27027 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27028 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27029 if test "${wx_cv_type_statvfs_t+set}" = set; then
27030 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 cat >conftest.
$ac_ext <<_ACEOF
27033 #line $LINENO "configure"
27036 cat confdefs.h
>>conftest.
$ac_ext
27037 cat >>conftest.
$ac_ext <<_ACEOF
27038 /* end confdefs.h. */
27040 #include <sys/statvfs.h>
27057 rm -f conftest.
$ac_objext
27058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27059 (eval $ac_compile) 2>&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } &&
27063 { ac_try
='test -s conftest.$ac_objext'
27064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27065 (eval $ac_try) 2>&5
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); }; }; then
27069 wx_cv_type_statvfs_t
=statvfs_t
27071 echo "$as_me: failed program was:" >&5
27072 sed 's/^/| /' conftest.
$ac_ext >&5
27075 cat >conftest.
$ac_ext <<_ACEOF
27076 #line $LINENO "configure"
27079 cat confdefs.h
>>conftest.
$ac_ext
27080 cat >>conftest.
$ac_ext <<_ACEOF
27081 /* end confdefs.h. */
27083 #include <sys/statvfs.h>
27100 rm -f conftest.
$ac_objext
27101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27102 (eval $ac_compile) 2>&5
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); } &&
27106 { ac_try
='test -s conftest.$ac_objext'
27107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27108 (eval $ac_try) 2>&5
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); }; }; then
27112 wx_cv_type_statvfs_t
="struct statvfs"
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.
$ac_ext >&5
27117 wx_cv_type_statvfs_t
="unknown"
27120 rm -f conftest.
$ac_objext conftest.
$ac_ext
27124 rm -f conftest.
$ac_objext conftest.
$ac_ext
27127 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27128 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27131 ac_cpp
='$CPP $CPPFLAGS'
27132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27137 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27138 cat >>confdefs.h
<<\_ACEOF
27139 #define HAVE_STATVFS 1
27144 wx_cv_type_statvfs_t
="unknown"
27148 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27149 cat >>confdefs.h
<<_ACEOF
27150 #define WX_STATFS_T $wx_cv_type_statvfs_t
27154 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27155 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27158 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27161 for ac_func
in fcntl flock
27163 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27164 echo "$as_me:$LINENO: checking for $ac_func" >&5
27165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27166 if eval "test \"\${$as_ac_var+set}\" = set"; then
27167 echo $ECHO_N "(cached) $ECHO_C" >&6
27169 cat >conftest.
$ac_ext <<_ACEOF
27170 #line $LINENO "configure"
27173 cat confdefs.h
>>conftest.
$ac_ext
27174 cat >>conftest.
$ac_ext <<_ACEOF
27175 /* end confdefs.h. */
27176 /* System header to define __stub macros and hopefully few prototypes,
27177 which can conflict with char $ac_func (); below.
27178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27179 <limits.h> exists even on freestanding compilers. */
27181 # include <limits.h>
27183 # include <assert.h>
27185 /* Override any gcc2 internal prototype to avoid an error. */
27190 /* We use char because int might match the return type of a gcc2
27191 builtin and then its argument prototype would still apply. */
27193 /* The GNU C library defines this for functions which it implements
27194 to always fail with ENOSYS. Some functions are actually named
27195 something starting with __ and the normal name is an alias. */
27196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27199 char (*f) () = $ac_func;
27208 return f != $ac_func;
27213 rm -f conftest.
$ac_objext conftest
$ac_exeext
27214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27215 (eval $ac_link) 2>&5
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); } &&
27219 { ac_try
='test -s conftest$ac_exeext'
27220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27221 (eval $ac_try) 2>&5
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); }; }; then
27225 eval "$as_ac_var=yes"
27227 echo "$as_me: failed program was:" >&5
27228 sed 's/^/| /' conftest.
$ac_ext >&5
27230 eval "$as_ac_var=no"
27232 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27236 if test `eval echo '${'$as_ac_var'}'` = yes; then
27237 cat >>confdefs.h
<<_ACEOF
27238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27245 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27246 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27247 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27248 wxUSE_SNGLINST_CHECKER
=no
27253 for ac_func
in timegm
27255 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27256 echo "$as_me:$LINENO: checking for $ac_func" >&5
27257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27258 if eval "test \"\${$as_ac_var+set}\" = set"; then
27259 echo $ECHO_N "(cached) $ECHO_C" >&6
27261 cat >conftest.
$ac_ext <<_ACEOF
27262 #line $LINENO "configure"
27265 cat confdefs.h
>>conftest.
$ac_ext
27266 cat >>conftest.
$ac_ext <<_ACEOF
27267 /* end confdefs.h. */
27268 /* System header to define __stub macros and hopefully few prototypes,
27269 which can conflict with char $ac_func (); below.
27270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27271 <limits.h> exists even on freestanding compilers. */
27273 # include <limits.h>
27275 # include <assert.h>
27277 /* Override any gcc2 internal prototype to avoid an error. */
27282 /* We use char because int might match the return type of a gcc2
27283 builtin and then its argument prototype would still apply. */
27285 /* The GNU C library defines this for functions which it implements
27286 to always fail with ENOSYS. Some functions are actually named
27287 something starting with __ and the normal name is an alias. */
27288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27291 char (*f) () = $ac_func;
27300 return f != $ac_func;
27305 rm -f conftest.
$ac_objext conftest
$ac_exeext
27306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27307 (eval $ac_link) 2>&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } &&
27311 { ac_try
='test -s conftest$ac_exeext'
27312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27313 (eval $ac_try) 2>&5
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); }; }; then
27317 eval "$as_ac_var=yes"
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.
$ac_ext >&5
27322 eval "$as_ac_var=no"
27324 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27328 if test `eval echo '${'$as_ac_var'}'` = yes; then
27329 cat >>confdefs.h
<<_ACEOF
27330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27339 for ac_func
in putenv setenv
27341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27342 echo "$as_me:$LINENO: checking for $ac_func" >&5
27343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27344 if eval "test \"\${$as_ac_var+set}\" = set"; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27347 cat >conftest.
$ac_ext <<_ACEOF
27348 #line $LINENO "configure"
27351 cat confdefs.h
>>conftest.
$ac_ext
27352 cat >>conftest.
$ac_ext <<_ACEOF
27353 /* end confdefs.h. */
27354 /* System header to define __stub macros and hopefully few prototypes,
27355 which can conflict with char $ac_func (); below.
27356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27357 <limits.h> exists even on freestanding compilers. */
27359 # include <limits.h>
27361 # include <assert.h>
27363 /* Override any gcc2 internal prototype to avoid an error. */
27368 /* We use char because int might match the return type of a gcc2
27369 builtin and then its argument prototype would still apply. */
27371 /* The GNU C library defines this for functions which it implements
27372 to always fail with ENOSYS. Some functions are actually named
27373 something starting with __ and the normal name is an alias. */
27374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27377 char (*f) () = $ac_func;
27386 return f != $ac_func;
27391 rm -f conftest.
$ac_objext conftest
$ac_exeext
27392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27393 (eval $ac_link) 2>&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try
='test -s conftest$ac_exeext'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; }; then
27403 eval "$as_ac_var=yes"
27405 echo "$as_me: failed program was:" >&5
27406 sed 's/^/| /' conftest.
$ac_ext >&5
27408 eval "$as_ac_var=no"
27410 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27414 if test `eval echo '${'$as_ac_var'}'` = yes; then
27415 cat >>confdefs.h
<<_ACEOF
27416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27423 HAVE_SOME_SLEEP_FUNC
=0
27424 if test "$USE_BEOS" = 1; then
27425 cat >>confdefs.h
<<\_ACEOF
27426 #define HAVE_SLEEP 1
27429 HAVE_SOME_SLEEP_FUNC
=1
27432 if test "$USE_DARWIN" = 1; then
27433 cat >>confdefs.h
<<\_ACEOF
27434 #define HAVE_USLEEP 1
27437 HAVE_SOME_SLEEP_FUNC
=1
27440 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27443 for ac_func
in nanosleep
27445 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27446 echo "$as_me:$LINENO: checking for $ac_func" >&5
27447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27448 if eval "test \"\${$as_ac_var+set}\" = set"; then
27449 echo $ECHO_N "(cached) $ECHO_C" >&6
27451 cat >conftest.
$ac_ext <<_ACEOF
27452 #line $LINENO "configure"
27455 cat confdefs.h
>>conftest.
$ac_ext
27456 cat >>conftest.
$ac_ext <<_ACEOF
27457 /* end confdefs.h. */
27458 /* System header to define __stub macros and hopefully few prototypes,
27459 which can conflict with char $ac_func (); below.
27460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27461 <limits.h> exists even on freestanding compilers. */
27463 # include <limits.h>
27465 # include <assert.h>
27467 /* Override any gcc2 internal prototype to avoid an error. */
27472 /* We use char because int might match the return type of a gcc2
27473 builtin and then its argument prototype would still apply. */
27475 /* The GNU C library defines this for functions which it implements
27476 to always fail with ENOSYS. Some functions are actually named
27477 something starting with __ and the normal name is an alias. */
27478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27481 char (*f) () = $ac_func;
27490 return f != $ac_func;
27495 rm -f conftest.
$ac_objext conftest
$ac_exeext
27496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27497 (eval $ac_link) 2>&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } &&
27501 { ac_try
='test -s conftest$ac_exeext'
27502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27503 (eval $ac_try) 2>&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); }; }; then
27507 eval "$as_ac_var=yes"
27509 echo "$as_me: failed program was:" >&5
27510 sed 's/^/| /' conftest.
$ac_ext >&5
27512 eval "$as_ac_var=no"
27514 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27518 if test `eval echo '${'$as_ac_var'}'` = yes; then
27519 cat >>confdefs.h
<<_ACEOF
27520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27522 cat >>confdefs.h
<<\_ACEOF
27523 #define HAVE_NANOSLEEP 1
27528 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27529 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27530 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27531 echo $ECHO_N "(cached) $ECHO_C" >&6
27533 ac_check_lib_save_LIBS
=$LIBS
27534 LIBS
="-lposix4 $LIBS"
27535 cat >conftest.
$ac_ext <<_ACEOF
27536 #line $LINENO "configure"
27539 cat confdefs.h
>>conftest.
$ac_ext
27540 cat >>conftest.
$ac_ext <<_ACEOF
27541 /* end confdefs.h. */
27543 /* Override any gcc2 internal prototype to avoid an error. */
27547 /* We use char because int might match the return type of a gcc2
27548 builtin and then its argument prototype would still apply. */
27558 rm -f conftest.
$ac_objext conftest
$ac_exeext
27559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27560 (eval $ac_link) 2>&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); } &&
27564 { ac_try
='test -s conftest$ac_exeext'
27565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27566 (eval $ac_try) 2>&5
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); }; }; then
27570 ac_cv_lib_posix4_nanosleep
=yes
27572 echo "$as_me: failed program was:" >&5
27573 sed 's/^/| /' conftest.
$ac_ext >&5
27575 ac_cv_lib_posix4_nanosleep
=no
27577 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27578 LIBS
=$ac_check_lib_save_LIBS
27580 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27581 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27582 if test $ac_cv_lib_posix4_nanosleep = yes; then
27584 cat >>confdefs.h
<<\_ACEOF
27585 #define HAVE_NANOSLEEP 1
27588 POSIX4_LINK
=" -lposix4"
27593 for ac_func
in usleep
27595 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27596 echo "$as_me:$LINENO: checking for $ac_func" >&5
27597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27598 if eval "test \"\${$as_ac_var+set}\" = set"; then
27599 echo $ECHO_N "(cached) $ECHO_C" >&6
27601 cat >conftest.
$ac_ext <<_ACEOF
27602 #line $LINENO "configure"
27605 cat confdefs.h
>>conftest.
$ac_ext
27606 cat >>conftest.
$ac_ext <<_ACEOF
27607 /* end confdefs.h. */
27608 /* System header to define __stub macros and hopefully few prototypes,
27609 which can conflict with char $ac_func (); below.
27610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27611 <limits.h> exists even on freestanding compilers. */
27613 # include <limits.h>
27615 # include <assert.h>
27617 /* Override any gcc2 internal prototype to avoid an error. */
27622 /* We use char because int might match the return type of a gcc2
27623 builtin and then its argument prototype would still apply. */
27625 /* The GNU C library defines this for functions which it implements
27626 to always fail with ENOSYS. Some functions are actually named
27627 something starting with __ and the normal name is an alias. */
27628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27631 char (*f) () = $ac_func;
27640 return f != $ac_func;
27645 rm -f conftest.
$ac_objext conftest
$ac_exeext
27646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27647 (eval $ac_link) 2>&5
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); } &&
27651 { ac_try
='test -s conftest$ac_exeext'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; }; then
27657 eval "$as_ac_var=yes"
27659 echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.
$ac_ext >&5
27662 eval "$as_ac_var=no"
27664 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27668 if test `eval echo '${'$as_ac_var'}'` = yes; then
27669 cat >>confdefs.h
<<_ACEOF
27670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27672 cat >>confdefs.h
<<\_ACEOF
27673 #define HAVE_USLEEP 1
27677 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27678 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27696 for ac_func
in uname gethostname
27698 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27699 echo "$as_me:$LINENO: checking for $ac_func" >&5
27700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27701 if eval "test \"\${$as_ac_var+set}\" = set"; then
27702 echo $ECHO_N "(cached) $ECHO_C" >&6
27704 cat >conftest.
$ac_ext <<_ACEOF
27705 #line $LINENO "configure"
27708 cat confdefs.h
>>conftest.
$ac_ext
27709 cat >>conftest.
$ac_ext <<_ACEOF
27710 /* end confdefs.h. */
27711 /* System header to define __stub macros and hopefully few prototypes,
27712 which can conflict with char $ac_func (); below.
27713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27714 <limits.h> exists even on freestanding compilers. */
27716 # include <limits.h>
27718 # include <assert.h>
27720 /* Override any gcc2 internal prototype to avoid an error. */
27725 /* We use char because int might match the return type of a gcc2
27726 builtin and then its argument prototype would still apply. */
27728 /* The GNU C library defines this for functions which it implements
27729 to always fail with ENOSYS. Some functions are actually named
27730 something starting with __ and the normal name is an alias. */
27731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27734 char (*f) () = $ac_func;
27743 return f != $ac_func;
27748 rm -f conftest.
$ac_objext conftest
$ac_exeext
27749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27750 (eval $ac_link) 2>&5
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); } &&
27754 { ac_try
='test -s conftest$ac_exeext'
27755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27756 (eval $ac_try) 2>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); }; }; then
27760 eval "$as_ac_var=yes"
27762 echo "$as_me: failed program was:" >&5
27763 sed 's/^/| /' conftest.
$ac_ext >&5
27765 eval "$as_ac_var=no"
27767 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27771 if test `eval echo '${'$as_ac_var'}'` = yes; then
27772 cat >>confdefs.h
<<_ACEOF
27773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27783 ac_cpp
='$CXXCPP $CPPFLAGS'
27784 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27785 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27786 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27790 for ac_func
in strtok_r
27792 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27793 echo "$as_me:$LINENO: checking for $ac_func" >&5
27794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27795 if eval "test \"\${$as_ac_var+set}\" = set"; then
27796 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 cat >conftest.
$ac_ext <<_ACEOF
27799 #line $LINENO "configure"
27802 cat confdefs.h
>>conftest.
$ac_ext
27803 cat >>conftest.
$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27805 /* System header to define __stub macros and hopefully few prototypes,
27806 which can conflict with char $ac_func (); below.
27807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27808 <limits.h> exists even on freestanding compilers. */
27810 # include <limits.h>
27812 # include <assert.h>
27814 /* Override any gcc2 internal prototype to avoid an error. */
27819 /* We use char because int might match the return type of a gcc2
27820 builtin and then its argument prototype would still apply. */
27822 /* The GNU C library defines this for functions which it implements
27823 to always fail with ENOSYS. Some functions are actually named
27824 something starting with __ and the normal name is an alias. */
27825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27828 char (*f) () = $ac_func;
27837 return f != $ac_func;
27842 rm -f conftest.
$ac_objext conftest
$ac_exeext
27843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27844 (eval $ac_link) 2>&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } &&
27848 { ac_try
='test -s conftest$ac_exeext'
27849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27850 (eval $ac_try) 2>&5
27852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853 (exit $ac_status); }; }; then
27854 eval "$as_ac_var=yes"
27856 echo "$as_me: failed program was:" >&5
27857 sed 's/^/| /' conftest.
$ac_ext >&5
27859 eval "$as_ac_var=no"
27861 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27865 if test `eval echo '${'$as_ac_var'}'` = yes; then
27866 cat >>confdefs.h
<<_ACEOF
27867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27875 ac_cpp
='$CPP $CPPFLAGS'
27876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27883 for ac_func
in inet_addr
27885 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27886 echo "$as_me:$LINENO: checking for $ac_func" >&5
27887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27888 if eval "test \"\${$as_ac_var+set}\" = set"; then
27889 echo $ECHO_N "(cached) $ECHO_C" >&6
27891 cat >conftest.
$ac_ext <<_ACEOF
27892 #line $LINENO "configure"
27895 cat confdefs.h
>>conftest.
$ac_ext
27896 cat >>conftest.
$ac_ext <<_ACEOF
27897 /* end confdefs.h. */
27898 /* System header to define __stub macros and hopefully few prototypes,
27899 which can conflict with char $ac_func (); below.
27900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27901 <limits.h> exists even on freestanding compilers. */
27903 # include <limits.h>
27905 # include <assert.h>
27907 /* Override any gcc2 internal prototype to avoid an error. */
27912 /* We use char because int might match the return type of a gcc2
27913 builtin and then its argument prototype would still apply. */
27915 /* The GNU C library defines this for functions which it implements
27916 to always fail with ENOSYS. Some functions are actually named
27917 something starting with __ and the normal name is an alias. */
27918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27921 char (*f) () = $ac_func;
27930 return f != $ac_func;
27935 rm -f conftest.
$ac_objext conftest
$ac_exeext
27936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27937 (eval $ac_link) 2>&5
27939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940 (exit $ac_status); } &&
27941 { ac_try
='test -s conftest$ac_exeext'
27942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27943 (eval $ac_try) 2>&5
27945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27946 (exit $ac_status); }; }; then
27947 eval "$as_ac_var=yes"
27949 echo "$as_me: failed program was:" >&5
27950 sed 's/^/| /' conftest.
$ac_ext >&5
27952 eval "$as_ac_var=no"
27954 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27958 if test `eval echo '${'$as_ac_var'}'` = yes; then
27959 cat >>confdefs.h
<<_ACEOF
27960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27962 cat >>confdefs.h
<<\_ACEOF
27963 #define HAVE_INET_ADDR 1
27968 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27969 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27970 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27971 echo $ECHO_N "(cached) $ECHO_C" >&6
27973 ac_check_lib_save_LIBS
=$LIBS
27975 cat >conftest.
$ac_ext <<_ACEOF
27976 #line $LINENO "configure"
27979 cat confdefs.h
>>conftest.
$ac_ext
27980 cat >>conftest.
$ac_ext <<_ACEOF
27981 /* end confdefs.h. */
27983 /* Override any gcc2 internal prototype to avoid an error. */
27987 /* We use char because int might match the return type of a gcc2
27988 builtin and then its argument prototype would still apply. */
27998 rm -f conftest.
$ac_objext conftest
$ac_exeext
27999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28000 (eval $ac_link) 2>&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } &&
28004 { ac_try
='test -s conftest$ac_exeext'
28005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28006 (eval $ac_try) 2>&5
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); }; }; then
28010 ac_cv_lib_nsl_inet_addr
=yes
28012 echo "$as_me: failed program was:" >&5
28013 sed 's/^/| /' conftest.
$ac_ext >&5
28015 ac_cv_lib_nsl_inet_addr
=no
28017 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28018 LIBS
=$ac_check_lib_save_LIBS
28020 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28021 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28022 if test $ac_cv_lib_nsl_inet_addr = yes; then
28025 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28026 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28027 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28030 ac_check_lib_save_LIBS
=$LIBS
28031 LIBS
="-lresolv $LIBS"
28032 cat >conftest.
$ac_ext <<_ACEOF
28033 #line $LINENO "configure"
28036 cat confdefs.h
>>conftest.
$ac_ext
28037 cat >>conftest.
$ac_ext <<_ACEOF
28038 /* end confdefs.h. */
28040 /* Override any gcc2 internal prototype to avoid an error. */
28044 /* We use char because int might match the return type of a gcc2
28045 builtin and then its argument prototype would still apply. */
28055 rm -f conftest.
$ac_objext conftest
$ac_exeext
28056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28057 (eval $ac_link) 2>&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } &&
28061 { ac_try
='test -s conftest$ac_exeext'
28062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28063 (eval $ac_try) 2>&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); }; }; then
28067 ac_cv_lib_resolv_inet_addr
=yes
28069 echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.
$ac_ext >&5
28072 ac_cv_lib_resolv_inet_addr
=no
28074 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28075 LIBS
=$ac_check_lib_save_LIBS
28077 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28078 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28079 if test $ac_cv_lib_resolv_inet_addr = yes; then
28082 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28083 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28084 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28085 echo $ECHO_N "(cached) $ECHO_C" >&6
28087 ac_check_lib_save_LIBS
=$LIBS
28088 LIBS
="-lsocket $LIBS"
28089 cat >conftest.
$ac_ext <<_ACEOF
28090 #line $LINENO "configure"
28093 cat confdefs.h
>>conftest.
$ac_ext
28094 cat >>conftest.
$ac_ext <<_ACEOF
28095 /* end confdefs.h. */
28097 /* Override any gcc2 internal prototype to avoid an error. */
28101 /* We use char because int might match the return type of a gcc2
28102 builtin and then its argument prototype would still apply. */
28112 rm -f conftest.
$ac_objext conftest
$ac_exeext
28113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28114 (eval $ac_link) 2>&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); } &&
28118 { ac_try
='test -s conftest$ac_exeext'
28119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28120 (eval $ac_try) 2>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); }; }; then
28124 ac_cv_lib_socket_inet_addr
=yes
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.
$ac_ext >&5
28129 ac_cv_lib_socket_inet_addr
=no
28131 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28132 LIBS
=$ac_check_lib_save_LIBS
28134 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28135 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28136 if test $ac_cv_lib_socket_inet_addr = yes; then
28154 for ac_func
in inet_aton
28156 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28157 echo "$as_me:$LINENO: checking for $ac_func" >&5
28158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28159 if eval "test \"\${$as_ac_var+set}\" = set"; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28162 cat >conftest.
$ac_ext <<_ACEOF
28163 #line $LINENO "configure"
28166 cat confdefs.h
>>conftest.
$ac_ext
28167 cat >>conftest.
$ac_ext <<_ACEOF
28168 /* end confdefs.h. */
28169 /* System header to define __stub macros and hopefully few prototypes,
28170 which can conflict with char $ac_func (); below.
28171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28172 <limits.h> exists even on freestanding compilers. */
28174 # include <limits.h>
28176 # include <assert.h>
28178 /* Override any gcc2 internal prototype to avoid an error. */
28183 /* We use char because int might match the return type of a gcc2
28184 builtin and then its argument prototype would still apply. */
28186 /* The GNU C library defines this for functions which it implements
28187 to always fail with ENOSYS. Some functions are actually named
28188 something starting with __ and the normal name is an alias. */
28189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28192 char (*f) () = $ac_func;
28201 return f != $ac_func;
28206 rm -f conftest.
$ac_objext conftest
$ac_exeext
28207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28208 (eval $ac_link) 2>&5
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); } &&
28212 { ac_try
='test -s conftest$ac_exeext'
28213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28214 (eval $ac_try) 2>&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); }; }; then
28218 eval "$as_ac_var=yes"
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.
$ac_ext >&5
28223 eval "$as_ac_var=no"
28225 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28229 if test `eval echo '${'$as_ac_var'}'` = yes; then
28230 cat >>confdefs.h
<<_ACEOF
28231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28233 cat >>confdefs.h
<<\_ACEOF
28234 #define HAVE_INET_ATON 1
28239 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28240 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28241 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28242 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28243 echo $ECHO_N "(cached) $ECHO_C" >&6
28245 ac_check_lib_save_LIBS
=$LIBS
28246 LIBS
="-l$INET_LINK $LIBS"
28247 cat >conftest.
$ac_ext <<_ACEOF
28248 #line $LINENO "configure"
28251 cat confdefs.h
>>conftest.
$ac_ext
28252 cat >>conftest.
$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28255 /* Override any gcc2 internal prototype to avoid an error. */
28259 /* We use char because int might match the return type of a gcc2
28260 builtin and then its argument prototype would still apply. */
28270 rm -f conftest.
$ac_objext conftest
$ac_exeext
28271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28272 (eval $ac_link) 2>&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } &&
28276 { ac_try
='test -s conftest$ac_exeext'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; }; then
28282 eval "$as_ac_Lib=yes"
28284 echo "$as_me: failed program was:" >&5
28285 sed 's/^/| /' conftest.
$ac_ext >&5
28287 eval "$as_ac_Lib=no"
28289 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28290 LIBS
=$ac_check_lib_save_LIBS
28292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28293 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28294 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28295 cat >>confdefs.h
<<\_ACEOF
28296 #define HAVE_INET_ATON 1
28306 if test "x$INET_LINK" != "x"; then
28307 cat >>confdefs.h
<<\_ACEOF
28308 #define HAVE_INET_ADDR 1
28311 INET_LINK
=" -l$INET_LINK"
28319 if test "${ac_cv_header_esd_h+set}" = set; then
28320 echo "$as_me:$LINENO: checking for esd.h" >&5
28321 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28322 if test "${ac_cv_header_esd_h+set}" = set; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28325 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28326 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28328 # Is the header compilable?
28329 echo "$as_me:$LINENO: checking esd.h usability" >&5
28330 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28331 cat >conftest.
$ac_ext <<_ACEOF
28332 #line $LINENO "configure"
28335 cat confdefs.h
>>conftest.
$ac_ext
28336 cat >>conftest.
$ac_ext <<_ACEOF
28337 /* end confdefs.h. */
28338 $ac_includes_default
28341 rm -f conftest.
$ac_objext
28342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28343 (eval $ac_compile) 2>&5
28345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28346 (exit $ac_status); } &&
28347 { ac_try
='test -s conftest.$ac_objext'
28348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28349 (eval $ac_try) 2>&5
28351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352 (exit $ac_status); }; }; then
28353 ac_header_compiler
=yes
28355 echo "$as_me: failed program was:" >&5
28356 sed 's/^/| /' conftest.
$ac_ext >&5
28358 ac_header_compiler
=no
28360 rm -f conftest.
$ac_objext conftest.
$ac_ext
28361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28362 echo "${ECHO_T}$ac_header_compiler" >&6
28364 # Is the header present?
28365 echo "$as_me:$LINENO: checking esd.h presence" >&5
28366 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28367 cat >conftest.
$ac_ext <<_ACEOF
28368 #line $LINENO "configure"
28371 cat confdefs.h
>>conftest.
$ac_ext
28372 cat >>conftest.
$ac_ext <<_ACEOF
28373 /* end confdefs.h. */
28376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28377 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28379 grep -v '^ *+' conftest.er1
>conftest.err
28381 cat conftest.err
>&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } >/dev
/null
; then
28384 if test -s conftest.err
; then
28385 ac_cpp_err
=$ac_c_preproc_warn_flag
28392 if test -z "$ac_cpp_err"; then
28393 ac_header_preproc
=yes
28395 echo "$as_me: failed program was:" >&5
28396 sed 's/^/| /' conftest.
$ac_ext >&5
28398 ac_header_preproc
=no
28400 rm -f conftest.err conftest.
$ac_ext
28401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28402 echo "${ECHO_T}$ac_header_preproc" >&6
28404 # So? What about this header?
28405 case $ac_header_compiler:$ac_header_preproc in
28407 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28408 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28409 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28410 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28413 ## ------------------------------------ ##
28414 ## Report this to bug-autoconf@gnu.org. ##
28415 ## ------------------------------------ ##
28418 sed "s/^/$as_me: WARNING: /" >&2
28421 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28422 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28423 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28424 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28425 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28426 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28429 ## ------------------------------------ ##
28430 ## Report this to bug-autoconf@gnu.org. ##
28431 ## ------------------------------------ ##
28434 sed "s/^/$as_me: WARNING: /" >&2
28437 echo "$as_me:$LINENO: checking for esd.h" >&5
28438 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28439 if test "${ac_cv_header_esd_h+set}" = set; then
28440 echo $ECHO_N "(cached) $ECHO_C" >&6
28442 ac_cv_header_esd_h
=$ac_header_preproc
28444 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28445 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28448 if test $ac_cv_header_esd_h = yes; then
28450 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28451 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28452 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28453 echo $ECHO_N "(cached) $ECHO_C" >&6
28455 ac_check_lib_save_LIBS
=$LIBS
28457 cat >conftest.
$ac_ext <<_ACEOF
28458 #line $LINENO "configure"
28461 cat confdefs.h
>>conftest.
$ac_ext
28462 cat >>conftest.
$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28465 /* Override any gcc2 internal prototype to avoid an error. */
28469 /* We use char because int might match the return type of a gcc2
28470 builtin and then its argument prototype would still apply. */
28480 rm -f conftest.
$ac_objext conftest
$ac_exeext
28481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28482 (eval $ac_link) 2>&5
28484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28485 (exit $ac_status); } &&
28486 { ac_try
='test -s conftest$ac_exeext'
28487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28488 (eval $ac_try) 2>&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); }; }; then
28492 ac_cv_lib_esd_esd_close
=yes
28494 echo "$as_me: failed program was:" >&5
28495 sed 's/^/| /' conftest.
$ac_ext >&5
28497 ac_cv_lib_esd_esd_close
=no
28499 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28500 LIBS
=$ac_check_lib_save_LIBS
28502 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28503 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28504 if test $ac_cv_lib_esd_esd_close = yes; then
28517 cat >confcache
<<\_ACEOF
28518 # This file is a shell script that caches the results of configure
28519 # tests run on this system so they can be shared between configure
28520 # scripts and configure runs, see configure's option --config-cache.
28521 # It is not useful on other systems. If it contains results you don't
28522 # want to keep, you may remove or edit it.
28524 # config.status only pays attention to the cache file if you give it
28525 # the --recheck option to rerun configure.
28527 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28528 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28529 # following values.
28533 # The following way of writing the cache mishandles newlines in values,
28534 # but we know of no workaround that is simple, portable, and efficient.
28535 # So, don't put newlines in cache variables' values.
28536 # Ultrix sh set writes to stderr and can't be redirected directly,
28537 # and sets the high bit in the cache file unless we assign to the vars.
28540 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28542 # `set' does not quote correctly, so add quotes (double-quote
28543 # substitution turns \\\\ into \\, and sed turns \\ into \).
28546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28549 # `set' quotes correctly as required by POSIX, so do not add quotes.
28551 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28558 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28560 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28562 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28563 if test -w $cache_file; then
28564 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28565 cat confcache
>$cache_file
28567 echo "not updating unwritable cache $cache_file"
28574 if test "$TOOLKIT" != "MSW"; then
28580 if test "$wxUSE_THREADS" = "yes" ; then
28581 if test "$USE_BEOS" = 1; then
28582 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28583 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28588 if test "$wxUSE_THREADS" = "yes" ; then
28591 THREAD_OPTS
="-pthread"
28593 *-*-solaris2* | *-*-sunos4* )
28594 if test "x$GCC" = "xyes"; then
28595 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28597 THREAD_OPTS
="-mt $THREAD_OPTS"
28601 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28603 *-*-darwin* | *-*-cygwin* )
28607 THREAD_OPTS
="pthreads"
28610 if test "x$GCC" != "xyes"; then
28616 if test "x$GCC" = "xyes"; then
28622 if test "x$GCC" != "xyes"; then
28623 THREAD_OPTS
="-Ethread"
28628 THREAD_OPTS
="$THREAD_OPTS pthread none"
28631 for flag
in $THREAD_OPTS; do
28634 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28635 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28639 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28640 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28641 THREADS_CFLAGS
="$flag"
28645 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28646 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28647 THREADS_LINK
="-l$flag"
28652 save_CFLAGS
="$CFLAGS"
28653 LIBS
="$THREADS_LINK $LIBS"
28654 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28656 cat >conftest.
$ac_ext <<_ACEOF
28657 #line $LINENO "configure"
28660 cat confdefs.h
>>conftest.
$ac_ext
28661 cat >>conftest.
$ac_ext <<_ACEOF
28662 /* end confdefs.h. */
28663 #include <pthread.h>
28667 pthread_create(0,0,0,0);
28672 rm -f conftest.
$ac_objext conftest
$ac_exeext
28673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28674 (eval $ac_link) 2>&5
28676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28677 (exit $ac_status); } &&
28678 { ac_try
='test -s conftest$ac_exeext'
28679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28680 (eval $ac_try) 2>&5
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; }; then
28686 echo "$as_me: failed program was:" >&5
28687 sed 's/^/| /' conftest.
$ac_ext >&5
28690 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28693 CFLAGS
="$save_CFLAGS"
28695 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28696 echo "${ECHO_T}$THREADS_OK" >&6
28697 if test "x$THREADS_OK" = "xyes"; then
28705 if test "x$THREADS_OK" != "xyes"; then
28707 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28708 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28710 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28711 LIBS
="$THREADS_LINK $LIBS"
28713 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28714 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28718 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28719 flag
="-D_THREAD_SAFE"
28722 flag
="-D_THREAD_SAFE"
28725 flag
="-D_REENTRANT"
28726 if test "x$GCC" != "xyes"; then
28727 flag
="$flag -D_RWSTD_MULTI_THREAD"
28730 *solaris
* | alpha
*-osf*)
28731 flag
="-D_REENTRANT"
28734 echo "$as_me:$LINENO: result: ${flag}" >&5
28735 echo "${ECHO_T}${flag}" >&6
28736 if test "x$flag" != xno
; then
28737 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28740 if test "x$THREADS_CFLAGS" != "x"; then
28741 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28742 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28747 if test "$wxUSE_THREADS" = "yes" ; then
28749 for ac_func
in thr_setconcurrency
28751 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28752 echo "$as_me:$LINENO: checking for $ac_func" >&5
28753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28754 if eval "test \"\${$as_ac_var+set}\" = set"; then
28755 echo $ECHO_N "(cached) $ECHO_C" >&6
28757 cat >conftest.
$ac_ext <<_ACEOF
28758 #line $LINENO "configure"
28761 cat confdefs.h
>>conftest.
$ac_ext
28762 cat >>conftest.
$ac_ext <<_ACEOF
28763 /* end confdefs.h. */
28764 /* System header to define __stub macros and hopefully few prototypes,
28765 which can conflict with char $ac_func (); below.
28766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28767 <limits.h> exists even on freestanding compilers. */
28769 # include <limits.h>
28771 # include <assert.h>
28773 /* Override any gcc2 internal prototype to avoid an error. */
28778 /* We use char because int might match the return type of a gcc2
28779 builtin and then its argument prototype would still apply. */
28781 /* The GNU C library defines this for functions which it implements
28782 to always fail with ENOSYS. Some functions are actually named
28783 something starting with __ and the normal name is an alias. */
28784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28787 char (*f) () = $ac_func;
28796 return f != $ac_func;
28801 rm -f conftest.
$ac_objext conftest
$ac_exeext
28802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28803 (eval $ac_link) 2>&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } &&
28807 { ac_try
='test -s conftest$ac_exeext'
28808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28809 (eval $ac_try) 2>&5
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); }; }; then
28813 eval "$as_ac_var=yes"
28815 echo "$as_me: failed program was:" >&5
28816 sed 's/^/| /' conftest.
$ac_ext >&5
28818 eval "$as_ac_var=no"
28820 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28824 if test `eval echo '${'$as_ac_var'}'` = yes; then
28825 cat >>confdefs.h
<<_ACEOF
28826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28834 for ac_header
in sched.h
28836 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28838 echo "$as_me:$LINENO: checking for $ac_header" >&5
28839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28841 echo $ECHO_N "(cached) $ECHO_C" >&6
28843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28846 # Is the header compilable?
28847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28849 cat >conftest.
$ac_ext <<_ACEOF
28850 #line $LINENO "configure"
28853 cat confdefs.h
>>conftest.
$ac_ext
28854 cat >>conftest.
$ac_ext <<_ACEOF
28855 /* end confdefs.h. */
28856 $ac_includes_default
28857 #include <$ac_header>
28859 rm -f conftest.
$ac_objext
28860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28861 (eval $ac_compile) 2>&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } &&
28865 { ac_try
='test -s conftest.$ac_objext'
28866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 (eval $ac_try) 2>&5
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); }; }; then
28871 ac_header_compiler
=yes
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.
$ac_ext >&5
28876 ac_header_compiler
=no
28878 rm -f conftest.
$ac_objext conftest.
$ac_ext
28879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28880 echo "${ECHO_T}$ac_header_compiler" >&6
28882 # Is the header present?
28883 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28884 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28885 cat >conftest.
$ac_ext <<_ACEOF
28886 #line $LINENO "configure"
28889 cat confdefs.h
>>conftest.
$ac_ext
28890 cat >>conftest.
$ac_ext <<_ACEOF
28891 /* end confdefs.h. */
28892 #include <$ac_header>
28894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28895 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28897 grep -v '^ *+' conftest.er1
>conftest.err
28899 cat conftest.err
>&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } >/dev
/null
; then
28902 if test -s conftest.err
; then
28903 ac_cpp_err
=$ac_c_preproc_warn_flag
28910 if test -z "$ac_cpp_err"; then
28911 ac_header_preproc
=yes
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.
$ac_ext >&5
28916 ac_header_preproc
=no
28918 rm -f conftest.err conftest.
$ac_ext
28919 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28920 echo "${ECHO_T}$ac_header_preproc" >&6
28922 # So? What about this header?
28923 case $ac_header_compiler:$ac_header_preproc in
28925 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28926 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28931 ## ------------------------------------ ##
28932 ## Report this to bug-autoconf@gnu.org. ##
28933 ## ------------------------------------ ##
28936 sed "s/^/$as_me: WARNING: /" >&2
28939 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28940 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28941 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28942 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28947 ## ------------------------------------ ##
28948 ## Report this to bug-autoconf@gnu.org. ##
28949 ## ------------------------------------ ##
28952 sed "s/^/$as_me: WARNING: /" >&2
28955 echo "$as_me:$LINENO: checking for $ac_header" >&5
28956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28958 echo $ECHO_N "(cached) $ECHO_C" >&6
28960 eval "$as_ac_Header=$ac_header_preproc"
28962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28967 cat >>confdefs.h
<<_ACEOF
28968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28975 if test "$ac_cv_header_sched_h" = "yes"; then
28976 echo "$as_me:$LINENO: checking for sched_yield" >&5
28977 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28978 if test "${ac_cv_func_sched_yield+set}" = set; then
28979 echo $ECHO_N "(cached) $ECHO_C" >&6
28981 cat >conftest.
$ac_ext <<_ACEOF
28982 #line $LINENO "configure"
28985 cat confdefs.h
>>conftest.
$ac_ext
28986 cat >>conftest.
$ac_ext <<_ACEOF
28987 /* end confdefs.h. */
28988 /* System header to define __stub macros and hopefully few prototypes,
28989 which can conflict with char sched_yield (); below.
28990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28991 <limits.h> exists even on freestanding compilers. */
28993 # include <limits.h>
28995 # include <assert.h>
28997 /* Override any gcc2 internal prototype to avoid an error. */
29002 /* We use char because int might match the return type of a gcc2
29003 builtin and then its argument prototype would still apply. */
29004 char sched_yield ();
29005 /* The GNU C library defines this for functions which it implements
29006 to always fail with ENOSYS. Some functions are actually named
29007 something starting with __ and the normal name is an alias. */
29008 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29011 char (*f) () = sched_yield;
29020 return f != sched_yield;
29025 rm -f conftest.
$ac_objext conftest
$ac_exeext
29026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29027 (eval $ac_link) 2>&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); } &&
29031 { ac_try
='test -s conftest$ac_exeext'
29032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29033 (eval $ac_try) 2>&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); }; }; then
29037 ac_cv_func_sched_yield
=yes
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.
$ac_ext >&5
29042 ac_cv_func_sched_yield
=no
29044 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29046 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29047 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29048 if test $ac_cv_func_sched_yield = yes; then
29049 cat >>confdefs.h
<<\_ACEOF
29050 #define HAVE_SCHED_YIELD 1
29055 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29056 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29057 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29058 echo $ECHO_N "(cached) $ECHO_C" >&6
29060 ac_check_lib_save_LIBS
=$LIBS
29061 LIBS
="-lposix4 $LIBS"
29062 cat >conftest.
$ac_ext <<_ACEOF
29063 #line $LINENO "configure"
29066 cat confdefs.h
>>conftest.
$ac_ext
29067 cat >>conftest.
$ac_ext <<_ACEOF
29068 /* end confdefs.h. */
29070 /* Override any gcc2 internal prototype to avoid an error. */
29074 /* We use char because int might match the return type of a gcc2
29075 builtin and then its argument prototype would still apply. */
29076 char sched_yield ();
29085 rm -f conftest.
$ac_objext conftest
$ac_exeext
29086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29087 (eval $ac_link) 2>&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); } &&
29091 { ac_try
='test -s conftest$ac_exeext'
29092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29093 (eval $ac_try) 2>&5
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); }; }; then
29097 ac_cv_lib_posix4_sched_yield
=yes
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.
$ac_ext >&5
29102 ac_cv_lib_posix4_sched_yield
=no
29104 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29105 LIBS
=$ac_check_lib_save_LIBS
29107 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29108 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29109 if test $ac_cv_lib_posix4_sched_yield = yes; then
29110 cat >>confdefs.h
<<\_ACEOF
29111 #define HAVE_SCHED_YIELD 1
29113 POSIX4_LINK
=" -lposix4"
29115 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29116 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29127 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29128 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29129 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29130 echo $ECHO_N "(cached) $ECHO_C" >&6
29132 cat >conftest.
$ac_ext <<_ACEOF
29133 #line $LINENO "configure"
29136 cat confdefs.h
>>conftest.
$ac_ext
29137 cat >>conftest.
$ac_ext <<_ACEOF
29138 /* end confdefs.h. */
29139 /* System header to define __stub macros and hopefully few prototypes,
29140 which can conflict with char pthread_attr_getschedpolicy (); below.
29141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29142 <limits.h> exists even on freestanding compilers. */
29144 # include <limits.h>
29146 # include <assert.h>
29148 /* Override any gcc2 internal prototype to avoid an error. */
29153 /* We use char because int might match the return type of a gcc2
29154 builtin and then its argument prototype would still apply. */
29155 char pthread_attr_getschedpolicy ();
29156 /* The GNU C library defines this for functions which it implements
29157 to always fail with ENOSYS. Some functions are actually named
29158 something starting with __ and the normal name is an alias. */
29159 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29162 char (*f) () = pthread_attr_getschedpolicy;
29171 return f != pthread_attr_getschedpolicy;
29176 rm -f conftest.
$ac_objext conftest
$ac_exeext
29177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29178 (eval $ac_link) 2>&5
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); } &&
29182 { ac_try
='test -s conftest$ac_exeext'
29183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29184 (eval $ac_try) 2>&5
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); }; }; then
29188 ac_cv_func_pthread_attr_getschedpolicy
=yes
29190 echo "$as_me: failed program was:" >&5
29191 sed 's/^/| /' conftest.
$ac_ext >&5
29193 ac_cv_func_pthread_attr_getschedpolicy
=no
29195 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29197 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29198 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29199 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29200 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29201 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29202 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29203 echo $ECHO_N "(cached) $ECHO_C" >&6
29205 cat >conftest.
$ac_ext <<_ACEOF
29206 #line $LINENO "configure"
29209 cat confdefs.h
>>conftest.
$ac_ext
29210 cat >>conftest.
$ac_ext <<_ACEOF
29211 /* end confdefs.h. */
29212 /* System header to define __stub macros and hopefully few prototypes,
29213 which can conflict with char pthread_attr_setschedparam (); below.
29214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29215 <limits.h> exists even on freestanding compilers. */
29217 # include <limits.h>
29219 # include <assert.h>
29221 /* Override any gcc2 internal prototype to avoid an error. */
29226 /* We use char because int might match the return type of a gcc2
29227 builtin and then its argument prototype would still apply. */
29228 char pthread_attr_setschedparam ();
29229 /* The GNU C library defines this for functions which it implements
29230 to always fail with ENOSYS. Some functions are actually named
29231 something starting with __ and the normal name is an alias. */
29232 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29235 char (*f) () = pthread_attr_setschedparam;
29244 return f != pthread_attr_setschedparam;
29249 rm -f conftest.
$ac_objext conftest
$ac_exeext
29250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29251 (eval $ac_link) 2>&5
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); } &&
29255 { ac_try
='test -s conftest$ac_exeext'
29256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29257 (eval $ac_try) 2>&5
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); }; }; then
29261 ac_cv_func_pthread_attr_setschedparam
=yes
29263 echo "$as_me: failed program was:" >&5
29264 sed 's/^/| /' conftest.
$ac_ext >&5
29266 ac_cv_func_pthread_attr_setschedparam
=no
29268 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29270 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29271 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29272 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29273 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29274 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29275 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29276 echo $ECHO_N "(cached) $ECHO_C" >&6
29278 cat >conftest.
$ac_ext <<_ACEOF
29279 #line $LINENO "configure"
29282 cat confdefs.h
>>conftest.
$ac_ext
29283 cat >>conftest.
$ac_ext <<_ACEOF
29284 /* end confdefs.h. */
29285 /* System header to define __stub macros and hopefully few prototypes,
29286 which can conflict with char sched_get_priority_max (); below.
29287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29288 <limits.h> exists even on freestanding compilers. */
29290 # include <limits.h>
29292 # include <assert.h>
29294 /* Override any gcc2 internal prototype to avoid an error. */
29299 /* We use char because int might match the return type of a gcc2
29300 builtin and then its argument prototype would still apply. */
29301 char sched_get_priority_max ();
29302 /* The GNU C library defines this for functions which it implements
29303 to always fail with ENOSYS. Some functions are actually named
29304 something starting with __ and the normal name is an alias. */
29305 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29308 char (*f) () = sched_get_priority_max;
29317 return f != sched_get_priority_max;
29322 rm -f conftest.
$ac_objext conftest
$ac_exeext
29323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29324 (eval $ac_link) 2>&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); } &&
29328 { ac_try
='test -s conftest$ac_exeext'
29329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29330 (eval $ac_try) 2>&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); }; }; then
29334 ac_cv_func_sched_get_priority_max
=yes
29336 echo "$as_me: failed program was:" >&5
29337 sed 's/^/| /' conftest.
$ac_ext >&5
29339 ac_cv_func_sched_get_priority_max
=no
29341 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29343 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29344 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29345 if test $ac_cv_func_sched_get_priority_max = yes; then
29348 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29349 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29350 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29351 echo $ECHO_N "(cached) $ECHO_C" >&6
29353 ac_check_lib_save_LIBS
=$LIBS
29354 LIBS
="-lposix4 $LIBS"
29355 cat >conftest.
$ac_ext <<_ACEOF
29356 #line $LINENO "configure"
29359 cat confdefs.h
>>conftest.
$ac_ext
29360 cat >>conftest.
$ac_ext <<_ACEOF
29361 /* end confdefs.h. */
29363 /* Override any gcc2 internal prototype to avoid an error. */
29367 /* We use char because int might match the return type of a gcc2
29368 builtin and then its argument prototype would still apply. */
29369 char sched_get_priority_max ();
29373 sched_get_priority_max ();
29378 rm -f conftest.
$ac_objext conftest
$ac_exeext
29379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29380 (eval $ac_link) 2>&5
29382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29383 (exit $ac_status); } &&
29384 { ac_try
='test -s conftest$ac_exeext'
29385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29386 (eval $ac_try) 2>&5
29388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29389 (exit $ac_status); }; }; then
29390 ac_cv_lib_posix4_sched_get_priority_max
=yes
29392 echo "$as_me: failed program was:" >&5
29393 sed 's/^/| /' conftest.
$ac_ext >&5
29395 ac_cv_lib_posix4_sched_get_priority_max
=no
29397 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29398 LIBS
=$ac_check_lib_save_LIBS
29400 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29401 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29402 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29405 POSIX4_LINK
=" -lposix4"
29419 if test "$HAVE_PRIOR_FUNCS" = 1; then
29420 cat >>confdefs.h
<<\_ACEOF
29421 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29425 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29426 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29429 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29430 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29431 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29432 echo $ECHO_N "(cached) $ECHO_C" >&6
29434 cat >conftest.
$ac_ext <<_ACEOF
29435 #line $LINENO "configure"
29438 cat confdefs.h
>>conftest.
$ac_ext
29439 cat >>conftest.
$ac_ext <<_ACEOF
29440 /* end confdefs.h. */
29441 /* System header to define __stub macros and hopefully few prototypes,
29442 which can conflict with char pthread_cancel (); below.
29443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29444 <limits.h> exists even on freestanding compilers. */
29446 # include <limits.h>
29448 # include <assert.h>
29450 /* Override any gcc2 internal prototype to avoid an error. */
29455 /* We use char because int might match the return type of a gcc2
29456 builtin and then its argument prototype would still apply. */
29457 char pthread_cancel ();
29458 /* The GNU C library defines this for functions which it implements
29459 to always fail with ENOSYS. Some functions are actually named
29460 something starting with __ and the normal name is an alias. */
29461 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29464 char (*f) () = pthread_cancel;
29473 return f != pthread_cancel;
29478 rm -f conftest.
$ac_objext conftest
$ac_exeext
29479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29480 (eval $ac_link) 2>&5
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); } &&
29484 { ac_try
='test -s conftest$ac_exeext'
29485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29486 (eval $ac_try) 2>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); }; }; then
29490 ac_cv_func_pthread_cancel
=yes
29492 echo "$as_me: failed program was:" >&5
29493 sed 's/^/| /' conftest.
$ac_ext >&5
29495 ac_cv_func_pthread_cancel
=no
29497 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29499 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29500 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29501 if test $ac_cv_func_pthread_cancel = yes; then
29502 cat >>confdefs.h
<<\_ACEOF
29503 #define HAVE_PTHREAD_CANCEL 1
29507 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29508 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29512 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29513 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29514 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29515 echo $ECHO_N "(cached) $ECHO_C" >&6
29518 cat >conftest.
$ac_ext <<_ACEOF
29519 #line $LINENO "configure"
29522 cat confdefs.h
>>conftest.
$ac_ext
29523 cat >>conftest.
$ac_ext <<_ACEOF
29524 /* end confdefs.h. */
29525 #include <pthread.h>
29530 pthread_cleanup_push(NULL, NULL);
29531 pthread_cleanup_pop(0);
29537 rm -f conftest.
$ac_objext
29538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29539 (eval $ac_compile) 2>&5
29541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542 (exit $ac_status); } &&
29543 { ac_try
='test -s conftest.$ac_objext'
29544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545 (eval $ac_try) 2>&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); }; }; then
29550 wx_cv_func_pthread_cleanup_push
=yes
29553 echo "$as_me: failed program was:" >&5
29554 sed 's/^/| /' conftest.
$ac_ext >&5
29557 wx_cv_func_pthread_cleanup_push
=no
29560 rm -f conftest.
$ac_objext conftest.
$ac_ext
29563 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29564 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29566 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29567 cat >>confdefs.h
<<\_ACEOF
29568 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29574 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29575 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29576 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29577 echo $ECHO_N "(cached) $ECHO_C" >&6
29580 cat >conftest.
$ac_ext <<_ACEOF
29581 #line $LINENO "configure"
29584 cat confdefs.h
>>conftest.
$ac_ext
29585 cat >>conftest.
$ac_ext <<_ACEOF
29586 /* end confdefs.h. */
29587 #include <pthread.h>
29592 pthread_mutexattr_t attr;
29593 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29599 rm -f conftest.
$ac_objext
29600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29601 (eval $ac_compile) 2>&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } &&
29605 { ac_try
='test -s conftest.$ac_objext'
29606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29607 (eval $ac_try) 2>&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); }; }; then
29612 wx_cv_type_pthread_mutexattr_t
=yes
29615 echo "$as_me: failed program was:" >&5
29616 sed 's/^/| /' conftest.
$ac_ext >&5
29619 wx_cv_type_pthread_mutexattr_t
=no
29623 rm -f conftest.
$ac_objext conftest.
$ac_ext
29626 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29627 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29629 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29630 cat >>confdefs.h
<<\_ACEOF
29631 #define HAVE_PTHREAD_MUTEXATTR_T 1
29635 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29636 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29637 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29638 echo $ECHO_N "(cached) $ECHO_C" >&6
29641 cat >conftest.
$ac_ext <<_ACEOF
29642 #line $LINENO "configure"
29645 cat confdefs.h
>>conftest.
$ac_ext
29646 cat >>conftest.
$ac_ext <<_ACEOF
29647 /* end confdefs.h. */
29648 #include <pthread.h>
29653 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29659 rm -f conftest.
$ac_objext
29660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29661 (eval $ac_compile) 2>&5
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); } &&
29665 { ac_try
='test -s conftest.$ac_objext'
29666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29667 (eval $ac_try) 2>&5
29669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29670 (exit $ac_status); }; }; then
29672 wx_cv_type_pthread_rec_mutex_init
=yes
29675 echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.
$ac_ext >&5
29679 wx_cv_type_pthread_rec_mutex_init
=no
29683 rm -f conftest.
$ac_objext conftest.
$ac_ext
29686 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29687 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29688 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29689 cat >>confdefs.h
<<\_ACEOF
29690 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29694 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29695 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29701 if test "$wxUSE_THREADS" = "yes" ; then
29704 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29705 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29706 if test "${wx_cv_cflags_mthread+set}" = set; then
29707 echo $ECHO_N "(cached) $ECHO_C" >&6
29710 CFLAGS_OLD
="$CFLAGS"
29711 CFLAGS
="$CFLAGS -mthreads"
29712 cat >conftest.
$ac_ext <<_ACEOF
29713 #line $LINENO "configure"
29716 cat confdefs.h
>>conftest.
$ac_ext
29717 cat >>conftest.
$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29728 rm -f conftest.
$ac_objext
29729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29730 (eval $ac_compile) 2>&5
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); } &&
29734 { ac_try
='test -s conftest.$ac_objext'
29735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29736 (eval $ac_try) 2>&5
29738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29739 (exit $ac_status); }; }; then
29740 wx_cv_cflags_mthread
=yes
29742 echo "$as_me: failed program was:" >&5
29743 sed 's/^/| /' conftest.
$ac_ext >&5
29745 wx_cv_cflags_mthread
=no
29748 rm -f conftest.
$ac_objext conftest.
$ac_ext
29752 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29753 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29755 if test "$wx_cv_cflags_mthread" = "yes"; then
29756 CXXFLAGS
="$CXXFLAGS -mthreads"
29757 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29758 LDFLAGS
="$LDFLAGS -mthreads"
29760 CFLAGS
="$CFLAGS_OLD"
29767 if test "$wxUSE_THREADS" = "yes"; then
29768 cat >>confdefs.h
<<\_ACEOF
29769 #define wxUSE_THREADS 1
29773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
29775 if test "$ac_cv_func_strtok_r" = "yes"; then
29776 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29777 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29778 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29779 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
29780 echo "$as_me:$LINENO: result: yes" >&5
29781 echo "${ECHO_T}yes" >&6
29783 echo "$as_me:$LINENO: result: no" >&5
29784 echo "${ECHO_T}no" >&6
29789 if test "$WXGTK20" = 1 ; then
29790 cat >>confdefs.h
<<_ACEOF
29791 #define __WXGTK20__ $WXGTK20
29797 if test "$WXGTK12" = 1 ; then
29798 cat >>confdefs.h
<<_ACEOF
29799 #define __WXGTK12__ $WXGTK12
29804 if test "$WXGTK127" = 1 ; then
29805 cat >>confdefs.h
<<_ACEOF
29806 #define __WXGTK127__ $WXGTK127
29813 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29818 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29819 wxUSE_DEBUG_INFO
=yes
29823 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29824 cat >>confdefs.h
<<\_ACEOF
29828 WXDEBUG_DEFINE
="-D__WXDEBUG__"
29830 if test "$wxUSE_GTK" = 1 ; then
29831 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
29835 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29836 cat >>confdefs.h
<<\_ACEOF
29837 #define wxUSE_MEMORY_TRACING 1
29840 cat >>confdefs.h
<<\_ACEOF
29841 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29844 cat >>confdefs.h
<<\_ACEOF
29845 #define wxUSE_DEBUG_NEW_ALWAYS 1
29848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
29851 if test "$wxUSE_DMALLOC" = "yes" ; then
29852 DMALLOC_LIBS
="-ldmalloc"
29856 if test "$wxUSE_PROFILE" = "yes" ; then
29861 CODE_GEN_FLAGS_CXX
=
29862 if test "$GCC" = "yes" ; then
29863 if test "$wxUSE_NO_RTTI" = "yes" ; then
29864 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
29866 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29867 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29869 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29870 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
29872 if test "$USE_WIN32" = 1 ; then
29873 # I'm not even really sure what this was ever added to solve,
29874 # but someone added it for mingw native builds, so I guess
29875 # they had a reason, right??
29876 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29881 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
29884 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
29890 if test "$wxUSE_OPTIMISE" = "no" ; then
29891 if test "$GCC" = yes ; then
29895 if test "$GCC" = yes ; then
29899 i586
-*-*|i686
-*-* )
29900 OPTIMISE
="${OPTIMISE} "
29909 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29910 cat >>confdefs.h
<<\_ACEOF
29911 #define WXWIN_COMPATIBILITY_2 1
29915 WXWIN_COMPATIBILITY_2_2
="yes"
29918 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29919 cat >>confdefs.h
<<\_ACEOF
29920 #define WXWIN_COMPATIBILITY_2_2 1
29924 WXWIN_COMPATIBILITY_2_4
="yes"
29927 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29928 cat >>confdefs.h
<<\_ACEOF
29929 #define WXWIN_COMPATIBILITY_2_4 1
29935 if test "$wxUSE_GUI" = "yes"; then
29936 cat >>confdefs.h
<<\_ACEOF
29937 #define wxUSE_GUI 1
29942 cat >>confdefs.h
<<\_ACEOF
29943 #define wxUSE_NOGUI 1
29949 if test "$wxUSE_UNIX" = "yes"; then
29950 cat >>confdefs.h
<<\_ACEOF
29951 #define wxUSE_UNIX 1
29957 if test "$wxUSE_APPLE_IEEE" = "yes"; then
29958 cat >>confdefs.h
<<\_ACEOF
29959 #define wxUSE_APPLE_IEEE 1
29964 if test "$wxUSE_TIMER" = "yes"; then
29965 cat >>confdefs.h
<<\_ACEOF
29966 #define wxUSE_TIMER 1
29971 if test "$wxUSE_WAVE" = "yes"; then
29972 cat >>confdefs.h
<<\_ACEOF
29973 #define wxUSE_WAVE 1
29978 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29979 cat >>confdefs.h
<<\_ACEOF
29980 #define wxUSE_CMDLINE_PARSER 1
29985 if test "$wxUSE_STOPWATCH" = "yes"; then
29986 cat >>confdefs.h
<<\_ACEOF
29987 #define wxUSE_STOPWATCH 1
29992 if test "$wxUSE_DATETIME" = "yes"; then
29993 cat >>confdefs.h
<<\_ACEOF
29994 #define wxUSE_DATETIME 1
29999 if test "$wxUSE_FILE" = "yes"; then
30000 cat >>confdefs.h
<<\_ACEOF
30001 #define wxUSE_FILE 1
30006 if test "$wxUSE_FFILE" = "yes"; then
30007 cat >>confdefs.h
<<\_ACEOF
30008 #define wxUSE_FFILE 1
30013 if test "$wxUSE_FILESYSTEM" = "yes"; then
30014 cat >>confdefs.h
<<\_ACEOF
30015 #define wxUSE_FILESYSTEM 1
30020 if test "$wxUSE_FS_INET" = "yes"; then
30021 cat >>confdefs.h
<<\_ACEOF
30022 #define wxUSE_FS_INET 1
30027 if test "$wxUSE_FS_ZIP" = "yes"; then
30028 cat >>confdefs.h
<<\_ACEOF
30029 #define wxUSE_FS_ZIP 1
30034 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30035 cat >>confdefs.h
<<\_ACEOF
30036 #define wxUSE_ZIPSTREAM 1
30041 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30042 cat >>confdefs.h
<<\_ACEOF
30043 #define wxUSE_ON_FATAL_EXCEPTION 1
30048 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30049 cat >>confdefs.h
<<\_ACEOF
30050 #define wxUSE_SNGLINST_CHECKER 1
30055 if test "$wxUSE_BUSYINFO" = "yes"; then
30056 cat >>confdefs.h
<<\_ACEOF
30057 #define wxUSE_BUSYINFO 1
30062 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30063 cat >>confdefs.h
<<\_ACEOF
30064 #define wxUSE_STD_IOSTREAM 1
30069 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30070 cat >>confdefs.h
<<\_ACEOF
30071 #define wxUSE_TEXTBUFFER 1
30076 if test "$wxUSE_TEXTFILE" = "yes"; then
30077 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30078 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30079 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30081 cat >>confdefs.h
<<\_ACEOF
30082 #define wxUSE_TEXTFILE 1
30088 if test "$wxUSE_CONFIG" = "yes" ; then
30089 if test "$wxUSE_TEXTFILE" != "yes"; then
30090 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30091 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30093 cat >>confdefs.h
<<\_ACEOF
30094 #define wxUSE_CONFIG 1
30097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30101 if test "$wxUSE_INTL" = "yes" ; then
30102 if test "$wxUSE_FILE" != "yes"; then
30103 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30104 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30106 cat >>confdefs.h
<<\_ACEOF
30107 #define wxUSE_INTL 1
30110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30111 GUIDIST
="$GUIDIST INTL_DIST"
30115 if test "$wxUSE_LOG" = "yes"; then
30116 cat >>confdefs.h
<<\_ACEOF
30117 #define wxUSE_LOG 1
30121 if test "$wxUSE_LOGGUI" = "yes"; then
30122 cat >>confdefs.h
<<\_ACEOF
30123 #define wxUSE_LOGGUI 1
30128 if test "$wxUSE_LOGWINDOW" = "yes"; then
30129 cat >>confdefs.h
<<\_ACEOF
30130 #define wxUSE_LOGWINDOW 1
30135 if test "$wxUSE_LOGDIALOG" = "yes"; then
30136 cat >>confdefs.h
<<\_ACEOF
30137 #define wxUSE_LOG_DIALOG 1
30143 if test "$wxUSE_LONGLONG" = "yes"; then
30144 cat >>confdefs.h
<<\_ACEOF
30145 #define wxUSE_LONGLONG 1
30150 if test "$wxUSE_GEOMETRY" = "yes"; then
30151 cat >>confdefs.h
<<\_ACEOF
30152 #define wxUSE_GEOMETRY 1
30157 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30158 cat >>confdefs.h
<<\_ACEOF
30159 #define wxUSE_DIALUP_MANAGER 1
30162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30165 if test "$wxUSE_STREAMS" = "yes" ; then
30166 cat >>confdefs.h
<<\_ACEOF
30167 #define wxUSE_STREAMS 1
30173 if test "$wxUSE_DATETIME" = "yes"; then
30175 for ac_func
in strptime
30177 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30178 echo "$as_me:$LINENO: checking for $ac_func" >&5
30179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30180 if eval "test \"\${$as_ac_var+set}\" = set"; then
30181 echo $ECHO_N "(cached) $ECHO_C" >&6
30183 cat >conftest.
$ac_ext <<_ACEOF
30184 #line $LINENO "configure"
30187 cat confdefs.h
>>conftest.
$ac_ext
30188 cat >>conftest.
$ac_ext <<_ACEOF
30189 /* end confdefs.h. */
30190 /* System header to define __stub macros and hopefully few prototypes,
30191 which can conflict with char $ac_func (); below.
30192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30193 <limits.h> exists even on freestanding compilers. */
30195 # include <limits.h>
30197 # include <assert.h>
30199 /* Override any gcc2 internal prototype to avoid an error. */
30204 /* We use char because int might match the return type of a gcc2
30205 builtin and then its argument prototype would still apply. */
30207 /* The GNU C library defines this for functions which it implements
30208 to always fail with ENOSYS. Some functions are actually named
30209 something starting with __ and the normal name is an alias. */
30210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30213 char (*f) () = $ac_func;
30222 return f != $ac_func;
30227 rm -f conftest.
$ac_objext conftest
$ac_exeext
30228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30229 (eval $ac_link) 2>&5
30231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232 (exit $ac_status); } &&
30233 { ac_try
='test -s conftest$ac_exeext'
30234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30235 (eval $ac_try) 2>&5
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); }; }; then
30239 eval "$as_ac_var=yes"
30241 echo "$as_me: failed program was:" >&5
30242 sed 's/^/| /' conftest.
$ac_ext >&5
30244 eval "$as_ac_var=no"
30246 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30250 if test `eval echo '${'$as_ac_var'}'` = yes; then
30251 cat >>confdefs.h
<<_ACEOF
30252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30259 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30260 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30261 if test "${wx_cv_var_timezone+set}" = set; then
30262 echo $ECHO_N "(cached) $ECHO_C" >&6
30265 cat >conftest.
$ac_ext <<_ACEOF
30266 #line $LINENO "configure"
30269 cat confdefs.h
>>conftest.
$ac_ext
30270 cat >>conftest.
$ac_ext <<_ACEOF
30271 /* end confdefs.h. */
30286 rm -f conftest.
$ac_objext
30287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30288 (eval $ac_compile) 2>&5
30290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30291 (exit $ac_status); } &&
30292 { ac_try
='test -s conftest.$ac_objext'
30293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30294 (eval $ac_try) 2>&5
30296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 (exit $ac_status); }; }; then
30299 wx_cv_var_timezone
=timezone
30302 echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.
$ac_ext >&5
30306 cat >conftest.
$ac_ext <<_ACEOF
30307 #line $LINENO "configure"
30310 cat confdefs.h
>>conftest.
$ac_ext
30311 cat >>conftest.
$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30327 rm -f conftest.
$ac_objext
30328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30329 (eval $ac_compile) 2>&5
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); } &&
30333 { ac_try
='test -s conftest.$ac_objext'
30334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30335 (eval $ac_try) 2>&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); }; }; then
30340 wx_cv_var_timezone
=_timezone
30343 echo "$as_me: failed program was:" >&5
30344 sed 's/^/| /' conftest.
$ac_ext >&5
30347 cat >conftest.
$ac_ext <<_ACEOF
30348 #line $LINENO "configure"
30351 cat confdefs.h
>>conftest.
$ac_ext
30352 cat >>conftest.
$ac_ext <<_ACEOF
30353 /* end confdefs.h. */
30368 rm -f conftest.
$ac_objext
30369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30370 (eval $ac_compile) 2>&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); } &&
30374 { ac_try
='test -s conftest.$ac_objext'
30375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30376 (eval $ac_try) 2>&5
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); }; }; then
30381 wx_cv_var_timezone
=__timezone
30384 echo "$as_me: failed program was:" >&5
30385 sed 's/^/| /' conftest.
$ac_ext >&5
30388 if test "$USE_DOS" = 0 ; then
30389 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30390 echo "$as_me: WARNING: no timezone variable" >&2;}
30395 rm -f conftest.
$ac_objext conftest.
$ac_ext
30399 rm -f conftest.
$ac_objext conftest.
$ac_ext
30403 rm -f conftest.
$ac_objext conftest.
$ac_ext
30407 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30408 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30410 if test "x$wx_cv_var_timezone" != x
; then
30411 cat >>confdefs.h
<<_ACEOF
30412 #define WX_TIMEZONE $wx_cv_var_timezone
30418 for ac_func
in localtime
30420 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30421 echo "$as_me:$LINENO: checking for $ac_func" >&5
30422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30423 if eval "test \"\${$as_ac_var+set}\" = set"; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 cat >conftest.
$ac_ext <<_ACEOF
30427 #line $LINENO "configure"
30430 cat confdefs.h
>>conftest.
$ac_ext
30431 cat >>conftest.
$ac_ext <<_ACEOF
30432 /* end confdefs.h. */
30433 /* System header to define __stub macros and hopefully few prototypes,
30434 which can conflict with char $ac_func (); below.
30435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30436 <limits.h> exists even on freestanding compilers. */
30438 # include <limits.h>
30440 # include <assert.h>
30442 /* Override any gcc2 internal prototype to avoid an error. */
30447 /* We use char because int might match the return type of a gcc2
30448 builtin and then its argument prototype would still apply. */
30450 /* The GNU C library defines this for functions which it implements
30451 to always fail with ENOSYS. Some functions are actually named
30452 something starting with __ and the normal name is an alias. */
30453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30456 char (*f) () = $ac_func;
30465 return f != $ac_func;
30470 rm -f conftest.
$ac_objext conftest
$ac_exeext
30471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30472 (eval $ac_link) 2>&5
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); } &&
30476 { ac_try
='test -s conftest$ac_exeext'
30477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30478 (eval $ac_try) 2>&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); }; }; then
30482 eval "$as_ac_var=yes"
30484 echo "$as_me: failed program was:" >&5
30485 sed 's/^/| /' conftest.
$ac_ext >&5
30487 eval "$as_ac_var=no"
30489 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30493 if test `eval echo '${'$as_ac_var'}'` = yes; then
30494 cat >>confdefs.h
<<_ACEOF
30495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30502 if test "$ac_cv_func_localtime" = "yes"; then
30503 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30504 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30505 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30506 echo $ECHO_N "(cached) $ECHO_C" >&6
30509 cat >conftest.
$ac_ext <<_ACEOF
30510 #line $LINENO "configure"
30513 cat confdefs.h
>>conftest.
$ac_ext
30514 cat >>conftest.
$ac_ext <<_ACEOF
30515 /* end confdefs.h. */
30530 rm -f conftest.
$ac_objext
30531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30532 (eval $ac_compile) 2>&5
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); } &&
30536 { ac_try
='test -s conftest.$ac_objext'
30537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538 (eval $ac_try) 2>&5
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); }; }; then
30543 wx_cv_struct_tm_has_gmtoff
=yes
30546 echo "$as_me: failed program was:" >&5
30547 sed 's/^/| /' conftest.
$ac_ext >&5
30549 wx_cv_struct_tm_has_gmtoff
=no
30552 rm -f conftest.
$ac_objext conftest.
$ac_ext
30555 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30556 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30559 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30560 cat >>confdefs.h
<<\_ACEOF
30561 #define WX_GMTOFF_IN_TM 1
30568 for ac_func
in gettimeofday ftime
30570 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30571 echo "$as_me:$LINENO: checking for $ac_func" >&5
30572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30573 if eval "test \"\${$as_ac_var+set}\" = set"; then
30574 echo $ECHO_N "(cached) $ECHO_C" >&6
30576 cat >conftest.
$ac_ext <<_ACEOF
30577 #line $LINENO "configure"
30580 cat confdefs.h
>>conftest.
$ac_ext
30581 cat >>conftest.
$ac_ext <<_ACEOF
30582 /* end confdefs.h. */
30583 /* System header to define __stub macros and hopefully few prototypes,
30584 which can conflict with char $ac_func (); below.
30585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30586 <limits.h> exists even on freestanding compilers. */
30588 # include <limits.h>
30590 # include <assert.h>
30592 /* Override any gcc2 internal prototype to avoid an error. */
30597 /* We use char because int might match the return type of a gcc2
30598 builtin and then its argument prototype would still apply. */
30600 /* The GNU C library defines this for functions which it implements
30601 to always fail with ENOSYS. Some functions are actually named
30602 something starting with __ and the normal name is an alias. */
30603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30606 char (*f) () = $ac_func;
30615 return f != $ac_func;
30620 rm -f conftest.
$ac_objext conftest
$ac_exeext
30621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30622 (eval $ac_link) 2>&5
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); } &&
30626 { ac_try
='test -s conftest$ac_exeext'
30627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30628 (eval $ac_try) 2>&5
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; }; then
30632 eval "$as_ac_var=yes"
30634 echo "$as_me: failed program was:" >&5
30635 sed 's/^/| /' conftest.
$ac_ext >&5
30637 eval "$as_ac_var=no"
30639 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30643 if test `eval echo '${'$as_ac_var'}'` = yes; then
30644 cat >>confdefs.h
<<_ACEOF
30645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30652 if test "$ac_cv_func_gettimeofday" = "yes"; then
30653 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30654 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30655 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30656 echo $ECHO_N "(cached) $ECHO_C" >&6
30662 ac_cpp
='$CXXCPP $CPPFLAGS'
30663 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30664 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30665 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30668 cat >conftest.
$ac_ext <<_ACEOF
30669 #line $LINENO "configure"
30672 cat confdefs.h
>>conftest.
$ac_ext
30673 cat >>conftest.
$ac_ext <<_ACEOF
30674 /* end confdefs.h. */
30676 #include <sys/time.h>
30677 #include <unistd.h>
30684 gettimeofday(&tv, NULL);
30690 rm -f conftest.
$ac_objext
30691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30692 (eval $ac_compile) 2>&5
30694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 (exit $ac_status); } &&
30696 { ac_try
='test -s conftest.$ac_objext'
30697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30698 (eval $ac_try) 2>&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); }; }; then
30702 wx_cv_func_gettimeofday_has_2_args
=yes
30704 echo "$as_me: failed program was:" >&5
30705 sed 's/^/| /' conftest.
$ac_ext >&5
30707 cat >conftest.
$ac_ext <<_ACEOF
30708 #line $LINENO "configure"
30711 cat confdefs.h
>>conftest.
$ac_ext
30712 cat >>conftest.
$ac_ext <<_ACEOF
30713 /* end confdefs.h. */
30715 #include <sys/time.h>
30716 #include <unistd.h>
30729 rm -f conftest.
$ac_objext
30730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30731 (eval $ac_compile) 2>&5
30733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734 (exit $ac_status); } &&
30735 { ac_try
='test -s conftest.$ac_objext'
30736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30737 (eval $ac_try) 2>&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); }; }; then
30741 wx_cv_func_gettimeofday_has_2_args
=no
30743 echo "$as_me: failed program was:" >&5
30744 sed 's/^/| /' conftest.
$ac_ext >&5
30747 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30748 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30749 wx_cv_func_gettimeofday_has_2_args
=unknown
30753 rm -f conftest.
$ac_objext conftest.
$ac_ext
30756 rm -f conftest.
$ac_objext conftest.
$ac_ext
30758 ac_cpp
='$CPP $CPPFLAGS'
30759 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30765 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30766 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30768 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30769 cat >>confdefs.h
<<\_ACEOF
30770 #define WX_GETTIMEOFDAY_NO_TZ 1
30776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30780 if test "$wxUSE_SOCKETS" = "yes"; then
30781 if test "$wxUSE_MGL" = "1"; then
30782 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30783 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30788 if test "$wxUSE_SOCKETS" = "yes"; then
30789 if test "$TOOLKIT" != "MSW"; then
30790 echo "$as_me:$LINENO: checking for socket" >&5
30791 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30792 if test "${ac_cv_func_socket+set}" = set; then
30793 echo $ECHO_N "(cached) $ECHO_C" >&6
30795 cat >conftest.
$ac_ext <<_ACEOF
30796 #line $LINENO "configure"
30799 cat confdefs.h
>>conftest.
$ac_ext
30800 cat >>conftest.
$ac_ext <<_ACEOF
30801 /* end confdefs.h. */
30802 /* System header to define __stub macros and hopefully few prototypes,
30803 which can conflict with char socket (); below.
30804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30805 <limits.h> exists even on freestanding compilers. */
30807 # include <limits.h>
30809 # include <assert.h>
30811 /* Override any gcc2 internal prototype to avoid an error. */
30816 /* We use char because int might match the return type of a gcc2
30817 builtin and then its argument prototype would still apply. */
30819 /* The GNU C library defines this for functions which it implements
30820 to always fail with ENOSYS. Some functions are actually named
30821 something starting with __ and the normal name is an alias. */
30822 #if defined (__stub_socket) || defined (__stub___socket)
30825 char (*f) () = socket;
30834 return f != socket;
30839 rm -f conftest.
$ac_objext conftest
$ac_exeext
30840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30841 (eval $ac_link) 2>&5
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); } &&
30845 { ac_try
='test -s conftest$ac_exeext'
30846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30847 (eval $ac_try) 2>&5
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); }; }; then
30851 ac_cv_func_socket
=yes
30853 echo "$as_me: failed program was:" >&5
30854 sed 's/^/| /' conftest.
$ac_ext >&5
30856 ac_cv_func_socket
=no
30858 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30860 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30861 echo "${ECHO_T}$ac_cv_func_socket" >&6
30862 if test $ac_cv_func_socket = yes; then
30865 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30866 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30867 if test "${ac_cv_lib_socket_socket+set}" = set; then
30868 echo $ECHO_N "(cached) $ECHO_C" >&6
30870 ac_check_lib_save_LIBS
=$LIBS
30871 LIBS
="-lsocket $LIBS"
30872 cat >conftest.
$ac_ext <<_ACEOF
30873 #line $LINENO "configure"
30876 cat confdefs.h
>>conftest.
$ac_ext
30877 cat >>conftest.
$ac_ext <<_ACEOF
30878 /* end confdefs.h. */
30880 /* Override any gcc2 internal prototype to avoid an error. */
30884 /* We use char because int might match the return type of a gcc2
30885 builtin and then its argument prototype would still apply. */
30895 rm -f conftest.
$ac_objext conftest
$ac_exeext
30896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30897 (eval $ac_link) 2>&5
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); } &&
30901 { ac_try
='test -s conftest$ac_exeext'
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 ac_cv_lib_socket_socket
=yes
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.
$ac_ext >&5
30912 ac_cv_lib_socket_socket
=no
30914 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30915 LIBS
=$ac_check_lib_save_LIBS
30917 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30918 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30919 if test $ac_cv_lib_socket_socket = yes; then
30920 if test "$INET_LINK" != " -lsocket"; then
30921 INET_LINK
="$INET_LINK -lsocket"
30925 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30926 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30938 if test "$wxUSE_SOCKETS" = "yes" ; then
30939 if test "$TOOLKIT" != "MSW"; then
30940 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30941 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30942 if test "${wx_cv_type_getsockname3+set}" = set; then
30943 echo $ECHO_N "(cached) $ECHO_C" >&6
30946 cat >conftest.
$ac_ext <<_ACEOF
30947 #line $LINENO "configure"
30950 cat confdefs.h
>>conftest.
$ac_ext
30951 cat >>conftest.
$ac_ext <<_ACEOF
30952 /* end confdefs.h. */
30954 #include <sys/types.h>
30955 #include <sys/socket.h>
30962 getsockname(0, 0, &len);
30968 rm -f conftest.
$ac_objext
30969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30970 (eval $ac_compile) 2>&5
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); } &&
30974 { ac_try
='test -s conftest.$ac_objext'
30975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30976 (eval $ac_try) 2>&5
30978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979 (exit $ac_status); }; }; then
30980 wx_cv_type_getsockname3
=socklen_t
30982 echo "$as_me: failed program was:" >&5
30983 sed 's/^/| /' conftest.
$ac_ext >&5
30986 CFLAGS_OLD
="$CFLAGS"
30987 if test "$GCC" = yes ; then
30988 CFLAGS
="$CFLAGS -Werror"
30991 cat >conftest.
$ac_ext <<_ACEOF
30992 #line $LINENO "configure"
30995 cat confdefs.h
>>conftest.
$ac_ext
30996 cat >>conftest.
$ac_ext <<_ACEOF
30997 /* end confdefs.h. */
30999 #include <sys/types.h>
31000 #include <sys/socket.h>
31007 getsockname(0, 0, &len);
31013 rm -f conftest.
$ac_objext
31014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31015 (eval $ac_compile) 2>&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); } &&
31019 { ac_try
='test -s conftest.$ac_objext'
31020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31021 (eval $ac_try) 2>&5
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); }; }; then
31025 wx_cv_type_getsockname3
=size_t
31027 echo "$as_me: failed program was:" >&5
31028 sed 's/^/| /' conftest.
$ac_ext >&5
31030 cat >conftest.
$ac_ext <<_ACEOF
31031 #line $LINENO "configure"
31034 cat confdefs.h
>>conftest.
$ac_ext
31035 cat >>conftest.
$ac_ext <<_ACEOF
31036 /* end confdefs.h. */
31038 #include <sys/types.h>
31039 #include <sys/socket.h>
31046 getsockname(0, 0, &len);
31052 rm -f conftest.
$ac_objext
31053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31054 (eval $ac_compile) 2>&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); } &&
31058 { ac_try
='test -s conftest.$ac_objext'
31059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31060 (eval $ac_try) 2>&5
31062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063 (exit $ac_status); }; }; then
31064 wx_cv_type_getsockname3
=int
31066 echo "$as_me: failed program was:" >&5
31067 sed 's/^/| /' conftest.
$ac_ext >&5
31069 wx_cv_type_getsockname3
=unknown
31072 rm -f conftest.
$ac_objext conftest.
$ac_ext
31075 rm -f conftest.
$ac_objext conftest.
$ac_ext
31077 CFLAGS
="$CFLAGS_OLD"
31081 rm -f conftest.
$ac_objext conftest.
$ac_ext
31084 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31085 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31087 if test "$wx_cv_type_getsockname3" = "unknown"; then
31089 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31090 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31092 cat >>confdefs.h
<<_ACEOF
31093 #define SOCKLEN_T $wx_cv_type_getsockname3
31100 if test "$wxUSE_SOCKETS" = "yes" ; then
31101 cat >>confdefs.h
<<\_ACEOF
31102 #define wxUSE_SOCKETS 1
31105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31109 if test "$wxUSE_GUI" = "yes"; then
31111 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31112 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31113 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31116 if test "$TOOLKIT" = "MOTIF"; then
31117 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31118 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31121 if test "$TOOLKIT" = "X11"; then
31122 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31123 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31127 if test "$TOOLKIT" != "MSW"; then
31128 if test "$wxUSE_JOYSTICK" = "yes"; then
31130 for ac_header
in linux
/joystick.h
31132 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31134 echo "$as_me:$LINENO: checking for $ac_header" >&5
31135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31137 echo $ECHO_N "(cached) $ECHO_C" >&6
31139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31142 # Is the header compilable?
31143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31145 cat >conftest.
$ac_ext <<_ACEOF
31146 #line $LINENO "configure"
31149 cat confdefs.h
>>conftest.
$ac_ext
31150 cat >>conftest.
$ac_ext <<_ACEOF
31151 /* end confdefs.h. */
31152 $ac_includes_default
31153 #include <$ac_header>
31155 rm -f conftest.
$ac_objext
31156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31157 (eval $ac_compile) 2>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); } &&
31161 { ac_try
='test -s conftest.$ac_objext'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; }; then
31167 ac_header_compiler
=yes
31169 echo "$as_me: failed program was:" >&5
31170 sed 's/^/| /' conftest.
$ac_ext >&5
31172 ac_header_compiler
=no
31174 rm -f conftest.
$ac_objext conftest.
$ac_ext
31175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31176 echo "${ECHO_T}$ac_header_compiler" >&6
31178 # Is the header present?
31179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31181 cat >conftest.
$ac_ext <<_ACEOF
31182 #line $LINENO "configure"
31185 cat confdefs.h
>>conftest.
$ac_ext
31186 cat >>conftest.
$ac_ext <<_ACEOF
31187 /* end confdefs.h. */
31188 #include <$ac_header>
31190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31191 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31193 grep -v '^ *+' conftest.er1
>conftest.err
31195 cat conftest.err
>&5
31196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31197 (exit $ac_status); } >/dev
/null
; then
31198 if test -s conftest.err
; then
31199 ac_cpp_err
=$ac_c_preproc_warn_flag
31206 if test -z "$ac_cpp_err"; then
31207 ac_header_preproc
=yes
31209 echo "$as_me: failed program was:" >&5
31210 sed 's/^/| /' conftest.
$ac_ext >&5
31212 ac_header_preproc
=no
31214 rm -f conftest.err conftest.
$ac_ext
31215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31216 echo "${ECHO_T}$ac_header_preproc" >&6
31218 # So? What about this header?
31219 case $ac_header_compiler:$ac_header_preproc in
31221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31227 ## ------------------------------------ ##
31228 ## Report this to bug-autoconf@gnu.org. ##
31229 ## ------------------------------------ ##
31232 sed "s/^/$as_me: WARNING: /" >&2
31235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31243 ## ------------------------------------ ##
31244 ## Report this to bug-autoconf@gnu.org. ##
31245 ## ------------------------------------ ##
31248 sed "s/^/$as_me: WARNING: /" >&2
31251 echo "$as_me:$LINENO: checking for $ac_header" >&5
31252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31254 echo $ECHO_N "(cached) $ECHO_C" >&6
31256 eval "$as_ac_Header=$ac_header_preproc"
31258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31263 cat >>confdefs.h
<<_ACEOF
31264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31271 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31273 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31274 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31279 if test "$wxUSE_JOYSTICK" = "yes"; then
31280 cat >>confdefs.h
<<\_ACEOF
31281 #define wxUSE_JOYSTICK 1
31284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31289 if test "$TOOLKIT" != "MSW"; then
31293 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31294 if test "$USE_DARWIN" = 1; then
31298 for ac_func
in dlopen
31300 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31301 echo "$as_me:$LINENO: checking for $ac_func" >&5
31302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31303 if eval "test \"\${$as_ac_var+set}\" = set"; then
31304 echo $ECHO_N "(cached) $ECHO_C" >&6
31306 cat >conftest.
$ac_ext <<_ACEOF
31307 #line $LINENO "configure"
31310 cat confdefs.h
>>conftest.
$ac_ext
31311 cat >>conftest.
$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31313 /* System header to define __stub macros and hopefully few prototypes,
31314 which can conflict with char $ac_func (); below.
31315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31316 <limits.h> exists even on freestanding compilers. */
31318 # include <limits.h>
31320 # include <assert.h>
31322 /* Override any gcc2 internal prototype to avoid an error. */
31327 /* We use char because int might match the return type of a gcc2
31328 builtin and then its argument prototype would still apply. */
31330 /* The GNU C library defines this for functions which it implements
31331 to always fail with ENOSYS. Some functions are actually named
31332 something starting with __ and the normal name is an alias. */
31333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31336 char (*f) () = $ac_func;
31345 return f != $ac_func;
31350 rm -f conftest.
$ac_objext conftest
$ac_exeext
31351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31352 (eval $ac_link) 2>&5
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); } &&
31356 { ac_try
='test -s conftest$ac_exeext'
31357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31358 (eval $ac_try) 2>&5
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; }; then
31362 eval "$as_ac_var=yes"
31364 echo "$as_me: failed program was:" >&5
31365 sed 's/^/| /' conftest.
$ac_ext >&5
31367 eval "$as_ac_var=no"
31369 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31373 if test `eval echo '${'$as_ac_var'}'` = yes; then
31374 cat >>confdefs.h
<<_ACEOF
31375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31378 cat >>confdefs.h
<<\_ACEOF
31379 #define HAVE_DLOPEN 1
31386 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31387 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31388 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31389 echo $ECHO_N "(cached) $ECHO_C" >&6
31391 ac_check_lib_save_LIBS
=$LIBS
31393 cat >conftest.
$ac_ext <<_ACEOF
31394 #line $LINENO "configure"
31397 cat confdefs.h
>>conftest.
$ac_ext
31398 cat >>conftest.
$ac_ext <<_ACEOF
31399 /* end confdefs.h. */
31401 /* Override any gcc2 internal prototype to avoid an error. */
31405 /* We use char because int might match the return type of a gcc2
31406 builtin and then its argument prototype would still apply. */
31416 rm -f conftest.
$ac_objext conftest
$ac_exeext
31417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31418 (eval $ac_link) 2>&5
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); } &&
31422 { ac_try
='test -s conftest$ac_exeext'
31423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31424 (eval $ac_try) 2>&5
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; }; then
31428 ac_cv_lib_dl_dlopen
=yes
31430 echo "$as_me: failed program was:" >&5
31431 sed 's/^/| /' conftest.
$ac_ext >&5
31433 ac_cv_lib_dl_dlopen
=no
31435 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31436 LIBS
=$ac_check_lib_save_LIBS
31438 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31439 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31440 if test $ac_cv_lib_dl_dlopen = yes; then
31442 cat >>confdefs.h
<<\_ACEOF
31443 #define HAVE_DLOPEN 1
31447 DL_LINK
=" -ldl$DL_LINK"
31452 for ac_func
in shl_load
31454 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31455 echo "$as_me:$LINENO: checking for $ac_func" >&5
31456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31457 if eval "test \"\${$as_ac_var+set}\" = set"; then
31458 echo $ECHO_N "(cached) $ECHO_C" >&6
31460 cat >conftest.
$ac_ext <<_ACEOF
31461 #line $LINENO "configure"
31464 cat confdefs.h
>>conftest.
$ac_ext
31465 cat >>conftest.
$ac_ext <<_ACEOF
31466 /* end confdefs.h. */
31467 /* System header to define __stub macros and hopefully few prototypes,
31468 which can conflict with char $ac_func (); below.
31469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31470 <limits.h> exists even on freestanding compilers. */
31472 # include <limits.h>
31474 # include <assert.h>
31476 /* Override any gcc2 internal prototype to avoid an error. */
31481 /* We use char because int might match the return type of a gcc2
31482 builtin and then its argument prototype would still apply. */
31484 /* The GNU C library defines this for functions which it implements
31485 to always fail with ENOSYS. Some functions are actually named
31486 something starting with __ and the normal name is an alias. */
31487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31490 char (*f) () = $ac_func;
31499 return f != $ac_func;
31504 rm -f conftest.
$ac_objext conftest
$ac_exeext
31505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31506 (eval $ac_link) 2>&5
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); } &&
31510 { ac_try
='test -s conftest$ac_exeext'
31511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31512 (eval $ac_try) 2>&5
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); }; }; then
31516 eval "$as_ac_var=yes"
31518 echo "$as_me: failed program was:" >&5
31519 sed 's/^/| /' conftest.
$ac_ext >&5
31521 eval "$as_ac_var=no"
31523 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31527 if test `eval echo '${'$as_ac_var'}'` = yes; then
31528 cat >>confdefs.h
<<_ACEOF
31529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31532 cat >>confdefs.h
<<\_ACEOF
31533 #define HAVE_SHL_LOAD 1
31540 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31541 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31542 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31543 echo $ECHO_N "(cached) $ECHO_C" >&6
31545 ac_check_lib_save_LIBS
=$LIBS
31546 LIBS
="-lshl_load $LIBS"
31547 cat >conftest.
$ac_ext <<_ACEOF
31548 #line $LINENO "configure"
31551 cat confdefs.h
>>conftest.
$ac_ext
31552 cat >>conftest.
$ac_ext <<_ACEOF
31553 /* end confdefs.h. */
31555 /* Override any gcc2 internal prototype to avoid an error. */
31559 /* We use char because int might match the return type of a gcc2
31560 builtin and then its argument prototype would still apply. */
31570 rm -f conftest.
$ac_objext conftest
$ac_exeext
31571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31572 (eval $ac_link) 2>&5
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); } &&
31576 { ac_try
='test -s conftest$ac_exeext'
31577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31578 (eval $ac_try) 2>&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; }; then
31582 ac_cv_lib_shl_load_dld
=yes
31584 echo "$as_me: failed program was:" >&5
31585 sed 's/^/| /' conftest.
$ac_ext >&5
31587 ac_cv_lib_shl_load_dld
=no
31589 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31590 LIBS
=$ac_check_lib_save_LIBS
31592 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31593 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31594 if test $ac_cv_lib_shl_load_dld = yes; then
31597 DL_LINK
=" -ldld$DL_LINK"
31613 if test "$HAVE_DL_FUNCS" = 1; then
31615 for ac_func
in dlerror
31617 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31618 echo "$as_me:$LINENO: checking for $ac_func" >&5
31619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31620 if eval "test \"\${$as_ac_var+set}\" = set"; then
31621 echo $ECHO_N "(cached) $ECHO_C" >&6
31623 cat >conftest.
$ac_ext <<_ACEOF
31624 #line $LINENO "configure"
31627 cat confdefs.h
>>conftest.
$ac_ext
31628 cat >>conftest.
$ac_ext <<_ACEOF
31629 /* end confdefs.h. */
31630 /* System header to define __stub macros and hopefully few prototypes,
31631 which can conflict with char $ac_func (); below.
31632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31633 <limits.h> exists even on freestanding compilers. */
31635 # include <limits.h>
31637 # include <assert.h>
31639 /* Override any gcc2 internal prototype to avoid an error. */
31644 /* We use char because int might match the return type of a gcc2
31645 builtin and then its argument prototype would still apply. */
31647 /* The GNU C library defines this for functions which it implements
31648 to always fail with ENOSYS. Some functions are actually named
31649 something starting with __ and the normal name is an alias. */
31650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31653 char (*f) () = $ac_func;
31662 return f != $ac_func;
31667 rm -f conftest.
$ac_objext conftest
$ac_exeext
31668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31669 (eval $ac_link) 2>&5
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); } &&
31673 { ac_try
='test -s conftest$ac_exeext'
31674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31675 (eval $ac_try) 2>&5
31677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31678 (exit $ac_status); }; }; then
31679 eval "$as_ac_var=yes"
31681 echo "$as_me: failed program was:" >&5
31682 sed 's/^/| /' conftest.
$ac_ext >&5
31684 eval "$as_ac_var=no"
31686 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31690 if test `eval echo '${'$as_ac_var'}'` = yes; then
31691 cat >>confdefs.h
<<_ACEOF
31692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31694 cat >>confdefs.h
<<\_ACEOF
31695 #define HAVE_DLERROR 1
31699 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31700 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31701 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31702 echo $ECHO_N "(cached) $ECHO_C" >&6
31704 ac_check_lib_save_LIBS
=$LIBS
31706 cat >conftest.
$ac_ext <<_ACEOF
31707 #line $LINENO "configure"
31710 cat confdefs.h
>>conftest.
$ac_ext
31711 cat >>conftest.
$ac_ext <<_ACEOF
31712 /* end confdefs.h. */
31714 /* Override any gcc2 internal prototype to avoid an error. */
31718 /* We use char because int might match the return type of a gcc2
31719 builtin and then its argument prototype would still apply. */
31729 rm -f conftest.
$ac_objext conftest
$ac_exeext
31730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31731 (eval $ac_link) 2>&5
31733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31734 (exit $ac_status); } &&
31735 { ac_try
='test -s conftest$ac_exeext'
31736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31737 (eval $ac_try) 2>&5
31739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740 (exit $ac_status); }; }; then
31741 ac_cv_lib_dl_dlerror
=yes
31743 echo "$as_me: failed program was:" >&5
31744 sed 's/^/| /' conftest.
$ac_ext >&5
31746 ac_cv_lib_dl_dlerror
=no
31748 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31749 LIBS
=$ac_check_lib_save_LIBS
31751 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31752 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31753 if test $ac_cv_lib_dl_dlerror = yes; then
31754 cat >>confdefs.h
<<\_ACEOF
31755 #define HAVE_DLERROR 1
31766 if test "$HAVE_DL_FUNCS" = 0; then
31767 if test "$HAVE_SHL_FUNCS" = 0; then
31768 if test "$USE_UNIX" = 1; then
31769 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31770 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31771 wxUSE_DYNAMIC_LOADER
=no
31772 wxUSE_DYNLIB_CLASS
=no
31774 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31775 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31782 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31783 cat >>confdefs.h
<<\_ACEOF
31784 #define wxUSE_DYNAMIC_LOADER 1
31787 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31788 cat >>confdefs.h
<<\_ACEOF
31789 #define wxUSE_DYNLIB_CLASS 1
31795 if test "$wxUSE_FONTMAP" = "yes" ; then
31796 cat >>confdefs.h
<<\_ACEOF
31797 #define wxUSE_FONTMAP 1
31802 if test "$wxUSE_UNICODE" = "yes" ; then
31803 cat >>confdefs.h
<<\_ACEOF
31804 #define wxUSE_UNICODE 1
31808 if test "$wxUSE_MSW" != 1; then
31809 wxUSE_UNICODE_MSLU
=no
31812 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31813 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31814 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31815 if test "${ac_cv_lib_unicows_main+set}" = set; then
31816 echo $ECHO_N "(cached) $ECHO_C" >&6
31818 ac_check_lib_save_LIBS
=$LIBS
31819 LIBS
="-lunicows $LIBS"
31820 cat >conftest.
$ac_ext <<_ACEOF
31821 #line $LINENO "configure"
31824 cat confdefs.h
>>conftest.
$ac_ext
31825 cat >>conftest.
$ac_ext <<_ACEOF
31826 /* end confdefs.h. */
31837 rm -f conftest.
$ac_objext conftest
$ac_exeext
31838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31839 (eval $ac_link) 2>&5
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); } &&
31843 { ac_try
='test -s conftest$ac_exeext'
31844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31845 (eval $ac_try) 2>&5
31847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848 (exit $ac_status); }; }; then
31849 ac_cv_lib_unicows_main
=yes
31851 echo "$as_me: failed program was:" >&5
31852 sed 's/^/| /' conftest.
$ac_ext >&5
31854 ac_cv_lib_unicows_main
=no
31856 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31857 LIBS
=$ac_check_lib_save_LIBS
31859 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31860 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31861 if test $ac_cv_lib_unicows_main = yes; then
31863 cat >>confdefs.h
<<\_ACEOF
31864 #define wxUSE_UNICODE_MSLU 1
31870 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31871 Applications will only run on Windows NT/2000/XP!" >&5
31872 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31873 Applications will only run on Windows NT/2000/XP!" >&2;}
31874 wxUSE_UNICODE_MSLU
=no
31881 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31882 cat >>confdefs.h
<<\_ACEOF
31883 #define wxUSE_EXPERIMENTAL_PRINTF 1
31889 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31890 cat >>confdefs.h
<<\_ACEOF
31891 #define wxUSE_POSTSCRIPT 1
31896 cat >>confdefs.h
<<\_ACEOF
31897 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31901 cat >>confdefs.h
<<\_ACEOF
31902 #define wxUSE_NORMALIZED_PS_FONTS 1
31907 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31908 cat >>confdefs.h
<<\_ACEOF
31909 #define wxUSE_CONSTRAINTS 1
31912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
31915 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31918 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31919 cat >>confdefs.h
<<\_ACEOF
31920 #define wxUSE_MDI_ARCHITECTURE 1
31923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
31927 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31928 cat >>confdefs.h
<<\_ACEOF
31929 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
31933 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
31938 if test "$wxUSE_HELP" = "yes"; then
31939 cat >>confdefs.h
<<\_ACEOF
31940 #define wxUSE_HELP 1
31943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
31945 if test "$wxUSE_MSW" = 1; then
31946 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31947 cat >>confdefs.h
<<\_ACEOF
31948 #define wxUSE_MS_HTML_HELP 1
31954 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31955 if test "$wxUSE_HTML" = "yes"; then
31956 cat >>confdefs.h
<<\_ACEOF
31957 #define wxUSE_WXHTML_HELP 1
31961 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31962 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31963 wxUSE_WXHTML_HELP
=no
31968 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31969 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31970 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31971 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31973 cat >>confdefs.h
<<\_ACEOF
31974 #define wxUSE_PRINTING_ARCHITECTURE 1
31978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
31981 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31982 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31983 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31984 { (exit 1); exit 1; }; }
31988 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
31989 -o "$wxUSE_CLIPBOARD" = "yes" \
31990 -o "$wxUSE_OLE" = "yes" \
31991 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
31993 for ac_header
in ole2.h
31995 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31997 echo "$as_me:$LINENO: checking for $ac_header" >&5
31998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32000 echo $ECHO_N "(cached) $ECHO_C" >&6
32002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32005 # Is the header compilable?
32006 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32008 cat >conftest.
$ac_ext <<_ACEOF
32009 #line $LINENO "configure"
32012 cat confdefs.h
>>conftest.
$ac_ext
32013 cat >>conftest.
$ac_ext <<_ACEOF
32014 /* end confdefs.h. */
32015 $ac_includes_default
32016 #include <$ac_header>
32018 rm -f conftest.
$ac_objext
32019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32020 (eval $ac_compile) 2>&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); } &&
32024 { ac_try
='test -s conftest.$ac_objext'
32025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32026 (eval $ac_try) 2>&5
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); }; }; then
32030 ac_header_compiler
=yes
32032 echo "$as_me: failed program was:" >&5
32033 sed 's/^/| /' conftest.
$ac_ext >&5
32035 ac_header_compiler
=no
32037 rm -f conftest.
$ac_objext conftest.
$ac_ext
32038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32039 echo "${ECHO_T}$ac_header_compiler" >&6
32041 # Is the header present?
32042 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32043 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32044 cat >conftest.
$ac_ext <<_ACEOF
32045 #line $LINENO "configure"
32048 cat confdefs.h
>>conftest.
$ac_ext
32049 cat >>conftest.
$ac_ext <<_ACEOF
32050 /* end confdefs.h. */
32051 #include <$ac_header>
32053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32056 grep -v '^ *+' conftest.er1
>conftest.err
32058 cat conftest.err
>&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); } >/dev
/null
; then
32061 if test -s conftest.err
; then
32062 ac_cpp_err
=$ac_c_preproc_warn_flag
32069 if test -z "$ac_cpp_err"; then
32070 ac_header_preproc
=yes
32072 echo "$as_me: failed program was:" >&5
32073 sed 's/^/| /' conftest.
$ac_ext >&5
32075 ac_header_preproc
=no
32077 rm -f conftest.err conftest.
$ac_ext
32078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32079 echo "${ECHO_T}$ac_header_preproc" >&6
32081 # So? What about this header?
32082 case $ac_header_compiler:$ac_header_preproc in
32084 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32085 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32090 ## ------------------------------------ ##
32091 ## Report this to bug-autoconf@gnu.org. ##
32092 ## ------------------------------------ ##
32095 sed "s/^/$as_me: WARNING: /" >&2
32098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32106 ## ------------------------------------ ##
32107 ## Report this to bug-autoconf@gnu.org. ##
32108 ## ------------------------------------ ##
32111 sed "s/^/$as_me: WARNING: /" >&2
32114 echo "$as_me:$LINENO: checking for $ac_header" >&5
32115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 eval "$as_ac_Header=$ac_header_preproc"
32121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32126 cat >>confdefs.h
<<_ACEOF
32127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32135 if test "$ac_cv_header_ole2_h" = "yes" ; then
32136 if test "$GCC" = yes ; then
32140 ac_cpp
='$CXXCPP $CPPFLAGS'
32141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32146 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32147 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32148 cat >conftest.
$ac_ext <<_ACEOF
32149 #line $LINENO "configure"
32152 cat confdefs.h
>>conftest.
$ac_ext
32153 cat >>conftest.
$ac_ext <<_ACEOF
32154 /* end confdefs.h. */
32155 #include <windows.h>
32165 rm -f conftest.
$ac_objext
32166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32167 (eval $ac_compile) 2>&5
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); } &&
32171 { ac_try
='test -s conftest.$ac_objext'
32172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32173 (eval $ac_try) 2>&5
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); }; }; then
32177 echo "$as_me:$LINENO: result: no" >&5
32178 echo "${ECHO_T}no" >&6
32180 echo "$as_me: failed program was:" >&5
32181 sed 's/^/| /' conftest.
$ac_ext >&5
32183 echo "$as_me:$LINENO: result: yes" >&5
32184 echo "${ECHO_T}yes" >&6
32185 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32187 rm -f conftest.
$ac_objext conftest.
$ac_ext
32189 ac_cpp
='$CPP $CPPFLAGS'
32190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32194 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32195 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32196 cat >>confdefs.h
<<\_ACEOF
32197 #define wxUSE_OLE 1
32203 cat >>confdefs.h
<<\_ACEOF
32204 #define wxUSE_DATAOBJ 1
32208 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32209 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32212 wxUSE_DRAG_AND_DROP
=no
32217 if test "$wxUSE_METAFILE" = "yes"; then
32218 cat >>confdefs.h
<<\_ACEOF
32219 #define wxUSE_METAFILE 1
32223 cat >>confdefs.h
<<\_ACEOF
32224 #define wxUSE_ENH_METAFILE 1
32230 if test "$wxUSE_IPC" = "yes"; then
32231 if test "$wxUSE_SOCKETS" != "yes"; then
32232 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32233 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32236 cat >>confdefs.h
<<\_ACEOF
32237 #define wxUSE_IPC 1
32242 if test "$wxUSE_CLIPBOARD" = "yes"; then
32243 if test "$wxUSE_MGL" = 1; then
32244 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32245 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32249 if test "$wxUSE_CLIPBOARD" = "yes"; then
32250 cat >>confdefs.h
<<\_ACEOF
32251 #define wxUSE_CLIPBOARD 1
32255 cat >>confdefs.h
<<\_ACEOF
32256 #define wxUSE_DATAOBJ 1
32262 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32263 if test "$wxUSE_GTK" = 1; then
32264 if test "$WXGTK12" != 1; then
32265 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32266 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32267 wxUSE_DRAG_AND_DROP
=no
32271 if test "$wxUSE_MOTIF" = 1; then
32272 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32273 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32274 wxUSE_DRAG_AND_DROP
=no
32277 if test "$wxUSE_X11" = 1; then
32278 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32279 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32280 wxUSE_DRAG_AND_DROP
=no
32283 if test "$wxUSE_MGL" = 1; then
32284 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32285 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32286 wxUSE_DRAG_AND_DROP
=no
32289 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32290 cat >>confdefs.h
<<\_ACEOF
32291 #define wxUSE_DRAG_AND_DROP 1
32294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32299 if test "$wxUSE_SPLINES" = "yes" ; then
32300 cat >>confdefs.h
<<\_ACEOF
32301 #define wxUSE_SPLINES 1
32308 if test "$wxUSE_CONTROLS" = "yes"; then
32312 if test "$wxUSE_ACCEL" = "yes"; then
32313 cat >>confdefs.h
<<\_ACEOF
32314 #define wxUSE_ACCEL 1
32320 if test "$wxUSE_BUTTON" = "yes"; then
32321 cat >>confdefs.h
<<\_ACEOF
32322 #define wxUSE_BUTTON 1
32328 if test "$wxUSE_BMPBUTTON" = "yes"; then
32329 cat >>confdefs.h
<<\_ACEOF
32330 #define wxUSE_BMPBUTTON 1
32336 if test "$wxUSE_CALCTRL" = "yes"; then
32337 cat >>confdefs.h
<<\_ACEOF
32338 #define wxUSE_CALENDARCTRL 1
32342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32345 if test "$wxUSE_CARET" = "yes"; then
32346 cat >>confdefs.h
<<\_ACEOF
32347 #define wxUSE_CARET 1
32351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32354 if test "$wxUSE_COMBOBOX" = "yes"; then
32355 cat >>confdefs.h
<<\_ACEOF
32356 #define wxUSE_COMBOBOX 1
32362 if test "$wxUSE_CHOICE" = "yes"; then
32363 cat >>confdefs.h
<<\_ACEOF
32364 #define wxUSE_CHOICE 1
32370 if test "$wxUSE_CHECKBOX" = "yes"; then
32371 cat >>confdefs.h
<<\_ACEOF
32372 #define wxUSE_CHECKBOX 1
32378 if test "$wxUSE_CHECKLST" = "yes"; then
32379 cat >>confdefs.h
<<\_ACEOF
32380 #define wxUSE_CHECKLISTBOX 1
32384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32387 if test "$wxUSE_DISPLAY" = "yes"; then
32388 cat >>confdefs.h
<<\_ACEOF
32389 #define wxUSE_DISPLAY 1
32392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32395 if test "$wxUSE_GAUGE" = "yes"; then
32396 cat >>confdefs.h
<<\_ACEOF
32397 #define wxUSE_GAUGE 1
32403 if test "$wxUSE_GRID" = "yes"; then
32404 cat >>confdefs.h
<<\_ACEOF
32405 #define wxUSE_GRID 1
32409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32412 if test "$wxUSE_IMAGLIST" = "yes"; then
32413 cat >>confdefs.h
<<\_ACEOF
32414 #define wxUSE_IMAGLIST 1
32419 if test "$wxUSE_LISTBOX" = "yes"; then
32420 cat >>confdefs.h
<<\_ACEOF
32421 #define wxUSE_LISTBOX 1
32427 if test "$wxUSE_LISTCTRL" = "yes"; then
32428 if test "$wxUSE_IMAGLIST" = "yes"; then
32429 cat >>confdefs.h
<<\_ACEOF
32430 #define wxUSE_LISTCTRL 1
32434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32436 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32437 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32441 if test "$wxUSE_NOTEBOOK" = "yes"; then
32442 cat >>confdefs.h
<<\_ACEOF
32443 #define wxUSE_NOTEBOOK 1
32447 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32451 if test "$wxUSE_RADIOBOX" = "yes"; then
32452 cat >>confdefs.h
<<\_ACEOF
32453 #define wxUSE_RADIOBOX 1
32459 if test "$wxUSE_RADIOBTN" = "yes"; then
32460 cat >>confdefs.h
<<\_ACEOF
32461 #define wxUSE_RADIOBTN 1
32467 if test "$wxUSE_SASH" = "yes"; then
32468 cat >>confdefs.h
<<\_ACEOF
32469 #define wxUSE_SASH 1
32472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32475 if test "$wxUSE_SCROLLBAR" = "yes"; then
32476 cat >>confdefs.h
<<\_ACEOF
32477 #define wxUSE_SCROLLBAR 1
32481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32484 if test "$wxUSE_SLIDER" = "yes"; then
32485 cat >>confdefs.h
<<\_ACEOF
32486 #define wxUSE_SLIDER 1
32492 if test "$wxUSE_SPINBTN" = "yes"; then
32493 cat >>confdefs.h
<<\_ACEOF
32494 #define wxUSE_SPINBTN 1
32500 if test "$wxUSE_SPINCTRL" = "yes"; then
32501 cat >>confdefs.h
<<\_ACEOF
32502 #define wxUSE_SPINCTRL 1
32508 if test "$wxUSE_SPLITTER" = "yes"; then
32509 cat >>confdefs.h
<<\_ACEOF
32510 #define wxUSE_SPLITTER 1
32513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32516 if test "$wxUSE_STATBMP" = "yes"; then
32517 cat >>confdefs.h
<<\_ACEOF
32518 #define wxUSE_STATBMP 1
32524 if test "$wxUSE_STATBOX" = "yes"; then
32525 cat >>confdefs.h
<<\_ACEOF
32526 #define wxUSE_STATBOX 1
32532 if test "$wxUSE_STATTEXT" = "yes"; then
32533 cat >>confdefs.h
<<\_ACEOF
32534 #define wxUSE_STATTEXT 1
32540 if test "$wxUSE_STATLINE" = "yes"; then
32541 cat >>confdefs.h
<<\_ACEOF
32542 #define wxUSE_STATLINE 1
32548 if test "$wxUSE_STATUSBAR" = "yes"; then
32549 cat >>confdefs.h
<<\_ACEOF
32550 #define wxUSE_STATUSBAR 1
32555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32558 if test "$wxUSE_TABDIALOG" = "yes"; then
32559 cat >>confdefs.h
<<\_ACEOF
32560 #define wxUSE_TAB_DIALOG 1
32563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32566 if test "$wxUSE_TEXTCTRL" = "yes"; then
32567 cat >>confdefs.h
<<\_ACEOF
32568 #define wxUSE_TEXTCTRL 1
32572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32575 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32576 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32577 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32578 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32581 if test "$wxUSE_UNIVERSAL" = "yes"; then
32582 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32583 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32587 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32588 cat >>confdefs.h
<<\_ACEOF
32589 #define wxUSE_TOGGLEBTN 1
32596 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32597 cat >>confdefs.h
<<\_ACEOF
32598 #define wxUSE_TOOLBAR_SIMPLE 1
32601 wxUSE_TOOLBAR
="yes"
32605 if test "$wxUSE_TOOLBAR" = "yes"; then
32606 cat >>confdefs.h
<<\_ACEOF
32607 #define wxUSE_TOOLBAR 1
32612 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32613 wxUSE_TOOLBAR_NATIVE
="yes"
32616 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32617 cat >>confdefs.h
<<\_ACEOF
32618 #define wxUSE_TOOLBAR_NATIVE 1
32624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32627 if test "$wxUSE_TOOLTIPS" = "yes"; then
32628 if test "$wxUSE_MOTIF" = 1; then
32629 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32630 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32632 if test "$wxUSE_UNIVERSAL" = "yes"; then
32633 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32634 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32636 cat >>confdefs.h
<<\_ACEOF
32637 #define wxUSE_TOOLTIPS 1
32644 if test "$wxUSE_TREECTRL" = "yes"; then
32645 if test "$wxUSE_IMAGLIST" = "yes"; then
32646 cat >>confdefs.h
<<\_ACEOF
32647 #define wxUSE_TREECTRL 1
32651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32653 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32654 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32658 if test "$wxUSE_POPUPWIN" = "yes"; then
32659 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32660 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32661 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32663 if test "$wxUSE_MOTIF" = 1; then
32664 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32665 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32667 if test "$wxUSE_PM" = 1; then
32668 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32669 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32671 cat >>confdefs.h
<<\_ACEOF
32672 #define wxUSE_POPUPWIN 1
32682 if test "$wxUSE_TIPWINDOW" = "yes"; then
32683 if test "$wxUSE_PM" = 1; then
32684 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32685 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32687 cat >>confdefs.h
<<\_ACEOF
32688 #define wxUSE_TIPWINDOW 1
32694 if test "$USES_CONTROLS" = 1; then
32695 cat >>confdefs.h
<<\_ACEOF
32696 #define wxUSE_CONTROLS 1
32703 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32704 cat >>confdefs.h
<<\_ACEOF
32705 #define wxUSE_DRAGIMAGE 1
32708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32711 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32712 cat >>confdefs.h
<<\_ACEOF
32713 #define wxUSE_ACCESSIBILITY 1
32716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32719 if test "$wxUSE_MENUS" = "yes"; then
32720 cat >>confdefs.h
<<\_ACEOF
32721 #define wxUSE_MENUS 1
32724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
32727 if test "$wxUSE_METAFILE" = "yes"; then
32728 cat >>confdefs.h
<<\_ACEOF
32729 #define wxUSE_METAFILE 1
32734 if test "$wxUSE_MIMETYPE" = "yes"; then
32735 cat >>confdefs.h
<<\_ACEOF
32736 #define wxUSE_MIMETYPE 1
32741 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32742 cat >>confdefs.h
<<\_ACEOF
32743 #define wxUSE_SYSTEM_OPTIONS 1
32746 if test "$TOOLKIT" = "MSW"; then
32747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
32752 if test "$wxUSE_PROTOCOL" = "yes"; then
32753 if test "$wxUSE_SOCKETS" != "yes"; then
32754 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32755 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32759 if test "$wxUSE_PROTOCOL" = "yes"; then
32760 cat >>confdefs.h
<<\_ACEOF
32761 #define wxUSE_PROTOCOL 1
32765 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32766 cat >>confdefs.h
<<\_ACEOF
32767 #define wxUSE_PROTOCOL_HTTP 1
32771 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32772 cat >>confdefs.h
<<\_ACEOF
32773 #define wxUSE_PROTOCOL_FTP 1
32777 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32778 cat >>confdefs.h
<<\_ACEOF
32779 #define wxUSE_PROTOCOL_FILE 1
32786 if test "$wxUSE_URL" = "yes"; then
32787 if test "$wxUSE_PROTOCOL" != "yes"; then
32788 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32789 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32792 if test "$wxUSE_URL" = "yes"; then
32793 cat >>confdefs.h
<<\_ACEOF
32794 #define wxUSE_URL 1
32800 if test "$wxUSE_MINIFRAME" = "yes"; then
32801 cat >>confdefs.h
<<\_ACEOF
32802 #define wxUSE_MINIFRAME 1
32805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
32808 if test "$wxUSE_HTML" = "yes"; then
32809 cat >>confdefs.h
<<\_ACEOF
32810 #define wxUSE_HTML 1
32813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html htlbox"
32816 if test "$wxUSE_VALIDATORS" = "yes"; then
32817 cat >>confdefs.h
<<\_ACEOF
32818 #define wxUSE_VALIDATORS 1
32821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
32824 if test "$wxUSE_PALETTE" = "yes" ; then
32825 cat >>confdefs.h
<<\_ACEOF
32826 #define wxUSE_PALETTE 1
32831 if test "$wxUSE_IMAGE" = "yes" ; then
32832 cat >>confdefs.h
<<\_ACEOF
32833 #define wxUSE_IMAGE 1
32838 if test "$wxUSE_GIF" = "yes" ; then
32839 cat >>confdefs.h
<<\_ACEOF
32840 #define wxUSE_GIF 1
32845 if test "$wxUSE_PCX" = "yes" ; then
32846 cat >>confdefs.h
<<\_ACEOF
32847 #define wxUSE_PCX 1
32852 if test "$wxUSE_IFF" = "yes" ; then
32853 cat >>confdefs.h
<<\_ACEOF
32854 #define wxUSE_IFF 1
32859 if test "$wxUSE_PNM" = "yes" ; then
32860 cat >>confdefs.h
<<\_ACEOF
32861 #define wxUSE_PNM 1
32866 if test "$wxUSE_XPM" = "yes" ; then
32867 cat >>confdefs.h
<<\_ACEOF
32868 #define wxUSE_XPM 1
32873 if test "$wxUSE_ICO_CUR" = "yes" ; then
32874 cat >>confdefs.h
<<\_ACEOF
32875 #define wxUSE_ICO_CUR 1
32880 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32881 LIBS
=" -lunicows $LIBS"
32885 if test "$wxUSE_CHOICEDLG" = "yes"; then
32886 cat >>confdefs.h
<<\_ACEOF
32887 #define wxUSE_CHOICEDLG 1
32892 if test "$wxUSE_COLOURDLG" = "yes"; then
32893 cat >>confdefs.h
<<\_ACEOF
32894 #define wxUSE_COLOURDLG 1
32899 if test "$wxUSE_FILEDLG" = "yes"; then
32900 cat >>confdefs.h
<<\_ACEOF
32901 #define wxUSE_FILEDLG 1
32906 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32907 cat >>confdefs.h
<<\_ACEOF
32908 #define wxUSE_FINDREPLDLG 1
32913 if test "$wxUSE_FONTDLG" = "yes"; then
32914 cat >>confdefs.h
<<\_ACEOF
32915 #define wxUSE_FONTDLG 1
32920 if test "$wxUSE_DIRDLG" = "yes"; then
32921 if test "$wxUSE_TREECTRL" != "yes"; then
32922 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32923 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32925 cat >>confdefs.h
<<\_ACEOF
32926 #define wxUSE_DIRDLG 1
32932 if test "$wxUSE_MSGDLG" = "yes"; then
32933 cat >>confdefs.h
<<\_ACEOF
32934 #define wxUSE_MSGDLG 1
32939 if test "$wxUSE_NUMBERDLG" = "yes"; then
32940 cat >>confdefs.h
<<\_ACEOF
32941 #define wxUSE_NUMBERDLG 1
32946 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32947 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32948 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32949 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32951 cat >>confdefs.h
<<\_ACEOF
32952 #define wxUSE_PROGRESSDLG 1
32958 if test "$wxUSE_SPLASH" = "yes"; then
32959 cat >>confdefs.h
<<\_ACEOF
32960 #define wxUSE_SPLASH 1
32965 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32966 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32967 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32968 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32970 cat >>confdefs.h
<<\_ACEOF
32971 #define wxUSE_STARTUP_TIPS 1
32977 if test "$wxUSE_TEXTDLG" = "yes"; then
32978 cat >>confdefs.h
<<\_ACEOF
32979 #define wxUSE_TEXTDLG 1
32984 if test "$wxUSE_WIZARDDLG" = "yes"; then
32985 cat >>confdefs.h
<<\_ACEOF
32986 #define wxUSE_WIZARDDLG 1
32989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
32993 if test "$cross_compiling" = "yes"; then
32996 OSINFO
=`uname -s -r -m`
32997 OSINFO
="\"$OSINFO\""
33000 cat >>confdefs.h
<<_ACEOF
33001 #define WXWIN_OS_DESCRIPTION $OSINFO
33006 if test "x$prefix" != "xNONE"; then
33009 wxPREFIX
=$ac_default_prefix
33012 cat >>confdefs.h
<<_ACEOF
33013 #define wxINSTALL_PREFIX "$wxPREFIX"
33017 top_builddir_wxconfig
=`pwd`
33022 if test "$wxUSE_MAC" = 1 ; then
33023 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33025 if test "$wxUSE_COCOA" = 1 ; then
33026 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33030 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33037 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33038 echo "$as_me:$LINENO: checking for $ac_func" >&5
33039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33040 if eval "test \"\${$as_ac_var+set}\" = set"; then
33041 echo $ECHO_N "(cached) $ECHO_C" >&6
33043 cat >conftest.
$ac_ext <<_ACEOF
33044 #line $LINENO "configure"
33047 cat confdefs.h
>>conftest.
$ac_ext
33048 cat >>conftest.
$ac_ext <<_ACEOF
33049 /* end confdefs.h. */
33050 /* System header to define __stub macros and hopefully few prototypes,
33051 which can conflict with char $ac_func (); below.
33052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33053 <limits.h> exists even on freestanding compilers. */
33055 # include <limits.h>
33057 # include <assert.h>
33059 /* Override any gcc2 internal prototype to avoid an error. */
33064 /* We use char because int might match the return type of a gcc2
33065 builtin and then its argument prototype would still apply. */
33067 /* The GNU C library defines this for functions which it implements
33068 to always fail with ENOSYS. Some functions are actually named
33069 something starting with __ and the normal name is an alias. */
33070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33073 char (*f) () = $ac_func;
33082 return f != $ac_func;
33087 rm -f conftest.
$ac_objext conftest
$ac_exeext
33088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33089 (eval $ac_link) 2>&5
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); } &&
33093 { ac_try
='test -s conftest$ac_exeext'
33094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33095 (eval $ac_try) 2>&5
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); }; }; then
33099 eval "$as_ac_var=yes"
33101 echo "$as_me: failed program was:" >&5
33102 sed 's/^/| /' conftest.
$ac_ext >&5
33104 eval "$as_ac_var=no"
33106 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33110 if test `eval echo '${'$as_ac_var'}'` = yes; then
33111 cat >>confdefs.h
<<_ACEOF
33112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33119 for ac_func
in floor
33121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33122 echo "$as_me:$LINENO: checking for $ac_func" >&5
33123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33124 if eval "test \"\${$as_ac_var+set}\" = set"; then
33125 echo $ECHO_N "(cached) $ECHO_C" >&6
33127 cat >conftest.
$ac_ext <<_ACEOF
33128 #line $LINENO "configure"
33131 cat confdefs.h
>>conftest.
$ac_ext
33132 cat >>conftest.
$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33134 /* System header to define __stub macros and hopefully few prototypes,
33135 which can conflict with char $ac_func (); below.
33136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33137 <limits.h> exists even on freestanding compilers. */
33139 # include <limits.h>
33141 # include <assert.h>
33143 /* Override any gcc2 internal prototype to avoid an error. */
33148 /* We use char because int might match the return type of a gcc2
33149 builtin and then its argument prototype would still apply. */
33151 /* The GNU C library defines this for functions which it implements
33152 to always fail with ENOSYS. Some functions are actually named
33153 something starting with __ and the normal name is an alias. */
33154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33157 char (*f) () = $ac_func;
33166 return f != $ac_func;
33171 rm -f conftest.
$ac_objext conftest
$ac_exeext
33172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33173 (eval $ac_link) 2>&5
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); } &&
33177 { ac_try
='test -s conftest$ac_exeext'
33178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33179 (eval $ac_try) 2>&5
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); }; }; then
33183 eval "$as_ac_var=yes"
33185 echo "$as_me: failed program was:" >&5
33186 sed 's/^/| /' conftest.
$ac_ext >&5
33188 eval "$as_ac_var=no"
33190 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33194 if test `eval echo '${'$as_ac_var'}'` = yes; then
33195 cat >>confdefs.h
<<_ACEOF
33196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33202 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33203 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33204 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33205 echo "$as_me:$LINENO: result: yes" >&5
33206 echo "${ECHO_T}yes" >&6
33208 echo "$as_me:$LINENO: result: no" >&5
33209 echo "${ECHO_T}no" >&6
33211 # use different functions to avoid configure caching
33217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33218 echo "$as_me:$LINENO: checking for $ac_func" >&5
33219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33220 if eval "test \"\${$as_ac_var+set}\" = set"; then
33221 echo $ECHO_N "(cached) $ECHO_C" >&6
33223 cat >conftest.
$ac_ext <<_ACEOF
33224 #line $LINENO "configure"
33227 cat confdefs.h
>>conftest.
$ac_ext
33228 cat >>conftest.
$ac_ext <<_ACEOF
33229 /* end confdefs.h. */
33230 /* System header to define __stub macros and hopefully few prototypes,
33231 which can conflict with char $ac_func (); below.
33232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33233 <limits.h> exists even on freestanding compilers. */
33235 # include <limits.h>
33237 # include <assert.h>
33239 /* Override any gcc2 internal prototype to avoid an error. */
33244 /* We use char because int might match the return type of a gcc2
33245 builtin and then its argument prototype would still apply. */
33247 /* The GNU C library defines this for functions which it implements
33248 to always fail with ENOSYS. Some functions are actually named
33249 something starting with __ and the normal name is an alias. */
33250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33253 char (*f) () = $ac_func;
33262 return f != $ac_func;
33267 rm -f conftest.
$ac_objext conftest
$ac_exeext
33268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33269 (eval $ac_link) 2>&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); } &&
33273 { ac_try
='test -s conftest$ac_exeext'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; }; then
33279 eval "$as_ac_var=yes"
33281 echo "$as_me: failed program was:" >&5
33282 sed 's/^/| /' conftest.
$ac_ext >&5
33284 eval "$as_ac_var=no"
33286 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33290 if test `eval echo '${'$as_ac_var'}'` = yes; then
33291 cat >>confdefs.h
<<_ACEOF
33292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33299 for ac_func
in ceil
33301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33302 echo "$as_me:$LINENO: checking for $ac_func" >&5
33303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33304 if eval "test \"\${$as_ac_var+set}\" = set"; then
33305 echo $ECHO_N "(cached) $ECHO_C" >&6
33307 cat >conftest.
$ac_ext <<_ACEOF
33308 #line $LINENO "configure"
33311 cat confdefs.h
>>conftest.
$ac_ext
33312 cat >>conftest.
$ac_ext <<_ACEOF
33313 /* end confdefs.h. */
33314 /* System header to define __stub macros and hopefully few prototypes,
33315 which can conflict with char $ac_func (); below.
33316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33317 <limits.h> exists even on freestanding compilers. */
33319 # include <limits.h>
33321 # include <assert.h>
33323 /* Override any gcc2 internal prototype to avoid an error. */
33328 /* We use char because int might match the return type of a gcc2
33329 builtin and then its argument prototype would still apply. */
33331 /* The GNU C library defines this for functions which it implements
33332 to always fail with ENOSYS. Some functions are actually named
33333 something starting with __ and the normal name is an alias. */
33334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33337 char (*f) () = $ac_func;
33346 return f != $ac_func;
33351 rm -f conftest.
$ac_objext conftest
$ac_exeext
33352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33353 (eval $ac_link) 2>&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); } &&
33357 { ac_try
='test -s conftest$ac_exeext'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; }; then
33363 eval "$as_ac_var=yes"
33365 echo "$as_me: failed program was:" >&5
33366 sed 's/^/| /' conftest.
$ac_ext >&5
33368 eval "$as_ac_var=no"
33370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33374 if test `eval echo '${'$as_ac_var'}'` = yes; then
33375 cat >>confdefs.h
<<_ACEOF
33376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33382 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33383 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33384 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33385 echo "$as_me:$LINENO: result: yes" >&5
33386 echo "${ECHO_T}yes" >&6
33388 echo "$as_me:$LINENO: result: no" >&5
33389 echo "${ECHO_T}no" >&6
33390 # not sure we should warn the user, crash, etc.
33394 if test "$wxUSE_GUI" = "yes"; then
33396 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
33399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33400 drawing dynamic erase event exec font image \
33401 minimal propsize rotate shaped widgets"
33403 if test "$wxUSE_MONOLITHIC" != "yes"; then
33404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33407 SAMPLES_SUBDIRS
="console"
33411 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33412 -I\${top_srcdir}/include \
33413 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33416 if test "$GXX" = yes ; then
33417 CXXWARNINGS
="-Wall"
33420 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33422 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33423 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33424 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33425 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33427 LDFLAGS
="$LDFLAGS $PROFILE"
33429 if test "$wxUSE_GTK" = 1; then
33432 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33435 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33448 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33450 if test $wxUSE_MONOLITHIC = "yes" ; then
33467 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33473 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33475 if test -n "$ac_tool_prefix"; then
33476 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33477 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33478 echo "$as_me:$LINENO: checking for $ac_word" >&5
33479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33480 if test "${ac_cv_prog_RANLIB+set}" = set; then
33481 echo $ECHO_N "(cached) $ECHO_C" >&6
33483 if test -n "$RANLIB"; then
33484 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33487 for as_dir
in $PATH
33490 test -z "$as_dir" && as_dir
=.
33491 for ac_exec_ext
in '' $ac_executable_extensions; do
33492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33493 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33502 RANLIB
=$ac_cv_prog_RANLIB
33503 if test -n "$RANLIB"; then
33504 echo "$as_me:$LINENO: result: $RANLIB" >&5
33505 echo "${ECHO_T}$RANLIB" >&6
33507 echo "$as_me:$LINENO: result: no" >&5
33508 echo "${ECHO_T}no" >&6
33512 if test -z "$ac_cv_prog_RANLIB"; then
33513 ac_ct_RANLIB
=$RANLIB
33514 # Extract the first word of "ranlib", so it can be a program name with args.
33515 set dummy ranlib
; ac_word
=$2
33516 echo "$as_me:$LINENO: checking for $ac_word" >&5
33517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33518 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33519 echo $ECHO_N "(cached) $ECHO_C" >&6
33521 if test -n "$ac_ct_RANLIB"; then
33522 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33525 for as_dir
in $PATH
33528 test -z "$as_dir" && as_dir
=.
33529 for ac_exec_ext
in '' $ac_executable_extensions; do
33530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33531 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33538 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33541 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33542 if test -n "$ac_ct_RANLIB"; then
33543 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33544 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33546 echo "$as_me:$LINENO: result: no" >&5
33547 echo "${ECHO_T}no" >&6
33550 RANLIB
=$ac_ct_RANLIB
33552 RANLIB
="$ac_cv_prog_RANLIB"
33555 # Find a good install program. We prefer a C program (faster),
33556 # so one script is as good as another. But avoid the broken or
33557 # incompatible versions:
33558 # SysV /etc/install, /usr/sbin/install
33559 # SunOS /usr/etc/install
33560 # IRIX /sbin/install
33562 # AmigaOS /C/install, which installs bootblocks on floppy discs
33563 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33564 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33565 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33566 # ./install, which can be erroneously created by make from ./install.sh.
33567 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33568 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33569 if test -z "$INSTALL"; then
33570 if test "${ac_cv_path_install+set}" = set; then
33571 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33574 for as_dir
in $PATH
33577 test -z "$as_dir" && as_dir
=.
33578 # Account for people who put trailing slashes in PATH elements.
33580 .
/ | .
// | /cC
/* | \
33581 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33584 # OSF1 and SCO ODT 3.0 have their own names for install.
33585 # Don't use installbsd from OSF since it installs stuff as root
33587 for ac_prog
in ginstall scoinst
install; do
33588 for ac_exec_ext
in '' $ac_executable_extensions; do
33589 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33590 if test $ac_prog = install &&
33591 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33592 # AIX install. It has an incompatible calling convention.
33594 elif test $ac_prog = install &&
33595 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33596 # program-specific install script used by HP pwplus--don't use.
33599 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33611 if test "${ac_cv_path_install+set}" = set; then
33612 INSTALL
=$ac_cv_path_install
33614 # As a last resort, use the slow shell script. We don't cache a
33615 # path for INSTALL within a source directory, because that will
33616 # break other packages using the cache if that directory is
33617 # removed, or if the path is relative.
33618 INSTALL
=$ac_install_sh
33621 echo "$as_me:$LINENO: result: $INSTALL" >&5
33622 echo "${ECHO_T}$INSTALL" >&6
33624 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33625 # It thinks the first close brace ends the variable substitution.
33626 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33628 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33630 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33632 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33633 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33635 if test "$LN_S" = "ln -s"; then
33636 echo "$as_me:$LINENO: result: yes" >&5
33637 echo "${ECHO_T}yes" >&6
33639 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33640 echo "${ECHO_T}no, using $LN_S" >&6
33644 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33645 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33646 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33647 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33648 echo $ECHO_N "(cached) $ECHO_C" >&6
33650 cat >conftest.
make <<\_ACEOF
33652 @
echo 'ac_maketemp="$(MAKE)"'
33654 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33655 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33656 if test -n "$ac_maketemp"; then
33657 eval ac_cv_prog_make_
${ac_make}_set
=yes
33659 eval ac_cv_prog_make_
${ac_make}_set
=no
33661 rm -f conftest.
make
33663 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33664 echo "$as_me:$LINENO: result: yes" >&5
33665 echo "${ECHO_T}yes" >&6
33668 echo "$as_me:$LINENO: result: no" >&5
33669 echo "${ECHO_T}no" >&6
33670 SET_MAKE
="MAKE=${MAKE-make}"
33675 if test "$build" != "$host" ; then
33677 STRIP
=$host_alias-strip
33679 # Extract the first word of "ar", so it can be a program name with args.
33680 set dummy
ar; ac_word
=$2
33681 echo "$as_me:$LINENO: checking for $ac_word" >&5
33682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33683 if test "${ac_cv_prog_AR+set}" = set; then
33684 echo $ECHO_N "(cached) $ECHO_C" >&6
33686 if test -n "$AR"; then
33687 ac_cv_prog_AR
="$AR" # Let the user override the test.
33689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33690 for as_dir
in $PATH
33693 test -z "$as_dir" && as_dir
=.
33694 for ac_exec_ext
in '' $ac_executable_extensions; do
33695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33703 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
33707 if test -n "$AR"; then
33708 echo "$as_me:$LINENO: result: $AR" >&5
33709 echo "${ECHO_T}$AR" >&6
33711 echo "$as_me:$LINENO: result: no" >&5
33712 echo "${ECHO_T}no" >&6
33715 # Extract the first word of "strip", so it can be a program name with args.
33716 set dummy strip
; ac_word
=$2
33717 echo "$as_me:$LINENO: checking for $ac_word" >&5
33718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33719 if test "${ac_cv_prog_STRIP+set}" = set; then
33720 echo $ECHO_N "(cached) $ECHO_C" >&6
33722 if test -n "$STRIP"; then
33723 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
33725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33726 for as_dir
in $PATH
33729 test -z "$as_dir" && as_dir
=.
33730 for ac_exec_ext
in '' $ac_executable_extensions; do
33731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33732 ac_cv_prog_STRIP
="strip"
33733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33739 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
33742 STRIP
=$ac_cv_prog_STRIP
33743 if test -n "$STRIP"; then
33744 echo "$as_me:$LINENO: result: $STRIP" >&5
33745 echo "${ECHO_T}$STRIP" >&6
33747 echo "$as_me:$LINENO: result: no" >&5
33748 echo "${ECHO_T}no" >&6
33755 INSTALL_DIR
="mkdir"
33757 *) INSTALL_DIR
="$INSTALL -d"
33764 *-*-cygwin* | *-*-mingw32* )
33765 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
33771 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33772 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33773 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33774 echo $ECHO_N "(cached) $ECHO_C" >&6
33777 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
33778 egrep -s GNU
> /dev
/null
); then
33779 bakefile_cv_prog_makeisgnu
="yes"
33781 bakefile_cv_prog_makeisgnu
="no"
33785 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33786 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33788 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33803 *-*-cygwin* | *-*-mingw32* )
33806 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33809 powerpc
-*-darwin* )
33836 *-*-cygwin* | *-*-mingw32* )
33841 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33845 powerpc
-*-darwin* )
33855 SHARED_LD_CC
="\$(CC) -shared -o"
33856 SHARED_LD_CXX
="\$(CXX) -shared -o"
33858 if test "x$GCC" = "xyes"; then
33864 if test "x$GCC" = "xyes"; then
33865 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
33866 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
33868 LDFLAGS
="$LDFLAGS -L/usr/lib"
33870 SHARED_LD_CC
="${CC} -b -o"
33871 SHARED_LD_CXX
="${CXX} -b -o"
33877 if test "x$GCC" != "xyes"; then
33878 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33879 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33880 if test "${bakefile_cv_prog_icc+set}" = set; then
33881 echo $ECHO_N "(cached) $ECHO_C" >&6
33884 cat >conftest.
$ac_ext <<_ACEOF
33885 #line $LINENO "configure"
33888 cat confdefs.h
>>conftest.
$ac_ext
33889 cat >>conftest.
$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33896 #ifndef __INTEL_COMPILER
33904 rm -f conftest.
$ac_objext
33905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33906 (eval $ac_compile) 2>&5
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); } &&
33910 { ac_try
='test -s conftest.$ac_objext'
33911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33912 (eval $ac_try) 2>&5
33914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33915 (exit $ac_status); }; }; then
33916 bakefile_cv_prog_icc
=yes
33918 echo "$as_me: failed program was:" >&5
33919 sed 's/^/| /' conftest.
$ac_ext >&5
33921 bakefile_cv_prog_icc
=no
33924 rm -f conftest.
$ac_objext conftest.
$ac_ext
33927 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33928 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33929 if test "$bakefile_cv_prog_icc" = "yes"; then
33936 if test "x$GCC" != xyes
; then
33937 SHARED_LD_CC
="${CC} -G -o"
33938 SHARED_LD_CXX
="${CXX} -G -o"
33944 CFLAGS
="$CFLAGS -fno-common"
33945 CXXFLAGS
="$CXXFLAGS -fno-common"
33948 cat <<EOF >shared-ld-sh
33950 #-----------------------------------------------------------------------------
33951 #-- Name: distrib/mac/shared-ld-sh
33952 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33953 #-- Author: Gilles Depeyrot
33954 #-- Copyright: (c) 2002 Gilles Depeyrot
33955 #-- Licence: any use permitted
33956 #-----------------------------------------------------------------------------
33962 while test \${#} -gt 0; do
33969 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33970 # collect these options and values
33971 args="\${args} \${1} \${2}"
33975 -l*|-L*|-flat_namespace)
33976 # collect these options
33977 args="\${args} \${1}"
33981 # skip these options
33985 echo "shared-ld: unhandled option '\${1}'"
33990 # collect object files
33991 objects="\${objects} \${1}"
33995 echo "shared-ld: unhandled argument '\${1}'"
34004 # Link one module containing all the others
34006 if test \${verbose} = 1; then
34007 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34009 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34011 if test \${status} != 0; then
34016 # Link the shared library from the single module created
34018 if test \${verbose} = 1; then
34019 echo "cc -dynamiclib master.\$\$.o \${args}"
34021 c++ -dynamiclib master.\$\$.o \${args}
34023 if test \${status} != 0; then
34028 # Remove intermediate module
34030 rm -f master.\$\$.o
34034 chmod +x shared
-ld-sh
34036 SHARED_LD_CC
="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
34037 SHARED_LD_CXX
="$SHARED_LD_CC"
34038 PIC_FLAG
="-dynamic -fPIC"
34042 if test "x$GCC" != "xyes"; then
34043 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34044 set dummy makeC
++SharedLib
; ac_word
=$2
34045 echo "$as_me:$LINENO: checking for $ac_word" >&5
34046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34047 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34048 echo $ECHO_N "(cached) $ECHO_C" >&6
34050 if test -n "$AIX_CXX_LD"; then
34051 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34054 for as_dir
in $PATH
34057 test -z "$as_dir" && as_dir
=.
34058 for ac_exec_ext
in '' $ac_executable_extensions; do
34059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34060 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34067 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34070 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34071 if test -n "$AIX_CXX_LD"; then
34072 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34073 echo "${ECHO_T}$AIX_CXX_LD" >&6
34075 echo "$as_me:$LINENO: result: no" >&5
34076 echo "${ECHO_T}no" >&6
34079 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34080 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34085 SHARED_LD_CC
="${LD} -shared -o"
34086 SHARED_LD_CXX
="${LD} -shared -o"
34090 if test "x$GCC" != "xyes"; then
34095 *-*-cygwin* | *-*-mingw32* )
34099 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34107 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34108 echo "$as_me: error: unknown system type $host." >&2;}
34109 { (exit 1); exit 1; }; }
34126 SONAME_FLAG
="-Wl,-soname,"
34154 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34155 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34158 if test "x$GCC" = "xyes"; then
34161 echo "$as_me:$LINENO: result: gcc" >&5
34162 echo "${ECHO_T}gcc" >&6
34164 echo "$as_me:$LINENO: result: none" >&5
34165 echo "${ECHO_T}none" >&6
34168 if test $DEPS_TRACKING = 1 ; then
34172 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34173 # It is used to track C/C++ files dependencies in portable way.
34175 # Permission is given to use this file in any way.
34182 if test \$DEPSMODE = gcc ; then
34185 if test \${status} != 0 ; then
34188 # move created file to the location we want it in:
34189 while test \${#} -gt 0; do
34203 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34204 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34205 if test -f \$depfile ; then
34206 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34209 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34210 if test -f \$depfile ; then
34211 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34231 *-*-cygwin* | *-*-mingw32* )
34232 if test "$build" != "$host" ; then
34233 RESCOMP
=$host_alias-windres
34235 # Extract the first word of "windres", so it can be a program name with args.
34236 set dummy windres
; ac_word
=$2
34237 echo "$as_me:$LINENO: checking for $ac_word" >&5
34238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34239 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34240 echo $ECHO_N "(cached) $ECHO_C" >&6
34242 if test -n "$RESCOMP"; then
34243 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34246 for as_dir
in $PATH
34249 test -z "$as_dir" && as_dir
=.
34250 for ac_exec_ext
in '' $ac_executable_extensions; do
34251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34252 ac_cv_prog_RESCOMP
="windres"
34253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34259 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34262 RESCOMP
=$ac_cv_prog_RESCOMP
34263 if test -n "$RESCOMP"; then
34264 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34265 echo "${ECHO_T}$RESCOMP" >&6
34267 echo "$as_me:$LINENO: result: no" >&5
34268 echo "${ECHO_T}no" >&6
34275 # Extract the first word of "Rez", so it can be a program name with args.
34276 set dummy Rez
; ac_word
=$2
34277 echo "$as_me:$LINENO: checking for $ac_word" >&5
34278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34279 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34280 echo $ECHO_N "(cached) $ECHO_C" >&6
34282 if test -n "$RESCOMP"; then
34283 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34286 for as_dir
in $PATH
34289 test -z "$as_dir" && as_dir
=.
34290 for ac_exec_ext
in '' $ac_executable_extensions; do
34291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34292 ac_cv_prog_RESCOMP
="Rez"
34293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34299 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34302 RESCOMP
=$ac_cv_prog_RESCOMP
34303 if test -n "$RESCOMP"; then
34304 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34305 echo "${ECHO_T}$RESCOMP" >&6
34307 echo "$as_me:$LINENO: result: no" >&5
34308 echo "${ECHO_T}no" >&6
34311 # Extract the first word of "SetFile", so it can be a program name with args.
34312 set dummy SetFile
; ac_word
=$2
34313 echo "$as_me:$LINENO: checking for $ac_word" >&5
34314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34315 if test "${ac_cv_prog_SETFILE+set}" = set; then
34316 echo $ECHO_N "(cached) $ECHO_C" >&6
34318 if test -n "$SETFILE"; then
34319 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34322 for as_dir
in $PATH
34325 test -z "$as_dir" && as_dir
=.
34326 for ac_exec_ext
in '' $ac_executable_extensions; do
34327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34328 ac_cv_prog_SETFILE
="SetFile"
34329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34335 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34338 SETFILE
=$ac_cv_prog_SETFILE
34339 if test -n "$SETFILE"; then
34340 echo "$as_me:$LINENO: result: $SETFILE" >&5
34341 echo "${ECHO_T}$SETFILE" >&6
34343 echo "$as_me:$LINENO: result: no" >&5
34344 echo "${ECHO_T}no" >&6
34356 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
34357 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34358 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
34361 COND_DEPS_TRACKING_0
="#"
34362 if test "x$DEPS_TRACKING" = "x0" ; then
34363 COND_DEPS_TRACKING_0
=""
34366 COND_DEPS_TRACKING_1
="#"
34367 if test "x$DEPS_TRACKING" = "x1" ; then
34368 COND_DEPS_TRACKING_1
=""
34371 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
34372 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34373 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
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_COCOA_USE_GUI_1
="#"
34382 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
34383 COND_TOOLKIT_COCOA_USE_GUI_1
=""
34386 COND_USE_SOVERSOLARIS_1
="#"
34387 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34388 COND_USE_SOVERSOLARIS_1
=""
34391 COND_MONOLITHIC_1
="#"
34392 if test "x$MONOLITHIC" = "x1" ; then
34393 COND_MONOLITHIC_1
=""
34397 if test "x$UNICODE" = "x1" ; then
34401 COND_MONOLITHIC_0
="#"
34402 if test "x$MONOLITHIC" = "x0" ; then
34403 COND_MONOLITHIC_0
=""
34406 COND_TOOLKIT_MGL
="#"
34407 if test "x$TOOLKIT" = "xMGL" ; then
34408 COND_TOOLKIT_MGL
=""
34411 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
34412 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34413 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
34416 COND_WXUSE_ODBC_BUILTIN
="#"
34417 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34418 COND_WXUSE_ODBC_BUILTIN
=""
34421 COND_USE_SOVERSION_0
="#"
34422 if test "x$USE_SOVERSION" = "x0" ; then
34423 COND_USE_SOVERSION_0
=""
34427 if test "x$WXUNIV" = "x1" ; then
34431 COND_PLATFORM_UNIX_1
="#"
34432 if test "x$PLATFORM_UNIX" = "x1" ; then
34433 COND_PLATFORM_UNIX_1
=""
34436 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
34437 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34438 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
34441 COND_WXUSE_REGEX_BUILTIN
="#"
34442 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34443 COND_WXUSE_REGEX_BUILTIN
=""
34446 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1
="#"
34447 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34448 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1
=""
34451 COND_MONOLITHIC_1_SHARED_0
="#"
34452 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34453 COND_MONOLITHIC_1_SHARED_0
=""
34456 COND_MONOLITHIC_1_SHARED_1
="#"
34457 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34458 COND_MONOLITHIC_1_SHARED_1
=""
34461 COND_TOOLKIT_X11
="#"
34462 if test "x$TOOLKIT" = "xX11" ; then
34463 COND_TOOLKIT_X11
=""
34466 COND_OFFICIAL_BUILD_0
="#"
34467 if test "x$OFFICIAL_BUILD" = "x0" ; then
34468 COND_OFFICIAL_BUILD_0
=""
34471 COND_TOOLKIT_OS2
="#"
34472 if test "x$TOOLKIT" = "xOS2" ; then
34473 COND_TOOLKIT_OS2
=""
34476 COND_TOOLKIT_MGL_USE_GUI_1
="#"
34477 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34478 COND_TOOLKIT_MGL_USE_GUI_1
=""
34481 COND_WXUSE_ZLIB_BUILTIN
="#"
34482 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34483 COND_WXUSE_ZLIB_BUILTIN
=""
34486 COND_TOOLKIT_MOTIF
="#"
34487 if test "x$TOOLKIT" = "xMOTIF" ; then
34488 COND_TOOLKIT_MOTIF
=""
34491 COND_MONOLITHIC_0_SHARED_1
="#"
34492 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34493 COND_MONOLITHIC_0_SHARED_1
=""
34496 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
34497 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34498 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
34501 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
34502 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34503 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
34506 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1
="#"
34507 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34508 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1
=""
34511 COND_MONOLITHIC_0_SHARED_0
="#"
34512 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34513 COND_MONOLITHIC_0_SHARED_0
=""
34517 if test "x$USE_GUI" = "x1" ; then
34522 if test "x$USE_GUI" = "x0" ; then
34526 COND_TOOLKIT_MSW
="#"
34527 if test "x$TOOLKIT" = "xMSW" ; then
34528 COND_TOOLKIT_MSW
=""
34531 COND_TOOLKIT_X11_USE_GUI_1
="#"
34532 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34533 COND_TOOLKIT_X11_USE_GUI_1
=""
34536 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
34537 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34538 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
34541 COND_BUILD_DEBUG
="#"
34542 if test "x$BUILD" = "xdebug" ; then
34543 COND_BUILD_DEBUG
=""
34546 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1
="#"
34547 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34548 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1
=""
34551 COND_WXUSE_LIBTIFF_BUILTIN
="#"
34552 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34553 COND_WXUSE_LIBTIFF_BUILTIN
=""
34556 COND_OFFICIAL_BUILD_1
="#"
34557 if test "x$OFFICIAL_BUILD" = "x1" ; then
34558 COND_OFFICIAL_BUILD_1
=""
34561 COND_BUILD_RELEASE
="#"
34562 if test "x$BUILD" = "xrelease" ; then
34563 COND_BUILD_RELEASE
=""
34566 COND_USE_SOVERLINUX_1
="#"
34567 if test "x$USE_SOVERLINUX" = "x1" ; then
34568 COND_USE_SOVERLINUX_1
=""
34571 COND_USE_SOSYMLINKS_1
="#"
34572 if test "x$USE_SOSYMLINKS" = "x1" ; then
34573 COND_USE_SOSYMLINKS_1
=""
34576 COND_TOOLKIT_COCOA
="#"
34577 if test "x$TOOLKIT" = "xCOCOA" ; then
34578 COND_TOOLKIT_COCOA
=""
34581 COND_PLATFORM_MACOSX_1
="#"
34582 if test "x$PLATFORM_MACOSX" = "x1" ; then
34583 COND_PLATFORM_MACOSX_1
=""
34586 COND_WXUSE_LIBJPEG_BUILTIN
="#"
34587 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34588 COND_WXUSE_LIBJPEG_BUILTIN
=""
34591 COND_WXUSE_LIBPNG_BUILTIN
="#"
34592 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34593 COND_WXUSE_LIBPNG_BUILTIN
=""
34596 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34597 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34598 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34601 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
34602 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34603 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
34606 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
="#"
34607 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34608 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
=""
34611 COND_USE_GUI_1_WXUNIV_0
="#"
34612 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34613 COND_USE_GUI_1_WXUNIV_0
=""
34616 COND_USE_GUI_1_WXUNIV_1
="#"
34617 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34618 COND_USE_GUI_1_WXUNIV_1
=""
34621 COND_TOOLKIT_GTK
="#"
34622 if test "x$TOOLKIT" = "xGTK" ; then
34623 COND_TOOLKIT_GTK
=""
34626 COND_PLATFORM_WIN32_0
="#"
34627 if test "x$PLATFORM_WIN32" = "x0" ; then
34628 COND_PLATFORM_WIN32_0
=""
34631 COND_PLATFORM_WIN32_1
="#"
34632 if test "x$PLATFORM_WIN32" = "x1" ; then
34633 COND_PLATFORM_WIN32_1
=""
34636 COND_TOOLKIT_GTK_USE_GUI_1
="#"
34637 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34638 COND_TOOLKIT_GTK_USE_GUI_1
=""
34641 COND_TOOLKIT_MAC
="#"
34642 if test "x$TOOLKIT" = "xMAC" ; then
34643 COND_TOOLKIT_MAC
=""
34646 COND_TOOLKIT_MSW_USE_GUI_1
="#"
34647 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34648 COND_TOOLKIT_MSW_USE_GUI_1
=""
34651 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34652 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34653 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34657 if test "x$SHARED" = "x1" ; then
34661 COND_PLATFORM_MAC_1
="#"
34662 if test "x$PLATFORM_MAC" = "x1" ; then
34663 COND_PLATFORM_MAC_1
=""
34667 if test "x$SHARED" = "x0" ; then
34676 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34777 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34778 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34779 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34780 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34781 echo $ECHO_N "(cached) $ECHO_C" >&6
34783 cat >conftest.
make <<\_ACEOF
34785 @
echo 'ac_maketemp="$(MAKE)"'
34787 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34788 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34789 if test -n "$ac_maketemp"; then
34790 eval ac_cv_prog_make_
${ac_make}_set
=yes
34792 eval ac_cv_prog_make_
${ac_make}_set
=no
34794 rm -f conftest.
make
34796 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34797 echo "$as_me:$LINENO: result: yes" >&5
34798 echo "${ECHO_T}yes" >&6
34801 echo "$as_me:$LINENO: result: no" >&5
34802 echo "${ECHO_T}no" >&6
34803 SET_MAKE
="MAKE=${MAKE-make}"
34807 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
34808 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
34811 ac_config_headers
="$ac_config_headers setup.h"
34814 ac_config_files
="$ac_config_files wx-config version-script Makefile"
34817 ac_config_commands
="$ac_config_commands default"
34821 if test "$wxUSE_GUI" = "yes"; then
34822 SUBDIRS
="samples demos utils contrib"
34823 else SUBDIRS
="samples utils"
34826 for subdir
in `echo $SUBDIRS`; do
34827 if test -d ${srcdir}/${subdir} ; then
34828 if test "$wxUSE_GUI" = "yes"; then
34829 if test ${subdir} = "samples"; then
34830 for sample
in `echo $SAMPLES_SUBDIRS`; do
34831 if test -d $srcdir/samples
/$sample; then
34832 makefiles
="samples/$sample/Makefile.in $makefiles"
34835 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
34837 else if test ${subdir} = "samples"; then
34838 makefiles
="samples/console/Makefile.in"
34839 else makefiles
="utils/HelpGen/Makefile.in \
34840 utils/HelpGen/src/Makefile.in \
34841 utils/makegen/Makefile.in"
34845 for mkin
in $makefiles ; do
34846 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34847 ac_config_files
="$ac_config_files $mk"
34854 cat >confcache
<<\_ACEOF
34855 # This file is a shell script that caches the results of configure
34856 # tests run on this system so they can be shared between configure
34857 # scripts and configure runs, see configure's option --config-cache.
34858 # It is not useful on other systems. If it contains results you don't
34859 # want to keep, you may remove or edit it.
34861 # config.status only pays attention to the cache file if you give it
34862 # the --recheck option to rerun configure.
34864 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34865 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34866 # following values.
34870 # The following way of writing the cache mishandles newlines in values,
34871 # but we know of no workaround that is simple, portable, and efficient.
34872 # So, don't put newlines in cache variables' values.
34873 # Ultrix sh set writes to stderr and can't be redirected directly,
34874 # and sets the high bit in the cache file unless we assign to the vars.
34877 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34879 # `set' does not quote correctly, so add quotes (double-quote
34880 # substitution turns \\\\ into \\, and sed turns \\ into \).
34883 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34886 # `set' quotes correctly as required by POSIX, so do not add quotes.
34888 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34895 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34897 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34899 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34900 if test -w $cache_file; then
34901 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34902 cat confcache
>$cache_file
34904 echo "not updating unwritable cache $cache_file"
34909 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34910 # Let make expand exec_prefix.
34911 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34913 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34914 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34915 # trailing colons and then remove the whole line if VPATH becomes empty
34916 # (actually we leave an empty line to preserve line numbers).
34917 if test "x$srcdir" = x.
; then
34918 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34919 s/:*\$(srcdir):*/:/;
34920 s/:*\${srcdir}:*/:/;
34922 s/^\([^=]*=[ ]*\):*/\1/;
34928 DEFS
=-DHAVE_CONFIG_H
34932 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34933 # 1. Remove the extension, and $U if already installed.
34934 ac_i
=`echo "$ac_i" |
34935 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34937 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
34938 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
34940 LIBOBJS
=$ac_libobjs
34942 LTLIBOBJS
=$ac_ltlibobjs
34946 : ${CONFIG_STATUS=./config.status}
34947 ac_clean_files_save
=$ac_clean_files
34948 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34949 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34950 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34951 cat >$CONFIG_STATUS <<_ACEOF
34953 # Generated by $as_me.
34954 # Run this file to recreate the current configuration.
34955 # Compiler output produced by configure, useful for debugging
34956 # configure, is in config.log if it exists.
34959 ac_cs_recheck=false
34961 SHELL=\${CONFIG_SHELL-$SHELL}
34964 cat >>$CONFIG_STATUS <<\_ACEOF
34965 ## --------------------- ##
34966 ## M4sh Initialization. ##
34967 ## --------------------- ##
34969 # Be Bourne compatible
34970 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34973 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34974 # is contrary to our usage. Disable this feature.
34975 alias -g '${1+"$@"}'='"$@"'
34976 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
34980 # Support unset when possible.
34981 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
34988 # Work around bugs in pre-3.0 UWIN ksh.
34989 $as_unset ENV MAIL MAILPATH
34996 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34997 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34998 LC_TELEPHONE LC_TIME
35000 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35001 eval $as_var=C
; export $as_var
35007 # Required to use basename.
35008 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35014 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35015 as_basename
=basename
35021 # Name of the executable.
35022 as_me
=`$as_basename "$0" ||
35023 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35024 X"$0" : 'X\(//\)$' \| \
35025 X"$0" : 'X\(/\)$' \| \
35026 . : '\(.\)' 2>/dev/null ||
35028 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35029 /^X\/\(\/\/\)$/{ s//\1/; q; }
35030 /^X\/\(\/\).*/{ s//\1/; q; }
35034 # PATH needs CR, and LINENO needs CR and PATH.
35035 # Avoid depending upon Character Ranges.
35036 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35037 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35038 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35039 as_cr_digits
='0123456789'
35040 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35042 # The user is always right.
35043 if test "${PATH_SEPARATOR+set}" != set; then
35044 echo "#! /bin/sh" >conf$$.sh
35045 echo "exit 0" >>conf$$.sh
35047 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35056 as_lineno_1
=$LINENO
35057 as_lineno_2
=$LINENO
35058 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35059 test "x$as_lineno_1" != "x$as_lineno_2" &&
35060 test "x$as_lineno_3" = "x$as_lineno_2" || {
35061 # Find who we are. Look in the path if we contain no path at all
35064 *[\\/]* ) as_myself
=$0 ;;
35065 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35066 for as_dir
in $PATH
35069 test -z "$as_dir" && as_dir
=.
35070 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35075 # We did not find ourselves, most probably we were run as `sh COMMAND'
35076 # in which case we are not to be found in the path.
35077 if test "x$as_myself" = x
; then
35080 if test ! -f "$as_myself"; then
35081 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35082 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35083 { (exit 1); exit 1; }; }
35085 case $CONFIG_SHELL in
35087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35088 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35091 test -z "$as_dir" && as_dir
=.
35092 for as_base
in sh bash ksh sh5
; do
35095 if ("$as_dir/$as_base" -c '
35096 as_lineno_1=$LINENO
35097 as_lineno_2=$LINENO
35098 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35099 test "x$as_lineno_1" != "x$as_lineno_2" &&
35100 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35101 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35102 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35103 CONFIG_SHELL
=$as_dir/$as_base
35104 export CONFIG_SHELL
35105 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35113 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35114 # uniformly replaced by the line number. The first 'sed' inserts a
35115 # line-number line before each line; the second 'sed' does the real
35116 # work. The second script uses 'N' to pair each line-number line
35117 # with the numbered line, and appends trailing '-' during
35118 # substitution so that $LINENO is not a special case at line end.
35119 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35120 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35121 sed '=' <$as_myself |
35126 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35129 s,^['$as_cr_digits']*\n,,
35130 ' >$as_me.lineno
&&
35131 chmod +x
$as_me.lineno
||
35132 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35133 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35134 { (exit 1); exit 1; }; }
35136 # Don't try to exec as it changes $[0], causing all sort of problems
35137 # (the dirname of $[0] is not the place where we might find the
35138 # original and so on. Autoconf is especially sensible to this).
35140 # Exit status is that of the last command.
35145 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35146 *c
*,-n*) ECHO_N
= ECHO_C
='
35148 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35149 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35152 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35158 rm -f conf$$ conf$$.exe conf$$.
file
35160 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35161 # We could just check for DJGPP; but this test a) works b) is more generic
35162 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35163 if test -f conf$$.exe
; then
35164 # Don't use ln at all; we don't have any links
35169 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35174 rm -f conf$$ conf$$.exe conf$$.
file
35176 if mkdir -p .
2>/dev
/null
; then
35182 as_executable_p
="test -f"
35184 # Sed expression to map a string onto a valid CPP name.
35185 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35187 # Sed expression to map a string onto a valid variable name.
35188 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35192 # We need space, tab and new line, in precisely that order.
35202 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35203 # report actual input values of CONFIG_FILES etc. instead of their
35204 # values after options handling. Logging --version etc. is OK.
35208 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35209 ## Running $as_me. ##
35214 This file was extended by wxWindows $as_me 2.5.0, which was
35215 generated by GNU Autoconf 2.57. Invocation command line was
35217 CONFIG_FILES = $CONFIG_FILES
35218 CONFIG_HEADERS = $CONFIG_HEADERS
35219 CONFIG_LINKS = $CONFIG_LINKS
35220 CONFIG_COMMANDS = $CONFIG_COMMANDS
35224 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35228 # Files that config.status was made for.
35229 if test -n "$ac_config_files"; then
35230 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35233 if test -n "$ac_config_headers"; then
35234 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35237 if test -n "$ac_config_links"; then
35238 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35241 if test -n "$ac_config_commands"; then
35242 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35245 cat >>$CONFIG_STATUS <<\_ACEOF
35248 \`$as_me' instantiates files from templates according to the
35249 current configuration.
35251 Usage: $0 [OPTIONS] [FILE]...
35253 -h, --help print this help, then exit
35254 -V, --version print version number, then exit
35255 -q, --quiet do not print progress messages
35256 -d, --debug don't remove temporary files
35257 --recheck update $as_me by reconfiguring in the same conditions
35258 --file=FILE[:TEMPLATE]
35259 instantiate the configuration file FILE
35260 --header=FILE[:TEMPLATE]
35261 instantiate the configuration header FILE
35263 Configuration files:
35266 Configuration headers:
35269 Configuration commands:
35272 Report bugs to <bug-autoconf@gnu.org>."
35275 cat >>$CONFIG_STATUS <<_ACEOF
35277 wxWindows config.status 2.5.0
35278 configured by $0, generated by GNU Autoconf 2.57,
35279 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35281 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35282 Free Software Foundation, Inc.
35283 This config.status script is free software; the Free Software Foundation
35284 gives unlimited permission to copy, distribute and modify it."
35289 cat >>$CONFIG_STATUS <<\_ACEOF
35290 # If no file are specified by the user, then we need to provide default
35291 # value. By we need to know if files were specified by the user.
35297 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35298 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35306 *) # This is not an option, so the user has probably given explicit
35309 ac_need_defaults
=false
;;
35313 # Handling of the options.
35315 cat >>$CONFIG_STATUS <<\_ACEOF
35316 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35318 --version | --vers* | -V )
35319 echo "$ac_cs_version"; exit 0 ;;
35321 # Conflict between --help and --header
35322 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35323 Try \`$0 --help' for more information." >&5
35324 echo "$as_me: error: ambiguous option: $1
35325 Try \`$0 --help' for more information." >&2;}
35326 { (exit 1); exit 1; }; };;
35327 --help | --hel | -h )
35328 echo "$ac_cs_usage"; exit 0 ;;
35329 --debug | --d* | -d )
35331 --file | --fil | --fi | --f )
35333 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35334 ac_need_defaults
=false
;;
35335 --header | --heade | --head | --hea )
35337 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35338 ac_need_defaults
=false
;;
35339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35340 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35343 # This is an error.
35344 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35345 Try \`$0 --help' for more information." >&5
35346 echo "$as_me: error: unrecognized option: $1
35347 Try \`$0 --help' for more information." >&2;}
35348 { (exit 1); exit 1; }; } ;;
35350 *) ac_config_targets
="$ac_config_targets $1" ;;
35356 ac_configure_extra_args
=
35358 if $ac_cs_silent; then
35360 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35364 cat >>$CONFIG_STATUS <<_ACEOF
35365 if \$ac_cs_recheck; then
35366 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35367 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35372 cat >>$CONFIG_STATUS <<_ACEOF
35374 # INIT-COMMANDS section.
35378 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35387 cat >>$CONFIG_STATUS <<\_ACEOF
35388 for ac_config_target
in $ac_config_targets
35390 case "$ac_config_target" in
35391 # Handling of arguments.
35392 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
35393 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
35394 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35395 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
35396 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
35397 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
35398 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35399 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35400 { (exit 1); exit 1; }; };;
35404 # If the user did not use the arguments to specify the items to instantiate,
35405 # then the envvar interface is used. Set only those that are not.
35406 # We use the long form for the default assignment because of an extremely
35407 # bizarre bug on SunOS 4.1.3.
35408 if $ac_need_defaults; then
35409 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35410 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35411 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35414 # Have a temporary directory for convenience. Make it in the build tree
35415 # simply because there is no reason to put it here, and in addition,
35416 # creating and moving files from /tmp can sometimes cause problems.
35417 # Create a temporary directory, and hook for its removal unless debugging.
35420 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35421 trap '{ (exit 1); exit 1; }' 1 2 13 15
35424 # Create a (secure) tmp directory for tmp files.
35427 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35428 test -n "$tmp" && test -d "$tmp"
35431 tmp
=.
/confstat$$
-$RANDOM
35432 (umask 077 && mkdir $tmp)
35435 echo "$me: cannot create a temporary directory in ." >&2
35436 { (exit 1); exit 1; }
35441 cat >>$CONFIG_STATUS <<_ACEOF
35444 # CONFIG_FILES section.
35447 # No need to generate the scripts if there are no CONFIG_FILES.
35448 # This happens for instance when ./config.status config.h
35449 if test -n "\$CONFIG_FILES"; then
35450 # Protect against being on the right side of a sed subst in config.status.
35451 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35452 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35453 s,@SHELL@,$SHELL,;t t
35454 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35455 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35456 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35457 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35458 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35459 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35460 s,@exec_prefix@,$exec_prefix,;t t
35461 s,@prefix@,$prefix,;t t
35462 s,@program_transform_name@,$program_transform_name,;t t
35463 s,@bindir@,$bindir,;t t
35464 s,@sbindir@,$sbindir,;t t
35465 s,@libexecdir@,$libexecdir,;t t
35466 s,@datadir@,$datadir,;t t
35467 s,@sysconfdir@,$sysconfdir,;t t
35468 s,@sharedstatedir@,$sharedstatedir,;t t
35469 s,@localstatedir@,$localstatedir,;t t
35470 s,@libdir@,$libdir,;t t
35471 s,@includedir@,$includedir,;t t
35472 s,@oldincludedir@,$oldincludedir,;t t
35473 s,@infodir@,$infodir,;t t
35474 s,@mandir@,$mandir,;t t
35475 s,@build_alias@,$build_alias,;t t
35476 s,@host_alias@,$host_alias,;t t
35477 s,@target_alias@,$target_alias,;t t
35478 s,@DEFS@,$DEFS,;t t
35479 s,@ECHO_C@,$ECHO_C,;t t
35480 s,@ECHO_N@,$ECHO_N,;t t
35481 s,@ECHO_T@,$ECHO_T,;t t
35482 s,@LIBS@,$LIBS,;t t
35483 s,@build@,$build,;t t
35484 s,@build_cpu@,$build_cpu,;t t
35485 s,@build_vendor@,$build_vendor,;t t
35486 s,@build_os@,$build_os,;t t
35487 s,@host@,$host,;t t
35488 s,@host_cpu@,$host_cpu,;t t
35489 s,@host_vendor@,$host_vendor,;t t
35490 s,@host_os@,$host_os,;t t
35491 s,@target@,$target,;t t
35492 s,@target_cpu@,$target_cpu,;t t
35493 s,@target_vendor@,$target_vendor,;t t
35494 s,@target_os@,$target_os,;t t
35496 s,@CFLAGS@,$CFLAGS,;t t
35497 s,@LDFLAGS@,$LDFLAGS,;t t
35498 s,@CPPFLAGS@,$CPPFLAGS,;t t
35499 s,@ac_ct_CC@,$ac_ct_CC,;t t
35500 s,@EXEEXT@,$EXEEXT,;t t
35501 s,@OBJEXT@,$OBJEXT,;t t
35503 s,@EGREP@,$EGREP,;t t
35505 s,@CXXFLAGS@,$CXXFLAGS,;t t
35506 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35507 s,@RANLIB@,$RANLIB,;t t
35508 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35510 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35511 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35512 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35513 s,@STRIP@,$STRIP,;t t
35514 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35515 s,@YACC@,$YACC,;t t
35517 s,@LEXLIB@,$LEXLIB,;t t
35518 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35519 s,@LN_S@,$LN_S,;t t
35520 s,@CXXCPP@,$CXXCPP,;t t
35521 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35522 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35523 s,@GTK_LIBS@,$GTK_LIBS,;t t
35524 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35525 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35526 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35527 s,@X_CFLAGS@,$X_CFLAGS,;t t
35528 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35529 s,@X_LIBS@,$X_LIBS,;t t
35530 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35531 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35532 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35533 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35534 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35535 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35536 s,@RESCOMP@,$RESCOMP,;t t
35537 s,@DEREZ@,$DEREZ,;t t
35538 s,@SETFILE@,$SETFILE,;t t
35539 s,@LIBICONV@,$LIBICONV,;t t
35540 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35541 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35542 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35543 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35544 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35545 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35546 s,@VENDOR@,$VENDOR,;t t
35547 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35548 s,@WXUNIV@,$WXUNIV,;t t
35549 s,@MONOLITHIC@,$MONOLITHIC,;t t
35550 s,@EXTRALIBS@,$EXTRALIBS,;t t
35551 s,@UNICODE@,$UNICODE,;t t
35552 s,@BUILD@,$BUILD,;t t
35553 s,@SHARED@,$SHARED,;t t
35554 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35555 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35556 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35557 s,@SET_MAKE@,$SET_MAKE,;t t
35558 s,@MAKE_SET@,$MAKE_SET,;t t
35559 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35560 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35561 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35562 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35563 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35564 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35565 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35566 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35567 s,@DLLPREFIX@,$DLLPREFIX,;t t
35568 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35569 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35570 s,@PIC_FLAG@,$PIC_FLAG,;t t
35571 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35572 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35573 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35574 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35575 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35576 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35577 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35578 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35579 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35580 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35581 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35582 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35583 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
35584 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35585 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35586 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35587 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35588 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35589 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35590 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35591 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35592 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35593 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35594 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35595 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35596 s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35597 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35598 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35599 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35600 s,@COND_OFFICIAL_BUILD_0@,$COND_OFFICIAL_BUILD_0,;t t
35601 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35602 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35603 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35604 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35605 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35606 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35607 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35608 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35609 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35610 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35611 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35612 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35613 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35614 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35615 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35616 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35617 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35618 s,@COND_OFFICIAL_BUILD_1@,$COND_OFFICIAL_BUILD_1,;t t
35619 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35620 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35621 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35622 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35623 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35624 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35625 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35626 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35627 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35628 s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35629 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35630 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35631 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35632 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35633 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35634 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35635 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35636 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35637 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35638 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35639 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35640 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35641 s,@LEX_STEM@,$LEX_STEM,;t t
35642 s,@PATH_IFS@,$PATH_IFS,;t t
35643 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35644 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35645 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35646 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35647 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35648 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35649 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35650 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35651 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35652 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35653 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35654 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35655 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35656 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35657 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35658 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35659 s,@WX_ALL@,$WX_ALL,;t t
35660 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35661 s,@SHARED_LD@,$SHARED_LD,;t t
35662 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35663 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35664 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35665 s,@USE_GUI@,$USE_GUI,;t t
35666 s,@AFMINSTALL@,$AFMINSTALL,;t t
35667 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35668 s,@TOOLKIT@,$TOOLKIT,;t t
35669 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35670 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35671 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35672 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35673 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35674 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35675 s,@cross_compiling@,$cross_compiling,;t t
35676 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35677 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35678 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35679 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35680 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35681 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35682 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35683 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35684 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35685 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35686 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35687 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35688 s,@GUIDIST@,$GUIDIST,;t t
35689 s,@PORT_FILES@,$PORT_FILES,;t t
35690 s,@DISTDIR@,$DISTDIR,;t t
35691 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35692 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35693 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35694 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35695 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35696 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35697 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35698 s,@RESFLAGS@,$RESFLAGS,;t t
35699 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35700 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35701 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35702 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35703 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35704 s,@MACRESCOMP@,$MACRESCOMP,;t t
35705 s,@MACSETFILE@,$MACSETFILE,;t t
35706 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35708 s,@DLLTOOL@,$DLLTOOL,;t t
35712 s,@MAKEINFO@,$MAKEINFO,;t t
35713 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35714 s,@ESD_LINK@,$ESD_LINK,;t t
35715 s,@LIBOBJS@,$LIBOBJS,;t t
35716 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35721 cat >>$CONFIG_STATUS <<\_ACEOF
35722 # Split the substitutions into bite-sized pieces for seds with
35723 # small command number limits, like on Digital OSF/1 and HP-UX.
35724 ac_max_sed_lines
=48
35725 ac_sed_frag
=1 # Number of current file.
35726 ac_beg
=1 # First line for current file.
35727 ac_end
=$ac_max_sed_lines # Line after last line for current file.
35730 while $ac_more_lines; do
35731 if test $ac_beg -gt 1; then
35732 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35734 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35736 if test ! -s $tmp/subs.frag
; then
35737 ac_more_lines
=false
35739 # The purpose of the label and of the branching condition is to
35740 # speed up the sed processing (if there are no `@' at all, there
35741 # is no need to browse any of the substitutions).
35742 # These are the two extra sed commands mentioned above.
35744 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
35745 if test -z "$ac_sed_cmds"; then
35746 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
35748 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35750 ac_sed_frag
=`expr $ac_sed_frag + 1`
35752 ac_end
=`expr $ac_end + $ac_max_sed_lines`
35755 if test -z "$ac_sed_cmds"; then
35758 fi # test -n "$CONFIG_FILES"
35761 cat >>$CONFIG_STATUS <<\_ACEOF
35762 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
35763 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35765 - | *:- | *:-:* ) # input from stdin
35767 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35768 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35769 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35770 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35771 * ) ac_file_in
=$ac_file.
in ;;
35774 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35775 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35777 X"$ac_file" : 'X\(//\)[^/]' \| \
35778 X"$ac_file" : 'X\(//\)$' \| \
35779 X"$ac_file" : 'X\(/\)' \| \
35780 . : '\(.\)' 2>/dev/null ||
35782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35784 /^X\(\/\/\)$/{ s//\1/; q; }
35785 /^X\(\/\).*/{ s//\1/; q; }
35787 { if $as_mkdir_p; then
35792 while test ! -d "$as_dir"; do
35793 as_dirs
="$as_dir $as_dirs"
35794 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35796 X"$as_dir" : 'X\(//\)[^/]' \| \
35797 X"$as_dir" : 'X\(//\)$' \| \
35798 X"$as_dir" : 'X\(/\)' \| \
35799 . : '\(.\)' 2>/dev/null ||
35801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35803 /^X\(\/\/\)$/{ s//\1/; q; }
35804 /^X\(\/\).*/{ s//\1/; q; }
35807 test ! -n "$as_dirs" || mkdir $as_dirs
35808 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35809 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35810 { (exit 1); exit 1; }; }; }
35814 if test "$ac_dir" != .
; then
35815 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35816 # A "../" for each directory in $ac_dir_suffix.
35817 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35819 ac_dir_suffix
= ac_top_builddir
=
35823 .
) # No --srcdir option. We are building in place.
35825 if test -z "$ac_top_builddir"; then
35828 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
35830 [\\/]* | ?
:[\\/]* ) # Absolute path.
35831 ac_srcdir
=$srcdir$ac_dir_suffix;
35832 ac_top_srcdir
=$srcdir ;;
35833 *) # Relative path.
35834 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
35835 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
35837 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35839 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
35840 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35841 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35842 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35846 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35847 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
35850 if test x
"$ac_file" != x
-; then
35851 { echo "$as_me:$LINENO: creating $ac_file" >&5
35852 echo "$as_me: creating $ac_file" >&6;}
35855 # Let's still pretend it is `configure' which instantiates (i.e., don't
35856 # use $as_me), people would be surprised to read:
35857 # /* config.h. Generated by config.status. */
35858 if test x
"$ac_file" = x
-; then
35861 configure_input
="$ac_file. "
35863 configure_input
=$configure_input"Generated from `echo $ac_file_in |
35864 sed 's,.*/,,'` by configure."
35866 # First look for the input files in the build tree, otherwise in the
35868 ac_file_inputs
=`IFS=:
35869 for f in $ac_file_in; do
35871 -) echo $tmp/stdin ;;
35873 # Absolute (can't be DOS-style, as IFS=:)
35874 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35875 echo "$as_me: error: cannot find input file: $f" >&2;}
35876 { (exit 1); exit 1; }; }
35879 if test -f "$f"; then
35882 elif test -f "$srcdir/$f"; then
35887 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35888 echo "$as_me: error: cannot find input file: $f" >&2;}
35889 { (exit 1); exit 1; }; }
35892 done` || { (exit 1); exit 1; }
35894 cat >>$CONFIG_STATUS <<_ACEOF
35898 cat >>$CONFIG_STATUS <<\_ACEOF
35900 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
35901 s
,@configure_input@
,$configure_input,;t t
35902 s
,@srcdir@
,$ac_srcdir,;t t
35903 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
35904 s
,@top_srcdir@
,$ac_top_srcdir,;t t
35905 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
35906 s
,@builddir@
,$ac_builddir,;t t
35907 s
,@abs_builddir@
,$ac_abs_builddir,;t t
35908 s
,@top_builddir@
,$ac_top_builddir,;t t
35909 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
35910 s
,@INSTALL@
,$ac_INSTALL,;t t
35911 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35913 if test x"$ac_file" != x-; then
35914 mv $tmp/out $ac_file
35922 cat >>$CONFIG_STATUS <<\_ACEOF
35925 # CONFIG_HEADER section.
35928 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
35929 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35931 # ac_d sets the value in "#define NAME VALUE" lines.
35932 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35933 ac_dB
='[ ].*$,\1#\2'
35936 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35937 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35938 ac_uB
='$,\1#\2define\3'
35942 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
35943 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35945 - | *:- | *:-:* ) # input from stdin
35947 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35948 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35949 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35950 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35951 * ) ac_file_in
=$ac_file.
in ;;
35954 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35955 echo "$as_me: creating $ac_file" >&6;}
35957 # First look for the input files in the build tree, otherwise in the
35959 ac_file_inputs
=`IFS=:
35960 for f in $ac_file_in; do
35962 -) echo $tmp/stdin ;;
35964 # Absolute (can't be DOS-style, as IFS=:)
35965 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35966 echo "$as_me: error: cannot find input file: $f" >&2;}
35967 { (exit 1); exit 1; }; }
35970 if test -f "$f"; then
35973 elif test -f "$srcdir/$f"; then
35978 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35979 echo "$as_me: error: cannot find input file: $f" >&2;}
35980 { (exit 1); exit 1; }; }
35983 done` || { (exit 1); exit 1; }
35984 # Remove the trailing spaces.
35985 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35989 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35990 # `conftest.undefs', that substitutes the proper values into
35991 # config.h.in to produce config.h. The first handles `#define'
35992 # templates, and the second `#undef' templates.
35993 # And first: Protect against being on the right side of a sed subst in
35994 # config.status. Protect against being in an unquoted here document
35995 # in config.status.
35996 rm -f conftest.defines conftest.undefs
35997 # Using a here document instead of a string reduces the quoting nightmare.
35998 # Putting comments in sed scripts is not portable.
36000 # `end' is used to avoid that the second main sed command (meant for
36001 # 0-ary CPP macros) applies to n-ary macro definitions.
36002 # See the Autoconf documentation for `clear'.
36003 cat >confdef2sed.
sed <<\_ACEOF
36008 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36010 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36013 # If some macros were called several times there might be several times
36014 # the same #defines, which is useless. Nevertheless, we may not want to
36015 # sort them, since we want the *last* AC-DEFINE to be honored.
36016 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36017 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36018 rm -f confdef2sed.sed
36020 # This sed command replaces #undef with comments. This is necessary, for
36021 # example, in the case of _POSIX_SOURCE, which is predefined and required
36022 # on some systems where configure will not decide to define it.
36023 cat >>conftest.undefs <<\_ACEOF
36024 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36027 # Break up conftest.defines because some shells have a limit on the size
36028 # of here documents, and old seds have small limits too (100 cmds).
36029 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36030 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36031 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36032 echo ' :' >>$CONFIG_STATUS
36033 rm -f conftest.tail
36034 while grep . conftest.defines >/dev/null
36036 # Write a limited-size here document to $tmp/defines.sed.
36037 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36038 # Speed up: don't consider the non `#define' lines.
36039 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36040 # Work around the forget-to-reset-the-flag bug.
36041 echo 't clr' >>$CONFIG_STATUS
36042 echo ': clr' >>$CONFIG_STATUS
36043 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36045 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36047 mv $tmp/out $tmp/in
36049 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36050 rm -f conftest.defines
36051 mv conftest.
tail conftest.defines
36053 rm -f conftest.defines
36054 echo ' fi # grep' >>$CONFIG_STATUS
36055 echo >>$CONFIG_STATUS
36057 # Break up conftest.undefs because some shells have a limit on the size
36058 # of here documents, and old seds have small limits too (100 cmds).
36059 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36060 rm -f conftest.
tail
36061 while grep . conftest.undefs
>/dev
/null
36063 # Write a limited-size here document to $tmp/undefs.sed.
36064 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36065 # Speed up: don't consider the non
`#undef'
36066 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36067 # Work around the forget-to-reset-the-flag bug.
36068 echo 't clr' >>$CONFIG_STATUS
36069 echo ': clr' >>$CONFIG_STATUS
36070 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36072 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36074 mv $tmp/out $tmp/in
36076 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36077 rm -f conftest.undefs
36078 mv conftest.tail conftest.undefs
36080 rm -f conftest.undefs
36082 cat >>$CONFIG_STATUS <<\_ACEOF
36083 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36084 # use $as_me), people would be surprised to read:
36085 # /* config.h. Generated by config.status. */
36086 if test x
"$ac_file" = x
-; then
36087 echo "/* Generated by configure. */" >$tmp/config.h
36089 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36091 cat $tmp/in >>$tmp/config.h
36093 if test x
"$ac_file" != x
-; then
36094 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36095 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36096 echo "$as_me: $ac_file is unchanged" >&6;}
36098 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36099 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36100 X"$ac_file" : 'X\(//\)[^/]' \| \
36101 X"$ac_file" : 'X\(//\)$' \| \
36102 X"$ac_file" : 'X\(/\)' \| \
36103 . : '\(.\)' 2>/dev/null ||
36105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36106 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36107 /^X\(\/\/\)$/{ s//\1/; q; }
36108 /^X\(\/\).*/{ s//\1/; q; }
36110 { if $as_mkdir_p; then
36115 while test ! -d "$as_dir"; do
36116 as_dirs
="$as_dir $as_dirs"
36117 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36119 X"$as_dir" : 'X\(//\)[^/]' \| \
36120 X"$as_dir" : 'X\(//\)$' \| \
36121 X"$as_dir" : 'X\(/\)' \| \
36122 . : '\(.\)' 2>/dev/null ||
36124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36126 /^X\(\/\/\)$/{ s//\1/; q; }
36127 /^X\(\/\).*/{ s//\1/; q; }
36130 test ! -n "$as_dirs" || mkdir $as_dirs
36131 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36132 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36133 { (exit 1); exit 1; }; }; }
36136 mv $tmp/config.h
$ac_file
36140 rm -f $tmp/config.h
36144 cat >>$CONFIG_STATUS <<\_ACEOF
36147 # CONFIG_COMMANDS section.
36149 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36150 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36151 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36152 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36153 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36154 X"$ac_dest" : 'X\(//\)[^/]' \| \
36155 X"$ac_dest" : 'X\(//\)$' \| \
36156 X"$ac_dest" : 'X\(/\)' \| \
36157 . : '\(.\)' 2>/dev/null ||
36159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36161 /^X\(\/\/\)$/{ s//\1/; q; }
36162 /^X\(\/\).*/{ s//\1/; q; }
36166 if test "$ac_dir" != .
; then
36167 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36168 # A "../" for each directory in $ac_dir_suffix.
36169 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36171 ac_dir_suffix
= ac_top_builddir
=
36175 .
) # No --srcdir option. We are building in place.
36177 if test -z "$ac_top_builddir"; then
36180 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36182 [\\/]* | ?
:[\\/]* ) # Absolute path.
36183 ac_srcdir
=$srcdir$ac_dir_suffix;
36184 ac_top_srcdir
=$srcdir ;;
36185 *) # Relative path.
36186 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36187 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36189 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36191 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36192 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36193 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36194 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36197 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36198 echo "$as_me: executing $ac_dest commands" >&6;}
36201 if test ! -h wx
-config; then
36203 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36204 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36207 if test ! -d lib
; then
36210 if test ! -d lib
/wx
; then
36213 if test ! -d lib
/wx
/include
; then
36214 mkdir lib
/wx
/include
36216 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36217 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36219 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36220 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36222 if test -f setup.h
; then
36223 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36230 cat >>$CONFIG_STATUS <<\_ACEOF
36232 { (exit 0); exit 0; }
36234 chmod +x
$CONFIG_STATUS
36235 ac_clean_files
=$ac_clean_files_save
36238 # configure is writing to config.log, and then calls config.status.
36239 # config.status does its own redirection, appending to config.log.
36240 # Unfortunately, on DOS this fails, as config.log is still kept open
36241 # by configure, so config.status won't be able to write to it; its
36242 # output is simply discarded. So we exec the FD to /dev/null,
36243 # effectively closing config.log, so it can be properly (re)opened and
36244 # appended to by config.status. When coming back to configure, we
36245 # need to make the FD available again.
36246 if test "$no_create" != yes; then
36248 ac_config_status_args
=
36249 test "$silent" = yes &&
36250 ac_config_status_args
="$ac_config_status_args --quiet"
36252 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36254 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36255 # would make configure fail if this is the last instruction.
36256 $ac_cs_success || { (exit 1); exit 1; }
36261 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36263 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36264 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36266 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36267 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36268 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36270 echo " What level of wxWindows compatibility should be enabled?"
36271 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36272 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36273 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36275 echo " Which libraries should wxWindows use?"
36276 echo " jpeg ${wxUSE_LIBJPEG-none}"
36277 echo " png ${wxUSE_LIBPNG-none}"
36278 echo " regex ${wxUSE_REGEX}"
36279 echo " tiff ${wxUSE_LIBTIFF-none}"
36280 echo " zlib ${wxUSE_ZLIB}"
36281 echo " odbc ${wxUSE_ODBC}"