2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='wxWindows'
271 PACKAGE_TARNAME
='wxwindows'
272 PACKAGE_VERSION
='2.5.0'
273 PACKAGE_STRING
='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
276 ac_unique_file
="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S CXXCPP PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_GUI UNICODE BUILD SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX DLLPREFIX AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING COND_BUILD_DEBUG COND_BUILD_RELEASE COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_PLATFORM_MAC_1 COND_SHARED_1 COND_SHARED_0 LEX_STEM PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY ESD_LINK LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev
=build_alias
;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev
=cache_file
;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
437 ac_init_help
=short
;;
439 -host | --host | --hos | --ho)
440 ac_prev
=host_alias
;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev
=includedir
;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev
=target_alias
;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias
=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
775 ac_env_CXX_set
=${CXX+set}
776 ac_env_CXX_value
=$CXX
777 ac_cv_env_CXX_set
=${CXX+set}
778 ac_cv_env_CXX_value
=$CXX
779 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
780 ac_env_CXXFLAGS_value
=$CXXFLAGS
781 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_env_CXXCPP_set
=${CXXCPP+set}
784 ac_env_CXXCPP_value
=$CXXCPP
785 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
786 ac_cv_env_CXXCPP_value
=$CXXCPP
789 # Report the --help message.
791 if test "$ac_init_help" = "long"; then
792 # Omit some internal or obsolete options to make the list less imposing.
793 # This message is too long to be a string in the A/UX 3.1 sh.
795 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
797 Usage: $0 [OPTION]... [VAR=VALUE]...
799 To assign environment variables (e.g., CC, CFLAGS...), specify them as
800 VAR=VALUE. See below for descriptions of some of the useful variables.
802 Defaults for the options are specified in brackets.
805 -h, --help display this help and exit
806 --help=short display options specific to this package
807 --help=recursive display the short help of all the included packages
808 -V, --version display version information and exit
809 -q, --quiet, --silent do not print \`checking...' messages
810 --cache-file=FILE cache test results in FILE [disabled]
811 -C, --config-cache alias for \`--cache-file=config.cache'
812 -n, --no-create do not create output files
813 --srcdir=DIR find the sources in DIR [configure dir or \`..']
818 Installation directories:
819 --prefix=PREFIX install architecture-independent files in PREFIX
821 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 By default, \`make install' will install all the files in
825 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
826 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
827 for instance \`--prefix=\$HOME'.
829 For better control, use the options below.
831 Fine tuning of the installation directories:
832 --bindir=DIR user executables [EPREFIX/bin]
833 --sbindir=DIR system admin executables [EPREFIX/sbin]
834 --libexecdir=DIR program executables [EPREFIX/libexec]
835 --datadir=DIR read-only architecture-independent data [PREFIX/share]
836 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
837 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
838 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
839 --libdir=DIR object code libraries [EPREFIX/lib]
840 --includedir=DIR C header files [PREFIX/include]
841 --oldincludedir=DIR C header files for non-gcc [/usr/include]
842 --infodir=DIR info documentation [PREFIX/info]
843 --mandir=DIR man documentation [PREFIX/man]
849 --x-includes=DIR X include files are
in DIR
850 --x-libraries=DIR X library files are
in DIR
853 --build=BUILD configure
for building on BUILD
[guessed
]
854 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
855 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
859 if test -n "$ac_init_help"; then
860 case $ac_init_help in
861 short
| recursive
) echo "Configuration of wxWindows 2.5.0:";;
866 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
867 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
868 --enable-gui use GUI classes
869 --disable-monolithic don
't build wxWindows as single library
870 --enable-universal use wxWindows GUI controls instead of native ones
871 --enable-nanox use NanoX
872 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
873 --enable-shared create shared library code
874 --enable-optimise create optimised code
875 --enable-debug same as debug_flag and debug_info
876 --enable-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_PROGRESSDLG
=no
6517 DEFAULT_wxUSE_SASH
=no
6518 DEFAULT_wxUSE_SPLITTER
=no
6519 DEFAULT_wxUSE_WIZARDDLG
=no
6520 DEFAULT_wxUSE_SPLITTER
=no
6521 DEFAULT_wxUSE_STARTUP_TIPS
=no
6526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6527 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6529 # Check whether --enable-accel or --disable-accel was given.
6530 if test "${enable_accel+set}" = set; then
6531 enableval
="$enable_accel"
6533 if test "$enableval" = yes; then
6534 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6536 ac_cv_use_accel
='wxUSE_ACCEL=no'
6541 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6542 if test "x$LINE" != x
; then
6543 eval "DEFAULT_$LINE"
6548 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6552 eval "$ac_cv_use_accel"
6553 if test "$no_cache" != 1; then
6554 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6557 if test "$wxUSE_ACCEL" = yes; then
6558 echo "$as_me:$LINENO: result: yes" >&5
6559 echo "${ECHO_T}yes" >&6
6561 echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6
6567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6570 # Check whether --enable-button or --disable-button was given.
6571 if test "${enable_button+set}" = set; then
6572 enableval
="$enable_button"
6574 if test "$enableval" = yes; then
6575 ac_cv_use_button
='wxUSE_BUTTON=yes'
6577 ac_cv_use_button
='wxUSE_BUTTON=no'
6582 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x
; then
6584 eval "DEFAULT_$LINE"
6589 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6593 eval "$ac_cv_use_button"
6594 if test "$no_cache" != 1; then
6595 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6598 if test "$wxUSE_BUTTON" = yes; then
6599 echo "$as_me:$LINENO: result: yes" >&5
6600 echo "${ECHO_T}yes" >&6
6602 echo "$as_me:$LINENO: result: no" >&5
6603 echo "${ECHO_T}no" >&6
6608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6611 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6612 if test "${enable_bmpbutton+set}" = set; then
6613 enableval
="$enable_bmpbutton"
6615 if test "$enableval" = yes; then
6616 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6618 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6623 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x
; then
6625 eval "DEFAULT_$LINE"
6630 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6634 eval "$ac_cv_use_bmpbutton"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6639 if test "$wxUSE_BMPBUTTON" = yes; then
6640 echo "$as_me:$LINENO: result: yes" >&5
6641 echo "${ECHO_T}yes" >&6
6643 echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6
6649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6652 # Check whether --enable-calendar or --disable-calendar was given.
6653 if test "${enable_calendar+set}" = set; then
6654 enableval
="$enable_calendar"
6656 if test "$enableval" = yes; then
6657 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6659 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6664 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x
; then
6666 eval "DEFAULT_$LINE"
6671 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6675 eval "$ac_cv_use_calendar"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6680 if test "$wxUSE_CALCTRL" = yes; then
6681 echo "$as_me:$LINENO: result: yes" >&5
6682 echo "${ECHO_T}yes" >&6
6684 echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6
6690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6693 # Check whether --enable-caret or --disable-caret was given.
6694 if test "${enable_caret+set}" = set; then
6695 enableval
="$enable_caret"
6697 if test "$enableval" = yes; then
6698 ac_cv_use_caret
='wxUSE_CARET=yes'
6700 ac_cv_use_caret
='wxUSE_CARET=no'
6705 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x
; then
6707 eval "DEFAULT_$LINE"
6712 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6716 eval "$ac_cv_use_caret"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_CARET" = yes; then
6722 echo "$as_me:$LINENO: result: yes" >&5
6723 echo "${ECHO_T}yes" >&6
6725 echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6
6731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6734 # Check whether --enable-checkbox or --disable-checkbox was given.
6735 if test "${enable_checkbox+set}" = set; then
6736 enableval
="$enable_checkbox"
6738 if test "$enableval" = yes; then
6739 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6741 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6746 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6747 if test "x$LINE" != x
; then
6748 eval "DEFAULT_$LINE"
6753 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6757 eval "$ac_cv_use_checkbox"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6762 if test "$wxUSE_CHECKBOX" = yes; then
6763 echo "$as_me:$LINENO: result: yes" >&5
6764 echo "${ECHO_T}yes" >&6
6766 echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6
6772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6775 # Check whether --enable-checklst or --disable-checklst was given.
6776 if test "${enable_checklst+set}" = set; then
6777 enableval
="$enable_checklst"
6779 if test "$enableval" = yes; then
6780 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6782 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6787 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x
; then
6789 eval "DEFAULT_$LINE"
6794 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6798 eval "$ac_cv_use_checklst"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6803 if test "$wxUSE_CHECKLST" = yes; then
6804 echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6
6807 echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6
6813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6814 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6816 # Check whether --enable-choice or --disable-choice was given.
6817 if test "${enable_choice+set}" = set; then
6818 enableval
="$enable_choice"
6820 if test "$enableval" = yes; then
6821 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6823 ac_cv_use_choice
='wxUSE_CHOICE=no'
6828 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6829 if test "x$LINE" != x
; then
6830 eval "DEFAULT_$LINE"
6835 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6839 eval "$ac_cv_use_choice"
6840 if test "$no_cache" != 1; then
6841 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6844 if test "$wxUSE_CHOICE" = yes; then
6845 echo "$as_me:$LINENO: result: yes" >&5
6846 echo "${ECHO_T}yes" >&6
6848 echo "$as_me:$LINENO: result: no" >&5
6849 echo "${ECHO_T}no" >&6
6854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6857 # Check whether --enable-combobox or --disable-combobox was given.
6858 if test "${enable_combobox+set}" = set; then
6859 enableval
="$enable_combobox"
6861 if test "$enableval" = yes; then
6862 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6864 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6869 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6870 if test "x$LINE" != x
; then
6871 eval "DEFAULT_$LINE"
6876 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6880 eval "$ac_cv_use_combobox"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6885 if test "$wxUSE_COMBOBOX" = yes; then
6886 echo "$as_me:$LINENO: result: yes" >&5
6887 echo "${ECHO_T}yes" >&6
6889 echo "$as_me:$LINENO: result: no" >&5
6890 echo "${ECHO_T}no" >&6
6895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6898 # Check whether --enable-display or --disable-display was given.
6899 if test "${enable_display+set}" = set; then
6900 enableval
="$enable_display"
6902 if test "$enableval" = yes; then
6903 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6905 ac_cv_use_display
='wxUSE_DISPLAY=no'
6910 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6911 if test "x$LINE" != x
; then
6912 eval "DEFAULT_$LINE"
6917 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6921 eval "$ac_cv_use_display"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6926 if test "$wxUSE_DISPLAY" = yes; then
6927 echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6
6930 echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6
6936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6939 # Check whether --enable-gauge or --disable-gauge was given.
6940 if test "${enable_gauge+set}" = set; then
6941 enableval
="$enable_gauge"
6943 if test "$enableval" = yes; then
6944 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6946 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6951 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6952 if test "x$LINE" != x
; then
6953 eval "DEFAULT_$LINE"
6958 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6962 eval "$ac_cv_use_gauge"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6967 if test "$wxUSE_GAUGE" = yes; then
6968 echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6
6971 echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6
6977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6980 # Check whether --enable-grid or --disable-grid was given.
6981 if test "${enable_grid+set}" = set; then
6982 enableval
="$enable_grid"
6984 if test "$enableval" = yes; then
6985 ac_cv_use_grid
='wxUSE_GRID=yes'
6987 ac_cv_use_grid
='wxUSE_GRID=no'
6992 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x
; then
6994 eval "DEFAULT_$LINE"
6999 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7003 eval "$ac_cv_use_grid"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7008 if test "$wxUSE_GRID" = yes; then
7009 echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6
7012 echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6
7018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7021 # Check whether --enable-imaglist or --disable-imaglist was given.
7022 if test "${enable_imaglist+set}" = set; then
7023 enableval
="$enable_imaglist"
7025 if test "$enableval" = yes; then
7026 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7028 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7033 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x
; then
7035 eval "DEFAULT_$LINE"
7040 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7044 eval "$ac_cv_use_imaglist"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7049 if test "$wxUSE_IMAGLIST" = yes; then
7050 echo "$as_me:$LINENO: result: yes" >&5
7051 echo "${ECHO_T}yes" >&6
7053 echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6
7059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7060 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7062 # Check whether --enable-listbox or --disable-listbox was given.
7063 if test "${enable_listbox+set}" = set; then
7064 enableval
="$enable_listbox"
7066 if test "$enableval" = yes; then
7067 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7069 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7074 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7075 if test "x$LINE" != x
; then
7076 eval "DEFAULT_$LINE"
7081 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7085 eval "$ac_cv_use_listbox"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7090 if test "$wxUSE_LISTBOX" = yes; then
7091 echo "$as_me:$LINENO: result: yes" >&5
7092 echo "${ECHO_T}yes" >&6
7094 echo "$as_me:$LINENO: result: no" >&5
7095 echo "${ECHO_T}no" >&6
7100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7101 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7103 # Check whether --enable-listctrl or --disable-listctrl was given.
7104 if test "${enable_listctrl+set}" = set; then
7105 enableval
="$enable_listctrl"
7107 if test "$enableval" = yes; then
7108 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7110 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7115 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7116 if test "x$LINE" != x
; then
7117 eval "DEFAULT_$LINE"
7122 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7126 eval "$ac_cv_use_listctrl"
7127 if test "$no_cache" != 1; then
7128 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7131 if test "$wxUSE_LISTCTRL" = yes; then
7132 echo "$as_me:$LINENO: result: yes" >&5
7133 echo "${ECHO_T}yes" >&6
7135 echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6
7141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7144 # Check whether --enable-notebook or --disable-notebook was given.
7145 if test "${enable_notebook+set}" = set; then
7146 enableval
="$enable_notebook"
7148 if test "$enableval" = yes; then
7149 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7151 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7156 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x
; then
7158 eval "DEFAULT_$LINE"
7163 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7167 eval "$ac_cv_use_notebook"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7172 if test "$wxUSE_NOTEBOOK" = yes; then
7173 echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6
7176 echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6
7182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7185 # Check whether --enable-radiobox or --disable-radiobox was given.
7186 if test "${enable_radiobox+set}" = set; then
7187 enableval
="$enable_radiobox"
7189 if test "$enableval" = yes; then
7190 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7192 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7197 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7198 if test "x$LINE" != x
; then
7199 eval "DEFAULT_$LINE"
7204 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7208 eval "$ac_cv_use_radiobox"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7213 if test "$wxUSE_RADIOBOX" = yes; then
7214 echo "$as_me:$LINENO: result: yes" >&5
7215 echo "${ECHO_T}yes" >&6
7217 echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6
7223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7226 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7227 if test "${enable_radiobtn+set}" = set; then
7228 enableval
="$enable_radiobtn"
7230 if test "$enableval" = yes; then
7231 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7233 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7238 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7239 if test "x$LINE" != x
; then
7240 eval "DEFAULT_$LINE"
7245 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7249 eval "$ac_cv_use_radiobtn"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7254 if test "$wxUSE_RADIOBTN" = yes; then
7255 echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6
7258 echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6
7264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7267 # Check whether --enable-sash or --disable-sash was given.
7268 if test "${enable_sash+set}" = set; then
7269 enableval
="$enable_sash"
7271 if test "$enableval" = yes; then
7272 ac_cv_use_sash
='wxUSE_SASH=yes'
7274 ac_cv_use_sash
='wxUSE_SASH=no'
7279 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7280 if test "x$LINE" != x
; then
7281 eval "DEFAULT_$LINE"
7286 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7290 eval "$ac_cv_use_sash"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7295 if test "$wxUSE_SASH" = yes; then
7296 echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6
7299 echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6
7305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7308 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7309 if test "${enable_scrollbar+set}" = set; then
7310 enableval
="$enable_scrollbar"
7312 if test "$enableval" = yes; then
7313 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7315 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7320 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7321 if test "x$LINE" != x
; then
7322 eval "DEFAULT_$LINE"
7327 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7331 eval "$ac_cv_use_scrollbar"
7332 if test "$no_cache" != 1; then
7333 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7336 if test "$wxUSE_SCROLLBAR" = yes; then
7337 echo "$as_me:$LINENO: result: yes" >&5
7338 echo "${ECHO_T}yes" >&6
7340 echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6
7346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7349 # Check whether --enable-slider or --disable-slider was given.
7350 if test "${enable_slider+set}" = set; then
7351 enableval
="$enable_slider"
7353 if test "$enableval" = yes; then
7354 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7356 ac_cv_use_slider
='wxUSE_SLIDER=no'
7361 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7362 if test "x$LINE" != x
; then
7363 eval "DEFAULT_$LINE"
7368 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7372 eval "$ac_cv_use_slider"
7373 if test "$no_cache" != 1; then
7374 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7377 if test "$wxUSE_SLIDER" = yes; then
7378 echo "$as_me:$LINENO: result: yes" >&5
7379 echo "${ECHO_T}yes" >&6
7381 echo "$as_me:$LINENO: result: no" >&5
7382 echo "${ECHO_T}no" >&6
7387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7388 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7390 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7391 if test "${enable_spinbtn+set}" = set; then
7392 enableval
="$enable_spinbtn"
7394 if test "$enableval" = yes; then
7395 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7397 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7402 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x
; then
7404 eval "DEFAULT_$LINE"
7409 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7413 eval "$ac_cv_use_spinbtn"
7414 if test "$no_cache" != 1; then
7415 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7418 if test "$wxUSE_SPINBTN" = yes; then
7419 echo "$as_me:$LINENO: result: yes" >&5
7420 echo "${ECHO_T}yes" >&6
7422 echo "$as_me:$LINENO: result: no" >&5
7423 echo "${ECHO_T}no" >&6
7428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7431 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7432 if test "${enable_spinctrl+set}" = set; then
7433 enableval
="$enable_spinctrl"
7435 if test "$enableval" = yes; then
7436 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7438 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7443 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7444 if test "x$LINE" != x
; then
7445 eval "DEFAULT_$LINE"
7450 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7454 eval "$ac_cv_use_spinctrl"
7455 if test "$no_cache" != 1; then
7456 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7459 if test "$wxUSE_SPINCTRL" = yes; then
7460 echo "$as_me:$LINENO: result: yes" >&5
7461 echo "${ECHO_T}yes" >&6
7463 echo "$as_me:$LINENO: result: no" >&5
7464 echo "${ECHO_T}no" >&6
7469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7470 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7472 # Check whether --enable-splitter or --disable-splitter was given.
7473 if test "${enable_splitter+set}" = set; then
7474 enableval
="$enable_splitter"
7476 if test "$enableval" = yes; then
7477 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7479 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7484 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x
; then
7486 eval "DEFAULT_$LINE"
7491 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7495 eval "$ac_cv_use_splitter"
7496 if test "$no_cache" != 1; then
7497 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7500 if test "$wxUSE_SPLITTER" = yes; then
7501 echo "$as_me:$LINENO: result: yes" >&5
7502 echo "${ECHO_T}yes" >&6
7504 echo "$as_me:$LINENO: result: no" >&5
7505 echo "${ECHO_T}no" >&6
7510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7511 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7513 # Check whether --enable-statbmp or --disable-statbmp was given.
7514 if test "${enable_statbmp+set}" = set; then
7515 enableval
="$enable_statbmp"
7517 if test "$enableval" = yes; then
7518 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7520 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7525 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x
; then
7527 eval "DEFAULT_$LINE"
7532 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7536 eval "$ac_cv_use_statbmp"
7537 if test "$no_cache" != 1; then
7538 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7541 if test "$wxUSE_STATBMP" = yes; then
7542 echo "$as_me:$LINENO: result: yes" >&5
7543 echo "${ECHO_T}yes" >&6
7545 echo "$as_me:$LINENO: result: no" >&5
7546 echo "${ECHO_T}no" >&6
7551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7552 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7554 # Check whether --enable-statbox or --disable-statbox was given.
7555 if test "${enable_statbox+set}" = set; then
7556 enableval
="$enable_statbox"
7558 if test "$enableval" = yes; then
7559 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7561 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7566 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x
; then
7568 eval "DEFAULT_$LINE"
7573 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7577 eval "$ac_cv_use_statbox"
7578 if test "$no_cache" != 1; then
7579 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7582 if test "$wxUSE_STATBOX" = yes; then
7583 echo "$as_me:$LINENO: result: yes" >&5
7584 echo "${ECHO_T}yes" >&6
7586 echo "$as_me:$LINENO: result: no" >&5
7587 echo "${ECHO_T}no" >&6
7592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7593 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7595 # Check whether --enable-statline or --disable-statline was given.
7596 if test "${enable_statline+set}" = set; then
7597 enableval
="$enable_statline"
7599 if test "$enableval" = yes; then
7600 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7602 ac_cv_use_statline
='wxUSE_STATLINE=no'
7607 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x
; then
7609 eval "DEFAULT_$LINE"
7614 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7618 eval "$ac_cv_use_statline"
7619 if test "$no_cache" != 1; then
7620 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7623 if test "$wxUSE_STATLINE" = yes; then
7624 echo "$as_me:$LINENO: result: yes" >&5
7625 echo "${ECHO_T}yes" >&6
7627 echo "$as_me:$LINENO: result: no" >&5
7628 echo "${ECHO_T}no" >&6
7633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7636 # Check whether --enable-stattext or --disable-stattext was given.
7637 if test "${enable_stattext+set}" = set; then
7638 enableval
="$enable_stattext"
7640 if test "$enableval" = yes; then
7641 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7643 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7648 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7649 if test "x$LINE" != x
; then
7650 eval "DEFAULT_$LINE"
7655 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7659 eval "$ac_cv_use_stattext"
7660 if test "$no_cache" != 1; then
7661 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7664 if test "$wxUSE_STATTEXT" = yes; then
7665 echo "$as_me:$LINENO: result: yes" >&5
7666 echo "${ECHO_T}yes" >&6
7668 echo "$as_me:$LINENO: result: no" >&5
7669 echo "${ECHO_T}no" >&6
7674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7675 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7677 # Check whether --enable-statusbar or --disable-statusbar was given.
7678 if test "${enable_statusbar+set}" = set; then
7679 enableval
="$enable_statusbar"
7681 if test "$enableval" = yes; then
7682 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7684 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7689 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7690 if test "x$LINE" != x
; then
7691 eval "DEFAULT_$LINE"
7696 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7700 eval "$ac_cv_use_statusbar"
7701 if test "$no_cache" != 1; then
7702 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7705 if test "$wxUSE_STATUSBAR" = yes; then
7706 echo "$as_me:$LINENO: result: yes" >&5
7707 echo "${ECHO_T}yes" >&6
7709 echo "$as_me:$LINENO: result: no" >&5
7710 echo "${ECHO_T}no" >&6
7715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7716 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7718 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7719 if test "${enable_tabdialog+set}" = set; then
7720 enableval
="$enable_tabdialog"
7722 if test "$enableval" = yes; then
7723 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7725 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7730 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7731 if test "x$LINE" != x
; then
7732 eval "DEFAULT_$LINE"
7737 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7741 eval "$ac_cv_use_tabdialog"
7742 if test "$no_cache" != 1; then
7743 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7746 if test "$wxUSE_TABDIALOG" = yes; then
7747 echo "$as_me:$LINENO: result: yes" >&5
7748 echo "${ECHO_T}yes" >&6
7750 echo "$as_me:$LINENO: result: no" >&5
7751 echo "${ECHO_T}no" >&6
7756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7759 # Check whether --enable-textctrl or --disable-textctrl was given.
7760 if test "${enable_textctrl+set}" = set; then
7761 enableval
="$enable_textctrl"
7763 if test "$enableval" = yes; then
7764 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7766 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7771 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x
; then
7773 eval "DEFAULT_$LINE"
7778 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7782 eval "$ac_cv_use_textctrl"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7787 if test "$wxUSE_TEXTCTRL" = yes; then
7788 echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7800 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7801 if test "${enable_togglebtn+set}" = set; then
7802 enableval
="$enable_togglebtn"
7804 if test "$enableval" = yes; then
7805 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7807 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7812 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x
; then
7814 eval "DEFAULT_$LINE"
7819 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7823 eval "$ac_cv_use_togglebtn"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7828 if test "$wxUSE_TOGGLEBTN" = yes; then
7829 echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7832 echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7841 # Check whether --enable-toolbar or --disable-toolbar was given.
7842 if test "${enable_toolbar+set}" = set; then
7843 enableval
="$enable_toolbar"
7845 if test "$enableval" = yes; then
7846 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7848 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7853 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7854 if test "x$LINE" != x
; then
7855 eval "DEFAULT_$LINE"
7860 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7864 eval "$ac_cv_use_toolbar"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7869 if test "$wxUSE_TOOLBAR" = yes; then
7870 echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6
7873 echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6
7879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7882 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7883 if test "${enable_tbarnative+set}" = set; then
7884 enableval
="$enable_tbarnative"
7886 if test "$enableval" = yes; then
7887 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7889 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7894 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7895 if test "x$LINE" != x
; then
7896 eval "DEFAULT_$LINE"
7901 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7905 eval "$ac_cv_use_tbarnative"
7906 if test "$no_cache" != 1; then
7907 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7910 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7911 echo "$as_me:$LINENO: result: yes" >&5
7912 echo "${ECHO_T}yes" >&6
7914 echo "$as_me:$LINENO: result: no" >&5
7915 echo "${ECHO_T}no" >&6
7920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7921 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7923 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7924 if test "${enable_tbarsmpl+set}" = set; then
7925 enableval
="$enable_tbarsmpl"
7927 if test "$enableval" = yes; then
7928 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7930 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7935 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7936 if test "x$LINE" != x
; then
7937 eval "DEFAULT_$LINE"
7942 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7946 eval "$ac_cv_use_tbarsmpl"
7947 if test "$no_cache" != 1; then
7948 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7951 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7952 echo "$as_me:$LINENO: result: yes" >&5
7953 echo "${ECHO_T}yes" >&6
7955 echo "$as_me:$LINENO: result: no" >&5
7956 echo "${ECHO_T}no" >&6
7961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7964 # Check whether --enable-treectrl or --disable-treectrl was given.
7965 if test "${enable_treectrl+set}" = set; then
7966 enableval
="$enable_treectrl"
7968 if test "$enableval" = yes; then
7969 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7971 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7976 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7977 if test "x$LINE" != x
; then
7978 eval "DEFAULT_$LINE"
7983 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7987 eval "$ac_cv_use_treectrl"
7988 if test "$no_cache" != 1; then
7989 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7992 if test "$wxUSE_TREECTRL" = yes; then
7993 echo "$as_me:$LINENO: result: yes" >&5
7994 echo "${ECHO_T}yes" >&6
7996 echo "$as_me:$LINENO: result: no" >&5
7997 echo "${ECHO_T}no" >&6
8002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8003 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8005 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8006 if test "${enable_tipwindow+set}" = set; then
8007 enableval
="$enable_tipwindow"
8009 if test "$enableval" = yes; then
8010 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8012 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8017 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8018 if test "x$LINE" != x
; then
8019 eval "DEFAULT_$LINE"
8024 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8028 eval "$ac_cv_use_tipwindow"
8029 if test "$no_cache" != 1; then
8030 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8033 if test "$wxUSE_TIPWINDOW" = yes; then
8034 echo "$as_me:$LINENO: result: yes" >&5
8035 echo "${ECHO_T}yes" >&6
8037 echo "$as_me:$LINENO: result: no" >&5
8038 echo "${ECHO_T}no" >&6
8043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8044 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8046 # Check whether --enable-popupwin or --disable-popupwin was given.
8047 if test "${enable_popupwin+set}" = set; then
8048 enableval
="$enable_popupwin"
8050 if test "$enableval" = yes; then
8051 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8053 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8058 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8059 if test "x$LINE" != x
; then
8060 eval "DEFAULT_$LINE"
8065 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8069 eval "$ac_cv_use_popupwin"
8070 if test "$no_cache" != 1; then
8071 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8074 if test "$wxUSE_POPUPWIN" = yes; then
8075 echo "$as_me:$LINENO: result: yes" >&5
8076 echo "${ECHO_T}yes" >&6
8078 echo "$as_me:$LINENO: result: no" >&5
8079 echo "${ECHO_T}no" >&6
8086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8089 # Check whether --enable-commondlg or --disable-commondlg was given.
8090 if test "${enable_commondlg+set}" = set; then
8091 enableval
="$enable_commondlg"
8093 if test "$enableval" = yes; then
8094 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8096 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8101 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8102 if test "x$LINE" != x
; then
8103 eval "DEFAULT_$LINE"
8108 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8112 eval "$ac_cv_use_commondlg"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8117 if test "$wxUSE_COMMONDLGS" = yes; then
8118 echo "$as_me:$LINENO: result: yes" >&5
8119 echo "${ECHO_T}yes" >&6
8121 echo "$as_me:$LINENO: result: no" >&5
8122 echo "${ECHO_T}no" >&6
8127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8130 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8131 if test "${enable_choicedlg+set}" = set; then
8132 enableval
="$enable_choicedlg"
8134 if test "$enableval" = yes; then
8135 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8137 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8142 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8143 if test "x$LINE" != x
; then
8144 eval "DEFAULT_$LINE"
8149 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8153 eval "$ac_cv_use_choicedlg"
8154 if test "$no_cache" != 1; then
8155 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8158 if test "$wxUSE_CHOICEDLG" = yes; then
8159 echo "$as_me:$LINENO: result: yes" >&5
8160 echo "${ECHO_T}yes" >&6
8162 echo "$as_me:$LINENO: result: no" >&5
8163 echo "${ECHO_T}no" >&6
8168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8171 # Check whether --enable-coldlg or --disable-coldlg was given.
8172 if test "${enable_coldlg+set}" = set; then
8173 enableval
="$enable_coldlg"
8175 if test "$enableval" = yes; then
8176 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8178 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8183 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8184 if test "x$LINE" != x
; then
8185 eval "DEFAULT_$LINE"
8190 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8194 eval "$ac_cv_use_coldlg"
8195 if test "$no_cache" != 1; then
8196 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8199 if test "$wxUSE_COLOURDLG" = yes; then
8200 echo "$as_me:$LINENO: result: yes" >&5
8201 echo "${ECHO_T}yes" >&6
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8210 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8212 # Check whether --enable-filedlg or --disable-filedlg was given.
8213 if test "${enable_filedlg+set}" = set; then
8214 enableval
="$enable_filedlg"
8216 if test "$enableval" = yes; then
8217 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8219 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8224 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8225 if test "x$LINE" != x
; then
8226 eval "DEFAULT_$LINE"
8231 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8235 eval "$ac_cv_use_filedlg"
8236 if test "$no_cache" != 1; then
8237 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8240 if test "$wxUSE_FILEDLG" = yes; then
8241 echo "$as_me:$LINENO: result: yes" >&5
8242 echo "${ECHO_T}yes" >&6
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8253 # Check whether --enable-finddlg or --disable-finddlg was given.
8254 if test "${enable_finddlg+set}" = set; then
8255 enableval
="$enable_finddlg"
8257 if test "$enableval" = yes; then
8258 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8260 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8265 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x
; then
8267 eval "DEFAULT_$LINE"
8272 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8276 eval "$ac_cv_use_finddlg"
8277 if test "$no_cache" != 1; then
8278 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8281 if test "$wxUSE_FINDREPLDLG" = yes; then
8282 echo "$as_me:$LINENO: result: yes" >&5
8283 echo "${ECHO_T}yes" >&6
8285 echo "$as_me:$LINENO: result: no" >&5
8286 echo "${ECHO_T}no" >&6
8291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8294 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8295 if test "${enable_fontdlg+set}" = set; then
8296 enableval
="$enable_fontdlg"
8298 if test "$enableval" = yes; then
8299 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8301 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8306 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x
; then
8308 eval "DEFAULT_$LINE"
8313 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8317 eval "$ac_cv_use_fontdlg"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8322 if test "$wxUSE_FONTDLG" = yes; then
8323 echo "$as_me:$LINENO: result: yes" >&5
8324 echo "${ECHO_T}yes" >&6
8326 echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6
8332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8335 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8336 if test "${enable_dirdlg+set}" = set; then
8337 enableval
="$enable_dirdlg"
8339 if test "$enableval" = yes; then
8340 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8342 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8347 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8348 if test "x$LINE" != x
; then
8349 eval "DEFAULT_$LINE"
8354 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8358 eval "$ac_cv_use_dirdlg"
8359 if test "$no_cache" != 1; then
8360 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8363 if test "$wxUSE_DIRDLG" = yes; then
8364 echo "$as_me:$LINENO: result: yes" >&5
8365 echo "${ECHO_T}yes" >&6
8367 echo "$as_me:$LINENO: result: no" >&5
8368 echo "${ECHO_T}no" >&6
8373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8376 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8377 if test "${enable_msgdlg+set}" = set; then
8378 enableval
="$enable_msgdlg"
8380 if test "$enableval" = yes; then
8381 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8383 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8388 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x
; then
8390 eval "DEFAULT_$LINE"
8395 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8399 eval "$ac_cv_use_msgdlg"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8404 if test "$wxUSE_MSGDLG" = yes; then
8405 echo "$as_me:$LINENO: result: yes" >&5
8406 echo "${ECHO_T}yes" >&6
8408 echo "$as_me:$LINENO: result: no" >&5
8409 echo "${ECHO_T}no" >&6
8414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8417 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8418 if test "${enable_numberdlg+set}" = set; then
8419 enableval
="$enable_numberdlg"
8421 if test "$enableval" = yes; then
8422 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8424 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8429 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8430 if test "x$LINE" != x
; then
8431 eval "DEFAULT_$LINE"
8436 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8440 eval "$ac_cv_use_numberdlg"
8441 if test "$no_cache" != 1; then
8442 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8445 if test "$wxUSE_NUMBERDLG" = yes; then
8446 echo "$as_me:$LINENO: result: yes" >&5
8447 echo "${ECHO_T}yes" >&6
8449 echo "$as_me:$LINENO: result: no" >&5
8450 echo "${ECHO_T}no" >&6
8455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8458 # Check whether --enable-splash or --disable-splash was given.
8459 if test "${enable_splash+set}" = set; then
8460 enableval
="$enable_splash"
8462 if test "$enableval" = yes; then
8463 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8465 ac_cv_use_splash
='wxUSE_SPLASH=no'
8470 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x
; then
8472 eval "DEFAULT_$LINE"
8477 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8481 eval "$ac_cv_use_splash"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8486 if test "$wxUSE_SPLASH" = yes; then
8487 echo "$as_me:$LINENO: result: yes" >&5
8488 echo "${ECHO_T}yes" >&6
8490 echo "$as_me:$LINENO: result: no" >&5
8491 echo "${ECHO_T}no" >&6
8496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8499 # Check whether --enable-textdlg or --disable-textdlg was given.
8500 if test "${enable_textdlg+set}" = set; then
8501 enableval
="$enable_textdlg"
8503 if test "$enableval" = yes; then
8504 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8506 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8511 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8512 if test "x$LINE" != x
; then
8513 eval "DEFAULT_$LINE"
8518 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8522 eval "$ac_cv_use_textdlg"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8527 if test "$wxUSE_TEXTDLG" = yes; then
8528 echo "$as_me:$LINENO: result: yes" >&5
8529 echo "${ECHO_T}yes" >&6
8531 echo "$as_me:$LINENO: result: no" >&5
8532 echo "${ECHO_T}no" >&6
8537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8540 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8541 if test "${enable_tipdlg+set}" = set; then
8542 enableval
="$enable_tipdlg"
8544 if test "$enableval" = yes; then
8545 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8547 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8552 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8553 if test "x$LINE" != x
; then
8554 eval "DEFAULT_$LINE"
8559 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8563 eval "$ac_cv_use_tipdlg"
8564 if test "$no_cache" != 1; then
8565 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8568 if test "$wxUSE_STARTUP_TIPS" = yes; then
8569 echo "$as_me:$LINENO: result: yes" >&5
8570 echo "${ECHO_T}yes" >&6
8572 echo "$as_me:$LINENO: result: no" >&5
8573 echo "${ECHO_T}no" >&6
8578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8581 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8582 if test "${enable_progressdlg+set}" = set; then
8583 enableval
="$enable_progressdlg"
8585 if test "$enableval" = yes; then
8586 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8588 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8593 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8594 if test "x$LINE" != x
; then
8595 eval "DEFAULT_$LINE"
8600 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8604 eval "$ac_cv_use_progressdlg"
8605 if test "$no_cache" != 1; then
8606 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8609 if test "$wxUSE_PROGRESSDLG" = yes; then
8610 echo "$as_me:$LINENO: result: yes" >&5
8611 echo "${ECHO_T}yes" >&6
8613 echo "$as_me:$LINENO: result: no" >&5
8614 echo "${ECHO_T}no" >&6
8619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8622 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8623 if test "${enable_wizarddlg+set}" = set; then
8624 enableval
="$enable_wizarddlg"
8626 if test "$enableval" = yes; then
8627 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8629 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8634 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x
; then
8636 eval "DEFAULT_$LINE"
8641 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8645 eval "$ac_cv_use_wizarddlg"
8646 if test "$no_cache" != 1; then
8647 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8650 if test "$wxUSE_WIZARDDLG" = yes; then
8651 echo "$as_me:$LINENO: result: yes" >&5
8652 echo "${ECHO_T}yes" >&6
8654 echo "$as_me:$LINENO: result: no" >&5
8655 echo "${ECHO_T}no" >&6
8662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8665 # Check whether --enable-menus or --disable-menus was given.
8666 if test "${enable_menus+set}" = set; then
8667 enableval
="$enable_menus"
8669 if test "$enableval" = yes; then
8670 ac_cv_use_menus
='wxUSE_MENUS=yes'
8672 ac_cv_use_menus
='wxUSE_MENUS=no'
8677 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8678 if test "x$LINE" != x
; then
8679 eval "DEFAULT_$LINE"
8684 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8688 eval "$ac_cv_use_menus"
8689 if test "$no_cache" != 1; then
8690 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8693 if test "$wxUSE_MENUS" = yes; then
8694 echo "$as_me:$LINENO: result: yes" >&5
8695 echo "${ECHO_T}yes" >&6
8697 echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6
8703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8704 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8706 # Check whether --enable-miniframe or --disable-miniframe was given.
8707 if test "${enable_miniframe+set}" = set; then
8708 enableval
="$enable_miniframe"
8710 if test "$enableval" = yes; then
8711 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8713 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8718 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8719 if test "x$LINE" != x
; then
8720 eval "DEFAULT_$LINE"
8725 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8729 eval "$ac_cv_use_miniframe"
8730 if test "$no_cache" != 1; then
8731 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8734 if test "$wxUSE_MINIFRAME" = yes; then
8735 echo "$as_me:$LINENO: result: yes" >&5
8736 echo "${ECHO_T}yes" >&6
8738 echo "$as_me:$LINENO: result: no" >&5
8739 echo "${ECHO_T}no" >&6
8744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8745 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8747 # Check whether --enable-tooltips or --disable-tooltips was given.
8748 if test "${enable_tooltips+set}" = set; then
8749 enableval
="$enable_tooltips"
8751 if test "$enableval" = yes; then
8752 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8754 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8759 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8760 if test "x$LINE" != x
; then
8761 eval "DEFAULT_$LINE"
8766 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8770 eval "$ac_cv_use_tooltips"
8771 if test "$no_cache" != 1; then
8772 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8775 if test "$wxUSE_TOOLTIPS" = yes; then
8776 echo "$as_me:$LINENO: result: yes" >&5
8777 echo "${ECHO_T}yes" >&6
8779 echo "$as_me:$LINENO: result: no" >&5
8780 echo "${ECHO_T}no" >&6
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8788 # Check whether --enable-splines or --disable-splines was given.
8789 if test "${enable_splines+set}" = set; then
8790 enableval
="$enable_splines"
8792 if test "$enableval" = yes; then
8793 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8795 ac_cv_use_splines
='wxUSE_SPLINES=no'
8800 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x
; then
8802 eval "DEFAULT_$LINE"
8807 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8811 eval "$ac_cv_use_splines"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8816 if test "$wxUSE_SPLINES" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8829 # Check whether --enable-validators or --disable-validators was given.
8830 if test "${enable_validators+set}" = set; then
8831 enableval
="$enable_validators"
8833 if test "$enableval" = yes; then
8834 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8836 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8841 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x
; then
8843 eval "DEFAULT_$LINE"
8848 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8852 eval "$ac_cv_use_validators"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8857 if test "$wxUSE_VALIDATORS" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8870 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8871 if test "${enable_busyinfo+set}" = set; then
8872 enableval
="$enable_busyinfo"
8874 if test "$enableval" = yes; then
8875 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8877 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8882 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x
; then
8884 eval "DEFAULT_$LINE"
8889 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8893 eval "$ac_cv_use_busyinfo"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8898 if test "$wxUSE_BUSYINFO" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8911 # Check whether --enable-joystick or --disable-joystick was given.
8912 if test "${enable_joystick+set}" = set; then
8913 enableval
="$enable_joystick"
8915 if test "$enableval" = yes; then
8916 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8918 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8923 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x
; then
8925 eval "DEFAULT_$LINE"
8930 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8934 eval "$ac_cv_use_joystick"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8939 if test "$wxUSE_JOYSTICK" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8952 # Check whether --enable-metafile or --disable-metafile was given.
8953 if test "${enable_metafile+set}" = set; then
8954 enableval
="$enable_metafile"
8956 if test "$enableval" = yes; then
8957 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8959 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8964 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x
; then
8966 eval "DEFAULT_$LINE"
8971 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8975 eval "$ac_cv_use_metafile"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8980 if test "$wxUSE_METAFILE" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
8993 # Check whether --enable-dragimage or --disable-dragimage was given.
8994 if test "${enable_dragimage+set}" = set; then
8995 enableval
="$enable_dragimage"
8997 if test "$enableval" = yes; then
8998 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9000 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9005 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x
; then
9007 eval "DEFAULT_$LINE"
9012 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9016 eval "$ac_cv_use_dragimage"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9021 if test "$wxUSE_DRAGIMAGE" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9034 # Check whether --enable-accessibility or --disable-accessibility was given.
9035 if test "${enable_accessibility+set}" = set; then
9036 enableval
="$enable_accessibility"
9038 if test "$enableval" = yes; then
9039 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9041 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9046 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x
; then
9048 eval "DEFAULT_$LINE"
9053 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9057 eval "$ac_cv_use_accessibility"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9062 if test "$wxUSE_ACCESSIBILITY" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9077 # Check whether --enable-palette or --disable-palette was given.
9078 if test "${enable_palette+set}" = set; then
9079 enableval
="$enable_palette"
9081 if test "$enableval" = yes; then
9082 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9084 ac_cv_use_palette
='wxUSE_PALETTE=no'
9089 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9090 if test "x$LINE" != x
; then
9091 eval "DEFAULT_$LINE"
9096 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9100 eval "$ac_cv_use_palette"
9101 if test "$no_cache" != 1; then
9102 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9105 if test "$wxUSE_PALETTE" = yes; then
9106 echo "$as_me:$LINENO: result: yes" >&5
9107 echo "${ECHO_T}yes" >&6
9109 echo "$as_me:$LINENO: result: no" >&5
9110 echo "${ECHO_T}no" >&6
9115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9116 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9118 # Check whether --enable-image or --disable-image was given.
9119 if test "${enable_image+set}" = set; then
9120 enableval
="$enable_image"
9122 if test "$enableval" = yes; then
9123 ac_cv_use_image
='wxUSE_IMAGE=yes'
9125 ac_cv_use_image
='wxUSE_IMAGE=no'
9130 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9131 if test "x$LINE" != x
; then
9132 eval "DEFAULT_$LINE"
9137 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9141 eval "$ac_cv_use_image"
9142 if test "$no_cache" != 1; then
9143 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9146 if test "$wxUSE_IMAGE" = yes; then
9147 echo "$as_me:$LINENO: result: yes" >&5
9148 echo "${ECHO_T}yes" >&6
9150 echo "$as_me:$LINENO: result: no" >&5
9151 echo "${ECHO_T}no" >&6
9156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9159 # Check whether --enable-gif or --disable-gif was given.
9160 if test "${enable_gif+set}" = set; then
9161 enableval
="$enable_gif"
9163 if test "$enableval" = yes; then
9164 ac_cv_use_gif
='wxUSE_GIF=yes'
9166 ac_cv_use_gif
='wxUSE_GIF=no'
9171 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9172 if test "x$LINE" != x
; then
9173 eval "DEFAULT_$LINE"
9178 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9182 eval "$ac_cv_use_gif"
9183 if test "$no_cache" != 1; then
9184 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9187 if test "$wxUSE_GIF" = yes; then
9188 echo "$as_me:$LINENO: result: yes" >&5
9189 echo "${ECHO_T}yes" >&6
9191 echo "$as_me:$LINENO: result: no" >&5
9192 echo "${ECHO_T}no" >&6
9197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9200 # Check whether --enable-pcx or --disable-pcx was given.
9201 if test "${enable_pcx+set}" = set; then
9202 enableval
="$enable_pcx"
9204 if test "$enableval" = yes; then
9205 ac_cv_use_pcx
='wxUSE_PCX=yes'
9207 ac_cv_use_pcx
='wxUSE_PCX=no'
9212 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9213 if test "x$LINE" != x
; then
9214 eval "DEFAULT_$LINE"
9219 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9223 eval "$ac_cv_use_pcx"
9224 if test "$no_cache" != 1; then
9225 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9228 if test "$wxUSE_PCX" = yes; then
9229 echo "$as_me:$LINENO: result: yes" >&5
9230 echo "${ECHO_T}yes" >&6
9232 echo "$as_me:$LINENO: result: no" >&5
9233 echo "${ECHO_T}no" >&6
9238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9239 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9241 # Check whether --enable-iff or --disable-iff was given.
9242 if test "${enable_iff+set}" = set; then
9243 enableval
="$enable_iff"
9245 if test "$enableval" = yes; then
9246 ac_cv_use_iff
='wxUSE_IFF=yes'
9248 ac_cv_use_iff
='wxUSE_IFF=no'
9253 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9254 if test "x$LINE" != x
; then
9255 eval "DEFAULT_$LINE"
9260 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9264 eval "$ac_cv_use_iff"
9265 if test "$no_cache" != 1; then
9266 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9269 if test "$wxUSE_IFF" = yes; then
9270 echo "$as_me:$LINENO: result: yes" >&5
9271 echo "${ECHO_T}yes" >&6
9273 echo "$as_me:$LINENO: result: no" >&5
9274 echo "${ECHO_T}no" >&6
9279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9282 # Check whether --enable-pnm or --disable-pnm was given.
9283 if test "${enable_pnm+set}" = set; then
9284 enableval
="$enable_pnm"
9286 if test "$enableval" = yes; then
9287 ac_cv_use_pnm
='wxUSE_PNM=yes'
9289 ac_cv_use_pnm
='wxUSE_PNM=no'
9294 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9295 if test "x$LINE" != x
; then
9296 eval "DEFAULT_$LINE"
9301 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9305 eval "$ac_cv_use_pnm"
9306 if test "$no_cache" != 1; then
9307 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9310 if test "$wxUSE_PNM" = yes; then
9311 echo "$as_me:$LINENO: result: yes" >&5
9312 echo "${ECHO_T}yes" >&6
9314 echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6
9320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9323 # Check whether --enable-xpm or --disable-xpm was given.
9324 if test "${enable_xpm+set}" = set; then
9325 enableval
="$enable_xpm"
9327 if test "$enableval" = yes; then
9328 ac_cv_use_xpm
='wxUSE_XPM=yes'
9330 ac_cv_use_xpm
='wxUSE_XPM=no'
9335 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9336 if test "x$LINE" != x
; then
9337 eval "DEFAULT_$LINE"
9342 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9346 eval "$ac_cv_use_xpm"
9347 if test "$no_cache" != 1; then
9348 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9351 if test "$wxUSE_XPM" = yes; then
9352 echo "$as_me:$LINENO: result: yes" >&5
9353 echo "${ECHO_T}yes" >&6
9355 echo "$as_me:$LINENO: result: no" >&5
9356 echo "${ECHO_T}no" >&6
9361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9364 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9365 if test "${enable_ico_cur+set}" = set; then
9366 enableval
="$enable_ico_cur"
9368 if test "$enableval" = yes; then
9369 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9371 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9376 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9377 if test "x$LINE" != x
; then
9378 eval "DEFAULT_$LINE"
9383 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9387 eval "$ac_cv_use_ico_cur"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9392 if test "$wxUSE_ICO_CUR" = yes; then
9393 echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6
9396 echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6
9404 *-pc-os2_emx | *-pc-os2-emx )
9416 echo "saving argument cache $wx_arg_cache_file"
9417 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9421 echo "$as_me:$LINENO: checking for toolkit" >&5
9422 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9424 # In Wine, we need to default to MSW, not GTK or MOTIF
9425 if test "$wxUSE_WINE" = "yes"; then
9426 DEFAULT_DEFAULT_wxUSE_GTK
=0
9427 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9428 DEFAULT_DEFAULT_wxUSE_MSW
=1
9431 if test "$wxUSE_GUI" = "yes"; then
9433 if test "$USE_BEOS" = 1; then
9434 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9435 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9436 { (exit 1); exit 1; }; }
9439 if test "$TOOLKIT_GIVEN" = 1; then
9440 for toolkit
in `echo $ALL_TOOLKITS`; do
9442 eval "value=\$${var}"
9443 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9446 for toolkit
in `echo $ALL_TOOLKITS`; do
9447 if test "$has_toolkit_in_cache" != 1; then
9448 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9450 var
=DEFAULT_wxUSE_
$toolkit
9452 eval "wxUSE_$toolkit=\$${var}"
9456 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9457 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9458 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9461 *-pc-os2_emx | *-pc-os2-emx )
9462 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9465 case "$NUM_TOOLKITS" in
9469 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9470 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9471 { (exit 1); exit 1; }; }
9474 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9475 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9476 { (exit 1); exit 1; }; }
9479 for toolkit
in `echo $ALL_TOOLKITS`; do
9481 eval "value=\$${var}"
9482 if test "x$value" != x
; then
9483 cache_var
=CACHE_
$toolkit
9484 eval "cache=\$${cache_var}"
9485 if test "$cache" = 1; then
9486 echo "$var=$value" >> ${wx_arg_cache_file}
9488 if test "$value" = 1; then
9489 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
9490 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9491 echo "${ECHO_T}$toolkit_echo" >&6
9496 if test "x$host_alias" != "x"; then
9497 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9498 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9500 echo "$as_me:$LINENO: result: base only" >&5
9501 echo "${ECHO_T}base only" >&6
9509 if test "$wxUSE_MSW" = 1 ; then
9520 if test "$wxUSE_WINE" = "yes"; then
9527 if test "$wants_win32" = 1 ; then
9530 cat >>confdefs.h
<<\_ACEOF
9534 cat >>confdefs.h
<<\_ACEOF
9538 cat >>confdefs.h
<<\_ACEOF
9539 #define __WINDOWS__ 1
9542 cat >>confdefs.h
<<\_ACEOF
9543 #define __GNUWIN32__ 1
9546 cat >>confdefs.h
<<\_ACEOF
9550 cat >>confdefs.h
<<\_ACEOF
9551 #define WINVER 0x0400
9555 if test "$doesnt_want_win32" = 1 ; then
9560 if test "$USE_UNIX" = 1 ; then
9562 cat >>confdefs.h
<<\_ACEOF
9569 cat >confcache
<<\_ACEOF
9570 # This file is a shell script that caches the results of configure
9571 # tests run on this system so they can be shared between configure
9572 # scripts and configure runs, see configure's option --config-cache.
9573 # It is not useful on other systems. If it contains results you don't
9574 # want to keep, you may remove or edit it.
9576 # config.status only pays attention to the cache file if you give it
9577 # the --recheck option to rerun configure.
9579 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9580 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9585 # The following way of writing the cache mishandles newlines in values,
9586 # but we know of no workaround that is simple, portable, and efficient.
9587 # So, don't put newlines in cache variables' values.
9588 # Ultrix sh set writes to stderr and can't be redirected directly,
9589 # and sets the high bit in the cache file unless we assign to the vars.
9592 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9594 # `set' does not quote correctly, so add quotes (double-quote
9595 # substitution turns \\\\ into \\, and sed turns \\ into \).
9598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9601 # `set' quotes correctly as required by POSIX, so do not add quotes.
9603 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9610 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9612 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9614 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9615 if test -w $cache_file; then
9616 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9617 cat confcache
>$cache_file
9619 echo "not updating unwritable cache $cache_file"
9624 if test "$build" != "$host" ; then
9625 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9629 RANLIB
=$host_alias-ranlib
9630 DLLTOOL
=$host_alias-dlltool
9631 RESCOMP
=$host_alias-windres
9634 STRIP
=$host_alias-strip
9636 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9637 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9638 { (exit 1); exit 1; }; }
9644 ac_cpp
='$CPP $CPPFLAGS'
9645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9648 if test -n "$ac_tool_prefix"; then
9649 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9650 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9651 echo "$as_me:$LINENO: checking for $ac_word" >&5
9652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9653 if test "${ac_cv_prog_CC+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 if test -n "$CC"; then
9657 ac_cv_prog_CC
="$CC" # Let the user override the test.
9659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9663 test -z "$as_dir" && as_dir
=.
9664 for ac_exec_ext
in '' $ac_executable_extensions; do
9665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9666 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9676 if test -n "$CC"; then
9677 echo "$as_me:$LINENO: result: $CC" >&5
9678 echo "${ECHO_T}$CC" >&6
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9685 if test -z "$ac_cv_prog_CC"; then
9687 # Extract the first word of "gcc", so it can be a program name with args.
9688 set dummy gcc
; ac_word
=$2
9689 echo "$as_me:$LINENO: checking for $ac_word" >&5
9690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9691 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 if test -n "$ac_ct_CC"; then
9695 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9701 test -z "$as_dir" && as_dir
=.
9702 for ac_exec_ext
in '' $ac_executable_extensions; do
9703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9704 ac_cv_prog_ac_ct_CC
="gcc"
9705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9713 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9714 if test -n "$ac_ct_CC"; then
9715 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9716 echo "${ECHO_T}$ac_ct_CC" >&6
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9727 if test -z "$CC"; then
9728 if test -n "$ac_tool_prefix"; then
9729 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9730 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9731 echo "$as_me:$LINENO: checking for $ac_word" >&5
9732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9733 if test "${ac_cv_prog_CC+set}" = set; then
9734 echo $ECHO_N "(cached) $ECHO_C" >&6
9736 if test -n "$CC"; then
9737 ac_cv_prog_CC
="$CC" # Let the user override the test.
9739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9743 test -z "$as_dir" && as_dir
=.
9744 for ac_exec_ext
in '' $ac_executable_extensions; do
9745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9746 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9756 if test -n "$CC"; then
9757 echo "$as_me:$LINENO: result: $CC" >&5
9758 echo "${ECHO_T}$CC" >&6
9760 echo "$as_me:$LINENO: result: no" >&5
9761 echo "${ECHO_T}no" >&6
9765 if test -z "$ac_cv_prog_CC"; then
9767 # Extract the first word of "cc", so it can be a program name with args.
9768 set dummy cc
; ac_word
=$2
9769 echo "$as_me:$LINENO: checking for $ac_word" >&5
9770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9772 echo $ECHO_N "(cached) $ECHO_C" >&6
9774 if test -n "$ac_ct_CC"; then
9775 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9781 test -z "$as_dir" && as_dir
=.
9782 for ac_exec_ext
in '' $ac_executable_extensions; do
9783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9784 ac_cv_prog_ac_ct_CC
="cc"
9785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9793 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9794 if test -n "$ac_ct_CC"; then
9795 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9796 echo "${ECHO_T}$ac_ct_CC" >&6
9798 echo "$as_me:$LINENO: result: no" >&5
9799 echo "${ECHO_T}no" >&6
9808 if test -z "$CC"; then
9809 # Extract the first word of "cc", so it can be a program name with args.
9810 set dummy cc
; ac_word
=$2
9811 echo "$as_me:$LINENO: checking for $ac_word" >&5
9812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9813 if test "${ac_cv_prog_CC+set}" = set; then
9814 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 if test -n "$CC"; then
9817 ac_cv_prog_CC
="$CC" # Let the user override the test.
9820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9824 test -z "$as_dir" && as_dir
=.
9825 for ac_exec_ext
in '' $ac_executable_extensions; do
9826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9827 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9828 ac_prog_rejected
=yes
9832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9838 if test $ac_prog_rejected = yes; then
9839 # We found a bogon in the path, so make sure we never use it.
9840 set dummy
$ac_cv_prog_CC
9842 if test $# != 0; then
9843 # We chose a different compiler from the bogus one.
9844 # However, it has the same basename, so the bogon will be chosen
9845 # first if we set CC to just the basename; use the full file name.
9847 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9853 if test -n "$CC"; then
9854 echo "$as_me:$LINENO: result: $CC" >&5
9855 echo "${ECHO_T}$CC" >&6
9857 echo "$as_me:$LINENO: result: no" >&5
9858 echo "${ECHO_T}no" >&6
9862 if test -z "$CC"; then
9863 if test -n "$ac_tool_prefix"; then
9866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9867 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9868 echo "$as_me:$LINENO: checking for $ac_word" >&5
9869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9870 if test "${ac_cv_prog_CC+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 if test -n "$CC"; then
9874 ac_cv_prog_CC
="$CC" # Let the user override the test.
9876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9880 test -z "$as_dir" && as_dir
=.
9881 for ac_exec_ext
in '' $ac_executable_extensions; do
9882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9883 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9893 if test -n "$CC"; then
9894 echo "$as_me:$LINENO: result: $CC" >&5
9895 echo "${ECHO_T}$CC" >&6
9897 echo "$as_me:$LINENO: result: no" >&5
9898 echo "${ECHO_T}no" >&6
9901 test -n "$CC" && break
9904 if test -z "$CC"; then
9908 # Extract the first word of "$ac_prog", so it can be a program name with args.
9909 set dummy
$ac_prog; ac_word
=$2
9910 echo "$as_me:$LINENO: checking for $ac_word" >&5
9911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9912 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9913 echo $ECHO_N "(cached) $ECHO_C" >&6
9915 if test -n "$ac_ct_CC"; then
9916 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9922 test -z "$as_dir" && as_dir
=.
9923 for ac_exec_ext
in '' $ac_executable_extensions; do
9924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9925 ac_cv_prog_ac_ct_CC
="$ac_prog"
9926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9934 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9935 if test -n "$ac_ct_CC"; then
9936 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9937 echo "${ECHO_T}$ac_ct_CC" >&6
9939 echo "$as_me:$LINENO: result: no" >&5
9940 echo "${ECHO_T}no" >&6
9943 test -n "$ac_ct_CC" && break
9952 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9953 See \`config.log' for more details." >&5
9954 echo "$as_me: error: no acceptable C compiler found in \$PATH
9955 See \`config.log' for more details." >&2;}
9956 { (exit 1); exit 1; }; }
9958 # Provide some information about the compiler.
9959 echo "$as_me:$LINENO:" \
9960 "checking for C compiler version" >&5
9961 ac_compiler
=`set X $ac_compile; echo $2`
9962 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9963 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }
9967 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9968 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); }
9972 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9973 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); }
9978 cat >conftest.
$ac_ext <<_ACEOF
9979 #line $LINENO "configure"
9982 cat confdefs.h
>>conftest.
$ac_ext
9983 cat >>conftest.
$ac_ext <<_ACEOF
9984 /* end confdefs.h. */
9994 ac_clean_files_save
=$ac_clean_files
9995 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
9996 # Try to create an executable without -o first, disregard a.out.
9997 # It will help us diagnose broken compilers, and finding out an intuition
9999 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10000 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10001 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10002 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10003 (eval $ac_link_default) 2>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }; then
10007 # Find the output, starting from the most likely. This scheme is
10008 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10011 # Be careful to initialize this variable, since it used to be cached.
10012 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10014 # b.out is created by i960 compilers.
10015 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10017 test -f "$ac_file" || continue
10019 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10022 # This is the source file.
10025 # We found the default executable, but exeext='' is most
10029 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10030 # FIXME: I believe we export ac_cv_exeext for Libtool,
10031 # but it would be cool to find out if it's true. Does anybody
10032 # maintain Libtool? --akim.
10033 export ac_cv_exeext
10040 echo "$as_me: failed program was:" >&5
10041 sed 's/^/| /' conftest.
$ac_ext >&5
10043 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10044 See \`config.log' for more details." >&5
10045 echo "$as_me: error: C compiler cannot create executables
10046 See \`config.log' for more details." >&2;}
10047 { (exit 77); exit 77; }; }
10050 ac_exeext
=$ac_cv_exeext
10051 echo "$as_me:$LINENO: result: $ac_file" >&5
10052 echo "${ECHO_T}$ac_file" >&6
10054 # Check the compiler produces executables we can run. If not, either
10055 # the compiler is broken, or we cross compile.
10056 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10057 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10058 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10059 # If not cross compiling, check that we can run a simple program.
10060 if test "$cross_compiling" != yes; then
10061 if { ac_try
='./$ac_file'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; }; then
10069 if test "$cross_compiling" = maybe
; then
10070 cross_compiling
=yes
10072 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10073 If you meant to cross compile, use \`--host'.
10074 See \`config.log' for more details." >&5
10075 echo "$as_me: error: cannot run C compiled programs.
10076 If you meant to cross compile, use \`--host'.
10077 See \`config.log' for more details." >&2;}
10078 { (exit 1); exit 1; }; }
10082 echo "$as_me:$LINENO: result: yes" >&5
10083 echo "${ECHO_T}yes" >&6
10085 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10086 ac_clean_files
=$ac_clean_files_save
10087 # Check the compiler produces executables we can run. If not, either
10088 # the compiler is broken, or we cross compile.
10089 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10090 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10091 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10092 echo "${ECHO_T}$cross_compiling" >&6
10094 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10095 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10097 (eval $ac_link) 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; then
10101 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10102 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10103 # work properly (i.e., refer to `conftest.exe'), while it won't with
10105 for ac_file
in conftest.exe conftest conftest.
*; do
10106 test -f "$ac_file" || continue
10108 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10109 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10110 export ac_cv_exeext
10116 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10117 See \`config.log' for more details." >&5
10118 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10119 See \`config.log' for more details." >&2;}
10120 { (exit 1); exit 1; }; }
10123 rm -f conftest
$ac_cv_exeext
10124 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10125 echo "${ECHO_T}$ac_cv_exeext" >&6
10127 rm -f conftest.
$ac_ext
10128 EXEEXT
=$ac_cv_exeext
10130 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10131 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10132 if test "${ac_cv_objext+set}" = set; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 cat >conftest.
$ac_ext <<_ACEOF
10136 #line $LINENO "configure"
10139 cat confdefs.h
>>conftest.
$ac_ext
10140 cat >>conftest.
$ac_ext <<_ACEOF
10141 /* end confdefs.h. */
10151 rm -f conftest.o conftest.obj
10152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10153 (eval $ac_compile) 2>&5
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); }; then
10157 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10159 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10160 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10165 echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.
$ac_ext >&5
10168 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10169 See \`config.log' for more details." >&5
10170 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10171 See \`config.log' for more details." >&2;}
10172 { (exit 1); exit 1; }; }
10175 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10177 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10178 echo "${ECHO_T}$ac_cv_objext" >&6
10179 OBJEXT
=$ac_cv_objext
10181 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10182 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10183 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10184 echo $ECHO_N "(cached) $ECHO_C" >&6
10186 cat >conftest.
$ac_ext <<_ACEOF
10187 #line $LINENO "configure"
10190 cat confdefs.h
>>conftest.
$ac_ext
10191 cat >>conftest.
$ac_ext <<_ACEOF
10192 /* end confdefs.h. */
10205 rm -f conftest.
$ac_objext
10206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10207 (eval $ac_compile) 2>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); } &&
10211 { ac_try
='test -s conftest.$ac_objext'
10212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10213 (eval $ac_try) 2>&5
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); }; }; then
10217 ac_compiler_gnu
=yes
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.
$ac_ext >&5
10224 rm -f conftest.
$ac_objext conftest.
$ac_ext
10225 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10228 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10229 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10230 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10231 ac_test_CFLAGS
=${CFLAGS+set}
10232 ac_save_CFLAGS
=$CFLAGS
10234 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10235 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10236 if test "${ac_cv_prog_cc_g+set}" = set; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10239 cat >conftest.
$ac_ext <<_ACEOF
10240 #line $LINENO "configure"
10243 cat confdefs.h
>>conftest.
$ac_ext
10244 cat >>conftest.
$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10255 rm -f conftest.
$ac_objext
10256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10257 (eval $ac_compile) 2>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); } &&
10261 { ac_try
='test -s conftest.$ac_objext'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; }; then
10267 ac_cv_prog_cc_g
=yes
10269 echo "$as_me: failed program was:" >&5
10270 sed 's/^/| /' conftest.
$ac_ext >&5
10274 rm -f conftest.
$ac_objext conftest.
$ac_ext
10276 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10277 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10278 if test "$ac_test_CFLAGS" = set; then
10279 CFLAGS
=$ac_save_CFLAGS
10280 elif test $ac_cv_prog_cc_g = yes; then
10281 if test "$GCC" = yes; then
10287 if test "$GCC" = yes; then
10293 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10294 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10295 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10296 echo $ECHO_N "(cached) $ECHO_C" >&6
10298 ac_cv_prog_cc_stdc
=no
10300 cat >conftest.
$ac_ext <<_ACEOF
10301 #line $LINENO "configure"
10304 cat confdefs.h
>>conftest.
$ac_ext
10305 cat >>conftest.
$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10307 #include <stdarg.h>
10309 #include <sys/types.h>
10310 #include <sys/stat.h>
10311 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10312 struct buf { int x; };
10313 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10314 static char *e (p, i)
10320 static char *f (char * (*g) (char **, int), char **p, ...)
10325 s = g (p, va_arg (v,int));
10329 int test (int i, double x);
10330 struct s1 {int (*f) (int a);};
10331 struct s2 {int (*f) (double a);};
10332 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10338 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10343 # Don't try gcc -ansi; that turns off useful extensions and
10344 # breaks some systems' header files.
10345 # AIX -qlanglvl=ansi
10346 # Ultrix and OSF/1 -std1
10347 # HP-UX 10.20 and later -Ae
10348 # HP-UX older versions -Aa -D_HPUX_SOURCE
10349 # SVR4 -Xc -D__EXTENSIONS__
10350 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10352 CC
="$ac_save_CC $ac_arg"
10353 rm -f conftest.
$ac_objext
10354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10355 (eval $ac_compile) 2>&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); } &&
10359 { ac_try
='test -s conftest.$ac_objext'
10360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10361 (eval $ac_try) 2>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; }; then
10365 ac_cv_prog_cc_stdc
=$ac_arg
10368 echo "$as_me: failed program was:" >&5
10369 sed 's/^/| /' conftest.
$ac_ext >&5
10372 rm -f conftest.
$ac_objext
10374 rm -f conftest.
$ac_ext conftest.
$ac_objext
10379 case "x$ac_cv_prog_cc_stdc" in
10381 echo "$as_me:$LINENO: result: none needed" >&5
10382 echo "${ECHO_T}none needed" >&6 ;;
10384 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10385 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10386 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10389 # Some people use a C++ compiler to compile C. Since we use `exit',
10390 # in C++ we need to declare it. In case someone uses the same compiler
10391 # for both compiling C and C++ we need to have the C++ compiler decide
10392 # the declaration of exit, since it's the most demanding environment.
10393 cat >conftest.
$ac_ext <<_ACEOF
10394 #ifndef __cplusplus
10398 rm -f conftest.
$ac_objext
10399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10400 (eval $ac_compile) 2>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } &&
10404 { ac_try
='test -s conftest.$ac_objext'
10405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10406 (eval $ac_try) 2>&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); }; }; then
10410 for ac_declaration
in \
10412 '#include <stdlib.h>' \
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. */
10426 #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 '#include <stdlib.h>' \
11054 'extern "C" void std::exit (int) throw (); using std::exit;' \
11055 'extern "C" void std::exit (int); using std::exit;' \
11056 'extern "C" void exit (int) throw ();' \
11057 'extern "C" void exit (int);' \
11060 cat >conftest.
$ac_ext <<_ACEOF
11061 #line $LINENO "configure"
11064 cat confdefs.h
>>conftest.
$ac_ext
11065 cat >>conftest.
$ac_ext <<_ACEOF
11066 /* end confdefs.h. */
11067 #include <stdlib.h>
11077 rm -f conftest.
$ac_objext
11078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11079 (eval $ac_compile) 2>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); } &&
11083 { ac_try
='test -s conftest.$ac_objext'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; }; then
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.
$ac_ext >&5
11096 rm -f conftest.
$ac_objext conftest.
$ac_ext
11097 cat >conftest.
$ac_ext <<_ACEOF
11098 #line $LINENO "configure"
11101 cat confdefs.h
>>conftest.
$ac_ext
11102 cat >>conftest.
$ac_ext <<_ACEOF
11103 /* end confdefs.h. */
11113 rm -f conftest.
$ac_objext
11114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11115 (eval $ac_compile) 2>&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); } &&
11119 { ac_try
='test -s conftest.$ac_objext'
11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 (eval $ac_try) 2>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; }; then
11127 echo "$as_me: failed program was:" >&5
11128 sed 's/^/| /' conftest.
$ac_ext >&5
11131 rm -f conftest.
$ac_objext conftest.
$ac_ext
11134 if test -n "$ac_declaration"; then
11135 echo '#ifdef __cplusplus' >>confdefs.h
11136 echo $ac_declaration >>confdefs.h
11137 echo '#endif' >>confdefs.h
11141 ac_cpp
='$CXXCPP $CPPFLAGS'
11142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11148 ac_cpp
='$CPP $CPPFLAGS'
11149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11154 if test -n "$ac_tool_prefix"; then
11155 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11156 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11157 echo "$as_me:$LINENO: checking for $ac_word" >&5
11158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11159 if test "${ac_cv_prog_RANLIB+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11162 if test -n "$RANLIB"; then
11163 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11166 for as_dir
in $PATH
11169 test -z "$as_dir" && as_dir
=.
11170 for ac_exec_ext
in '' $ac_executable_extensions; do
11171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11172 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11181 RANLIB
=$ac_cv_prog_RANLIB
11182 if test -n "$RANLIB"; then
11183 echo "$as_me:$LINENO: result: $RANLIB" >&5
11184 echo "${ECHO_T}$RANLIB" >&6
11186 echo "$as_me:$LINENO: result: no" >&5
11187 echo "${ECHO_T}no" >&6
11191 if test -z "$ac_cv_prog_RANLIB"; then
11192 ac_ct_RANLIB
=$RANLIB
11193 # Extract the first word of "ranlib", so it can be a program name with args.
11194 set dummy ranlib
; ac_word
=$2
11195 echo "$as_me:$LINENO: checking for $ac_word" >&5
11196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11197 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11198 echo $ECHO_N "(cached) $ECHO_C" >&6
11200 if test -n "$ac_ct_RANLIB"; then
11201 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11204 for as_dir
in $PATH
11207 test -z "$as_dir" && as_dir
=.
11208 for ac_exec_ext
in '' $ac_executable_extensions; do
11209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11210 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11217 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11220 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11221 if test -n "$ac_ct_RANLIB"; then
11222 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11223 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11225 echo "$as_me:$LINENO: result: no" >&5
11226 echo "${ECHO_T}no" >&6
11229 RANLIB
=$ac_ct_RANLIB
11231 RANLIB
="$ac_cv_prog_RANLIB"
11235 # Extract the first word of "ar", so it can be a program name with args.
11236 set dummy
ar; ac_word
=$2
11237 echo "$as_me:$LINENO: checking for $ac_word" >&5
11238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11239 if test "${ac_cv_prog_AR+set}" = set; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11242 if test -n "$AR"; then
11243 ac_cv_prog_AR
="$AR" # Let the user override the test.
11245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11246 for as_dir
in $PATH
11249 test -z "$as_dir" && as_dir
=.
11250 for ac_exec_ext
in '' $ac_executable_extensions; do
11251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11259 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
11263 if test -n "$AR"; then
11264 echo "$as_me:$LINENO: result: $AR" >&5
11265 echo "${ECHO_T}$AR" >&6
11267 echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6
11272 # Find a good install program. We prefer a C program (faster),
11273 # so one script is as good as another. But avoid the broken or
11274 # incompatible versions:
11275 # SysV /etc/install, /usr/sbin/install
11276 # SunOS /usr/etc/install
11277 # IRIX /sbin/install
11279 # AmigaOS /C/install, which installs bootblocks on floppy discs
11280 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11281 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11282 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11283 # ./install, which can be erroneously created by make from ./install.sh.
11284 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11285 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11286 if test -z "$INSTALL"; then
11287 if test "${ac_cv_path_install+set}" = set; then
11288 echo $ECHO_N "(cached) $ECHO_C" >&6
11290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11291 for as_dir
in $PATH
11294 test -z "$as_dir" && as_dir
=.
11295 # Account for people who put trailing slashes in PATH elements.
11297 .
/ | .
// | /cC
/* | \
11298 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11301 # OSF1 and SCO ODT 3.0 have their own names for install.
11302 # Don't use installbsd from OSF since it installs stuff as root
11304 for ac_prog
in ginstall scoinst
install; do
11305 for ac_exec_ext
in '' $ac_executable_extensions; do
11306 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11307 if test $ac_prog = install &&
11308 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11309 # AIX install. It has an incompatible calling convention.
11311 elif test $ac_prog = install &&
11312 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11313 # program-specific install script used by HP pwplus--don't use.
11316 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11328 if test "${ac_cv_path_install+set}" = set; then
11329 INSTALL
=$ac_cv_path_install
11331 # As a last resort, use the slow shell script. We don't cache a
11332 # path for INSTALL within a source directory, because that will
11333 # break other packages using the cache if that directory is
11334 # removed, or if the path is relative.
11335 INSTALL
=$ac_install_sh
11338 echo "$as_me:$LINENO: result: $INSTALL" >&5
11339 echo "${ECHO_T}$INSTALL" >&6
11341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11342 # It thinks the first close brace ends the variable substitution.
11343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11347 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11353 ?
:* ) # Drive letter, considered as absolute.
11356 INSTALL
=`pwd`/${INSTALL} ;;
11361 INSTALL_DIR
="mkdir"
11364 *) INSTALL_DIR
="$INSTALL -d"
11371 powerpc
-*-darwin* )
11372 INSTALL_PROGRAM
="cp -fp"
11373 INSTALL_DATA
="cp -fp"
11379 # Extract the first word of "strip", so it can be a program name with args.
11380 set dummy strip
; ac_word
=$2
11381 echo "$as_me:$LINENO: checking for $ac_word" >&5
11382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11383 if test "${ac_cv_prog_STRIP+set}" = set; then
11384 echo $ECHO_N "(cached) $ECHO_C" >&6
11386 if test -n "$STRIP"; then
11387 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11390 for as_dir
in $PATH
11393 test -z "$as_dir" && as_dir
=.
11394 for ac_exec_ext
in '' $ac_executable_extensions; do
11395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11396 ac_cv_prog_STRIP
="strip"
11397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11403 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11406 STRIP
=$ac_cv_prog_STRIP
11407 if test -n "$STRIP"; then
11408 echo "$as_me:$LINENO: result: $STRIP" >&5
11409 echo "${ECHO_T}$STRIP" >&6
11411 echo "$as_me:$LINENO: result: no" >&5
11412 echo "${ECHO_T}no" >&6
11416 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11417 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11418 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11423 egrep -s GNU
> /dev
/null
); then
11424 wx_cv_prog_makeisgnu
="yes"
11426 wx_cv_prog_makeisgnu
="no"
11430 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11431 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11433 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11441 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11442 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11443 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11444 if test "${wx_cv_prog_makevpath+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11448 cat - << EOF > confMake
11454 if test ! -d sub
; then
11457 echo dummy
> sub
/file
11458 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11460 rm -f sub
/file check final_file confMake
11462 if test "$RESULT" = 0; then
11463 wx_cv_prog_makevpath
="yes"
11465 wx_cv_prog_makevpath
="no"
11469 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11470 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11472 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11473 { { echo "$as_me:$LINENO: error:
11474 You need a make-utility that is able to use the variable
11476 If your version of make does not support VPATH correctly,
11477 please install GNU-make (possibly as gmake), and start
11478 configure with the following command:
11479 export MAKE=gmake; ./configure for sh-type shells
11480 setenv MAKE gmake; ./configure for csh-type shells
11481 Also please do remember to use gmake in this case every time
11482 you are trying to compile.
11484 echo "$as_me: error:
11485 You need a make-utility that is able to use the variable
11487 If your version of make does not support VPATH correctly,
11488 please install GNU-make (possibly as gmake), and start
11489 configure with the following command:
11490 export MAKE=gmake; ./configure for sh-type shells
11491 setenv MAKE gmake; ./configure for csh-type shells
11492 Also please do remember to use gmake in this case every time
11493 you are trying to compile.
11495 { (exit 1); exit 1; }; }
11497 for ac_prog
in 'bison -y' byacc
11499 # Extract the first word of "$ac_prog", so it can be a program name with args.
11500 set dummy
$ac_prog; ac_word
=$2
11501 echo "$as_me:$LINENO: checking for $ac_word" >&5
11502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11503 if test "${ac_cv_prog_YACC+set}" = set; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 if test -n "$YACC"; then
11507 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11510 for as_dir
in $PATH
11513 test -z "$as_dir" && as_dir
=.
11514 for ac_exec_ext
in '' $ac_executable_extensions; do
11515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11516 ac_cv_prog_YACC
="$ac_prog"
11517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11525 YACC
=$ac_cv_prog_YACC
11526 if test -n "$YACC"; then
11527 echo "$as_me:$LINENO: result: $YACC" >&5
11528 echo "${ECHO_T}$YACC" >&6
11530 echo "$as_me:$LINENO: result: no" >&5
11531 echo "${ECHO_T}no" >&6
11534 test -n "$YACC" && break
11536 test -n "$YACC" || YACC
="yacc"
11539 for ac_prog
in flex
lex
11541 # Extract the first word of "$ac_prog", so it can be a program name with args.
11542 set dummy
$ac_prog; ac_word
=$2
11543 echo "$as_me:$LINENO: checking for $ac_word" >&5
11544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11545 if test "${ac_cv_prog_LEX+set}" = set; then
11546 echo $ECHO_N "(cached) $ECHO_C" >&6
11548 if test -n "$LEX"; then
11549 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11552 for as_dir
in $PATH
11555 test -z "$as_dir" && as_dir
=.
11556 for ac_exec_ext
in '' $ac_executable_extensions; do
11557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11558 ac_cv_prog_LEX
="$ac_prog"
11559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11567 LEX
=$ac_cv_prog_LEX
11568 if test -n "$LEX"; then
11569 echo "$as_me:$LINENO: result: $LEX" >&5
11570 echo "${ECHO_T}$LEX" >&6
11572 echo "$as_me:$LINENO: result: no" >&5
11573 echo "${ECHO_T}no" >&6
11576 test -n "$LEX" && break
11578 test -n "$LEX" || LEX
=":"
11580 if test -z "$LEXLIB"
11582 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11583 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11584 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11585 echo $ECHO_N "(cached) $ECHO_C" >&6
11587 ac_check_lib_save_LIBS
=$LIBS
11589 cat >conftest.
$ac_ext <<_ACEOF
11590 #line $LINENO "configure"
11593 cat confdefs.h
>>conftest.
$ac_ext
11594 cat >>conftest.
$ac_ext <<_ACEOF
11595 /* end confdefs.h. */
11597 /* Override any gcc2 internal prototype to avoid an error. */
11601 /* We use char because int might match the return type of a gcc2
11602 builtin and then its argument prototype would still apply. */
11612 rm -f conftest.
$ac_objext conftest
$ac_exeext
11613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11614 (eval $ac_link) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); } &&
11618 { ac_try
='test -s conftest$ac_exeext'
11619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11620 (eval $ac_try) 2>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); }; }; then
11624 ac_cv_lib_fl_yywrap
=yes
11626 echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.
$ac_ext >&5
11629 ac_cv_lib_fl_yywrap
=no
11631 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11632 LIBS
=$ac_check_lib_save_LIBS
11634 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11635 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11636 if test $ac_cv_lib_fl_yywrap = yes; then
11639 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11640 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11641 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 ac_check_lib_save_LIBS
=$LIBS
11646 cat >conftest.
$ac_ext <<_ACEOF
11647 #line $LINENO "configure"
11650 cat confdefs.h
>>conftest.
$ac_ext
11651 cat >>conftest.
$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11654 /* Override any gcc2 internal prototype to avoid an error. */
11658 /* We use char because int might match the return type of a gcc2
11659 builtin and then its argument prototype would still apply. */
11669 rm -f conftest.
$ac_objext conftest
$ac_exeext
11670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11671 (eval $ac_link) 2>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try
='test -s conftest$ac_exeext'
11676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677 (eval $ac_try) 2>&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); }; }; then
11681 ac_cv_lib_l_yywrap
=yes
11683 echo "$as_me: failed program was:" >&5
11684 sed 's/^/| /' conftest.
$ac_ext >&5
11686 ac_cv_lib_l_yywrap
=no
11688 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11689 LIBS
=$ac_check_lib_save_LIBS
11691 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11692 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11693 if test $ac_cv_lib_l_yywrap = yes; then
11701 if test "x$LEX" != "x:"; then
11702 echo "$as_me:$LINENO: checking lex output file root" >&5
11703 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11704 if test "${ac_cv_prog_lex_root+set}" = set; then
11705 echo $ECHO_N "(cached) $ECHO_C" >&6
11707 # The minimal lex program is just a single line: %%. But some broken lexes
11708 # (Solaris, I think it was) want two %% lines, so accommodate them.
11709 cat >conftest.l
<<_ACEOF
11713 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11714 (eval $LEX conftest.l
) 2>&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }
11718 if test -f lex.yy.c
; then
11719 ac_cv_prog_lex_root
=lex.yy
11720 elif test -f lexyy.c
; then
11721 ac_cv_prog_lex_root
=lexyy
11723 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11724 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11725 { (exit 1); exit 1; }; }
11728 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11729 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11731 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11733 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11734 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11735 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 # POSIX says lex can declare yytext either as a pointer or an array; the
11739 # default is implementation-dependent. Figure out which it is, since
11740 # not all implementations provide the %pointer and %array declarations.
11741 ac_cv_prog_lex_yytext_pointer
=no
11742 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11744 LIBS
="$LIBS $LEXLIB"
11745 cat >conftest.
$ac_ext <<_ACEOF
11746 `cat $LEX_OUTPUT_ROOT.c`
11748 rm -f conftest.
$ac_objext conftest
$ac_exeext
11749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11750 (eval $ac_link) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); } &&
11754 { ac_try
='test -s conftest$ac_exeext'
11755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11756 (eval $ac_try) 2>&5
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); }; }; then
11760 ac_cv_prog_lex_yytext_pointer
=yes
11762 echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.
$ac_ext >&5
11766 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11768 rm -f "${LEX_OUTPUT_ROOT}.c"
11771 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11772 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11773 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11775 cat >>confdefs.h
<<\_ACEOF
11776 #define YYTEXT_POINTER 1
11783 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11784 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11786 if test "$LN_S" = "ln -s"; then
11787 echo "$as_me:$LINENO: result: yes" >&5
11788 echo "${ECHO_T}yes" >&6
11790 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11791 echo "${ECHO_T}no, using $LN_S" >&6
11796 *-pc-os2_emx | *-pc-os2-emx )
11797 LIBS
="$LIBS -lstdcpp"
11798 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11799 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11800 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11801 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11802 echo $ECHO_N "(cached) $ECHO_C" >&6
11804 ac_check_lib_save_LIBS
=$LIBS
11805 LIBS
="-lcExt $LIBS"
11806 cat >conftest.
$ac_ext <<_ACEOF
11807 #line $LINENO "configure"
11810 cat confdefs.h
>>conftest.
$ac_ext
11811 cat >>conftest.
$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11814 /* Override any gcc2 internal prototype to avoid an error. */
11818 /* We use char because int might match the return type of a gcc2
11819 builtin and then its argument prototype would still apply. */
11829 rm -f conftest.
$ac_objext conftest
$ac_exeext
11830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11831 (eval $ac_link) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } &&
11835 { ac_try
='test -s conftest$ac_exeext'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; }; then
11841 ac_cv_lib_cExt_drand48
=yes
11843 echo "$as_me: failed program was:" >&5
11844 sed 's/^/| /' conftest.
$ac_ext >&5
11846 ac_cv_lib_cExt_drand48
=no
11848 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11849 LIBS
=$ac_check_lib_save_LIBS
11851 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11852 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11853 if test $ac_cv_lib_cExt_drand48 = yes; then
11854 LIBS
="$LIBS -lcExt"
11858 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11864 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11865 echo "$as_me:$LINENO: checking for strings.h" >&5
11866 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11867 if test "${ac_cv_header_strings_h+set}" = set; then
11868 echo $ECHO_N "(cached) $ECHO_C" >&6
11870 ac_cv_header_strings_h
=no
11872 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11873 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11874 if test "$ac_cv_header_strings_h" = "no"; then
11875 echo "$as_me:$LINENO: result: forced no into cache" >&5
11876 echo "${ECHO_T}forced no into cache" >&6
11878 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11879 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11882 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11883 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11884 if test "${ac_cv_header_stdc+set}" = set; then
11885 echo $ECHO_N "(cached) $ECHO_C" >&6
11887 cat >conftest.
$ac_ext <<_ACEOF
11888 #line $LINENO "configure"
11891 cat confdefs.h
>>conftest.
$ac_ext
11892 cat >>conftest.
$ac_ext <<_ACEOF
11893 /* end confdefs.h. */
11894 #include <stdlib.h>
11895 #include <stdarg.h>
11896 #include <string.h>
11907 rm -f conftest.
$ac_objext
11908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11909 (eval $ac_compile) 2>&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); } &&
11913 { ac_try
='test -s conftest.$ac_objext'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; }; then
11919 ac_cv_header_stdc
=yes
11921 echo "$as_me: failed program was:" >&5
11922 sed 's/^/| /' conftest.
$ac_ext >&5
11924 ac_cv_header_stdc
=no
11926 rm -f conftest.
$ac_objext conftest.
$ac_ext
11928 if test $ac_cv_header_stdc = yes; then
11929 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11930 cat >conftest.
$ac_ext <<_ACEOF
11931 #line $LINENO "configure"
11934 cat confdefs.h
>>conftest.
$ac_ext
11935 cat >>conftest.
$ac_ext <<_ACEOF
11936 /* end confdefs.h. */
11937 #include <string.h>
11940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11941 $EGREP "memchr" >/dev
/null
2>&1; then
11944 ac_cv_header_stdc
=no
11950 if test $ac_cv_header_stdc = yes; then
11951 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11952 cat >conftest.
$ac_ext <<_ACEOF
11953 #line $LINENO "configure"
11956 cat confdefs.h
>>conftest.
$ac_ext
11957 cat >>conftest.
$ac_ext <<_ACEOF
11958 /* end confdefs.h. */
11959 #include <stdlib.h>
11962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11963 $EGREP "free" >/dev
/null
2>&1; then
11966 ac_cv_header_stdc
=no
11972 if test $ac_cv_header_stdc = yes; then
11973 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11974 if test "$cross_compiling" = yes; then
11977 cat >conftest.
$ac_ext <<_ACEOF
11978 #line $LINENO "configure"
11981 cat confdefs.h
>>conftest.
$ac_ext
11982 cat >>conftest.
$ac_ext <<_ACEOF
11983 /* end confdefs.h. */
11985 #if ((' ' & 0x0FF) == 0x020)
11986 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11987 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11989 # define ISLOWER(c) \
11990 (('a' <= (c) && (c) <= 'i') \
11991 || ('j' <= (c) && (c) <= 'r') \
11992 || ('s' <= (c) && (c) <= 'z'))
11993 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11996 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12001 for (i = 0; i < 256; i++)
12002 if (XOR (islower (i), ISLOWER (i))
12003 || toupper (i) != TOUPPER (i))
12008 rm -f conftest
$ac_exeext
12009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12010 (eval $ac_link) 2>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015 (eval $ac_try) 2>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); }; }; then
12021 echo "$as_me: program exited with status $ac_status" >&5
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.
$ac_ext >&5
12025 ( exit $ac_status )
12026 ac_cv_header_stdc
=no
12028 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12032 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12033 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12034 if test $ac_cv_header_stdc = yes; then
12036 cat >>confdefs.h
<<\_ACEOF
12037 #define STDC_HEADERS 1
12042 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12052 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12053 inttypes.h stdint.h unistd.h
12055 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12056 echo "$as_me:$LINENO: checking for $ac_header" >&5
12057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12059 echo $ECHO_N "(cached) $ECHO_C" >&6
12061 cat >conftest.
$ac_ext <<_ACEOF
12062 #line $LINENO "configure"
12065 cat confdefs.h
>>conftest.
$ac_ext
12066 cat >>conftest.
$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 $ac_includes_default
12070 #include <$ac_header>
12072 rm -f conftest.
$ac_objext
12073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12074 (eval $ac_compile) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } &&
12078 { ac_try
='test -s conftest.$ac_objext'
12079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12080 (eval $ac_try) 2>&5
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); }; }; then
12084 eval "$as_ac_Header=yes"
12086 echo "$as_me: failed program was:" >&5
12087 sed 's/^/| /' conftest.
$ac_ext >&5
12089 eval "$as_ac_Header=no"
12091 rm -f conftest.
$ac_objext conftest.
$ac_ext
12093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12096 cat >>confdefs.h
<<_ACEOF
12097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12106 for ac_header
in strings.h
12108 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12110 echo "$as_me:$LINENO: checking for $ac_header" >&5
12111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12118 # Is the header compilable?
12119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12121 cat >conftest.
$ac_ext <<_ACEOF
12122 #line $LINENO "configure"
12125 cat confdefs.h
>>conftest.
$ac_ext
12126 cat >>conftest.
$ac_ext <<_ACEOF
12127 /* end confdefs.h. */
12128 $ac_includes_default
12129 #include <$ac_header>
12131 rm -f conftest.
$ac_objext
12132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12133 (eval $ac_compile) 2>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } &&
12137 { ac_try
='test -s conftest.$ac_objext'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; }; then
12143 ac_header_compiler
=yes
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.
$ac_ext >&5
12148 ac_header_compiler
=no
12150 rm -f conftest.
$ac_objext conftest.
$ac_ext
12151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12152 echo "${ECHO_T}$ac_header_compiler" >&6
12154 # Is the header present?
12155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12157 cat >conftest.
$ac_ext <<_ACEOF
12158 #line $LINENO "configure"
12161 cat confdefs.h
>>conftest.
$ac_ext
12162 cat >>conftest.
$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164 #include <$ac_header>
12166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12169 grep -v '^ *+' conftest.er1
>conftest.err
12171 cat conftest.err
>&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); } >/dev
/null
; then
12174 if test -s conftest.err
; then
12175 ac_cpp_err
=$ac_c_preproc_warn_flag
12182 if test -z "$ac_cpp_err"; then
12183 ac_header_preproc
=yes
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.
$ac_ext >&5
12188 ac_header_preproc
=no
12190 rm -f conftest.err conftest.
$ac_ext
12191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12192 echo "${ECHO_T}$ac_header_preproc" >&6
12194 # So? What about this header?
12195 case $ac_header_compiler:$ac_header_preproc in
12197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12203 ## ------------------------------------ ##
12204 ## Report this to bug-autoconf@gnu.org. ##
12205 ## ------------------------------------ ##
12208 sed "s/^/$as_me: WARNING: /" >&2
12211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12216 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12219 ## ------------------------------------ ##
12220 ## Report this to bug-autoconf@gnu.org. ##
12221 ## ------------------------------------ ##
12224 sed "s/^/$as_me: WARNING: /" >&2
12227 echo "$as_me:$LINENO: checking for $ac_header" >&5
12228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 eval "$as_ac_Header=$ac_header_preproc"
12234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12239 cat >>confdefs.h
<<_ACEOF
12240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12249 for ac_header
in stdlib.h
12251 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12253 echo "$as_me:$LINENO: checking for $ac_header" >&5
12254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12256 echo $ECHO_N "(cached) $ECHO_C" >&6
12258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12261 # Is the header compilable?
12262 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12264 cat >conftest.
$ac_ext <<_ACEOF
12265 #line $LINENO "configure"
12268 cat confdefs.h
>>conftest.
$ac_ext
12269 cat >>conftest.
$ac_ext <<_ACEOF
12270 /* end confdefs.h. */
12271 $ac_includes_default
12272 #include <$ac_header>
12274 rm -f conftest.
$ac_objext
12275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12276 (eval $ac_compile) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } &&
12280 { ac_try
='test -s conftest.$ac_objext'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; }; then
12286 ac_header_compiler
=yes
12288 echo "$as_me: failed program was:" >&5
12289 sed 's/^/| /' conftest.
$ac_ext >&5
12291 ac_header_compiler
=no
12293 rm -f conftest.
$ac_objext conftest.
$ac_ext
12294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12295 echo "${ECHO_T}$ac_header_compiler" >&6
12297 # Is the header present?
12298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12300 cat >conftest.
$ac_ext <<_ACEOF
12301 #line $LINENO "configure"
12304 cat confdefs.h
>>conftest.
$ac_ext
12305 cat >>conftest.
$ac_ext <<_ACEOF
12306 /* end confdefs.h. */
12307 #include <$ac_header>
12309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12312 grep -v '^ *+' conftest.er1
>conftest.err
12314 cat conftest.err
>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); } >/dev
/null
; then
12317 if test -s conftest.err
; then
12318 ac_cpp_err
=$ac_c_preproc_warn_flag
12325 if test -z "$ac_cpp_err"; then
12326 ac_header_preproc
=yes
12328 echo "$as_me: failed program was:" >&5
12329 sed 's/^/| /' conftest.
$ac_ext >&5
12331 ac_header_preproc
=no
12333 rm -f conftest.err conftest.
$ac_ext
12334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12335 echo "${ECHO_T}$ac_header_preproc" >&6
12337 # So? What about this header?
12338 case $ac_header_compiler:$ac_header_preproc in
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12346 ## ------------------------------------ ##
12347 ## Report this to bug-autoconf@gnu.org. ##
12348 ## ------------------------------------ ##
12351 sed "s/^/$as_me: WARNING: /" >&2
12354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12362 ## ------------------------------------ ##
12363 ## Report this to bug-autoconf@gnu.org. ##
12364 ## ------------------------------------ ##
12367 sed "s/^/$as_me: WARNING: /" >&2
12370 echo "$as_me:$LINENO: checking for $ac_header" >&5
12371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12373 echo $ECHO_N "(cached) $ECHO_C" >&6
12375 eval "$as_ac_Header=$ac_header_preproc"
12377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12382 cat >>confdefs.h
<<_ACEOF
12383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12391 for ac_header
in malloc.h
12393 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12395 echo "$as_me:$LINENO: checking for $ac_header" >&5
12396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12398 echo $ECHO_N "(cached) $ECHO_C" >&6
12400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12403 # Is the header compilable?
12404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12406 cat >conftest.
$ac_ext <<_ACEOF
12407 #line $LINENO "configure"
12410 cat confdefs.h
>>conftest.
$ac_ext
12411 cat >>conftest.
$ac_ext <<_ACEOF
12412 /* end confdefs.h. */
12413 $ac_includes_default
12414 #include <$ac_header>
12416 rm -f conftest.
$ac_objext
12417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12418 (eval $ac_compile) 2>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } &&
12422 { ac_try
='test -s conftest.$ac_objext'
12423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12424 (eval $ac_try) 2>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); }; }; then
12428 ac_header_compiler
=yes
12430 echo "$as_me: failed program was:" >&5
12431 sed 's/^/| /' conftest.
$ac_ext >&5
12433 ac_header_compiler
=no
12435 rm -f conftest.
$ac_objext conftest.
$ac_ext
12436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12437 echo "${ECHO_T}$ac_header_compiler" >&6
12439 # Is the header present?
12440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12442 cat >conftest.
$ac_ext <<_ACEOF
12443 #line $LINENO "configure"
12446 cat confdefs.h
>>conftest.
$ac_ext
12447 cat >>conftest.
$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12449 #include <$ac_header>
12451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12452 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12454 grep -v '^ *+' conftest.er1
>conftest.err
12456 cat conftest.err
>&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); } >/dev
/null
; then
12459 if test -s conftest.err
; then
12460 ac_cpp_err
=$ac_c_preproc_warn_flag
12467 if test -z "$ac_cpp_err"; then
12468 ac_header_preproc
=yes
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.
$ac_ext >&5
12473 ac_header_preproc
=no
12475 rm -f conftest.err conftest.
$ac_ext
12476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12477 echo "${ECHO_T}$ac_header_preproc" >&6
12479 # So? What about this header?
12480 case $ac_header_compiler:$ac_header_preproc in
12482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12488 ## ------------------------------------ ##
12489 ## Report this to bug-autoconf@gnu.org. ##
12490 ## ------------------------------------ ##
12493 sed "s/^/$as_me: WARNING: /" >&2
12496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12504 ## ------------------------------------ ##
12505 ## Report this to bug-autoconf@gnu.org. ##
12506 ## ------------------------------------ ##
12509 sed "s/^/$as_me: WARNING: /" >&2
12512 echo "$as_me:$LINENO: checking for $ac_header" >&5
12513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6
12517 eval "$as_ac_Header=$ac_header_preproc"
12519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12524 cat >>confdefs.h
<<_ACEOF
12525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12533 for ac_header
in unistd.h
12535 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12537 echo "$as_me:$LINENO: checking for $ac_header" >&5
12538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12545 # Is the header compilable?
12546 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12548 cat >conftest.
$ac_ext <<_ACEOF
12549 #line $LINENO "configure"
12552 cat confdefs.h
>>conftest.
$ac_ext
12553 cat >>conftest.
$ac_ext <<_ACEOF
12554 /* end confdefs.h. */
12555 $ac_includes_default
12556 #include <$ac_header>
12558 rm -f conftest.
$ac_objext
12559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12560 (eval $ac_compile) 2>&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } &&
12564 { ac_try
='test -s conftest.$ac_objext'
12565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12566 (eval $ac_try) 2>&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); }; }; then
12570 ac_header_compiler
=yes
12572 echo "$as_me: failed program was:" >&5
12573 sed 's/^/| /' conftest.
$ac_ext >&5
12575 ac_header_compiler
=no
12577 rm -f conftest.
$ac_objext conftest.
$ac_ext
12578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12579 echo "${ECHO_T}$ac_header_compiler" >&6
12581 # Is the header present?
12582 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12584 cat >conftest.
$ac_ext <<_ACEOF
12585 #line $LINENO "configure"
12588 cat confdefs.h
>>conftest.
$ac_ext
12589 cat >>conftest.
$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12591 #include <$ac_header>
12593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12594 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12596 grep -v '^ *+' conftest.er1
>conftest.err
12598 cat conftest.err
>&5
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); } >/dev
/null
; then
12601 if test -s conftest.err
; then
12602 ac_cpp_err
=$ac_c_preproc_warn_flag
12609 if test -z "$ac_cpp_err"; then
12610 ac_header_preproc
=yes
12612 echo "$as_me: failed program was:" >&5
12613 sed 's/^/| /' conftest.
$ac_ext >&5
12615 ac_header_preproc
=no
12617 rm -f conftest.err conftest.
$ac_ext
12618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12619 echo "${ECHO_T}$ac_header_preproc" >&6
12621 # So? What about this header?
12622 case $ac_header_compiler:$ac_header_preproc in
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12630 ## ------------------------------------ ##
12631 ## Report this to bug-autoconf@gnu.org. ##
12632 ## ------------------------------------ ##
12635 sed "s/^/$as_me: WARNING: /" >&2
12638 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12640 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12641 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12646 ## ------------------------------------ ##
12647 ## Report this to bug-autoconf@gnu.org. ##
12648 ## ------------------------------------ ##
12651 sed "s/^/$as_me: WARNING: /" >&2
12654 echo "$as_me:$LINENO: checking for $ac_header" >&5
12655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12659 eval "$as_ac_Header=$ac_header_preproc"
12661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12666 cat >>confdefs.h
<<_ACEOF
12667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12675 for ac_header
in wchar.h
12677 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12679 echo "$as_me:$LINENO: checking for $ac_header" >&5
12680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12682 echo $ECHO_N "(cached) $ECHO_C" >&6
12684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12687 # Is the header compilable?
12688 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12689 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12690 cat >conftest.
$ac_ext <<_ACEOF
12691 #line $LINENO "configure"
12694 cat confdefs.h
>>conftest.
$ac_ext
12695 cat >>conftest.
$ac_ext <<_ACEOF
12696 /* end confdefs.h. */
12697 $ac_includes_default
12698 #include <$ac_header>
12700 rm -f conftest.
$ac_objext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12702 (eval $ac_compile) 2>&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } &&
12706 { ac_try
='test -s conftest.$ac_objext'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; }; then
12712 ac_header_compiler
=yes
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.
$ac_ext >&5
12717 ac_header_compiler
=no
12719 rm -f conftest.
$ac_objext conftest.
$ac_ext
12720 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12721 echo "${ECHO_T}$ac_header_compiler" >&6
12723 # Is the header present?
12724 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12725 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12726 cat >conftest.
$ac_ext <<_ACEOF
12727 #line $LINENO "configure"
12730 cat confdefs.h
>>conftest.
$ac_ext
12731 cat >>conftest.
$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733 #include <$ac_header>
12735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12738 grep -v '^ *+' conftest.er1
>conftest.err
12740 cat conftest.err
>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); } >/dev
/null
; then
12743 if test -s conftest.err
; then
12744 ac_cpp_err
=$ac_c_preproc_warn_flag
12751 if test -z "$ac_cpp_err"; then
12752 ac_header_preproc
=yes
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.
$ac_ext >&5
12757 ac_header_preproc
=no
12759 rm -f conftest.err conftest.
$ac_ext
12760 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12761 echo "${ECHO_T}$ac_header_preproc" >&6
12763 # So? What about this header?
12764 case $ac_header_compiler:$ac_header_preproc in
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12767 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12772 ## ------------------------------------ ##
12773 ## Report this to bug-autoconf@gnu.org. ##
12774 ## ------------------------------------ ##
12777 sed "s/^/$as_me: WARNING: /" >&2
12780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12788 ## ------------------------------------ ##
12789 ## Report this to bug-autoconf@gnu.org. ##
12790 ## ------------------------------------ ##
12793 sed "s/^/$as_me: WARNING: /" >&2
12796 echo "$as_me:$LINENO: checking for $ac_header" >&5
12797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 eval "$as_ac_Header=$ac_header_preproc"
12803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12808 cat >>confdefs.h
<<_ACEOF
12809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12817 if test "$ac_cv_header_wchar_h" != "yes"; then
12819 for ac_header
in wcstr.h
12821 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12823 echo "$as_me:$LINENO: checking for $ac_header" >&5
12824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12826 echo $ECHO_N "(cached) $ECHO_C" >&6
12828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12831 # Is the header compilable?
12832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12834 cat >conftest.
$ac_ext <<_ACEOF
12835 #line $LINENO "configure"
12838 cat confdefs.h
>>conftest.
$ac_ext
12839 cat >>conftest.
$ac_ext <<_ACEOF
12840 /* end confdefs.h. */
12841 $ac_includes_default
12842 #include <$ac_header>
12844 rm -f conftest.
$ac_objext
12845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12846 (eval $ac_compile) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); } &&
12850 { ac_try
='test -s conftest.$ac_objext'
12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 (eval $ac_try) 2>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; }; then
12856 ac_header_compiler
=yes
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.
$ac_ext >&5
12861 ac_header_compiler
=no
12863 rm -f conftest.
$ac_objext conftest.
$ac_ext
12864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12865 echo "${ECHO_T}$ac_header_compiler" >&6
12867 # Is the header present?
12868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12870 cat >conftest.
$ac_ext <<_ACEOF
12871 #line $LINENO "configure"
12874 cat confdefs.h
>>conftest.
$ac_ext
12875 cat >>conftest.
$ac_ext <<_ACEOF
12876 /* end confdefs.h. */
12877 #include <$ac_header>
12879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12880 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12882 grep -v '^ *+' conftest.er1
>conftest.err
12884 cat conftest.err
>&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); } >/dev
/null
; then
12887 if test -s conftest.err
; then
12888 ac_cpp_err
=$ac_c_preproc_warn_flag
12895 if test -z "$ac_cpp_err"; then
12896 ac_header_preproc
=yes
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.
$ac_ext >&5
12901 ac_header_preproc
=no
12903 rm -f conftest.err conftest.
$ac_ext
12904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12905 echo "${ECHO_T}$ac_header_preproc" >&6
12907 # So? What about this header?
12908 case $ac_header_compiler:$ac_header_preproc in
12910 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12916 ## ------------------------------------ ##
12917 ## Report this to bug-autoconf@gnu.org. ##
12918 ## ------------------------------------ ##
12921 sed "s/^/$as_me: WARNING: /" >&2
12924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12932 ## ------------------------------------ ##
12933 ## Report this to bug-autoconf@gnu.org. ##
12934 ## ------------------------------------ ##
12937 sed "s/^/$as_me: WARNING: /" >&2
12940 echo "$as_me:$LINENO: checking for $ac_header" >&5
12941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12943 echo $ECHO_N "(cached) $ECHO_C" >&6
12945 eval "$as_ac_Header=$ac_header_preproc"
12947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12952 cat >>confdefs.h
<<_ACEOF
12953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12963 for ac_header
in fnmatch.h
12965 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12967 echo "$as_me:$LINENO: checking for $ac_header" >&5
12968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12970 echo $ECHO_N "(cached) $ECHO_C" >&6
12972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12975 # Is the header compilable?
12976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12978 cat >conftest.
$ac_ext <<_ACEOF
12979 #line $LINENO "configure"
12982 cat confdefs.h
>>conftest.
$ac_ext
12983 cat >>conftest.
$ac_ext <<_ACEOF
12984 /* end confdefs.h. */
12985 $ac_includes_default
12986 #include <$ac_header>
12988 rm -f conftest.
$ac_objext
12989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12990 (eval $ac_compile) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } &&
12994 { ac_try
='test -s conftest.$ac_objext'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13000 ac_header_compiler
=yes
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.
$ac_ext >&5
13005 ac_header_compiler
=no
13007 rm -f conftest.
$ac_objext conftest.
$ac_ext
13008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13009 echo "${ECHO_T}$ac_header_compiler" >&6
13011 # Is the header present?
13012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13014 cat >conftest.
$ac_ext <<_ACEOF
13015 #line $LINENO "configure"
13018 cat confdefs.h
>>conftest.
$ac_ext
13019 cat >>conftest.
$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 #include <$ac_header>
13023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13024 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13026 grep -v '^ *+' conftest.er1
>conftest.err
13028 cat conftest.err
>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } >/dev
/null
; then
13031 if test -s conftest.err
; then
13032 ac_cpp_err
=$ac_c_preproc_warn_flag
13039 if test -z "$ac_cpp_err"; then
13040 ac_header_preproc
=yes
13042 echo "$as_me: failed program was:" >&5
13043 sed 's/^/| /' conftest.
$ac_ext >&5
13045 ac_header_preproc
=no
13047 rm -f conftest.err conftest.
$ac_ext
13048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13049 echo "${ECHO_T}$ac_header_preproc" >&6
13051 # So? What about this header?
13052 case $ac_header_compiler:$ac_header_preproc in
13054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13060 ## ------------------------------------ ##
13061 ## Report this to bug-autoconf@gnu.org. ##
13062 ## ------------------------------------ ##
13065 sed "s/^/$as_me: WARNING: /" >&2
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13076 ## ------------------------------------ ##
13077 ## Report this to bug-autoconf@gnu.org. ##
13078 ## ------------------------------------ ##
13081 sed "s/^/$as_me: WARNING: /" >&2
13084 echo "$as_me:$LINENO: checking for $ac_header" >&5
13085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13087 echo $ECHO_N "(cached) $ECHO_C" >&6
13089 eval "$as_ac_Header=$ac_header_preproc"
13091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13096 cat >>confdefs.h
<<_ACEOF
13097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13105 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13107 for ac_func
in fnmatch
13109 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13110 echo "$as_me:$LINENO: checking for $ac_func" >&5
13111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13112 if eval "test \"\${$as_ac_var+set}\" = set"; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13115 cat >conftest.
$ac_ext <<_ACEOF
13116 #line $LINENO "configure"
13119 cat confdefs.h
>>conftest.
$ac_ext
13120 cat >>conftest.
$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13122 /* System header to define __stub macros and hopefully few prototypes,
13123 which can conflict with char $ac_func (); below.
13124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13125 <limits.h> exists even on freestanding compilers. */
13127 # include <limits.h>
13129 # include <assert.h>
13131 /* Override any gcc2 internal prototype to avoid an error. */
13136 /* We use char because int might match the return type of a gcc2
13137 builtin and then its argument prototype would still apply. */
13139 /* The GNU C library defines this for functions which it implements
13140 to always fail with ENOSYS. Some functions are actually named
13141 something starting with __ and the normal name is an alias. */
13142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13145 char (*f) () = $ac_func;
13154 return f != $ac_func;
13159 rm -f conftest.
$ac_objext conftest
$ac_exeext
13160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13161 (eval $ac_link) 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); } &&
13165 { ac_try
='test -s conftest$ac_exeext'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; }; then
13171 eval "$as_ac_var=yes"
13173 echo "$as_me: failed program was:" >&5
13174 sed 's/^/| /' conftest.
$ac_ext >&5
13176 eval "$as_ac_var=no"
13178 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13182 if test `eval echo '${'$as_ac_var'}'` = yes; then
13183 cat >>confdefs.h
<<_ACEOF
13184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13193 for ac_header
in langinfo.h
13195 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13197 echo "$as_me:$LINENO: checking for $ac_header" >&5
13198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6
13202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13205 # Is the header compilable?
13206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13208 cat >conftest.
$ac_ext <<_ACEOF
13209 #line $LINENO "configure"
13212 cat confdefs.h
>>conftest.
$ac_ext
13213 cat >>conftest.
$ac_ext <<_ACEOF
13214 /* end confdefs.h. */
13215 $ac_includes_default
13216 #include <$ac_header>
13218 rm -f conftest.
$ac_objext
13219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13220 (eval $ac_compile) 2>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); } &&
13224 { ac_try
='test -s conftest.$ac_objext'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; }; then
13230 ac_header_compiler
=yes
13232 echo "$as_me: failed program was:" >&5
13233 sed 's/^/| /' conftest.
$ac_ext >&5
13235 ac_header_compiler
=no
13237 rm -f conftest.
$ac_objext conftest.
$ac_ext
13238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13239 echo "${ECHO_T}$ac_header_compiler" >&6
13241 # Is the header present?
13242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13244 cat >conftest.
$ac_ext <<_ACEOF
13245 #line $LINENO "configure"
13248 cat confdefs.h
>>conftest.
$ac_ext
13249 cat >>conftest.
$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13251 #include <$ac_header>
13253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13254 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13256 grep -v '^ *+' conftest.er1
>conftest.err
13258 cat conftest.err
>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); } >/dev
/null
; then
13261 if test -s conftest.err
; then
13262 ac_cpp_err
=$ac_c_preproc_warn_flag
13269 if test -z "$ac_cpp_err"; then
13270 ac_header_preproc
=yes
13272 echo "$as_me: failed program was:" >&5
13273 sed 's/^/| /' conftest.
$ac_ext >&5
13275 ac_header_preproc
=no
13277 rm -f conftest.err conftest.
$ac_ext
13278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13279 echo "${ECHO_T}$ac_header_preproc" >&6
13281 # So? What about this header?
13282 case $ac_header_compiler:$ac_header_preproc in
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13290 ## ------------------------------------ ##
13291 ## Report this to bug-autoconf@gnu.org. ##
13292 ## ------------------------------------ ##
13295 sed "s/^/$as_me: WARNING: /" >&2
13298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13306 ## ------------------------------------ ##
13307 ## Report this to bug-autoconf@gnu.org. ##
13308 ## ------------------------------------ ##
13311 sed "s/^/$as_me: WARNING: /" >&2
13314 echo "$as_me:$LINENO: checking for $ac_header" >&5
13315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13319 eval "$as_ac_Header=$ac_header_preproc"
13321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13325 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13326 cat >>confdefs.h
<<_ACEOF
13327 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13336 *-pc-os2_emx | *-pc-os2-emx )
13337 if test $ac_cv_header_langinfo_h = "yes"; then
13338 LIBS
="$LIBS -lintl"
13343 if test "$wxUSE_GUI" = "yes"; then
13344 if test "$wxUSE_UNIX" = "yes"; then
13346 for ac_header
in X
11/XKBlib.h
13348 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13350 echo "$as_me:$LINENO: checking for $ac_header" >&5
13351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13358 # Is the header compilable?
13359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13361 cat >conftest.
$ac_ext <<_ACEOF
13362 #line $LINENO "configure"
13365 cat confdefs.h
>>conftest.
$ac_ext
13366 cat >>conftest.
$ac_ext <<_ACEOF
13367 /* end confdefs.h. */
13368 $ac_includes_default
13369 #include <$ac_header>
13371 rm -f conftest.
$ac_objext
13372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13373 (eval $ac_compile) 2>&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); } &&
13377 { ac_try
='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 ac_header_compiler
=yes
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.
$ac_ext >&5
13388 ac_header_compiler
=no
13390 rm -f conftest.
$ac_objext conftest.
$ac_ext
13391 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13392 echo "${ECHO_T}$ac_header_compiler" >&6
13394 # Is the header present?
13395 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13396 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13397 cat >conftest.
$ac_ext <<_ACEOF
13398 #line $LINENO "configure"
13401 cat confdefs.h
>>conftest.
$ac_ext
13402 cat >>conftest.
$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13404 #include <$ac_header>
13406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13409 grep -v '^ *+' conftest.er1
>conftest.err
13411 cat conftest.err
>&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } >/dev
/null
; then
13414 if test -s conftest.err
; then
13415 ac_cpp_err
=$ac_c_preproc_warn_flag
13422 if test -z "$ac_cpp_err"; then
13423 ac_header_preproc
=yes
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.
$ac_ext >&5
13428 ac_header_preproc
=no
13430 rm -f conftest.err conftest.
$ac_ext
13431 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13432 echo "${ECHO_T}$ac_header_preproc" >&6
13434 # So? What about this header?
13435 case $ac_header_compiler:$ac_header_preproc in
13437 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13438 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13443 ## ------------------------------------ ##
13444 ## Report this to bug-autoconf@gnu.org. ##
13445 ## ------------------------------------ ##
13448 sed "s/^/$as_me: WARNING: /" >&2
13451 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13452 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13453 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13454 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13459 ## ------------------------------------ ##
13460 ## Report this to bug-autoconf@gnu.org. ##
13461 ## ------------------------------------ ##
13464 sed "s/^/$as_me: WARNING: /" >&2
13467 echo "$as_me:$LINENO: checking for $ac_header" >&5
13468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13472 eval "$as_ac_Header=$ac_header_preproc"
13474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13479 cat >>confdefs.h
<<_ACEOF
13480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13491 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13492 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13493 if test "${ac_cv_c_const+set}" = set; then
13494 echo $ECHO_N "(cached) $ECHO_C" >&6
13496 cat >conftest.
$ac_ext <<_ACEOF
13497 #line $LINENO "configure"
13500 cat confdefs.h
>>conftest.
$ac_ext
13501 cat >>conftest.
$ac_ext <<_ACEOF
13502 /* end confdefs.h. */
13507 /* FIXME: Include the comments suggested by Paul. */
13508 #ifndef __cplusplus
13509 /* Ultrix mips cc rejects this. */
13510 typedef int charset[2];
13512 /* SunOS 4.1.1 cc rejects this. */
13513 char const *const *ccp;
13515 /* NEC SVR4.0.2 mips cc rejects this. */
13516 struct point {int x, y;};
13517 static struct point const zero = {0,0};
13518 /* AIX XL C 1.02.0.0 rejects this.
13519 It does not let you subtract one const X* pointer from another in
13520 an arm of an if-expression whose if-part is not a constant
13522 const char *g = "string";
13523 ccp = &g + (g ? g-g : 0);
13524 /* HPUX 7.0 cc rejects these. */
13527 ccp = (char const *const *) p;
13528 { /* SCO 3.2v4 cc rejects this. */
13530 char const *s = 0 ? (char *) 0 : (char const *) 0;
13534 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13535 int x[] = {25, 17};
13536 const int *foo = &x[0];
13539 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13540 typedef const int *iptr;
13544 { /* AIX XL C 1.02.0.0 rejects this saying
13545 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13546 struct s { int j; const int *ap[3]; };
13547 struct s *b; b->j = 5;
13549 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13550 const int foo = 10;
13558 rm -f conftest.
$ac_objext
13559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13560 (eval $ac_compile) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } &&
13564 { ac_try
='test -s conftest.$ac_objext'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; }; then
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13577 rm -f conftest.
$ac_objext conftest.
$ac_ext
13579 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13580 echo "${ECHO_T}$ac_cv_c_const" >&6
13581 if test $ac_cv_c_const = no
; then
13583 cat >>confdefs.h
<<\_ACEOF
13589 echo "$as_me:$LINENO: checking for inline" >&5
13590 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13591 if test "${ac_cv_c_inline+set}" = set; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 for ac_kw
in inline __inline__ __inline
; do
13596 cat >conftest.
$ac_ext <<_ACEOF
13597 #line $LINENO "configure"
13600 cat confdefs.h
>>conftest.
$ac_ext
13601 cat >>conftest.
$ac_ext <<_ACEOF
13602 /* end confdefs.h. */
13603 #ifndef __cplusplus
13605 static $ac_kw foo_t static_foo () {return 0; }
13606 $ac_kw foo_t foo () {return 0; }
13610 rm -f conftest.
$ac_objext
13611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13612 (eval $ac_compile) 2>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } &&
13616 { ac_try
='test -s conftest.$ac_objext'
13617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13618 (eval $ac_try) 2>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; }; then
13622 ac_cv_c_inline
=$ac_kw; break
13624 echo "$as_me: failed program was:" >&5
13625 sed 's/^/| /' conftest.
$ac_ext >&5
13628 rm -f conftest.
$ac_objext conftest.
$ac_ext
13632 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13633 echo "${ECHO_T}$ac_cv_c_inline" >&6
13634 case $ac_cv_c_inline in
13637 cat >>confdefs.h
<<\_ACEOF
13641 *) cat >>confdefs.h
<<_ACEOF
13642 #define inline $ac_cv_c_inline
13648 echo "$as_me:$LINENO: checking for char" >&5
13649 echo $ECHO_N "checking for char... $ECHO_C" >&6
13650 if test "${ac_cv_type_char+set}" = set; then
13651 echo $ECHO_N "(cached) $ECHO_C" >&6
13653 cat >conftest.
$ac_ext <<_ACEOF
13654 #line $LINENO "configure"
13657 cat confdefs.h
>>conftest.
$ac_ext
13658 cat >>conftest.
$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13660 $ac_includes_default
13672 rm -f conftest.
$ac_objext
13673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13674 (eval $ac_compile) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } &&
13678 { ac_try
='test -s conftest.$ac_objext'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; }; then
13684 ac_cv_type_char
=yes
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.
$ac_ext >&5
13691 rm -f conftest.
$ac_objext conftest.
$ac_ext
13693 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13694 echo "${ECHO_T}$ac_cv_type_char" >&6
13696 echo "$as_me:$LINENO: checking size of char" >&5
13697 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13698 if test "${ac_cv_sizeof_char+set}" = set; then
13699 echo $ECHO_N "(cached) $ECHO_C" >&6
13701 if test "$ac_cv_type_char" = yes; then
13702 # The cast to unsigned long works around a bug in the HP C Compiler
13703 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13704 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13705 # This bug is HP SR number 8606223364.
13706 if test "$cross_compiling" = yes; then
13707 # Depending upon the size, compute the lo and hi bounds.
13708 cat >conftest.
$ac_ext <<_ACEOF
13709 #line $LINENO "configure"
13712 cat confdefs.h
>>conftest.
$ac_ext
13713 cat >>conftest.
$ac_ext <<_ACEOF
13714 /* end confdefs.h. */
13715 $ac_includes_default
13719 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13726 rm -f conftest.
$ac_objext
13727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13728 (eval $ac_compile) 2>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); } &&
13732 { ac_try
='test -s conftest.$ac_objext'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; }; then
13740 cat >conftest.
$ac_ext <<_ACEOF
13741 #line $LINENO "configure"
13744 cat confdefs.h
>>conftest.
$ac_ext
13745 cat >>conftest.
$ac_ext <<_ACEOF
13746 /* end confdefs.h. */
13747 $ac_includes_default
13751 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13758 rm -f conftest.
$ac_objext
13759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13760 (eval $ac_compile) 2>&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); } &&
13764 { ac_try
='test -s conftest.$ac_objext'
13765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13766 (eval $ac_try) 2>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); }; }; then
13770 ac_hi
=$ac_mid; break
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.
$ac_ext >&5
13775 ac_lo
=`expr $ac_mid + 1`
13776 if test $ac_lo -le $ac_mid; then
13780 ac_mid
=`expr 2 '*' $ac_mid + 1`
13782 rm -f conftest.
$ac_objext conftest.
$ac_ext
13785 echo "$as_me: failed program was:" >&5
13786 sed 's/^/| /' conftest.
$ac_ext >&5
13788 cat >conftest.
$ac_ext <<_ACEOF
13789 #line $LINENO "configure"
13792 cat confdefs.h
>>conftest.
$ac_ext
13793 cat >>conftest.
$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13795 $ac_includes_default
13799 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13806 rm -f conftest.
$ac_objext
13807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13808 (eval $ac_compile) 2>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } &&
13812 { ac_try
='test -s conftest.$ac_objext'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then
13820 cat >conftest.
$ac_ext <<_ACEOF
13821 #line $LINENO "configure"
13824 cat confdefs.h
>>conftest.
$ac_ext
13825 cat >>conftest.
$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13827 $ac_includes_default
13831 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13838 rm -f conftest.
$ac_objext
13839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13840 (eval $ac_compile) 2>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try
='test -s conftest.$ac_objext'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; }; then
13850 ac_lo
=$ac_mid; break
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.
$ac_ext >&5
13855 ac_hi
=`expr '(' $ac_mid ')' - 1`
13856 if test $ac_mid -le $ac_hi; then
13860 ac_mid
=`expr 2 '*' $ac_mid`
13862 rm -f conftest.
$ac_objext conftest.
$ac_ext
13865 echo "$as_me: failed program was:" >&5
13866 sed 's/^/| /' conftest.
$ac_ext >&5
13870 rm -f conftest.
$ac_objext conftest.
$ac_ext
13872 rm -f conftest.
$ac_objext conftest.
$ac_ext
13873 # Binary search between lo and hi bounds.
13874 while test "x$ac_lo" != "x$ac_hi"; do
13875 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13876 cat >conftest.
$ac_ext <<_ACEOF
13877 #line $LINENO "configure"
13880 cat confdefs.h
>>conftest.
$ac_ext
13881 cat >>conftest.
$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13883 $ac_includes_default
13887 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13894 rm -f conftest.
$ac_objext
13895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13896 (eval $ac_compile) 2>&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); } &&
13900 { ac_try
='test -s conftest.$ac_objext'
13901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13902 (eval $ac_try) 2>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); }; }; then
13908 echo "$as_me: failed program was:" >&5
13909 sed 's/^/| /' conftest.
$ac_ext >&5
13911 ac_lo
=`expr '(' $ac_mid ')' + 1`
13913 rm -f conftest.
$ac_objext conftest.
$ac_ext
13916 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13917 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13918 See \`config.log' for more details." >&5
13919 echo "$as_me: error: cannot compute sizeof (char), 77
13920 See \`config.log' for more details." >&2;}
13921 { (exit 1); exit 1; }; } ;;
13924 if test "$cross_compiling" = yes; then
13925 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13926 See \`config.log' for more details." >&5
13927 echo "$as_me: error: cannot run test program while cross compiling
13928 See \`config.log' for more details." >&2;}
13929 { (exit 1); exit 1; }; }
13931 cat >conftest.
$ac_ext <<_ACEOF
13932 #line $LINENO "configure"
13935 cat confdefs.h
>>conftest.
$ac_ext
13936 cat >>conftest.
$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 $ac_includes_default
13939 long longval () { return (long) (sizeof (char)); }
13940 unsigned long ulongval () { return (long) (sizeof (char)); }
13942 #include <stdlib.h>
13947 FILE *f = fopen ("conftest.val", "w");
13950 if (((long) (sizeof (char))) < 0)
13952 long i = longval ();
13953 if (i != ((long) (sizeof (char))))
13955 fprintf (f, "%ld\n", i);
13959 unsigned long i = ulongval ();
13960 if (i != ((long) (sizeof (char))))
13962 fprintf (f, "%lu\n", i);
13964 exit (ferror (f) || fclose (f) != 0);
13970 rm -f conftest
$ac_exeext
13971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13972 (eval $ac_link) 2>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13977 (eval $ac_try) 2>&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); }; }; then
13981 ac_cv_sizeof_char
=`cat conftest.val`
13983 echo "$as_me: program exited with status $ac_status" >&5
13984 echo "$as_me: failed program was:" >&5
13985 sed 's/^/| /' conftest.
$ac_ext >&5
13987 ( exit $ac_status )
13988 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13989 See \`config.log' for more details." >&5
13990 echo "$as_me: error: cannot compute sizeof (char), 77
13991 See \`config.log' for more details." >&2;}
13992 { (exit 1); exit 1; }; }
13994 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13999 ac_cv_sizeof_char
=0
14002 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14003 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14004 cat >>confdefs.h
<<_ACEOF
14005 #define SIZEOF_CHAR $ac_cv_sizeof_char
14009 echo "$as_me:$LINENO: checking for short" >&5
14010 echo $ECHO_N "checking for short... $ECHO_C" >&6
14011 if test "${ac_cv_type_short+set}" = set; then
14012 echo $ECHO_N "(cached) $ECHO_C" >&6
14014 cat >conftest.
$ac_ext <<_ACEOF
14015 #line $LINENO "configure"
14018 cat confdefs.h
>>conftest.
$ac_ext
14019 cat >>conftest.
$ac_ext <<_ACEOF
14020 /* end confdefs.h. */
14021 $ac_includes_default
14027 if (sizeof (short))
14033 rm -f conftest.
$ac_objext
14034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14035 (eval $ac_compile) 2>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } &&
14039 { ac_try
='test -s conftest.$ac_objext'
14040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 (eval $ac_try) 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; }; then
14045 ac_cv_type_short
=yes
14047 echo "$as_me: failed program was:" >&5
14048 sed 's/^/| /' conftest.
$ac_ext >&5
14050 ac_cv_type_short
=no
14052 rm -f conftest.
$ac_objext conftest.
$ac_ext
14054 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14055 echo "${ECHO_T}$ac_cv_type_short" >&6
14057 echo "$as_me:$LINENO: checking size of short" >&5
14058 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14059 if test "${ac_cv_sizeof_short+set}" = set; then
14060 echo $ECHO_N "(cached) $ECHO_C" >&6
14062 if test "$ac_cv_type_short" = yes; then
14063 # The cast to unsigned long works around a bug in the HP C Compiler
14064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14066 # This bug is HP SR number 8606223364.
14067 if test "$cross_compiling" = yes; then
14068 # Depending upon the size, compute the lo and hi bounds.
14069 cat >conftest.
$ac_ext <<_ACEOF
14070 #line $LINENO "configure"
14073 cat confdefs.h
>>conftest.
$ac_ext
14074 cat >>conftest.
$ac_ext <<_ACEOF
14075 /* end confdefs.h. */
14076 $ac_includes_default
14080 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14087 rm -f conftest.
$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>&5
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 (exit $ac_status); } &&
14093 { ac_try
='test -s conftest.$ac_objext'
14094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14095 (eval $ac_try) 2>&5
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); }; }; then
14101 cat >conftest.
$ac_ext <<_ACEOF
14102 #line $LINENO "configure"
14105 cat confdefs.h
>>conftest.
$ac_ext
14106 cat >>conftest.
$ac_ext <<_ACEOF
14107 /* end confdefs.h. */
14108 $ac_includes_default
14112 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14119 rm -f conftest.
$ac_objext
14120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14121 (eval $ac_compile) 2>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); } &&
14125 { ac_try
='test -s conftest.$ac_objext'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; }; then
14131 ac_hi
=$ac_mid; break
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.
$ac_ext >&5
14136 ac_lo
=`expr $ac_mid + 1`
14137 if test $ac_lo -le $ac_mid; then
14141 ac_mid
=`expr 2 '*' $ac_mid + 1`
14143 rm -f conftest.
$ac_objext conftest.
$ac_ext
14146 echo "$as_me: failed program was:" >&5
14147 sed 's/^/| /' conftest.
$ac_ext >&5
14149 cat >conftest.
$ac_ext <<_ACEOF
14150 #line $LINENO "configure"
14153 cat confdefs.h
>>conftest.
$ac_ext
14154 cat >>conftest.
$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 $ac_includes_default
14160 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14167 rm -f conftest.
$ac_objext
14168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14169 (eval $ac_compile) 2>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } &&
14173 { ac_try
='test -s conftest.$ac_objext'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; }; then
14181 cat >conftest.
$ac_ext <<_ACEOF
14182 #line $LINENO "configure"
14185 cat confdefs.h
>>conftest.
$ac_ext
14186 cat >>conftest.
$ac_ext <<_ACEOF
14187 /* end confdefs.h. */
14188 $ac_includes_default
14192 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14199 rm -f conftest.
$ac_objext
14200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14201 (eval $ac_compile) 2>&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } &&
14205 { ac_try
='test -s conftest.$ac_objext'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; }; then
14211 ac_lo
=$ac_mid; break
14213 echo "$as_me: failed program was:" >&5
14214 sed 's/^/| /' conftest.
$ac_ext >&5
14216 ac_hi
=`expr '(' $ac_mid ')' - 1`
14217 if test $ac_mid -le $ac_hi; then
14221 ac_mid
=`expr 2 '*' $ac_mid`
14223 rm -f conftest.
$ac_objext conftest.
$ac_ext
14226 echo "$as_me: failed program was:" >&5
14227 sed 's/^/| /' conftest.
$ac_ext >&5
14231 rm -f conftest.
$ac_objext conftest.
$ac_ext
14233 rm -f conftest.
$ac_objext conftest.
$ac_ext
14234 # Binary search between lo and hi bounds.
14235 while test "x$ac_lo" != "x$ac_hi"; do
14236 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14237 cat >conftest.
$ac_ext <<_ACEOF
14238 #line $LINENO "configure"
14241 cat confdefs.h
>>conftest.
$ac_ext
14242 cat >>conftest.
$ac_ext <<_ACEOF
14243 /* end confdefs.h. */
14244 $ac_includes_default
14248 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14255 rm -f conftest.
$ac_objext
14256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14257 (eval $ac_compile) 2>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); } &&
14261 { ac_try
='test -s conftest.$ac_objext'
14262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14263 (eval $ac_try) 2>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }; }; then
14269 echo "$as_me: failed program was:" >&5
14270 sed 's/^/| /' conftest.
$ac_ext >&5
14272 ac_lo
=`expr '(' $ac_mid ')' + 1`
14274 rm -f conftest.
$ac_objext conftest.
$ac_ext
14277 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14278 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14279 See \`config.log' for more details." >&5
14280 echo "$as_me: error: cannot compute sizeof (short), 77
14281 See \`config.log' for more details." >&2;}
14282 { (exit 1); exit 1; }; } ;;
14285 if test "$cross_compiling" = yes; then
14286 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14287 See \`config.log' for more details." >&5
14288 echo "$as_me: error: cannot run test program while cross compiling
14289 See \`config.log' for more details." >&2;}
14290 { (exit 1); exit 1; }; }
14292 cat >conftest.
$ac_ext <<_ACEOF
14293 #line $LINENO "configure"
14296 cat confdefs.h
>>conftest.
$ac_ext
14297 cat >>conftest.
$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 $ac_includes_default
14300 long longval () { return (long) (sizeof (short)); }
14301 unsigned long ulongval () { return (long) (sizeof (short)); }
14303 #include <stdlib.h>
14308 FILE *f = fopen ("conftest.val", "w");
14311 if (((long) (sizeof (short))) < 0)
14313 long i = longval ();
14314 if (i != ((long) (sizeof (short))))
14316 fprintf (f, "%ld\n", i);
14320 unsigned long i = ulongval ();
14321 if (i != ((long) (sizeof (short))))
14323 fprintf (f, "%lu\n", i);
14325 exit (ferror (f) || fclose (f) != 0);
14331 rm -f conftest
$ac_exeext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14333 (eval $ac_link) 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 (eval $ac_try) 2>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }; }; then
14342 ac_cv_sizeof_short
=`cat conftest.val`
14344 echo "$as_me: program exited with status $ac_status" >&5
14345 echo "$as_me: failed program was:" >&5
14346 sed 's/^/| /' conftest.
$ac_ext >&5
14348 ( exit $ac_status )
14349 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14350 See \`config.log' for more details." >&5
14351 echo "$as_me: error: cannot compute sizeof (short), 77
14352 See \`config.log' for more details." >&2;}
14353 { (exit 1); exit 1; }; }
14355 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14360 ac_cv_sizeof_short
=0
14363 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14364 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14365 cat >>confdefs.h
<<_ACEOF
14366 #define SIZEOF_SHORT $ac_cv_sizeof_short
14370 echo "$as_me:$LINENO: checking for void *" >&5
14371 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14372 if test "${ac_cv_type_void_p+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 cat >conftest.
$ac_ext <<_ACEOF
14376 #line $LINENO "configure"
14379 cat confdefs.h
>>conftest.
$ac_ext
14380 cat >>conftest.
$ac_ext <<_ACEOF
14381 /* end confdefs.h. */
14382 $ac_includes_default
14388 if (sizeof (void *))
14394 rm -f conftest.
$ac_objext
14395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14396 (eval $ac_compile) 2>&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); } &&
14400 { ac_try
='test -s conftest.$ac_objext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14406 ac_cv_type_void_p
=yes
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.
$ac_ext >&5
14411 ac_cv_type_void_p
=no
14413 rm -f conftest.
$ac_objext conftest.
$ac_ext
14415 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14416 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14418 echo "$as_me:$LINENO: checking size of void *" >&5
14419 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14420 if test "${ac_cv_sizeof_void_p+set}" = set; then
14421 echo $ECHO_N "(cached) $ECHO_C" >&6
14423 if test "$ac_cv_type_void_p" = yes; then
14424 # The cast to unsigned long works around a bug in the HP C Compiler
14425 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14426 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14427 # This bug is HP SR number 8606223364.
14428 if test "$cross_compiling" = yes; then
14429 # Depending upon the size, compute the lo and hi bounds.
14430 cat >conftest.
$ac_ext <<_ACEOF
14431 #line $LINENO "configure"
14434 cat confdefs.h
>>conftest.
$ac_ext
14435 cat >>conftest.
$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14437 $ac_includes_default
14441 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14448 rm -f conftest.
$ac_objext
14449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14450 (eval $ac_compile) 2>&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); } &&
14454 { ac_try
='test -s conftest.$ac_objext'
14455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456 (eval $ac_try) 2>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); }; }; then
14462 cat >conftest.
$ac_ext <<_ACEOF
14463 #line $LINENO "configure"
14466 cat confdefs.h
>>conftest.
$ac_ext
14467 cat >>conftest.
$ac_ext <<_ACEOF
14468 /* end confdefs.h. */
14469 $ac_includes_default
14473 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14480 rm -f conftest.
$ac_objext
14481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14482 (eval $ac_compile) 2>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } &&
14486 { ac_try
='test -s conftest.$ac_objext'
14487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14488 (eval $ac_try) 2>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); }; }; then
14492 ac_hi
=$ac_mid; break
14494 echo "$as_me: failed program was:" >&5
14495 sed 's/^/| /' conftest.
$ac_ext >&5
14497 ac_lo
=`expr $ac_mid + 1`
14498 if test $ac_lo -le $ac_mid; then
14502 ac_mid
=`expr 2 '*' $ac_mid + 1`
14504 rm -f conftest.
$ac_objext conftest.
$ac_ext
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.
$ac_ext >&5
14510 cat >conftest.
$ac_ext <<_ACEOF
14511 #line $LINENO "configure"
14514 cat confdefs.h
>>conftest.
$ac_ext
14515 cat >>conftest.
$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14517 $ac_includes_default
14521 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14528 rm -f conftest.
$ac_objext
14529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14530 (eval $ac_compile) 2>&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); } &&
14534 { ac_try
='test -s conftest.$ac_objext'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; }; then
14542 cat >conftest.
$ac_ext <<_ACEOF
14543 #line $LINENO "configure"
14546 cat confdefs.h
>>conftest.
$ac_ext
14547 cat >>conftest.
$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14549 $ac_includes_default
14553 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14560 rm -f conftest.
$ac_objext
14561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14562 (eval $ac_compile) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); } &&
14566 { ac_try
='test -s conftest.$ac_objext'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; }; then
14572 ac_lo
=$ac_mid; break
14574 echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.
$ac_ext >&5
14577 ac_hi
=`expr '(' $ac_mid ')' - 1`
14578 if test $ac_mid -le $ac_hi; then
14582 ac_mid
=`expr 2 '*' $ac_mid`
14584 rm -f conftest.
$ac_objext conftest.
$ac_ext
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.
$ac_ext >&5
14592 rm -f conftest.
$ac_objext conftest.
$ac_ext
14594 rm -f conftest.
$ac_objext conftest.
$ac_ext
14595 # Binary search between lo and hi bounds.
14596 while test "x$ac_lo" != "x$ac_hi"; do
14597 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14598 cat >conftest.
$ac_ext <<_ACEOF
14599 #line $LINENO "configure"
14602 cat confdefs.h
>>conftest.
$ac_ext
14603 cat >>conftest.
$ac_ext <<_ACEOF
14604 /* end confdefs.h. */
14605 $ac_includes_default
14609 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14616 rm -f conftest.
$ac_objext
14617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14618 (eval $ac_compile) 2>&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } &&
14622 { ac_try
='test -s conftest.$ac_objext'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; }; then
14630 echo "$as_me: failed program was:" >&5
14631 sed 's/^/| /' conftest.
$ac_ext >&5
14633 ac_lo
=`expr '(' $ac_mid ')' + 1`
14635 rm -f conftest.
$ac_objext conftest.
$ac_ext
14638 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14639 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14640 See \`config.log' for more details." >&5
14641 echo "$as_me: error: cannot compute sizeof (void *), 77
14642 See \`config.log' for more details." >&2;}
14643 { (exit 1); exit 1; }; } ;;
14646 if test "$cross_compiling" = yes; then
14647 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14648 See \`config.log' for more details." >&5
14649 echo "$as_me: error: cannot run test program while cross compiling
14650 See \`config.log' for more details." >&2;}
14651 { (exit 1); exit 1; }; }
14653 cat >conftest.
$ac_ext <<_ACEOF
14654 #line $LINENO "configure"
14657 cat confdefs.h
>>conftest.
$ac_ext
14658 cat >>conftest.
$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14660 $ac_includes_default
14661 long longval () { return (long) (sizeof (void *)); }
14662 unsigned long ulongval () { return (long) (sizeof (void *)); }
14664 #include <stdlib.h>
14669 FILE *f = fopen ("conftest.val", "w");
14672 if (((long) (sizeof (void *))) < 0)
14674 long i = longval ();
14675 if (i != ((long) (sizeof (void *))))
14677 fprintf (f, "%ld\n", i);
14681 unsigned long i = ulongval ();
14682 if (i != ((long) (sizeof (void *))))
14684 fprintf (f, "%lu\n", i);
14686 exit (ferror (f) || fclose (f) != 0);
14692 rm -f conftest
$ac_exeext
14693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14694 (eval $ac_link) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14699 (eval $ac_try) 2>&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); }; }; then
14703 ac_cv_sizeof_void_p
=`cat conftest.val`
14705 echo "$as_me: program exited with status $ac_status" >&5
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.
$ac_ext >&5
14709 ( exit $ac_status )
14710 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14711 See \`config.log' for more details." >&5
14712 echo "$as_me: error: cannot compute sizeof (void *), 77
14713 See \`config.log' for more details." >&2;}
14714 { (exit 1); exit 1; }; }
14716 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14721 ac_cv_sizeof_void_p
=0
14724 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14725 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14726 cat >>confdefs.h
<<_ACEOF
14727 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14731 echo "$as_me:$LINENO: checking for int" >&5
14732 echo $ECHO_N "checking for int... $ECHO_C" >&6
14733 if test "${ac_cv_type_int+set}" = set; then
14734 echo $ECHO_N "(cached) $ECHO_C" >&6
14736 cat >conftest.
$ac_ext <<_ACEOF
14737 #line $LINENO "configure"
14740 cat confdefs.h
>>conftest.
$ac_ext
14741 cat >>conftest.
$ac_ext <<_ACEOF
14742 /* end confdefs.h. */
14743 $ac_includes_default
14755 rm -f conftest.
$ac_objext
14756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14757 (eval $ac_compile) 2>&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); } &&
14761 { ac_try
='test -s conftest.$ac_objext'
14762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 (eval $ac_try) 2>&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); }; }; then
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.
$ac_ext >&5
14774 rm -f conftest.
$ac_objext conftest.
$ac_ext
14776 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14777 echo "${ECHO_T}$ac_cv_type_int" >&6
14779 echo "$as_me:$LINENO: checking size of int" >&5
14780 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14781 if test "${ac_cv_sizeof_int+set}" = set; then
14782 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 if test "$ac_cv_type_int" = yes; then
14785 # The cast to unsigned long works around a bug in the HP C Compiler
14786 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14787 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14788 # This bug is HP SR number 8606223364.
14789 if test "$cross_compiling" = yes; then
14790 # Depending upon the size, compute the lo and hi bounds.
14791 cat >conftest.
$ac_ext <<_ACEOF
14792 #line $LINENO "configure"
14795 cat confdefs.h
>>conftest.
$ac_ext
14796 cat >>conftest.
$ac_ext <<_ACEOF
14797 /* end confdefs.h. */
14798 $ac_includes_default
14802 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14809 rm -f conftest.
$ac_objext
14810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14811 (eval $ac_compile) 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); } &&
14815 { ac_try
='test -s conftest.$ac_objext'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14823 cat >conftest.
$ac_ext <<_ACEOF
14824 #line $LINENO "configure"
14827 cat confdefs.h
>>conftest.
$ac_ext
14828 cat >>conftest.
$ac_ext <<_ACEOF
14829 /* end confdefs.h. */
14830 $ac_includes_default
14834 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14841 rm -f conftest.
$ac_objext
14842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14843 (eval $ac_compile) 2>&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } &&
14847 { ac_try
='test -s conftest.$ac_objext'
14848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14849 (eval $ac_try) 2>&5
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); }; }; then
14853 ac_hi
=$ac_mid; break
14855 echo "$as_me: failed program was:" >&5
14856 sed 's/^/| /' conftest.
$ac_ext >&5
14858 ac_lo
=`expr $ac_mid + 1`
14859 if test $ac_lo -le $ac_mid; then
14863 ac_mid
=`expr 2 '*' $ac_mid + 1`
14865 rm -f conftest.
$ac_objext conftest.
$ac_ext
14868 echo "$as_me: failed program was:" >&5
14869 sed 's/^/| /' conftest.
$ac_ext >&5
14871 cat >conftest.
$ac_ext <<_ACEOF
14872 #line $LINENO "configure"
14875 cat confdefs.h
>>conftest.
$ac_ext
14876 cat >>conftest.
$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14878 $ac_includes_default
14882 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14889 rm -f conftest.
$ac_objext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14891 (eval $ac_compile) 2>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } &&
14895 { ac_try
='test -s conftest.$ac_objext'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14903 cat >conftest.
$ac_ext <<_ACEOF
14904 #line $LINENO "configure"
14907 cat confdefs.h
>>conftest.
$ac_ext
14908 cat >>conftest.
$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14910 $ac_includes_default
14914 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14921 rm -f conftest.
$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); } &&
14927 { ac_try
='test -s conftest.$ac_objext'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; }; then
14933 ac_lo
=$ac_mid; break
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.
$ac_ext >&5
14938 ac_hi
=`expr '(' $ac_mid ')' - 1`
14939 if test $ac_mid -le $ac_hi; then
14943 ac_mid
=`expr 2 '*' $ac_mid`
14945 rm -f conftest.
$ac_objext conftest.
$ac_ext
14948 echo "$as_me: failed program was:" >&5
14949 sed 's/^/| /' conftest.
$ac_ext >&5
14953 rm -f conftest.
$ac_objext conftest.
$ac_ext
14955 rm -f conftest.
$ac_objext conftest.
$ac_ext
14956 # Binary search between lo and hi bounds.
14957 while test "x$ac_lo" != "x$ac_hi"; do
14958 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14959 cat >conftest.
$ac_ext <<_ACEOF
14960 #line $LINENO "configure"
14963 cat confdefs.h
>>conftest.
$ac_ext
14964 cat >>conftest.
$ac_ext <<_ACEOF
14965 /* end confdefs.h. */
14966 $ac_includes_default
14970 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14977 rm -f conftest.
$ac_objext
14978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14979 (eval $ac_compile) 2>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } &&
14983 { ac_try
='test -s conftest.$ac_objext'
14984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14985 (eval $ac_try) 2>&5
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); }; }; then
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.
$ac_ext >&5
14994 ac_lo
=`expr '(' $ac_mid ')' + 1`
14996 rm -f conftest.
$ac_objext conftest.
$ac_ext
14999 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15000 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15001 See \`config.log' for more details." >&5
15002 echo "$as_me: error: cannot compute sizeof (int), 77
15003 See \`config.log' for more details." >&2;}
15004 { (exit 1); exit 1; }; } ;;
15007 if test "$cross_compiling" = yes; then
15008 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15009 See \`config.log' for more details." >&5
15010 echo "$as_me: error: cannot run test program while cross compiling
15011 See \`config.log' for more details." >&2;}
15012 { (exit 1); exit 1; }; }
15014 cat >conftest.
$ac_ext <<_ACEOF
15015 #line $LINENO "configure"
15018 cat confdefs.h
>>conftest.
$ac_ext
15019 cat >>conftest.
$ac_ext <<_ACEOF
15020 /* end confdefs.h. */
15021 $ac_includes_default
15022 long longval () { return (long) (sizeof (int)); }
15023 unsigned long ulongval () { return (long) (sizeof (int)); }
15025 #include <stdlib.h>
15030 FILE *f = fopen ("conftest.val", "w");
15033 if (((long) (sizeof (int))) < 0)
15035 long i = longval ();
15036 if (i != ((long) (sizeof (int))))
15038 fprintf (f, "%ld\n", i);
15042 unsigned long i = ulongval ();
15043 if (i != ((long) (sizeof (int))))
15045 fprintf (f, "%lu\n", i);
15047 exit (ferror (f) || fclose (f) != 0);
15053 rm -f conftest
$ac_exeext
15054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15055 (eval $ac_link) 2>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; }; then
15064 ac_cv_sizeof_int
=`cat conftest.val`
15066 echo "$as_me: program exited with status $ac_status" >&5
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.
$ac_ext >&5
15070 ( exit $ac_status )
15071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15072 See \`config.log' for more details." >&5
15073 echo "$as_me: error: cannot compute sizeof (int), 77
15074 See \`config.log' for more details." >&2;}
15075 { (exit 1); exit 1; }; }
15077 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15085 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15086 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15087 cat >>confdefs.h
<<_ACEOF
15088 #define SIZEOF_INT $ac_cv_sizeof_int
15092 echo "$as_me:$LINENO: checking for long" >&5
15093 echo $ECHO_N "checking for long... $ECHO_C" >&6
15094 if test "${ac_cv_type_long+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15097 cat >conftest.
$ac_ext <<_ACEOF
15098 #line $LINENO "configure"
15101 cat confdefs.h
>>conftest.
$ac_ext
15102 cat >>conftest.
$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15104 $ac_includes_default
15116 rm -f conftest.
$ac_objext
15117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15118 (eval $ac_compile) 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); } &&
15122 { ac_try
='test -s conftest.$ac_objext'
15123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15124 (eval $ac_try) 2>&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); }; }; then
15128 ac_cv_type_long
=yes
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.
$ac_ext >&5
15135 rm -f conftest.
$ac_objext conftest.
$ac_ext
15137 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15138 echo "${ECHO_T}$ac_cv_type_long" >&6
15140 echo "$as_me:$LINENO: checking size of long" >&5
15141 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15142 if test "${ac_cv_sizeof_long+set}" = set; then
15143 echo $ECHO_N "(cached) $ECHO_C" >&6
15145 if test "$ac_cv_type_long" = yes; then
15146 # The cast to unsigned long works around a bug in the HP C Compiler
15147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15149 # This bug is HP SR number 8606223364.
15150 if test "$cross_compiling" = yes; then
15151 # Depending upon the size, compute the lo and hi bounds.
15152 cat >conftest.
$ac_ext <<_ACEOF
15153 #line $LINENO "configure"
15156 cat confdefs.h
>>conftest.
$ac_ext
15157 cat >>conftest.
$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15159 $ac_includes_default
15163 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15170 rm -f conftest.
$ac_objext
15171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15172 (eval $ac_compile) 2>&5
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); } &&
15176 { ac_try
='test -s conftest.$ac_objext'
15177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178 (eval $ac_try) 2>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; }; then
15184 cat >conftest.
$ac_ext <<_ACEOF
15185 #line $LINENO "configure"
15188 cat confdefs.h
>>conftest.
$ac_ext
15189 cat >>conftest.
$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191 $ac_includes_default
15195 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15202 rm -f conftest.
$ac_objext
15203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15204 (eval $ac_compile) 2>&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); } &&
15208 { ac_try
='test -s conftest.$ac_objext'
15209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15210 (eval $ac_try) 2>&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); }; }; then
15214 ac_hi
=$ac_mid; break
15216 echo "$as_me: failed program was:" >&5
15217 sed 's/^/| /' conftest.
$ac_ext >&5
15219 ac_lo
=`expr $ac_mid + 1`
15220 if test $ac_lo -le $ac_mid; then
15224 ac_mid
=`expr 2 '*' $ac_mid + 1`
15226 rm -f conftest.
$ac_objext conftest.
$ac_ext
15229 echo "$as_me: failed program was:" >&5
15230 sed 's/^/| /' conftest.
$ac_ext >&5
15232 cat >conftest.
$ac_ext <<_ACEOF
15233 #line $LINENO "configure"
15236 cat confdefs.h
>>conftest.
$ac_ext
15237 cat >>conftest.
$ac_ext <<_ACEOF
15238 /* end confdefs.h. */
15239 $ac_includes_default
15243 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15250 rm -f conftest.
$ac_objext
15251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15252 (eval $ac_compile) 2>&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } &&
15256 { ac_try
='test -s conftest.$ac_objext'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; }; then
15264 cat >conftest.
$ac_ext <<_ACEOF
15265 #line $LINENO "configure"
15268 cat confdefs.h
>>conftest.
$ac_ext
15269 cat >>conftest.
$ac_ext <<_ACEOF
15270 /* end confdefs.h. */
15271 $ac_includes_default
15275 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15282 rm -f conftest.
$ac_objext
15283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15284 (eval $ac_compile) 2>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); } &&
15288 { ac_try
='test -s conftest.$ac_objext'
15289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15290 (eval $ac_try) 2>&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; }; then
15294 ac_lo
=$ac_mid; break
15296 echo "$as_me: failed program was:" >&5
15297 sed 's/^/| /' conftest.
$ac_ext >&5
15299 ac_hi
=`expr '(' $ac_mid ')' - 1`
15300 if test $ac_mid -le $ac_hi; then
15304 ac_mid
=`expr 2 '*' $ac_mid`
15306 rm -f conftest.
$ac_objext conftest.
$ac_ext
15309 echo "$as_me: failed program was:" >&5
15310 sed 's/^/| /' conftest.
$ac_ext >&5
15314 rm -f conftest.
$ac_objext conftest.
$ac_ext
15316 rm -f conftest.
$ac_objext conftest.
$ac_ext
15317 # Binary search between lo and hi bounds.
15318 while test "x$ac_lo" != "x$ac_hi"; do
15319 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15320 cat >conftest.
$ac_ext <<_ACEOF
15321 #line $LINENO "configure"
15324 cat confdefs.h
>>conftest.
$ac_ext
15325 cat >>conftest.
$ac_ext <<_ACEOF
15326 /* end confdefs.h. */
15327 $ac_includes_default
15331 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15338 rm -f conftest.
$ac_objext
15339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15340 (eval $ac_compile) 2>&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); } &&
15344 { ac_try
='test -s conftest.$ac_objext'
15345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15346 (eval $ac_try) 2>&5
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); }; }; then
15352 echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.
$ac_ext >&5
15355 ac_lo
=`expr '(' $ac_mid ')' + 1`
15357 rm -f conftest.
$ac_objext conftest.
$ac_ext
15360 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15361 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15362 See \`config.log' for more details." >&5
15363 echo "$as_me: error: cannot compute sizeof (long), 77
15364 See \`config.log' for more details." >&2;}
15365 { (exit 1); exit 1; }; } ;;
15368 if test "$cross_compiling" = yes; then
15369 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15370 See \`config.log' for more details." >&5
15371 echo "$as_me: error: cannot run test program while cross compiling
15372 See \`config.log' for more details." >&2;}
15373 { (exit 1); exit 1; }; }
15375 cat >conftest.
$ac_ext <<_ACEOF
15376 #line $LINENO "configure"
15379 cat confdefs.h
>>conftest.
$ac_ext
15380 cat >>conftest.
$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15382 $ac_includes_default
15383 long longval () { return (long) (sizeof (long)); }
15384 unsigned long ulongval () { return (long) (sizeof (long)); }
15386 #include <stdlib.h>
15391 FILE *f = fopen ("conftest.val", "w");
15394 if (((long) (sizeof (long))) < 0)
15396 long i = longval ();
15397 if (i != ((long) (sizeof (long))))
15399 fprintf (f, "%ld\n", i);
15403 unsigned long i = ulongval ();
15404 if (i != ((long) (sizeof (long))))
15406 fprintf (f, "%lu\n", i);
15408 exit (ferror (f) || fclose (f) != 0);
15414 rm -f conftest
$ac_exeext
15415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15416 (eval $ac_link) 2>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; }; then
15425 ac_cv_sizeof_long
=`cat conftest.val`
15427 echo "$as_me: program exited with status $ac_status" >&5
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.
$ac_ext >&5
15431 ( exit $ac_status )
15432 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15433 See \`config.log' for more details." >&5
15434 echo "$as_me: error: cannot compute sizeof (long), 77
15435 See \`config.log' for more details." >&2;}
15436 { (exit 1); exit 1; }; }
15438 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15443 ac_cv_sizeof_long
=0
15446 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15447 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15448 cat >>confdefs.h
<<_ACEOF
15449 #define SIZEOF_LONG $ac_cv_sizeof_long
15456 echo "$as_me:$LINENO: checking for long long" >&5
15457 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15458 if test "${ac_cv_type_long_long+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15461 cat >conftest.
$ac_ext <<_ACEOF
15462 #line $LINENO "configure"
15465 cat confdefs.h
>>conftest.
$ac_ext
15466 cat >>conftest.
$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15468 $ac_includes_default
15472 if ((long long *) 0)
15474 if (sizeof (long long))
15480 rm -f conftest.
$ac_objext
15481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15482 (eval $ac_compile) 2>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } &&
15486 { ac_try
='test -s conftest.$ac_objext'
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; }; then
15492 ac_cv_type_long_long
=yes
15494 echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.
$ac_ext >&5
15497 ac_cv_type_long_long
=no
15499 rm -f conftest.
$ac_objext conftest.
$ac_ext
15501 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15502 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15504 echo "$as_me:$LINENO: checking size of long long" >&5
15505 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15506 if test "${ac_cv_sizeof_long_long+set}" = set; then
15507 echo $ECHO_N "(cached) $ECHO_C" >&6
15509 if test "$ac_cv_type_long_long" = yes; then
15510 # The cast to unsigned long works around a bug in the HP C Compiler
15511 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15512 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15513 # This bug is HP SR number 8606223364.
15514 if test "$cross_compiling" = yes; then
15515 # Depending upon the size, compute the lo and hi bounds.
15516 cat >conftest.
$ac_ext <<_ACEOF
15517 #line $LINENO "configure"
15520 cat confdefs.h
>>conftest.
$ac_ext
15521 cat >>conftest.
$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 $ac_includes_default
15527 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15534 rm -f conftest.
$ac_objext
15535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15536 (eval $ac_compile) 2>&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); } &&
15540 { ac_try
='test -s conftest.$ac_objext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15548 cat >conftest.
$ac_ext <<_ACEOF
15549 #line $LINENO "configure"
15552 cat confdefs.h
>>conftest.
$ac_ext
15553 cat >>conftest.
$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15555 $ac_includes_default
15559 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15566 rm -f conftest.
$ac_objext
15567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15568 (eval $ac_compile) 2>&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); } &&
15572 { ac_try
='test -s conftest.$ac_objext'
15573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15574 (eval $ac_try) 2>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); }; }; then
15578 ac_hi
=$ac_mid; break
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.
$ac_ext >&5
15583 ac_lo
=`expr $ac_mid + 1`
15584 if test $ac_lo -le $ac_mid; then
15588 ac_mid
=`expr 2 '*' $ac_mid + 1`
15590 rm -f conftest.
$ac_objext conftest.
$ac_ext
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.
$ac_ext >&5
15596 cat >conftest.
$ac_ext <<_ACEOF
15597 #line $LINENO "configure"
15600 cat confdefs.h
>>conftest.
$ac_ext
15601 cat >>conftest.
$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15603 $ac_includes_default
15607 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15614 rm -f conftest.
$ac_objext
15615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15616 (eval $ac_compile) 2>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); } &&
15620 { ac_try
='test -s conftest.$ac_objext'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; }; then
15628 cat >conftest.
$ac_ext <<_ACEOF
15629 #line $LINENO "configure"
15632 cat confdefs.h
>>conftest.
$ac_ext
15633 cat >>conftest.
$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15635 $ac_includes_default
15639 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15646 rm -f conftest.
$ac_objext
15647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15648 (eval $ac_compile) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); } &&
15652 { ac_try
='test -s conftest.$ac_objext'
15653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15654 (eval $ac_try) 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_lo
=$ac_mid; break
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.
$ac_ext >&5
15663 ac_hi
=`expr '(' $ac_mid ')' - 1`
15664 if test $ac_mid -le $ac_hi; then
15668 ac_mid
=`expr 2 '*' $ac_mid`
15670 rm -f conftest.
$ac_objext conftest.
$ac_ext
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.
$ac_ext >&5
15678 rm -f conftest.
$ac_objext conftest.
$ac_ext
15680 rm -f conftest.
$ac_objext conftest.
$ac_ext
15681 # Binary search between lo and hi bounds.
15682 while test "x$ac_lo" != "x$ac_hi"; do
15683 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15684 cat >conftest.
$ac_ext <<_ACEOF
15685 #line $LINENO "configure"
15688 cat confdefs.h
>>conftest.
$ac_ext
15689 cat >>conftest.
$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15691 $ac_includes_default
15695 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15702 rm -f conftest.
$ac_objext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15704 (eval $ac_compile) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } &&
15708 { ac_try
='test -s conftest.$ac_objext'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; }; then
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.
$ac_ext >&5
15719 ac_lo
=`expr '(' $ac_mid ')' + 1`
15721 rm -f conftest.
$ac_objext conftest.
$ac_ext
15724 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15725 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15726 See \`config.log' for more details." >&5
15727 echo "$as_me: error: cannot compute sizeof (long long), 77
15728 See \`config.log' for more details." >&2;}
15729 { (exit 1); exit 1; }; } ;;
15732 if test "$cross_compiling" = yes; then
15733 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15734 See \`config.log' for more details." >&5
15735 echo "$as_me: error: cannot run test program while cross compiling
15736 See \`config.log' for more details." >&2;}
15737 { (exit 1); exit 1; }; }
15739 cat >conftest.
$ac_ext <<_ACEOF
15740 #line $LINENO "configure"
15743 cat confdefs.h
>>conftest.
$ac_ext
15744 cat >>conftest.
$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746 $ac_includes_default
15747 long longval () { return (long) (sizeof (long long)); }
15748 unsigned long ulongval () { return (long) (sizeof (long long)); }
15750 #include <stdlib.h>
15755 FILE *f = fopen ("conftest.val", "w");
15758 if (((long) (sizeof (long long))) < 0)
15760 long i = longval ();
15761 if (i != ((long) (sizeof (long long))))
15763 fprintf (f, "%ld\n", i);
15767 unsigned long i = ulongval ();
15768 if (i != ((long) (sizeof (long long))))
15770 fprintf (f, "%lu\n", i);
15772 exit (ferror (f) || fclose (f) != 0);
15778 rm -f conftest
$ac_exeext
15779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15780 (eval $ac_link) 2>&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; }; then
15789 ac_cv_sizeof_long_long
=`cat conftest.val`
15791 echo "$as_me: program exited with status $ac_status" >&5
15792 echo "$as_me: failed program was:" >&5
15793 sed 's/^/| /' conftest.
$ac_ext >&5
15795 ( exit $ac_status )
15796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15797 See \`config.log' for more details." >&5
15798 echo "$as_me: error: cannot compute sizeof (long long), 77
15799 See \`config.log' for more details." >&2;}
15800 { (exit 1); exit 1; }; }
15802 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15807 ac_cv_sizeof_long_long
=0
15810 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15811 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15812 cat >>confdefs.h
<<_ACEOF
15813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15819 echo "$as_me:$LINENO: checking for long long" >&5
15820 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15821 if test "${ac_cv_type_long_long+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 cat >conftest.
$ac_ext <<_ACEOF
15825 #line $LINENO "configure"
15828 cat confdefs.h
>>conftest.
$ac_ext
15829 cat >>conftest.
$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15831 $ac_includes_default
15835 if ((long long *) 0)
15837 if (sizeof (long long))
15843 rm -f conftest.
$ac_objext
15844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15845 (eval $ac_compile) 2>&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); } &&
15849 { ac_try
='test -s conftest.$ac_objext'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; }; then
15855 ac_cv_type_long_long
=yes
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.
$ac_ext >&5
15860 ac_cv_type_long_long
=no
15862 rm -f conftest.
$ac_objext conftest.
$ac_ext
15864 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15865 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15867 echo "$as_me:$LINENO: checking size of long long" >&5
15868 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15869 if test "${ac_cv_sizeof_long_long+set}" = set; then
15870 echo $ECHO_N "(cached) $ECHO_C" >&6
15872 if test "$ac_cv_type_long_long" = yes; then
15873 # The cast to unsigned long works around a bug in the HP C Compiler
15874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15876 # This bug is HP SR number 8606223364.
15877 if test "$cross_compiling" = yes; then
15878 # Depending upon the size, compute the lo and hi bounds.
15879 cat >conftest.
$ac_ext <<_ACEOF
15880 #line $LINENO "configure"
15883 cat confdefs.h
>>conftest.
$ac_ext
15884 cat >>conftest.
$ac_ext <<_ACEOF
15885 /* end confdefs.h. */
15886 $ac_includes_default
15890 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15897 rm -f conftest.
$ac_objext
15898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15899 (eval $ac_compile) 2>&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); } &&
15903 { ac_try
='test -s conftest.$ac_objext'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; }; then
15911 cat >conftest.
$ac_ext <<_ACEOF
15912 #line $LINENO "configure"
15915 cat confdefs.h
>>conftest.
$ac_ext
15916 cat >>conftest.
$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 $ac_includes_default
15922 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15929 rm -f conftest.
$ac_objext
15930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15931 (eval $ac_compile) 2>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } &&
15935 { ac_try
='test -s conftest.$ac_objext'
15936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15937 (eval $ac_try) 2>&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); }; }; then
15941 ac_hi
=$ac_mid; break
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.
$ac_ext >&5
15946 ac_lo
=`expr $ac_mid + 1`
15947 if test $ac_lo -le $ac_mid; then
15951 ac_mid
=`expr 2 '*' $ac_mid + 1`
15953 rm -f conftest.
$ac_objext conftest.
$ac_ext
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.
$ac_ext >&5
15959 cat >conftest.
$ac_ext <<_ACEOF
15960 #line $LINENO "configure"
15963 cat confdefs.h
>>conftest.
$ac_ext
15964 cat >>conftest.
$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 $ac_includes_default
15970 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15977 rm -f conftest.
$ac_objext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } &&
15983 { ac_try
='test -s conftest.$ac_objext'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then
15991 cat >conftest.
$ac_ext <<_ACEOF
15992 #line $LINENO "configure"
15995 cat confdefs.h
>>conftest.
$ac_ext
15996 cat >>conftest.
$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15998 $ac_includes_default
16002 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16009 rm -f conftest.
$ac_objext
16010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16011 (eval $ac_compile) 2>&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); } &&
16015 { ac_try
='test -s conftest.$ac_objext'
16016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16017 (eval $ac_try) 2>&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; }; then
16021 ac_lo
=$ac_mid; break
16023 echo "$as_me: failed program was:" >&5
16024 sed 's/^/| /' conftest.
$ac_ext >&5
16026 ac_hi
=`expr '(' $ac_mid ')' - 1`
16027 if test $ac_mid -le $ac_hi; then
16031 ac_mid
=`expr 2 '*' $ac_mid`
16033 rm -f conftest.
$ac_objext conftest.
$ac_ext
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.
$ac_ext >&5
16041 rm -f conftest.
$ac_objext conftest.
$ac_ext
16043 rm -f conftest.
$ac_objext conftest.
$ac_ext
16044 # Binary search between lo and hi bounds.
16045 while test "x$ac_lo" != "x$ac_hi"; do
16046 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16047 cat >conftest.
$ac_ext <<_ACEOF
16048 #line $LINENO "configure"
16051 cat confdefs.h
>>conftest.
$ac_ext
16052 cat >>conftest.
$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 $ac_includes_default
16058 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16065 rm -f conftest.
$ac_objext
16066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16067 (eval $ac_compile) 2>&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } &&
16071 { ac_try
='test -s conftest.$ac_objext'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; }; then
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.
$ac_ext >&5
16082 ac_lo
=`expr '(' $ac_mid ')' + 1`
16084 rm -f conftest.
$ac_objext conftest.
$ac_ext
16087 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16088 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16089 See \`config.log' for more details." >&5
16090 echo "$as_me: error: cannot compute sizeof (long long), 77
16091 See \`config.log' for more details." >&2;}
16092 { (exit 1); exit 1; }; } ;;
16095 if test "$cross_compiling" = yes; then
16096 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16097 See \`config.log' for more details." >&5
16098 echo "$as_me: error: cannot run test program while cross compiling
16099 See \`config.log' for more details." >&2;}
16100 { (exit 1); exit 1; }; }
16102 cat >conftest.
$ac_ext <<_ACEOF
16103 #line $LINENO "configure"
16106 cat confdefs.h
>>conftest.
$ac_ext
16107 cat >>conftest.
$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 $ac_includes_default
16110 long longval () { return (long) (sizeof (long long)); }
16111 unsigned long ulongval () { return (long) (sizeof (long long)); }
16113 #include <stdlib.h>
16118 FILE *f = fopen ("conftest.val", "w");
16121 if (((long) (sizeof (long long))) < 0)
16123 long i = longval ();
16124 if (i != ((long) (sizeof (long long))))
16126 fprintf (f, "%ld\n", i);
16130 unsigned long i = ulongval ();
16131 if (i != ((long) (sizeof (long long))))
16133 fprintf (f, "%lu\n", i);
16135 exit (ferror (f) || fclose (f) != 0);
16141 rm -f conftest
$ac_exeext
16142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16143 (eval $ac_link) 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; }; then
16152 ac_cv_sizeof_long_long
=`cat conftest.val`
16154 echo "$as_me: program exited with status $ac_status" >&5
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.
$ac_ext >&5
16158 ( exit $ac_status )
16159 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16160 See \`config.log' for more details." >&5
16161 echo "$as_me: error: cannot compute sizeof (long long), 77
16162 See \`config.log' for more details." >&2;}
16163 { (exit 1); exit 1; }; }
16165 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16170 ac_cv_sizeof_long_long
=0
16173 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16174 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16175 cat >>confdefs.h
<<_ACEOF
16176 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16180 if test "$ac_cv_sizeof_long_long" != "0"; then
16181 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16185 echo "$as_me:$LINENO: checking for long long" >&5
16186 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16187 if test "${ac_cv_type_long_long+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 cat >conftest.
$ac_ext <<_ACEOF
16191 #line $LINENO "configure"
16194 cat confdefs.h
>>conftest.
$ac_ext
16195 cat >>conftest.
$ac_ext <<_ACEOF
16196 /* end confdefs.h. */
16197 $ac_includes_default
16201 if ((long long *) 0)
16203 if (sizeof (long long))
16209 rm -f conftest.
$ac_objext
16210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16211 (eval $ac_compile) 2>&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); } &&
16215 { ac_try
='test -s conftest.$ac_objext'
16216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 (eval $ac_try) 2>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; }; then
16221 ac_cv_type_long_long
=yes
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.
$ac_ext >&5
16226 ac_cv_type_long_long
=no
16228 rm -f conftest.
$ac_objext conftest.
$ac_ext
16230 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16231 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16233 echo "$as_me:$LINENO: checking size of long long" >&5
16234 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16235 if test "${ac_cv_sizeof_long_long+set}" = set; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16238 if test "$ac_cv_type_long_long" = yes; then
16239 # The cast to unsigned long works around a bug in the HP C Compiler
16240 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16241 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16242 # This bug is HP SR number 8606223364.
16243 if test "$cross_compiling" = yes; then
16244 # Depending upon the size, compute the lo and hi bounds.
16245 cat >conftest.
$ac_ext <<_ACEOF
16246 #line $LINENO "configure"
16249 cat confdefs.h
>>conftest.
$ac_ext
16250 cat >>conftest.
$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16252 $ac_includes_default
16256 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16263 rm -f conftest.
$ac_objext
16264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16265 (eval $ac_compile) 2>&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); } &&
16269 { ac_try
='test -s conftest.$ac_objext'
16270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16271 (eval $ac_try) 2>&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); }; }; then
16277 cat >conftest.
$ac_ext <<_ACEOF
16278 #line $LINENO "configure"
16281 cat confdefs.h
>>conftest.
$ac_ext
16282 cat >>conftest.
$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 $ac_includes_default
16288 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16295 rm -f conftest.
$ac_objext
16296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16297 (eval $ac_compile) 2>&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); } &&
16301 { ac_try
='test -s conftest.$ac_objext'
16302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303 (eval $ac_try) 2>&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); }; }; then
16307 ac_hi
=$ac_mid; break
16309 echo "$as_me: failed program was:" >&5
16310 sed 's/^/| /' conftest.
$ac_ext >&5
16312 ac_lo
=`expr $ac_mid + 1`
16313 if test $ac_lo -le $ac_mid; then
16317 ac_mid
=`expr 2 '*' $ac_mid + 1`
16319 rm -f conftest.
$ac_objext conftest.
$ac_ext
16322 echo "$as_me: failed program was:" >&5
16323 sed 's/^/| /' conftest.
$ac_ext >&5
16325 cat >conftest.
$ac_ext <<_ACEOF
16326 #line $LINENO "configure"
16329 cat confdefs.h
>>conftest.
$ac_ext
16330 cat >>conftest.
$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 $ac_includes_default
16336 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16343 rm -f conftest.
$ac_objext
16344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16345 (eval $ac_compile) 2>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } &&
16349 { ac_try
='test -s conftest.$ac_objext'
16350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351 (eval $ac_try) 2>&5
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); }; }; then
16357 cat >conftest.
$ac_ext <<_ACEOF
16358 #line $LINENO "configure"
16361 cat confdefs.h
>>conftest.
$ac_ext
16362 cat >>conftest.
$ac_ext <<_ACEOF
16363 /* end confdefs.h. */
16364 $ac_includes_default
16368 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16375 rm -f conftest.
$ac_objext
16376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16377 (eval $ac_compile) 2>&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } &&
16381 { ac_try
='test -s conftest.$ac_objext'
16382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16383 (eval $ac_try) 2>&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); }; }; then
16387 ac_lo
=$ac_mid; break
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.
$ac_ext >&5
16392 ac_hi
=`expr '(' $ac_mid ')' - 1`
16393 if test $ac_mid -le $ac_hi; then
16397 ac_mid
=`expr 2 '*' $ac_mid`
16399 rm -f conftest.
$ac_objext conftest.
$ac_ext
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.
$ac_ext >&5
16407 rm -f conftest.
$ac_objext conftest.
$ac_ext
16409 rm -f conftest.
$ac_objext conftest.
$ac_ext
16410 # Binary search between lo and hi bounds.
16411 while test "x$ac_lo" != "x$ac_hi"; do
16412 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16413 cat >conftest.
$ac_ext <<_ACEOF
16414 #line $LINENO "configure"
16417 cat confdefs.h
>>conftest.
$ac_ext
16418 cat >>conftest.
$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 $ac_includes_default
16424 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16431 rm -f conftest.
$ac_objext
16432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16433 (eval $ac_compile) 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); } &&
16437 { ac_try
='test -s conftest.$ac_objext'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; }; then
16445 echo "$as_me: failed program was:" >&5
16446 sed 's/^/| /' conftest.
$ac_ext >&5
16448 ac_lo
=`expr '(' $ac_mid ')' + 1`
16450 rm -f conftest.
$ac_objext conftest.
$ac_ext
16453 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16454 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16455 See \`config.log' for more details." >&5
16456 echo "$as_me: error: cannot compute sizeof (long long), 77
16457 See \`config.log' for more details." >&2;}
16458 { (exit 1); exit 1; }; } ;;
16461 if test "$cross_compiling" = yes; then
16462 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16463 See \`config.log' for more details." >&5
16464 echo "$as_me: error: cannot run test program while cross compiling
16465 See \`config.log' for more details." >&2;}
16466 { (exit 1); exit 1; }; }
16468 cat >conftest.
$ac_ext <<_ACEOF
16469 #line $LINENO "configure"
16472 cat confdefs.h
>>conftest.
$ac_ext
16473 cat >>conftest.
$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 $ac_includes_default
16476 long longval () { return (long) (sizeof (long long)); }
16477 unsigned long ulongval () { return (long) (sizeof (long long)); }
16479 #include <stdlib.h>
16484 FILE *f = fopen ("conftest.val", "w");
16487 if (((long) (sizeof (long long))) < 0)
16489 long i = longval ();
16490 if (i != ((long) (sizeof (long long))))
16492 fprintf (f, "%ld\n", i);
16496 unsigned long i = ulongval ();
16497 if (i != ((long) (sizeof (long long))))
16499 fprintf (f, "%lu\n", i);
16501 exit (ferror (f) || fclose (f) != 0);
16507 rm -f conftest
$ac_exeext
16508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16509 (eval $ac_link) 2>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16514 (eval $ac_try) 2>&5
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); }; }; then
16518 ac_cv_sizeof_long_long
=`cat conftest.val`
16520 echo "$as_me: program exited with status $ac_status" >&5
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.
$ac_ext >&5
16524 ( exit $ac_status )
16525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16526 See \`config.log' for more details." >&5
16527 echo "$as_me: error: cannot compute sizeof (long long), 77
16528 See \`config.log' for more details." >&2;}
16529 { (exit 1); exit 1; }; }
16531 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16536 ac_cv_sizeof_long_long
=0
16539 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16540 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16541 cat >>confdefs.h
<<_ACEOF
16542 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16548 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16549 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16550 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16551 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 if test "$cross_compiling" = yes; then
16558 wx_cv_sizeof_wchar_t
=0
16561 wx_cv_sizeof_wchar_t
=4
16567 cat >conftest.
$ac_ext <<_ACEOF
16568 #line $LINENO "configure"
16571 cat confdefs.h
>>conftest.
$ac_ext
16572 cat >>conftest.
$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16575 /* DJGPP only has fake wchar_t: */
16577 # error "fake wchar_t"
16579 #ifdef HAVE_WCHAR_H
16581 # include <stddef.h>
16583 # include <wchar.h>
16585 #ifdef HAVE_STDLIB_H
16586 # include <stdlib.h>
16591 FILE *f=fopen("conftestval", "w");
16593 fprintf(f, "%i", sizeof(wchar_t));
16598 rm -f conftest
$ac_exeext
16599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16600 (eval $ac_link) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; }; then
16609 wx_cv_sizeof_wchar_t
=`cat conftestval`
16611 echo "$as_me: program exited with status $ac_status" >&5
16612 echo "$as_me: failed program was:" >&5
16613 sed 's/^/| /' conftest.
$ac_ext >&5
16615 ( exit $ac_status )
16616 wx_cv_sizeof_wchar_t
=0
16618 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16622 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16623 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16625 cat >>confdefs.h
<<_ACEOF
16626 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16630 # Check whether --enable-largefile or --disable-largefile was given.
16631 if test "${enable_largefile+set}" = set; then
16632 enableval
="$enable_largefile"
16635 if test "$enable_largefile" != no
; then
16638 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16639 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16640 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16641 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 cat >conftest.
$ac_ext <<_ACEOF
16645 #line $LINENO "configure"
16648 cat confdefs.h
>>conftest.
$ac_ext
16649 cat >>conftest.
$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 #define _FILE_OFFSET_BITS 64
16652 #include <sys/types.h>
16657 unsigned int field: sizeof(off_t) == 8;
16664 rm -f conftest.
$ac_objext
16665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16666 (eval $ac_compile) 2>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); } &&
16670 { ac_try
='test -s conftest.$ac_objext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_cv_sys_file_offset_bits
=64
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.
$ac_ext >&5
16681 ac_cv_sys_file_offset_bits
=no
16683 rm -f conftest.
$ac_objext conftest.
$ac_ext
16687 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16688 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16690 if test "$ac_cv_sys_file_offset_bits" != no
; then
16692 cat >>confdefs.h
<<_ACEOF
16693 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16698 if test "x$wx_largefile" != "xyes"; then
16700 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16701 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16702 if test "${ac_cv_sys_large_files+set}" = set; then
16703 echo $ECHO_N "(cached) $ECHO_C" >&6
16706 cat >conftest.
$ac_ext <<_ACEOF
16707 #line $LINENO "configure"
16710 cat confdefs.h
>>conftest.
$ac_ext
16711 cat >>conftest.
$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713 #define _LARGE_FILES 1
16714 #include <sys/types.h>
16719 unsigned int field: sizeof(off_t) == 8;
16726 rm -f conftest.
$ac_objext
16727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16728 (eval $ac_compile) 2>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } &&
16732 { ac_try
='test -s conftest.$ac_objext'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; }; then
16738 ac_cv_sys_large_files
=1
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.
$ac_ext >&5
16743 ac_cv_sys_large_files
=no
16745 rm -f conftest.
$ac_objext conftest.
$ac_ext
16749 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16750 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16752 if test "$ac_cv_sys_large_files" != no
; then
16754 cat >>confdefs.h
<<_ACEOF
16755 #define _LARGE_FILES $ac_cv_sys_large_files
16762 echo "$as_me:$LINENO: checking if large file support is available" >&5
16763 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16764 if test "x$wx_largefile" = "xyes"; then
16765 cat >>confdefs.h
<<\_ACEOF
16766 #define HAVE_LARGEFILE_SUPPORT 1
16770 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16771 echo "${ECHO_T}$wx_largefile" >&6
16775 if test "x$wx_largefile" = "xyes"; then
16776 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16777 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16779 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16781 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16784 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16785 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16786 if test "${ac_cv_c_bigendian+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 ac_cv_c_bigendian
=unknown
16790 # See if sys/param.h defines the BYTE_ORDER macro.
16791 cat >conftest.
$ac_ext <<_ACEOF
16792 #line $LINENO "configure"
16795 cat confdefs.h
>>conftest.
$ac_ext
16796 cat >>conftest.
$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 #include <sys/types.h>
16799 #include <sys/param.h>
16804 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16805 bogus endian macros
16811 rm -f conftest.
$ac_objext
16812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16813 (eval $ac_compile) 2>&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } &&
16817 { ac_try
='test -s conftest.$ac_objext'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; }; then
16823 # It does; now see whether it defined to BIG_ENDIAN or not.
16824 cat >conftest.
$ac_ext <<_ACEOF
16825 #line $LINENO "configure"
16828 cat confdefs.h
>>conftest.
$ac_ext
16829 cat >>conftest.
$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16831 #include <sys/types.h>
16832 #include <sys/param.h>
16837 #if BYTE_ORDER != BIG_ENDIAN
16844 rm -f conftest.
$ac_objext
16845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16846 (eval $ac_compile) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); } &&
16850 { ac_try
='test -s conftest.$ac_objext'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; }; then
16856 ac_cv_c_bigendian
=yes
16858 echo "$as_me: failed program was:" >&5
16859 sed 's/^/| /' conftest.
$ac_ext >&5
16861 ac_cv_c_bigendian
=no
16863 rm -f conftest.
$ac_objext conftest.
$ac_ext
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.
$ac_ext >&5
16869 rm -f conftest.
$ac_objext conftest.
$ac_ext
16870 if test $ac_cv_c_bigendian = unknown
; then
16871 if test "$cross_compiling" = yes; then
16872 ac_cv_c_bigendian
=unknown
16874 cat >conftest.
$ac_ext <<_ACEOF
16875 #line $LINENO "configure"
16878 cat confdefs.h
>>conftest.
$ac_ext
16879 cat >>conftest.
$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16882 /* Are we little or big endian? From Harbison&Steele. */
16886 char c[sizeof (long)];
16889 exit (u.c[sizeof (long) - 1] == 1);
16892 rm -f conftest
$ac_exeext
16893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16894 (eval $ac_link) 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16903 ac_cv_c_bigendian
=no
16905 echo "$as_me: program exited with status $ac_status" >&5
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.
$ac_ext >&5
16909 ( exit $ac_status )
16910 ac_cv_c_bigendian
=yes
16912 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16916 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16917 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16918 if test $ac_cv_c_bigendian = unknown
; then
16919 { 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
16920 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;}
16922 if test $ac_cv_c_bigendian = yes; then
16923 cat >>confdefs.h
<<\_ACEOF
16924 #define WORDS_BIGENDIAN 1
16932 ac_cpp
='$CXXCPP $CPPFLAGS'
16933 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16934 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16935 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16936 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16937 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16938 if test -z "$CXXCPP"; then
16939 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16942 # Double quotes because CXXCPP needs to be expanded
16943 for CXXCPP
in "$CXX -E" "/lib/cpp"
16945 ac_preproc_ok
=false
16946 for ac_cxx_preproc_warn_flag
in '' yes
16948 # Use a header file that comes with gcc, so configuring glibc
16949 # with a fresh cross-compiler works.
16950 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16951 # <limits.h> exists even on freestanding compilers.
16952 # On the NeXT, cc -E runs the code through the compiler's parser,
16953 # not just through cpp. "Syntax error" is here to catch this case.
16954 cat >conftest.
$ac_ext <<_ACEOF
16955 #line $LINENO "configure"
16958 cat confdefs.h
>>conftest.
$ac_ext
16959 cat >>conftest.
$ac_ext <<_ACEOF
16960 /* end confdefs.h. */
16962 # include <limits.h>
16964 # include <assert.h>
16968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16969 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16971 grep -v '^ *+' conftest.er1
>conftest.err
16973 cat conftest.err
>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); } >/dev
/null
; then
16976 if test -s conftest.err
; then
16977 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16984 if test -z "$ac_cpp_err"; then
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.
$ac_ext >&5
16990 # Broken: fails on valid input.
16993 rm -f conftest.err conftest.
$ac_ext
16995 # OK, works on sane cases. Now check whether non-existent headers
16996 # can be detected and how.
16997 cat >conftest.
$ac_ext <<_ACEOF
16998 #line $LINENO "configure"
17001 cat confdefs.h
>>conftest.
$ac_ext
17002 cat >>conftest.
$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17004 #include <ac_nonexistent.h>
17006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17009 grep -v '^ *+' conftest.er1
>conftest.err
17011 cat conftest.err
>&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } >/dev
/null
; then
17014 if test -s conftest.err
; then
17015 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17022 if test -z "$ac_cpp_err"; then
17023 # Broken: success on invalid input.
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.
$ac_ext >&5
17029 # Passes both tests.
17033 rm -f conftest.err conftest.
$ac_ext
17036 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17037 rm -f conftest.err conftest.
$ac_ext
17038 if $ac_preproc_ok; then
17043 ac_cv_prog_CXXCPP
=$CXXCPP
17046 CXXCPP
=$ac_cv_prog_CXXCPP
17048 ac_cv_prog_CXXCPP
=$CXXCPP
17050 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17051 echo "${ECHO_T}$CXXCPP" >&6
17052 ac_preproc_ok
=false
17053 for ac_cxx_preproc_warn_flag
in '' yes
17055 # Use a header file that comes with gcc, so configuring glibc
17056 # with a fresh cross-compiler works.
17057 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17058 # <limits.h> exists even on freestanding compilers.
17059 # On the NeXT, cc -E runs the code through the compiler's parser,
17060 # not just through cpp. "Syntax error" is here to catch this case.
17061 cat >conftest.
$ac_ext <<_ACEOF
17062 #line $LINENO "configure"
17065 cat confdefs.h
>>conftest.
$ac_ext
17066 cat >>conftest.
$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17069 # include <limits.h>
17071 # include <assert.h>
17075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17076 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17078 grep -v '^ *+' conftest.er1
>conftest.err
17080 cat conftest.err
>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } >/dev
/null
; then
17083 if test -s conftest.err
; then
17084 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17091 if test -z "$ac_cpp_err"; then
17094 echo "$as_me: failed program was:" >&5
17095 sed 's/^/| /' conftest.
$ac_ext >&5
17097 # Broken: fails on valid input.
17100 rm -f conftest.err conftest.
$ac_ext
17102 # OK, works on sane cases. Now check whether non-existent headers
17103 # can be detected and how.
17104 cat >conftest.
$ac_ext <<_ACEOF
17105 #line $LINENO "configure"
17108 cat confdefs.h
>>conftest.
$ac_ext
17109 cat >>conftest.
$ac_ext <<_ACEOF
17110 /* end confdefs.h. */
17111 #include <ac_nonexistent.h>
17113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17116 grep -v '^ *+' conftest.er1
>conftest.err
17118 cat conftest.err
>&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); } >/dev
/null
; then
17121 if test -s conftest.err
; then
17122 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17129 if test -z "$ac_cpp_err"; then
17130 # Broken: success on invalid input.
17133 echo "$as_me: failed program was:" >&5
17134 sed 's/^/| /' conftest.
$ac_ext >&5
17136 # Passes both tests.
17140 rm -f conftest.err conftest.
$ac_ext
17143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17144 rm -f conftest.err conftest.
$ac_ext
17145 if $ac_preproc_ok; then
17148 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17149 See \`config.log' for more details." >&5
17150 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17151 See \`config.log' for more details." >&2;}
17152 { (exit 1); exit 1; }; }
17156 ac_cpp
='$CXXCPP $CPPFLAGS'
17157 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17158 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17159 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17163 if test "$cross_compiling" = "yes"; then
17164 cat >>confdefs.h
<<\_ACEOF
17165 #define wxUSE_IOSTREAMH 1
17172 ac_cpp
='$CXXCPP $CPPFLAGS'
17173 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17174 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17175 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17179 for ac_header
in iostream
17181 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17183 echo "$as_me:$LINENO: checking for $ac_header" >&5
17184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17191 # Is the header compilable?
17192 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17194 cat >conftest.
$ac_ext <<_ACEOF
17195 #line $LINENO "configure"
17198 cat confdefs.h
>>conftest.
$ac_ext
17199 cat >>conftest.
$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 $ac_includes_default
17202 #include <$ac_header>
17204 rm -f conftest.
$ac_objext
17205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17206 (eval $ac_compile) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } &&
17210 { ac_try
='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 ac_header_compiler
=yes
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.
$ac_ext >&5
17221 ac_header_compiler
=no
17223 rm -f conftest.
$ac_objext conftest.
$ac_ext
17224 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17225 echo "${ECHO_T}$ac_header_compiler" >&6
17227 # Is the header present?
17228 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17230 cat >conftest.
$ac_ext <<_ACEOF
17231 #line $LINENO "configure"
17234 cat confdefs.h
>>conftest.
$ac_ext
17235 cat >>conftest.
$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237 #include <$ac_header>
17239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17242 grep -v '^ *+' conftest.er1
>conftest.err
17244 cat conftest.err
>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } >/dev
/null
; then
17247 if test -s conftest.err
; then
17248 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17255 if test -z "$ac_cpp_err"; then
17256 ac_header_preproc
=yes
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.
$ac_ext >&5
17261 ac_header_preproc
=no
17263 rm -f conftest.err conftest.
$ac_ext
17264 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17265 echo "${ECHO_T}$ac_header_preproc" >&6
17267 # So? What about this header?
17268 case $ac_header_compiler:$ac_header_preproc in
17270 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17271 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17276 ## ------------------------------------ ##
17277 ## Report this to bug-autoconf@gnu.org. ##
17278 ## ------------------------------------ ##
17281 sed "s/^/$as_me: WARNING: /" >&2
17284 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17285 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17286 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17287 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17292 ## ------------------------------------ ##
17293 ## Report this to bug-autoconf@gnu.org. ##
17294 ## ------------------------------------ ##
17297 sed "s/^/$as_me: WARNING: /" >&2
17300 echo "$as_me:$LINENO: checking for $ac_header" >&5
17301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 eval "$as_ac_Header=$ac_header_preproc"
17307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17312 cat >>confdefs.h
<<_ACEOF
17313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17321 if test "$ac_cv_header_iostream" = "yes" ; then
17324 cat >>confdefs.h
<<\_ACEOF
17325 #define wxUSE_IOSTREAMH 1
17331 ac_cpp
='$CPP $CPPFLAGS'
17332 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17333 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17334 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17340 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17341 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17342 if test "${wx_cv_cpp_bool+set}" = set; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17349 ac_cpp
='$CXXCPP $CPPFLAGS'
17350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17355 cat >conftest.
$ac_ext <<_ACEOF
17356 #line $LINENO "configure"
17359 cat confdefs.h
>>conftest.
$ac_ext
17360 cat >>conftest.
$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17376 rm -f conftest.
$ac_objext
17377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17378 (eval $ac_compile) 2>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } &&
17382 { ac_try
='test -s conftest.$ac_objext'
17383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17384 (eval $ac_try) 2>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; }; then
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.
$ac_ext >&5
17400 rm -f conftest.
$ac_objext conftest.
$ac_ext
17403 ac_cpp
='$CPP $CPPFLAGS'
17404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17410 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17411 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17413 if test "$wx_cv_cpp_bool" = "yes"; then
17414 cat >>confdefs.h
<<\_ACEOF
17415 #define HAVE_BOOL 1
17422 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17423 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17424 if test "${wx_cv_explicit+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17431 ac_cpp
='$CXXCPP $CPPFLAGS'
17432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17437 cat >conftest.
$ac_ext <<_ACEOF
17438 #line $LINENO "configure"
17441 cat confdefs.h
>>conftest.
$ac_ext
17442 cat >>conftest.
$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17445 class Foo { public: explicit Foo(int) {} };
17457 rm -f conftest.
$ac_objext
17458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17459 (eval $ac_compile) 2>&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); } &&
17463 { ac_try
='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17470 cat >conftest.
$ac_ext <<_ACEOF
17471 #line $LINENO "configure"
17474 cat confdefs.h
>>conftest.
$ac_ext
17475 cat >>conftest.
$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17478 class Foo { public: explicit Foo(int) {} };
17479 static void TakeFoo(const Foo& foo) { }
17492 rm -f conftest.
$ac_objext
17493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17494 (eval $ac_compile) 2>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } &&
17498 { ac_try
='test -s conftest.$ac_objext'
17499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17500 (eval $ac_try) 2>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); }; }; then
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.
$ac_ext >&5
17512 rm -f conftest.
$ac_objext conftest.
$ac_ext
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.
$ac_ext >&5
17521 rm -f conftest.
$ac_objext conftest.
$ac_ext
17524 ac_cpp
='$CPP $CPPFLAGS'
17525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17531 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17532 echo "${ECHO_T}$wx_cv_explicit" >&6
17534 if test "$wx_cv_explicit" = "yes"; then
17535 cat >>confdefs.h
<<\_ACEOF
17536 #define HAVE_EXPLICIT 1
17542 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17543 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17544 if test "${ac_cv_cxx_const_cast+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17550 ac_cpp
='$CXXCPP $CPPFLAGS'
17551 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17552 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17553 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17555 cat >conftest.
$ac_ext <<_ACEOF
17556 #line $LINENO "configure"
17559 cat confdefs.h
>>conftest.
$ac_ext
17560 cat >>conftest.
$ac_ext <<_ACEOF
17561 /* end confdefs.h. */
17566 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17571 rm -f conftest.
$ac_objext
17572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17573 (eval $ac_compile) 2>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try
='test -s conftest.$ac_objext'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; }; then
17583 ac_cv_cxx_const_cast
=yes
17585 echo "$as_me: failed program was:" >&5
17586 sed 's/^/| /' conftest.
$ac_ext >&5
17588 ac_cv_cxx_const_cast
=no
17590 rm -f conftest.
$ac_objext conftest.
$ac_ext
17592 ac_cpp
='$CPP $CPPFLAGS'
17593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17599 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17600 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17601 if test "$ac_cv_cxx_const_cast" = yes; then
17603 cat >>confdefs.h
<<\_ACEOF
17604 #define HAVE_CONST_CAST
17612 /usr/local/include \
17614 /usr/Motif-1.2/include \
17615 /usr/Motif-2.1/include \
17617 /usr/include/Motif1.2 \
17618 /opt/xpm/include/X11 \
17619 /opt/GBxpm/include/ \
17620 /opt/GBxpm/X11/include/ \
17622 /usr/Motif1.2/include \
17624 /usr/openwin/include \
17628 /usr/X11R6/include \
17629 /usr/X11R6.4/include \
17630 /usr/X11R5/include \
17631 /usr/X11R4/include \
17633 /usr/include/X11R6 \
17634 /usr/include/X11R5 \
17635 /usr/include/X11R4 \
17637 /usr/local/X11R6/include \
17638 /usr/local/X11R5/include \
17639 /usr/local/X11R4/include \
17641 /usr/local/include/X11R6 \
17642 /usr/local/include/X11R5 \
17643 /usr/local/include/X11R4 \
17647 /usr/local/X11/include \
17648 /usr/local/include/X11 \
17650 /usr/X386/include \
17651 /usr/x386/include \
17652 /usr/XFree86/include/X11 \
17654 X:/XFree86/include \
17655 X:/XFree86/include/X11 \
17658 /usr/local/include/gtk \
17659 /usr/include/glib \
17660 /usr/local/include/glib \
17663 /usr/local/include/qt \
17665 /usr/include/windows \
17666 /usr/include/wine \
17667 /usr/local/include/wine \
17669 /usr/unsupported/include \
17670 /usr/athena/include \
17671 /usr/local/x11r5/include \
17672 /usr/lpp/Xamples/include \
17674 /usr/openwin/share/include"
17676 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17679 cat >confcache
<<\_ACEOF
17680 # This file is a shell script that caches the results of configure
17681 # tests run on this system so they can be shared between configure
17682 # scripts and configure runs, see configure's option --config-cache.
17683 # It is not useful on other systems. If it contains results you don't
17684 # want to keep, you may remove or edit it.
17686 # config.status only pays attention to the cache file if you give it
17687 # the --recheck option to rerun configure.
17689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17691 # following values.
17695 # The following way of writing the cache mishandles newlines in values,
17696 # but we know of no workaround that is simple, portable, and efficient.
17697 # So, don't put newlines in cache variables' values.
17698 # Ultrix sh set writes to stderr and can't be redirected directly,
17699 # and sets the high bit in the cache file unless we assign to the vars.
17702 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17704 # `set' does not quote correctly, so add quotes (double-quote
17705 # substitution turns \\\\ into \\, and sed turns \\ into \).
17708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17711 # `set' quotes correctly as required by POSIX, so do not add quotes.
17713 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17720 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17722 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17724 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17725 if test -w $cache_file; then
17726 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17727 cat confcache
>$cache_file
17729 echo "not updating unwritable cache $cache_file"
17734 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17735 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17736 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17737 if test "${wx_cv_lib_glibc21+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17741 cat >conftest.
$ac_ext <<_ACEOF
17742 #line $LINENO "configure"
17745 cat confdefs.h
>>conftest.
$ac_ext
17746 cat >>conftest.
$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17748 #include <features.h>
17753 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17754 #error not glibc2.1
17761 rm -f conftest.
$ac_objext
17762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17763 (eval $ac_compile) 2>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try
='test -s conftest.$ac_objext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17774 wx_cv_lib_glibc21
=yes
17777 echo "$as_me: failed program was:" >&5
17778 sed 's/^/| /' conftest.
$ac_ext >&5
17781 wx_cv_lib_glibc21
=no
17785 rm -f conftest.
$ac_objext conftest.
$ac_ext
17788 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17789 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17790 if test "$wx_cv_lib_glibc21" = "yes"; then
17791 cat >>confdefs.h
<<\_ACEOF
17792 #define wxHAVE_GLIBC2 1
17798 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17799 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17800 cat >>confdefs.h
<<\_ACEOF
17801 #define _GNU_SOURCE 1
17810 if test "$wxUSE_REGEX" != "no"; then
17811 cat >>confdefs.h
<<\_ACEOF
17812 #define wxUSE_REGEX 1
17816 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17817 if test "${ac_cv_header_regex_h+set}" = set; then
17818 echo "$as_me:$LINENO: checking for regex.h" >&5
17819 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17820 if test "${ac_cv_header_regex_h+set}" = set; then
17821 echo $ECHO_N "(cached) $ECHO_C" >&6
17823 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17824 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17826 # Is the header compilable?
17827 echo "$as_me:$LINENO: checking regex.h usability" >&5
17828 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17829 cat >conftest.
$ac_ext <<_ACEOF
17830 #line $LINENO "configure"
17833 cat confdefs.h
>>conftest.
$ac_ext
17834 cat >>conftest.
$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 $ac_includes_default
17839 rm -f conftest.
$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841 (eval $ac_compile) 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } &&
17845 { ac_try
='test -s conftest.$ac_objext'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; }; then
17851 ac_header_compiler
=yes
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.
$ac_ext >&5
17856 ac_header_compiler
=no
17858 rm -f conftest.
$ac_objext conftest.
$ac_ext
17859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17860 echo "${ECHO_T}$ac_header_compiler" >&6
17862 # Is the header present?
17863 echo "$as_me:$LINENO: checking regex.h presence" >&5
17864 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17865 cat >conftest.
$ac_ext <<_ACEOF
17866 #line $LINENO "configure"
17869 cat confdefs.h
>>conftest.
$ac_ext
17870 cat >>conftest.
$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17875 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17877 grep -v '^ *+' conftest.er1
>conftest.err
17879 cat conftest.err
>&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); } >/dev
/null
; then
17882 if test -s conftest.err
; then
17883 ac_cpp_err
=$ac_c_preproc_warn_flag
17890 if test -z "$ac_cpp_err"; then
17891 ac_header_preproc
=yes
17893 echo "$as_me: failed program was:" >&5
17894 sed 's/^/| /' conftest.
$ac_ext >&5
17896 ac_header_preproc
=no
17898 rm -f conftest.err conftest.
$ac_ext
17899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17900 echo "${ECHO_T}$ac_header_preproc" >&6
17902 # So? What about this header?
17903 case $ac_header_compiler:$ac_header_preproc in
17905 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17906 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17907 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17908 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17911 ## ------------------------------------ ##
17912 ## Report this to bug-autoconf@gnu.org. ##
17913 ## ------------------------------------ ##
17916 sed "s/^/$as_me: WARNING: /" >&2
17919 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17920 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17921 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17922 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17923 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17924 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17927 ## ------------------------------------ ##
17928 ## Report this to bug-autoconf@gnu.org. ##
17929 ## ------------------------------------ ##
17932 sed "s/^/$as_me: WARNING: /" >&2
17935 echo "$as_me:$LINENO: checking for regex.h" >&5
17936 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17937 if test "${ac_cv_header_regex_h+set}" = set; then
17938 echo $ECHO_N "(cached) $ECHO_C" >&6
17940 ac_cv_header_regex_h
=$ac_header_preproc
17942 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17943 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17946 if test $ac_cv_header_regex_h = yes; then
17948 for ac_func
in regcomp
17950 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17951 echo "$as_me:$LINENO: checking for $ac_func" >&5
17952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17953 if eval "test \"\${$as_ac_var+set}\" = set"; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 cat >conftest.
$ac_ext <<_ACEOF
17957 #line $LINENO "configure"
17960 cat confdefs.h
>>conftest.
$ac_ext
17961 cat >>conftest.
$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 /* System header to define __stub macros and hopefully few prototypes,
17964 which can conflict with char $ac_func (); below.
17965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17966 <limits.h> exists even on freestanding compilers. */
17968 # include <limits.h>
17970 # include <assert.h>
17972 /* Override any gcc2 internal prototype to avoid an error. */
17977 /* We use char because int might match the return type of a gcc2
17978 builtin and then its argument prototype would still apply. */
17980 /* The GNU C library defines this for functions which it implements
17981 to always fail with ENOSYS. Some functions are actually named
17982 something starting with __ and the normal name is an alias. */
17983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17986 char (*f) () = $ac_func;
17995 return f != $ac_func;
18000 rm -f conftest.
$ac_objext conftest
$ac_exeext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18002 (eval $ac_link) 2>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } &&
18006 { ac_try
='test -s conftest$ac_exeext'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; }; then
18012 eval "$as_ac_var=yes"
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.
$ac_ext >&5
18017 eval "$as_ac_var=no"
18019 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18023 if test `eval echo '${'$as_ac_var'}'` = yes; then
18024 cat >>confdefs.h
<<_ACEOF
18025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18035 if test "x$ac_cv_func_regcomp" != "xyes"; then
18036 if test "$wxUSE_REGEX" = "sys" ; then
18037 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18038 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18039 { (exit 1); exit 1; }; }
18041 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18042 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18043 wxUSE_REGEX
=builtin
18050 if test "$wxUSE_REGEX" = "builtin" ; then
18051 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18058 if test "$wxUSE_ZLIB" != "no" ; then
18059 cat >>confdefs.h
<<\_ACEOF
18060 #define wxUSE_ZLIB 1
18064 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18065 if test "$USE_DARWIN" = 1; then
18066 system_zlib_h_ok
="yes"
18068 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18069 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18070 if test "${ac_cv_header_zlib_h+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 if test "$cross_compiling" = yes; then
18074 unset ac_cv_header_zlib_h
18077 cat >conftest.
$ac_ext <<_ACEOF
18078 #line $LINENO "configure"
18081 cat confdefs.h
>>conftest.
$ac_ext
18082 cat >>conftest.
$ac_ext <<_ACEOF
18083 /* end confdefs.h. */
18090 FILE *f=fopen("conftestval", "w");
18093 ZLIB_VERSION[0] == '1' &&
18094 (ZLIB_VERSION[2] > '1' ||
18095 (ZLIB_VERSION[2] == '1' &&
18096 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18101 rm -f conftest
$ac_exeext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18103 (eval $ac_link) 2>&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18108 (eval $ac_try) 2>&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); }; }; then
18112 ac_cv_header_zlib_h
=`cat conftestval`
18114 echo "$as_me: program exited with status $ac_status" >&5
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.
$ac_ext >&5
18118 ( exit $ac_status )
18119 ac_cv_header_zlib_h
=no
18121 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18125 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18126 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18127 if test "${ac_cv_header_zlib_h+set}" = set; then
18128 echo "$as_me:$LINENO: checking for zlib.h" >&5
18129 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18130 if test "${ac_cv_header_zlib_h+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18134 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18136 # Is the header compilable?
18137 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18138 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18139 cat >conftest.
$ac_ext <<_ACEOF
18140 #line $LINENO "configure"
18143 cat confdefs.h
>>conftest.
$ac_ext
18144 cat >>conftest.
$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18146 $ac_includes_default
18149 rm -f conftest.
$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } &&
18155 { ac_try
='test -s conftest.$ac_objext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 ac_header_compiler
=yes
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.
$ac_ext >&5
18166 ac_header_compiler
=no
18168 rm -f conftest.
$ac_objext conftest.
$ac_ext
18169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18170 echo "${ECHO_T}$ac_header_compiler" >&6
18172 # Is the header present?
18173 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18174 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18175 cat >conftest.
$ac_ext <<_ACEOF
18176 #line $LINENO "configure"
18179 cat confdefs.h
>>conftest.
$ac_ext
18180 cat >>conftest.
$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18187 grep -v '^ *+' conftest.er1
>conftest.err
18189 cat conftest.err
>&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } >/dev
/null
; then
18192 if test -s conftest.err
; then
18193 ac_cpp_err
=$ac_c_preproc_warn_flag
18200 if test -z "$ac_cpp_err"; then
18201 ac_header_preproc
=yes
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.
$ac_ext >&5
18206 ac_header_preproc
=no
18208 rm -f conftest.err conftest.
$ac_ext
18209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18210 echo "${ECHO_T}$ac_header_preproc" >&6
18212 # So? What about this header?
18213 case $ac_header_compiler:$ac_header_preproc in
18215 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18216 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18217 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18218 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18221 ## ------------------------------------ ##
18222 ## Report this to bug-autoconf@gnu.org. ##
18223 ## ------------------------------------ ##
18226 sed "s/^/$as_me: WARNING: /" >&2
18229 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18230 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18231 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18232 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18233 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18234 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18237 ## ------------------------------------ ##
18238 ## Report this to bug-autoconf@gnu.org. ##
18239 ## ------------------------------------ ##
18242 sed "s/^/$as_me: WARNING: /" >&2
18245 echo "$as_me:$LINENO: checking for zlib.h" >&5
18246 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18247 if test "${ac_cv_header_zlib_h+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 ac_cv_header_zlib_h
=$ac_header_preproc
18252 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18253 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18259 system_zlib_h_ok
=$ac_cv_header_zlib_h
18262 if test "$system_zlib_h_ok" = "yes"; then
18263 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18264 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18265 if test "${ac_cv_lib_z_deflate+set}" = set; then
18266 echo $ECHO_N "(cached) $ECHO_C" >&6
18268 ac_check_lib_save_LIBS
=$LIBS
18270 cat >conftest.
$ac_ext <<_ACEOF
18271 #line $LINENO "configure"
18274 cat confdefs.h
>>conftest.
$ac_ext
18275 cat >>conftest.
$ac_ext <<_ACEOF
18276 /* end confdefs.h. */
18278 /* Override any gcc2 internal prototype to avoid an error. */
18282 /* We use char because int might match the return type of a gcc2
18283 builtin and then its argument prototype would still apply. */
18293 rm -f conftest.
$ac_objext conftest
$ac_exeext
18294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18295 (eval $ac_link) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } &&
18299 { ac_try
='test -s conftest$ac_exeext'
18300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18301 (eval $ac_try) 2>&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); }; }; then
18305 ac_cv_lib_z_deflate
=yes
18307 echo "$as_me: failed program was:" >&5
18308 sed 's/^/| /' conftest.
$ac_ext >&5
18310 ac_cv_lib_z_deflate
=no
18312 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18313 LIBS
=$ac_check_lib_save_LIBS
18315 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18316 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18317 if test $ac_cv_lib_z_deflate = yes; then
18323 if test "x$ZLIB_LINK" = "x" ; then
18324 if test "$wxUSE_ZLIB" = "sys" ; then
18325 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18326 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18327 { (exit 1); exit 1; }; }
18329 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18330 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18338 if test "$wxUSE_ZLIB" = "builtin" ; then
18339 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18346 if test "$wxUSE_LIBPNG" != "no" ; then
18347 cat >>confdefs.h
<<\_ACEOF
18348 #define wxUSE_LIBPNG 1
18352 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18353 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18354 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18358 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18359 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18360 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18361 wxUSE_LIBPNG
=builtin
18364 if test "$wxUSE_MGL" != 1 ; then
18365 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18366 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18367 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18368 if test "${ac_cv_header_png_h+set}" = set; then
18369 echo $ECHO_N "(cached) $ECHO_C" >&6
18371 if test "$cross_compiling" = yes; then
18372 unset ac_cv_header_png_h
18375 cat >conftest.
$ac_ext <<_ACEOF
18376 #line $LINENO "configure"
18379 cat confdefs.h
>>conftest.
$ac_ext
18380 cat >>conftest.
$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18388 FILE *f=fopen("conftestval", "w");
18391 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18396 rm -f conftest
$ac_exeext
18397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18398 (eval $ac_link) 2>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18403 (eval $ac_try) 2>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); }; }; then
18407 ac_cv_header_png_h
=`cat conftestval`
18409 echo "$as_me: program exited with status $ac_status" >&5
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.
$ac_ext >&5
18413 ( exit $ac_status )
18414 ac_cv_header_png_h
=no
18416 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18420 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18421 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18422 if test "${ac_cv_header_png_h+set}" = set; then
18423 echo "$as_me:$LINENO: checking for png.h" >&5
18424 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18425 if test "${ac_cv_header_png_h+set}" = set; then
18426 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18429 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18431 # Is the header compilable?
18432 echo "$as_me:$LINENO: checking png.h usability" >&5
18433 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18434 cat >conftest.
$ac_ext <<_ACEOF
18435 #line $LINENO "configure"
18438 cat confdefs.h
>>conftest.
$ac_ext
18439 cat >>conftest.
$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 $ac_includes_default
18444 rm -f conftest.
$ac_objext
18445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18446 (eval $ac_compile) 2>&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); } &&
18450 { ac_try
='test -s conftest.$ac_objext'
18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18452 (eval $ac_try) 2>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; }; then
18456 ac_header_compiler
=yes
18458 echo "$as_me: failed program was:" >&5
18459 sed 's/^/| /' conftest.
$ac_ext >&5
18461 ac_header_compiler
=no
18463 rm -f conftest.
$ac_objext conftest.
$ac_ext
18464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18465 echo "${ECHO_T}$ac_header_compiler" >&6
18467 # Is the header present?
18468 echo "$as_me:$LINENO: checking png.h presence" >&5
18469 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18470 cat >conftest.
$ac_ext <<_ACEOF
18471 #line $LINENO "configure"
18474 cat confdefs.h
>>conftest.
$ac_ext
18475 cat >>conftest.
$ac_ext <<_ACEOF
18476 /* end confdefs.h. */
18479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18482 grep -v '^ *+' conftest.er1
>conftest.err
18484 cat conftest.err
>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); } >/dev
/null
; then
18487 if test -s conftest.err
; then
18488 ac_cpp_err
=$ac_c_preproc_warn_flag
18495 if test -z "$ac_cpp_err"; then
18496 ac_header_preproc
=yes
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.
$ac_ext >&5
18501 ac_header_preproc
=no
18503 rm -f conftest.err conftest.
$ac_ext
18504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18505 echo "${ECHO_T}$ac_header_preproc" >&6
18507 # So? What about this header?
18508 case $ac_header_compiler:$ac_header_preproc in
18510 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18511 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18512 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18513 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18516 ## ------------------------------------ ##
18517 ## Report this to bug-autoconf@gnu.org. ##
18518 ## ------------------------------------ ##
18521 sed "s/^/$as_me: WARNING: /" >&2
18524 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18525 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18526 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18527 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18528 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18529 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18532 ## ------------------------------------ ##
18533 ## Report this to bug-autoconf@gnu.org. ##
18534 ## ------------------------------------ ##
18537 sed "s/^/$as_me: WARNING: /" >&2
18540 echo "$as_me:$LINENO: checking for png.h" >&5
18541 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18542 if test "${ac_cv_header_png_h+set}" = set; then
18543 echo $ECHO_N "(cached) $ECHO_C" >&6
18545 ac_cv_header_png_h
=$ac_header_preproc
18547 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18548 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18554 if test "$ac_cv_header_png_h" = "yes"; then
18555 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18556 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18557 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18558 echo $ECHO_N "(cached) $ECHO_C" >&6
18560 ac_check_lib_save_LIBS
=$LIBS
18561 LIBS
="-lpng -lz -lm $LIBS"
18562 cat >conftest.
$ac_ext <<_ACEOF
18563 #line $LINENO "configure"
18566 cat confdefs.h
>>conftest.
$ac_ext
18567 cat >>conftest.
$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18570 /* Override any gcc2 internal prototype to avoid an error. */
18574 /* We use char because int might match the return type of a gcc2
18575 builtin and then its argument prototype would still apply. */
18576 char png_check_sig ();
18585 rm -f conftest.
$ac_objext conftest
$ac_exeext
18586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18587 (eval $ac_link) 2>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); } &&
18591 { ac_try
='test -s conftest$ac_exeext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 ac_cv_lib_png_png_check_sig
=yes
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.
$ac_ext >&5
18602 ac_cv_lib_png_png_check_sig
=no
18604 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18605 LIBS
=$ac_check_lib_save_LIBS
18607 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18608 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18609 if test $ac_cv_lib_png_png_check_sig = yes; then
18615 if test "x$PNG_LINK" = "x" ; then
18616 if test "$wxUSE_LIBPNG" = "sys" ; then
18617 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18618 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18619 { (exit 1); exit 1; }; }
18621 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18622 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18623 wxUSE_LIBPNG
=builtin
18631 if test "$wxUSE_LIBPNG" = "builtin" ; then
18632 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18641 if test "$wxUSE_LIBJPEG" != "no" ; then
18642 cat >>confdefs.h
<<\_ACEOF
18643 #define wxUSE_LIBJPEG 1
18647 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18648 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18649 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18653 if test "$wxUSE_MGL" != 1 ; then
18654 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18655 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18656 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18657 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18658 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 cat >conftest.
$ac_ext <<_ACEOF
18661 #line $LINENO "configure"
18664 cat confdefs.h
>>conftest.
$ac_ext
18665 cat >>conftest.
$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18668 #undef HAVE_STDLIB_H
18670 #include <jpeglib.h>
18681 rm -f conftest.
$ac_objext
18682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18683 (eval $ac_compile) 2>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); } &&
18687 { ac_try
='test -s conftest.$ac_objext'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; }; then
18693 ac_cv_header_jpeglib_h
=yes
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.
$ac_ext >&5
18698 ac_cv_header_jpeglib_h
=no
18701 rm -f conftest.
$ac_objext conftest.
$ac_ext
18705 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18706 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18708 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18709 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18710 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18711 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 ac_check_lib_save_LIBS
=$LIBS
18715 LIBS
="-ljpeg $LIBS"
18716 cat >conftest.
$ac_ext <<_ACEOF
18717 #line $LINENO "configure"
18720 cat confdefs.h
>>conftest.
$ac_ext
18721 cat >>conftest.
$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18724 /* Override any gcc2 internal prototype to avoid an error. */
18728 /* We use char because int might match the return type of a gcc2
18729 builtin and then its argument prototype would still apply. */
18730 char jpeg_read_header ();
18734 jpeg_read_header ();
18739 rm -f conftest.
$ac_objext conftest
$ac_exeext
18740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18741 (eval $ac_link) 2>&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } &&
18745 { ac_try
='test -s conftest$ac_exeext'
18746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18747 (eval $ac_try) 2>&5
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); }; }; then
18751 ac_cv_lib_jpeg_jpeg_read_header
=yes
18753 echo "$as_me: failed program was:" >&5
18754 sed 's/^/| /' conftest.
$ac_ext >&5
18756 ac_cv_lib_jpeg_jpeg_read_header
=no
18758 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18759 LIBS
=$ac_check_lib_save_LIBS
18761 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18762 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18763 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18764 JPEG_LINK
=" -ljpeg"
18769 if test "x$JPEG_LINK" = "x" ; then
18770 if test "$wxUSE_LIBJPEG" = "sys" ; then
18771 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18772 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18773 { (exit 1); exit 1; }; }
18775 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18776 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18777 wxUSE_LIBJPEG
=builtin
18785 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18786 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18793 TIFF_PREREQ_LINKS
=-lm
18794 if test "$wxUSE_LIBTIFF" != "no" ; then
18795 cat >>confdefs.h
<<\_ACEOF
18796 #define wxUSE_LIBTIFF 1
18800 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18801 if test "$wxUSE_LIBJPEG" = "sys"; then
18802 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18804 if test "$wxUSE_ZLIB" = "sys"; then
18805 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18807 if test "${ac_cv_header_tiffio_h+set}" = set; then
18808 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18809 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18810 if test "${ac_cv_header_tiffio_h+set}" = set; then
18811 echo $ECHO_N "(cached) $ECHO_C" >&6
18813 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18814 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18816 # Is the header compilable?
18817 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18818 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18819 cat >conftest.
$ac_ext <<_ACEOF
18820 #line $LINENO "configure"
18823 cat confdefs.h
>>conftest.
$ac_ext
18824 cat >>conftest.
$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 $ac_includes_default
18827 #include <tiffio.h>
18829 rm -f conftest.
$ac_objext
18830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18831 (eval $ac_compile) 2>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } &&
18835 { ac_try
='test -s conftest.$ac_objext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 ac_header_compiler
=yes
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.
$ac_ext >&5
18846 ac_header_compiler
=no
18848 rm -f conftest.
$ac_objext conftest.
$ac_ext
18849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18850 echo "${ECHO_T}$ac_header_compiler" >&6
18852 # Is the header present?
18853 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18854 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18855 cat >conftest.
$ac_ext <<_ACEOF
18856 #line $LINENO "configure"
18859 cat confdefs.h
>>conftest.
$ac_ext
18860 cat >>conftest.
$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 #include <tiffio.h>
18864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18865 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18867 grep -v '^ *+' conftest.er1
>conftest.err
18869 cat conftest.err
>&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); } >/dev
/null
; then
18872 if test -s conftest.err
; then
18873 ac_cpp_err
=$ac_c_preproc_warn_flag
18880 if test -z "$ac_cpp_err"; then
18881 ac_header_preproc
=yes
18883 echo "$as_me: failed program was:" >&5
18884 sed 's/^/| /' conftest.
$ac_ext >&5
18886 ac_header_preproc
=no
18888 rm -f conftest.err conftest.
$ac_ext
18889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18890 echo "${ECHO_T}$ac_header_preproc" >&6
18892 # So? What about this header?
18893 case $ac_header_compiler:$ac_header_preproc in
18895 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18896 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18897 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18898 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18901 ## ------------------------------------ ##
18902 ## Report this to bug-autoconf@gnu.org. ##
18903 ## ------------------------------------ ##
18906 sed "s/^/$as_me: WARNING: /" >&2
18909 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18910 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18911 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18912 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18913 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18914 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18917 ## ------------------------------------ ##
18918 ## Report this to bug-autoconf@gnu.org. ##
18919 ## ------------------------------------ ##
18922 sed "s/^/$as_me: WARNING: /" >&2
18925 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18926 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18927 if test "${ac_cv_header_tiffio_h+set}" = set; then
18928 echo $ECHO_N "(cached) $ECHO_C" >&6
18930 ac_cv_header_tiffio_h
=$ac_header_preproc
18932 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18933 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18936 if test $ac_cv_header_tiffio_h = yes; then
18937 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18938 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18939 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 ac_check_lib_save_LIBS
=$LIBS
18943 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18944 cat >conftest.
$ac_ext <<_ACEOF
18945 #line $LINENO "configure"
18948 cat confdefs.h
>>conftest.
$ac_ext
18949 cat >>conftest.
$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18952 /* Override any gcc2 internal prototype to avoid an error. */
18956 /* We use char because int might match the return type of a gcc2
18957 builtin and then its argument prototype would still apply. */
18967 rm -f conftest.
$ac_objext conftest
$ac_exeext
18968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18969 (eval $ac_link) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); } &&
18973 { ac_try
='test -s conftest$ac_exeext'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; }; then
18979 ac_cv_lib_tiff_TIFFError
=yes
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.
$ac_ext >&5
18984 ac_cv_lib_tiff_TIFFError
=no
18986 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18987 LIBS
=$ac_check_lib_save_LIBS
18989 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18990 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18991 if test $ac_cv_lib_tiff_TIFFError = yes; then
18992 TIFF_LINK
=" -ltiff"
19000 if test "x$TIFF_LINK" = "x" ; then
19001 if test "$wxUSE_LIBTIFF" = "sys" ; then
19002 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19003 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19004 { (exit 1); exit 1; }; }
19006 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19007 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19008 wxUSE_LIBTIFF
=builtin
19015 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19016 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19028 if test "$USE_WIN32" = 1 ; then
19030 for ac_header
in w32api.h
19032 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19034 echo "$as_me:$LINENO: checking for $ac_header" >&5
19035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19037 echo $ECHO_N "(cached) $ECHO_C" >&6
19039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19042 # Is the header compilable?
19043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19045 cat >conftest.
$ac_ext <<_ACEOF
19046 #line $LINENO "configure"
19049 cat confdefs.h
>>conftest.
$ac_ext
19050 cat >>conftest.
$ac_ext <<_ACEOF
19051 /* end confdefs.h. */
19052 $ac_includes_default
19053 #include <$ac_header>
19055 rm -f conftest.
$ac_objext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19057 (eval $ac_compile) 2>&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try
='test -s conftest.$ac_objext'
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }; }; then
19067 ac_header_compiler
=yes
19069 echo "$as_me: failed program was:" >&5
19070 sed 's/^/| /' conftest.
$ac_ext >&5
19072 ac_header_compiler
=no
19074 rm -f conftest.
$ac_objext conftest.
$ac_ext
19075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19076 echo "${ECHO_T}$ac_header_compiler" >&6
19078 # Is the header present?
19079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19081 cat >conftest.
$ac_ext <<_ACEOF
19082 #line $LINENO "configure"
19085 cat confdefs.h
>>conftest.
$ac_ext
19086 cat >>conftest.
$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 #include <$ac_header>
19090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19091 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19093 grep -v '^ *+' conftest.er1
>conftest.err
19095 cat conftest.err
>&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } >/dev
/null
; then
19098 if test -s conftest.err
; then
19099 ac_cpp_err
=$ac_c_preproc_warn_flag
19106 if test -z "$ac_cpp_err"; then
19107 ac_header_preproc
=yes
19109 echo "$as_me: failed program was:" >&5
19110 sed 's/^/| /' conftest.
$ac_ext >&5
19112 ac_header_preproc
=no
19114 rm -f conftest.err conftest.
$ac_ext
19115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19116 echo "${ECHO_T}$ac_header_preproc" >&6
19118 # So? What about this header?
19119 case $ac_header_compiler:$ac_header_preproc in
19121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19127 ## ------------------------------------ ##
19128 ## Report this to bug-autoconf@gnu.org. ##
19129 ## ------------------------------------ ##
19132 sed "s/^/$as_me: WARNING: /" >&2
19135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19143 ## ------------------------------------ ##
19144 ## Report this to bug-autoconf@gnu.org. ##
19145 ## ------------------------------------ ##
19148 sed "s/^/$as_me: WARNING: /" >&2
19151 echo "$as_me:$LINENO: checking for $ac_header" >&5
19152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 eval "$as_ac_Header=$ac_header_preproc"
19158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19163 cat >>confdefs.h
<<_ACEOF
19164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19171 if test "${ac_cv_header_windows_h+set}" = set; then
19172 echo "$as_me:$LINENO: checking for windows.h" >&5
19173 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19174 if test "${ac_cv_header_windows_h+set}" = set; then
19175 echo $ECHO_N "(cached) $ECHO_C" >&6
19177 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19178 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19180 # Is the header compilable?
19181 echo "$as_me:$LINENO: checking windows.h usability" >&5
19182 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19183 cat >conftest.
$ac_ext <<_ACEOF
19184 #line $LINENO "configure"
19187 cat confdefs.h
>>conftest.
$ac_ext
19188 cat >>conftest.
$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 $ac_includes_default
19191 #include <windows.h>
19193 rm -f conftest.
$ac_objext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19195 (eval $ac_compile) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try
='test -s conftest.$ac_objext'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; }; then
19205 ac_header_compiler
=yes
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.
$ac_ext >&5
19210 ac_header_compiler
=no
19212 rm -f conftest.
$ac_objext conftest.
$ac_ext
19213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19214 echo "${ECHO_T}$ac_header_compiler" >&6
19216 # Is the header present?
19217 echo "$as_me:$LINENO: checking windows.h presence" >&5
19218 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19219 cat >conftest.
$ac_ext <<_ACEOF
19220 #line $LINENO "configure"
19223 cat confdefs.h
>>conftest.
$ac_ext
19224 cat >>conftest.
$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19226 #include <windows.h>
19228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19229 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19231 grep -v '^ *+' conftest.er1
>conftest.err
19233 cat conftest.err
>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } >/dev
/null
; then
19236 if test -s conftest.err
; then
19237 ac_cpp_err
=$ac_c_preproc_warn_flag
19244 if test -z "$ac_cpp_err"; then
19245 ac_header_preproc
=yes
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.
$ac_ext >&5
19250 ac_header_preproc
=no
19252 rm -f conftest.err conftest.
$ac_ext
19253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19254 echo "${ECHO_T}$ac_header_preproc" >&6
19256 # So? What about this header?
19257 case $ac_header_compiler:$ac_header_preproc in
19259 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19260 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19261 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19262 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19265 ## ------------------------------------ ##
19266 ## Report this to bug-autoconf@gnu.org. ##
19267 ## ------------------------------------ ##
19270 sed "s/^/$as_me: WARNING: /" >&2
19273 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19274 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19275 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19276 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19277 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19278 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19281 ## ------------------------------------ ##
19282 ## Report this to bug-autoconf@gnu.org. ##
19283 ## ------------------------------------ ##
19286 sed "s/^/$as_me: WARNING: /" >&2
19289 echo "$as_me:$LINENO: checking for windows.h" >&5
19290 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19291 if test "${ac_cv_header_windows_h+set}" = set; then
19292 echo $ECHO_N "(cached) $ECHO_C" >&6
19294 ac_cv_header_windows_h
=$ac_header_preproc
19296 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19297 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19300 if test $ac_cv_header_windows_h = yes; then
19304 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19305 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19306 { (exit 1); exit 1; }; }
19312 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19313 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19314 if test "${wx_cv_w32api_win32_ie+set}" = set; then
19315 echo $ECHO_N "(cached) $ECHO_C" >&6
19318 cat >conftest.
$ac_ext <<_ACEOF
19319 #line $LINENO "configure"
19322 cat confdefs.h
>>conftest.
$ac_ext
19323 cat >>conftest.
$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19325 #include <w32api.h>
19330 #define wxCHECK_W32API_VERSION( major, minor ) \
19331 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19332 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19333 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19335 #if !wxCHECK_W32API_VERSION(1,1)
19336 #error You need w32api 1.1 or newer
19343 rm -f conftest.
$ac_objext
19344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19345 (eval $ac_compile) 2>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try
='test -s conftest.$ac_objext'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; }; then
19356 wx_cv_w32api_win32_ie
=yes
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.
$ac_ext >&5
19363 wx_cv_w32api_win32_ie
=no
19366 rm -f conftest.
$ac_objext conftest.
$ac_ext
19369 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19370 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19371 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19372 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
19375 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19377 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19378 LIBS
="$LIBS -loleacc"
19383 LIBS
="$LIBS -lkernel32 -luser32"
19384 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19387 if test "$wxUSE_ODBC" = "sys" ; then
19390 if test "$wxUSE_ODBC" = "yes" ; then
19391 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19392 cat >>confdefs.h
<<\_ACEOF
19393 #define wxUSE_ODBC 1
19398 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19399 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19401 WIN32INSTALL
=win32install
19404 if test "$USE_DARWIN" = 1; then
19405 if test "$wxUSE_PRECOMP" = "yes"; then
19406 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
19408 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
19412 if test "$wxUSE_GUI" = "yes"; then
19421 if test "$wxUSE_MSW" = 1 ; then
19426 if test "$wxUSE_GTK" = 1; then
19427 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19428 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19430 gtk_version_cached
=1
19431 if test "${wx_cv_lib_gtk+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 gtk_version_cached
=0
19436 echo "$as_me:$LINENO: result: " >&5
19437 echo "${ECHO_T}" >&6
19440 if test "$wxUSE_THREADS" = "yes"; then
19441 GTK_MODULES
=gthread
19445 if test "x$wxUSE_GTK2" = "xyes"; then
19446 # Check whether --enable-gtktest or --disable-gtktest was given.
19447 if test "${enable_gtktest+set}" = set; then
19448 enableval
="$enable_gtktest"
19454 pkg_config_args
=gtk
+-2.0
19455 for module
in .
$GTK_MODULES
19459 pkg_config_args
="$pkg_config_args gthread-2.0"
19466 # Extract the first word of "pkg-config", so it can be a program name with args.
19467 set dummy pkg
-config; ac_word
=$2
19468 echo "$as_me:$LINENO: checking for $ac_word" >&5
19469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19471 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 case $PKG_CONFIG in
19475 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19479 for as_dir
in $PATH
19482 test -z "$as_dir" && as_dir
=.
19483 for ac_exec_ext
in '' $ac_executable_extensions; do
19484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19485 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19492 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19496 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19498 if test -n "$PKG_CONFIG"; then
19499 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19500 echo "${ECHO_T}$PKG_CONFIG" >&6
19502 echo "$as_me:$LINENO: result: no" >&5
19503 echo "${ECHO_T}no" >&6
19507 if test x
$PKG_CONFIG != xno
; then
19508 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19511 echo *** pkg
-config too old
; version
0.7 or better required.
19519 min_gtk_version
=2.0.0
19520 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19521 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19523 if test x
$PKG_CONFIG != xno
; then
19524 ## don't try to run the test against uninstalled libtool libs
19525 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19526 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19530 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19537 if test x
"$no_gtk" = x
; then
19538 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19539 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19540 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19542 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19543 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19544 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19545 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19546 if test "x$enable_gtktest" = "xyes" ; then
19547 ac_save_CFLAGS
="$CFLAGS"
19548 ac_save_LIBS
="$LIBS"
19549 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19550 LIBS
="$GTK_LIBS $LIBS"
19552 if test "$cross_compiling" = yes; then
19553 echo $ac_n "cross compiling; assumed OK... $ac_c"
19555 cat >conftest.
$ac_ext <<_ACEOF
19556 #line $LINENO "configure"
19559 cat confdefs.h
>>conftest.
$ac_ext
19560 cat >>conftest.
$ac_ext <<_ACEOF
19561 /* end confdefs.h. */
19563 #include <gtk/gtk.h>
19565 #include <stdlib.h>
19570 int major, minor, micro;
19573 system ("touch conf.gtktest");
19575 /* HP/UX 9 (%@#!) writes to sscanf strings */
19576 tmp_version = g_strdup("$min_gtk_version");
19577 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19578 printf("%s, bad version string\n", "$min_gtk_version");
19582 if ((gtk_major_version != $gtk_config_major_version) ||
19583 (gtk_minor_version != $gtk_config_minor_version) ||
19584 (gtk_micro_version != $gtk_config_micro_version))
19586 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19587 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19588 gtk_major_version, gtk_minor_version, gtk_micro_version);
19589 printf ("*** was found! If pkg-config was correct, then it is best\n");
19590 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19591 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19592 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19593 printf("*** required on your system.\n");
19594 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19595 printf("*** to point to the correct configuration files\n");
19597 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19598 (gtk_minor_version != GTK_MINOR_VERSION) ||
19599 (gtk_micro_version != GTK_MICRO_VERSION))
19601 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19602 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19603 printf("*** library (version %d.%d.%d)\n",
19604 gtk_major_version, gtk_minor_version, gtk_micro_version);
19608 if ((gtk_major_version > major) ||
19609 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19610 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19616 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19617 gtk_major_version, gtk_minor_version, gtk_micro_version);
19618 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19619 major, minor, micro);
19620 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19622 printf("*** If you have already installed a sufficiently new version, this error\n");
19623 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19624 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19625 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19626 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19627 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19628 printf("*** so that the correct libraries are found at run-time))\n");
19635 rm -f conftest
$ac_exeext
19636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19637 (eval $ac_link) 2>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; }; then
19648 echo "$as_me: program exited with status $ac_status" >&5
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.
$ac_ext >&5
19652 ( exit $ac_status )
19655 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19657 CFLAGS
="$ac_save_CFLAGS"
19658 LIBS
="$ac_save_LIBS"
19661 if test "x$no_gtk" = x
; then
19662 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19663 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19666 echo "$as_me:$LINENO: result: no" >&5
19667 echo "${ECHO_T}no" >&6
19668 if test "$PKG_CONFIG" = "no" ; then
19669 echo "*** A new enough version of pkg-config was not found."
19670 echo "*** See http://pkgconfig.sourceforge.net"
19672 if test -f conf.gtktest
; then
19675 echo "*** Could not run GTK+ test program, checking why..."
19676 ac_save_CFLAGS
="$CFLAGS"
19677 ac_save_LIBS
="$LIBS"
19678 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19679 LIBS
="$LIBS $GTK_LIBS"
19680 cat >conftest.
$ac_ext <<_ACEOF
19681 #line $LINENO "configure"
19684 cat confdefs.h
>>conftest.
$ac_ext
19685 cat >>conftest.
$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19688 #include <gtk/gtk.h>
19694 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19699 rm -f conftest.
$ac_objext conftest
$ac_exeext
19700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19701 (eval $ac_link) 2>&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } &&
19705 { ac_try
='test -s conftest$ac_exeext'
19706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19707 (eval $ac_try) 2>&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 echo "*** The test program compiled, but did not run. This usually means"
19712 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19713 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19714 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19715 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19716 echo "*** is required on your system"
19718 echo "*** If you have an old version installed, it is best to remove it, although"
19719 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.
$ac_ext >&5
19724 echo "*** The test program failed to compile or link. See the file config.log for the"
19725 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19727 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19728 CFLAGS
="$ac_save_CFLAGS"
19729 LIBS
="$ac_save_LIBS"
19742 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19743 if test "${with_gtk_prefix+set}" = set; then
19744 withval
="$with_gtk_prefix"
19745 gtk_config_prefix
="$withval"
19747 gtk_config_prefix
=""
19750 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19751 if test "${with_gtk_exec_prefix+set}" = set; then
19752 withval
="$with_gtk_exec_prefix"
19753 gtk_config_exec_prefix
="$withval"
19755 gtk_config_exec_prefix
=""
19757 # Check whether --enable-gtktest or --disable-gtktest was given.
19758 if test "${enable_gtktest+set}" = set; then
19759 enableval
="$enable_gtktest"
19765 for module
in .
$GTK_MODULES
19769 gtk_config_args
="$gtk_config_args gthread"
19774 if test x
$gtk_config_exec_prefix != x
; then
19775 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19776 if test x
${GTK_CONFIG+set} != xset
; then
19777 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
19780 if test x
$gtk_config_prefix != x
; then
19781 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
19782 if test x
${GTK_CONFIG+set} != xset
; then
19783 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
19787 # Extract the first word of "gtk-config", so it can be a program name with args.
19788 set dummy gtk
-config; ac_word
=$2
19789 echo "$as_me:$LINENO: checking for $ac_word" >&5
19790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19791 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19792 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 case $GTK_CONFIG in
19796 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
19799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19800 for as_dir
in $PATH
19803 test -z "$as_dir" && as_dir
=.
19804 for ac_exec_ext
in '' $ac_executable_extensions; do
19805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19806 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19813 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
19817 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
19819 if test -n "$GTK_CONFIG"; then
19820 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19821 echo "${ECHO_T}$GTK_CONFIG" >&6
19823 echo "$as_me:$LINENO: result: no" >&5
19824 echo "${ECHO_T}no" >&6
19827 min_gtk_version
=1.2.7
19828 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19829 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19831 if test "$GTK_CONFIG" = "no" ; then
19834 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
19835 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
19836 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
19837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19838 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
19839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19840 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
19841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19842 if test "x$enable_gtktest" = "xyes" ; then
19843 ac_save_CFLAGS
="$CFLAGS"
19844 ac_save_LIBS
="$LIBS"
19845 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19846 LIBS
="$GTK_LIBS $LIBS"
19848 if test "$cross_compiling" = yes; then
19849 echo $ac_n "cross compiling; assumed OK... $ac_c"
19851 cat >conftest.
$ac_ext <<_ACEOF
19852 #line $LINENO "configure"
19855 cat confdefs.h
>>conftest.
$ac_ext
19856 cat >>conftest.
$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19859 #include <gtk/gtk.h>
19861 #include <stdlib.h>
19866 int major, minor, micro;
19869 system ("touch conf.gtktest");
19871 /* HP/UX 9 (%@#!) writes to sscanf strings */
19872 tmp_version = g_strdup("$min_gtk_version");
19873 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19874 printf("%s, bad version string\n", "$min_gtk_version");
19878 if ((gtk_major_version != $gtk_config_major_version) ||
19879 (gtk_minor_version != $gtk_config_minor_version) ||
19880 (gtk_micro_version != $gtk_config_micro_version))
19882 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19883 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19884 gtk_major_version, gtk_minor_version, gtk_micro_version);
19885 printf ("*** was found! If gtk-config was correct, then it is best\n");
19886 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19887 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19888 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19889 printf("*** required on your system.\n");
19890 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19891 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19892 printf("*** before re-running configure\n");
19894 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19895 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19896 (gtk_minor_version != GTK_MINOR_VERSION) ||
19897 (gtk_micro_version != GTK_MICRO_VERSION))
19899 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19900 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19901 printf("*** library (version %d.%d.%d)\n",
19902 gtk_major_version, gtk_minor_version, gtk_micro_version);
19904 #endif /* defined (GTK_MAJOR_VERSION) ... */
19907 if ((gtk_major_version > major) ||
19908 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19909 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19915 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19916 gtk_major_version, gtk_minor_version, gtk_micro_version);
19917 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19918 major, minor, micro);
19919 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19921 printf("*** If you have already installed a sufficiently new version, this error\n");
19922 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19923 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19924 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19925 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19926 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19927 printf("*** so that the correct libraries are found at run-time))\n");
19934 rm -f conftest
$ac_exeext
19935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19936 (eval $ac_link) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; }; then
19947 echo "$as_me: program exited with status $ac_status" >&5
19948 echo "$as_me: failed program was:" >&5
19949 sed 's/^/| /' conftest.
$ac_ext >&5
19951 ( exit $ac_status )
19954 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19956 CFLAGS
="$ac_save_CFLAGS"
19957 LIBS
="$ac_save_LIBS"
19960 if test "x$no_gtk" = x
; then
19961 echo "$as_me:$LINENO: result: yes" >&5
19962 echo "${ECHO_T}yes" >&6
19963 wx_cv_lib_gtk
=1.2.7
19965 echo "$as_me:$LINENO: result: no" >&5
19966 echo "${ECHO_T}no" >&6
19967 if test "$GTK_CONFIG" = "no" ; then
19968 echo "*** The gtk-config script installed by GTK could not be found"
19969 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19970 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19971 echo "*** full path to gtk-config."
19973 if test -f conf.gtktest
; then
19976 echo "*** Could not run GTK test program, checking why..."
19977 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19978 LIBS
="$LIBS $GTK_LIBS"
19979 cat >conftest.
$ac_ext <<_ACEOF
19980 #line $LINENO "configure"
19983 cat confdefs.h
>>conftest.
$ac_ext
19984 cat >>conftest.
$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19987 #include <gtk/gtk.h>
19993 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19998 rm -f conftest.
$ac_objext conftest
$ac_exeext
19999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20000 (eval $ac_link) 2>&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try
='test -s conftest$ac_exeext'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; }; then
20010 echo "*** The test program compiled, but did not run. This usually means"
20011 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20012 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20013 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20014 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20015 echo "*** is required on your system"
20017 echo "*** If you have an old version installed, it is best to remove it, although"
20018 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20020 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20021 echo "*** came with the system with the command"
20023 echo "*** rpm --erase --nodeps gtk gtk-devel"
20025 echo "$as_me: failed program was:" >&5
20026 sed 's/^/| /' conftest.
$ac_ext >&5
20028 echo "*** The test program failed to compile or link. See the file config.log for the"
20029 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20030 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20031 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20033 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20034 CFLAGS
="$ac_save_CFLAGS"
20035 LIBS
="$ac_save_LIBS"
20047 if test -z "$wx_cv_lib_gtk"; then
20049 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20050 if test "${with_gtk_prefix+set}" = set; then
20051 withval
="$with_gtk_prefix"
20052 gtk_config_prefix
="$withval"
20054 gtk_config_prefix
=""
20057 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20058 if test "${with_gtk_exec_prefix+set}" = set; then
20059 withval
="$with_gtk_exec_prefix"
20060 gtk_config_exec_prefix
="$withval"
20062 gtk_config_exec_prefix
=""
20064 # Check whether --enable-gtktest or --disable-gtktest was given.
20065 if test "${enable_gtktest+set}" = set; then
20066 enableval
="$enable_gtktest"
20072 for module
in .
$GTK_MODULES
20076 gtk_config_args
="$gtk_config_args gthread"
20081 if test x
$gtk_config_exec_prefix != x
; then
20082 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20083 if test x
${GTK_CONFIG+set} != xset
; then
20084 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20087 if test x
$gtk_config_prefix != x
; then
20088 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20089 if test x
${GTK_CONFIG+set} != xset
; then
20090 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20094 # Extract the first word of "gtk-config", so it can be a program name with args.
20095 set dummy gtk
-config; ac_word
=$2
20096 echo "$as_me:$LINENO: checking for $ac_word" >&5
20097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20098 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20099 echo $ECHO_N "(cached) $ECHO_C" >&6
20101 case $GTK_CONFIG in
20103 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20107 for as_dir
in $PATH
20110 test -z "$as_dir" && as_dir
=.
20111 for ac_exec_ext
in '' $ac_executable_extensions; do
20112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20113 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20120 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20124 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20126 if test -n "$GTK_CONFIG"; then
20127 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20128 echo "${ECHO_T}$GTK_CONFIG" >&6
20130 echo "$as_me:$LINENO: result: no" >&5
20131 echo "${ECHO_T}no" >&6
20134 min_gtk_version
=1.2.3
20135 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20136 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20138 if test "$GTK_CONFIG" = "no" ; then
20141 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20142 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20143 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20145 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20147 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20149 if test "x$enable_gtktest" = "xyes" ; then
20150 ac_save_CFLAGS
="$CFLAGS"
20151 ac_save_LIBS
="$LIBS"
20152 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20153 LIBS
="$GTK_LIBS $LIBS"
20155 if test "$cross_compiling" = yes; then
20156 echo $ac_n "cross compiling; assumed OK... $ac_c"
20158 cat >conftest.
$ac_ext <<_ACEOF
20159 #line $LINENO "configure"
20162 cat confdefs.h
>>conftest.
$ac_ext
20163 cat >>conftest.
$ac_ext <<_ACEOF
20164 /* end confdefs.h. */
20166 #include <gtk/gtk.h>
20168 #include <stdlib.h>
20173 int major, minor, micro;
20176 system ("touch conf.gtktest");
20178 /* HP/UX 9 (%@#!) writes to sscanf strings */
20179 tmp_version = g_strdup("$min_gtk_version");
20180 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20181 printf("%s, bad version string\n", "$min_gtk_version");
20185 if ((gtk_major_version != $gtk_config_major_version) ||
20186 (gtk_minor_version != $gtk_config_minor_version) ||
20187 (gtk_micro_version != $gtk_config_micro_version))
20189 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20190 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20191 gtk_major_version, gtk_minor_version, gtk_micro_version);
20192 printf ("*** was found! If gtk-config was correct, then it is best\n");
20193 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20194 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20195 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20196 printf("*** required on your system.\n");
20197 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20198 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20199 printf("*** before re-running configure\n");
20201 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20202 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20203 (gtk_minor_version != GTK_MINOR_VERSION) ||
20204 (gtk_micro_version != GTK_MICRO_VERSION))
20206 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20207 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20208 printf("*** library (version %d.%d.%d)\n",
20209 gtk_major_version, gtk_minor_version, gtk_micro_version);
20211 #endif /* defined (GTK_MAJOR_VERSION) ... */
20214 if ((gtk_major_version > major) ||
20215 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20216 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20222 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20223 gtk_major_version, gtk_minor_version, gtk_micro_version);
20224 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20225 major, minor, micro);
20226 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20228 printf("*** If you have already installed a sufficiently new version, this error\n");
20229 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20230 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20231 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20232 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20233 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20234 printf("*** so that the correct libraries are found at run-time))\n");
20241 rm -f conftest
$ac_exeext
20242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20243 (eval $ac_link) 2>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20248 (eval $ac_try) 2>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); }; }; then
20254 echo "$as_me: program exited with status $ac_status" >&5
20255 echo "$as_me: failed program was:" >&5
20256 sed 's/^/| /' conftest.
$ac_ext >&5
20258 ( exit $ac_status )
20261 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20263 CFLAGS
="$ac_save_CFLAGS"
20264 LIBS
="$ac_save_LIBS"
20267 if test "x$no_gtk" = x
; then
20268 echo "$as_me:$LINENO: result: yes" >&5
20269 echo "${ECHO_T}yes" >&6
20270 wx_cv_lib_gtk
=1.2.3
20272 echo "$as_me:$LINENO: result: no" >&5
20273 echo "${ECHO_T}no" >&6
20274 if test "$GTK_CONFIG" = "no" ; then
20275 echo "*** The gtk-config script installed by GTK could not be found"
20276 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20277 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20278 echo "*** full path to gtk-config."
20280 if test -f conf.gtktest
; then
20283 echo "*** Could not run GTK test program, checking why..."
20284 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20285 LIBS
="$LIBS $GTK_LIBS"
20286 cat >conftest.
$ac_ext <<_ACEOF
20287 #line $LINENO "configure"
20290 cat confdefs.h
>>conftest.
$ac_ext
20291 cat >>conftest.
$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20294 #include <gtk/gtk.h>
20300 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20305 rm -f conftest.
$ac_objext conftest
$ac_exeext
20306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20307 (eval $ac_link) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } &&
20311 { ac_try
='test -s conftest$ac_exeext'
20312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20317 echo "*** The test program compiled, but did not run. This usually means"
20318 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20319 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20320 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20321 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20322 echo "*** is required on your system"
20324 echo "*** If you have an old version installed, it is best to remove it, although"
20325 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20327 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20328 echo "*** came with the system with the command"
20330 echo "*** rpm --erase --nodeps gtk gtk-devel"
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.
$ac_ext >&5
20335 echo "*** The test program failed to compile or link. See the file config.log for the"
20336 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20337 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20338 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20340 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20341 CFLAGS
="$ac_save_CFLAGS"
20342 LIBS
="$ac_save_LIBS"
20356 if test -z "$wx_cv_lib_gtk"; then
20359 wx_cv_cflags_gtk
=$GTK_CFLAGS
20360 wx_cv_libs_gtk
=$GTK_LIBS
20367 if test "$gtk_version_cached" = 1; then
20368 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20369 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20372 case "$wx_cv_lib_gtk" in
20381 *) { { echo "$as_me:$LINENO: error:
20382 Please check that gtk-config is in path, the directory
20383 where GTK+ libraries are installed (returned by
20384 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20385 equivalent variable and GTK+ is version 1.2.3 or above.
20387 echo "$as_me: error:
20388 Please check that gtk-config is in path, the directory
20389 where GTK+ libraries are installed (returned by
20390 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20391 equivalent variable and GTK+ is version 1.2.3 or above.
20393 { (exit 1); exit 1; }; }
20397 if test "$WXGTK20" = 1; then
20398 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20402 if test -z "$PKG_CONFIG"; then
20403 # Extract the first word of "pkg-config", so it can be a program name with args.
20404 set dummy pkg
-config; ac_word
=$2
20405 echo "$as_me:$LINENO: checking for $ac_word" >&5
20406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20407 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20408 echo $ECHO_N "(cached) $ECHO_C" >&6
20410 case $PKG_CONFIG in
20412 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20416 for as_dir
in $PATH
20419 test -z "$as_dir" && as_dir
=.
20420 for ac_exec_ext
in '' $ac_executable_extensions; do
20421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20422 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20429 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20433 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20435 if test -n "$PKG_CONFIG"; then
20436 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20437 echo "${ECHO_T}$PKG_CONFIG" >&6
20439 echo "$as_me:$LINENO: result: no" >&5
20440 echo "${ECHO_T}no" >&6
20445 if test "$PKG_CONFIG" = "no" ; then
20446 echo "*** The pkg-config script could not be found. Make sure it is"
20447 echo "*** in your path, or set the PKG_CONFIG environment variable"
20448 echo "*** to the full path to pkg-config."
20449 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20451 PKG_CONFIG_MIN_VERSION
=0.9.0
20452 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20453 echo "$as_me:$LINENO: checking for pangoft2" >&5
20454 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20456 if $PKG_CONFIG --exists "pangoft2" ; then
20457 echo "$as_me:$LINENO: result: yes" >&5
20458 echo "${ECHO_T}yes" >&6
20461 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20462 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20463 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20464 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20465 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20467 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20468 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20469 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20470 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20471 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20475 ## If we have a custom action on failure, don't print errors, but
20476 ## do set a variable so people can do so.
20477 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20484 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20485 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20489 if test $succeeded = yes; then
20491 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20492 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20496 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20497 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20498 wxUSE_PRINTING_ARCHITECTURE
="no"
20505 if test "$wxUSE_UNICODE" = "yes"; then
20506 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20507 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20512 if test "$USE_DARWIN" != 1; then
20514 for ac_func
in poll
20516 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20517 echo "$as_me:$LINENO: checking for $ac_func" >&5
20518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20519 if eval "test \"\${$as_ac_var+set}\" = set"; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20522 cat >conftest.
$ac_ext <<_ACEOF
20523 #line $LINENO "configure"
20526 cat confdefs.h
>>conftest.
$ac_ext
20527 cat >>conftest.
$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 /* System header to define __stub macros and hopefully few prototypes,
20530 which can conflict with char $ac_func (); below.
20531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20532 <limits.h> exists even on freestanding compilers. */
20534 # include <limits.h>
20536 # include <assert.h>
20538 /* Override any gcc2 internal prototype to avoid an error. */
20543 /* We use char because int might match the return type of a gcc2
20544 builtin and then its argument prototype would still apply. */
20546 /* The GNU C library defines this for functions which it implements
20547 to always fail with ENOSYS. Some functions are actually named
20548 something starting with __ and the normal name is an alias. */
20549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20552 char (*f) () = $ac_func;
20561 return f != $ac_func;
20566 rm -f conftest.
$ac_objext conftest
$ac_exeext
20567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20568 (eval $ac_link) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } &&
20572 { ac_try
='test -s conftest$ac_exeext'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; }; then
20578 eval "$as_ac_var=yes"
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.
$ac_ext >&5
20583 eval "$as_ac_var=no"
20585 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20589 if test `eval echo '${'$as_ac_var'}'` = yes; then
20590 cat >>confdefs.h
<<_ACEOF
20591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20599 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20600 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20602 AFMINSTALL
=afminstall
20606 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20607 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20608 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20609 echo $ECHO_N "(cached) $ECHO_C" >&6
20611 ac_check_lib_save_LIBS
=$LIBS
20613 cat >conftest.
$ac_ext <<_ACEOF
20614 #line $LINENO "configure"
20617 cat confdefs.h
>>conftest.
$ac_ext
20618 cat >>conftest.
$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20621 /* Override any gcc2 internal prototype to avoid an error. */
20625 /* We use char because int might match the return type of a gcc2
20626 builtin and then its argument prototype would still apply. */
20627 char gdk_im_open ();
20636 rm -f conftest.
$ac_objext conftest
$ac_exeext
20637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20638 (eval $ac_link) 2>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); } &&
20642 { ac_try
='test -s conftest$ac_exeext'
20643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644 (eval $ac_try) 2>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); }; }; then
20648 ac_cv_lib_gdk_gdk_im_open
=yes
20650 echo "$as_me: failed program was:" >&5
20651 sed 's/^/| /' conftest.
$ac_ext >&5
20653 ac_cv_lib_gdk_gdk_im_open
=no
20655 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20656 LIBS
=$ac_check_lib_save_LIBS
20658 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20659 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20660 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20661 cat >>confdefs.h
<<\_ACEOF
20669 if test "$wxUSE_MGL" = 1; then
20670 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20671 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20672 if test "x$MGL_ROOT" = x
; then
20673 echo "$as_me:$LINENO: result: not found" >&5
20674 echo "${ECHO_T}not found" >&6
20675 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20676 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20677 { (exit 1); exit 1; }; }
20679 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20680 echo "${ECHO_T}$MGL_ROOT" >&6
20683 echo "$as_me:$LINENO: checking for libmgl location" >&5
20684 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20687 if test "x$wxUSE_SHARED" = xyes
; then
20688 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20690 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20694 mgl_os_candidates
="dos32/dj2"
20697 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20698 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20699 { (exit 1); exit 1; }; }
20705 for mgl_os_i
in $mgl_os_candidates ; do
20706 if test "x$mgl_os" = x
; then
20707 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20708 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
20709 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
20714 if test "x$mgl_lib_type" = x
; then
20715 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
20716 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
20717 mgl_lib_type
=release
20724 if test "x$mgl_os" = x
; then
20725 echo "$as_me:$LINENO: result: not found" >&5
20726 echo "${ECHO_T}not found" >&6
20727 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20728 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20729 { (exit 1); exit 1; }; }
20731 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20732 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20734 wxUSE_UNIVERSAL
="yes"
20736 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
20737 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20739 AFMINSTALL
=afminstall
20744 if test "$wxUSE_MICROWIN" = 1; then
20745 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20746 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20747 if test "x$MICROWINDOWS" = x
; then
20748 echo "$as_me:$LINENO: result: not found" >&5
20749 echo "${ECHO_T}not found" >&6
20750 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20751 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20752 { (exit 1); exit 1; }; }
20754 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20755 echo "${ECHO_T}$MICROWINDOWS" >&6
20758 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
20759 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20760 echo "${ECHO_T}MicroWindows' libraries found." >&6
20762 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20763 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20764 { (exit 1); exit 1; }; }
20767 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
20768 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20770 wxUSE_UNIVERSAL
="yes"
20772 AFMINSTALL
=afminstall
20774 GUIDIST
=MICROWIN_DIST
20776 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20779 if test "$wxUSE_X11" = 1; then
20780 echo "$as_me:$LINENO: checking for X" >&5
20781 echo $ECHO_N "checking for X... $ECHO_C" >&6
20784 # Check whether --with-x or --without-x was given.
20785 if test "${with_x+set}" = set; then
20789 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20790 if test "x$with_x" = xno
; then
20791 # The user explicitly disabled X.
20794 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
20795 # Both variables are already set.
20798 if test "${ac_cv_have_x+set}" = set; then
20799 echo $ECHO_N "(cached) $ECHO_C" >&6
20801 # One or both of the vars are not set, and there is no cached value.
20802 ac_x_includes
=no ac_x_libraries
=no
20803 rm -fr conftest.dir
20804 if mkdir conftest.dir
; then
20806 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20807 cat >Imakefile
<<'_ACEOF'
20809 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20811 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
20812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20813 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20814 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20815 for ac_extension
in a so sl
; do
20816 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
20817 test -f $ac_im_libdir/libX11.
$ac_extension; then
20818 ac_im_usrlibdir
=$ac_im_libdir; break
20821 # Screen out bogus values from the imake configuration. They are
20822 # bogus both because they are the default anyway, and because
20823 # using them would break gcc on systems where it needs fixed includes.
20824 case $ac_im_incroot in
20826 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
20828 case $ac_im_usrlibdir in
20829 /usr
/lib
| /lib
) ;;
20830 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
20834 rm -fr conftest.dir
20837 # Standard set of common directories for X headers.
20838 # Check X11 before X11Rn because it is often a symlink to the current release.
20850 /usr/local/X11/include
20851 /usr/local/X11R6/include
20852 /usr/local/X11R5/include
20853 /usr/local/X11R4/include
20855 /usr/local/include/X11
20856 /usr/local/include/X11R6
20857 /usr/local/include/X11R5
20858 /usr/local/include/X11R4
20862 /usr/XFree86/include/X11
20866 /usr/unsupported/include
20867 /usr/athena/include
20868 /usr/local/x11r5/include
20869 /usr/lpp/Xamples/include
20871 /usr/openwin/include
20872 /usr/openwin/share/include'
20874 if test "$ac_x_includes" = no
; then
20875 # Guess where to find include files, by looking for Intrinsic.h.
20876 # First, try using that file with no special directory specified.
20877 cat >conftest.
$ac_ext <<_ACEOF
20878 #line $LINENO "configure"
20881 cat confdefs.h
>>conftest.
$ac_ext
20882 cat >>conftest.
$ac_ext <<_ACEOF
20883 /* end confdefs.h. */
20884 #include <X11/Intrinsic.h>
20886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20889 grep -v '^ *+' conftest.er1
>conftest.err
20891 cat conftest.err
>&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); } >/dev
/null
; then
20894 if test -s conftest.err
; then
20895 ac_cpp_err
=$ac_c_preproc_warn_flag
20902 if test -z "$ac_cpp_err"; then
20903 # We can compile using X headers with no special include directory.
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.
$ac_ext >&5
20909 for ac_dir
in $ac_x_header_dirs; do
20910 if test -r "$ac_dir/X11/Intrinsic.h"; then
20911 ac_x_includes
=$ac_dir
20916 rm -f conftest.err conftest.
$ac_ext
20917 fi # $ac_x_includes = no
20919 if test "$ac_x_libraries" = no
; then
20920 # Check for the libraries.
20921 # See if we find them without any special options.
20922 # Don't add to $LIBS permanently.
20925 cat >conftest.
$ac_ext <<_ACEOF
20926 #line $LINENO "configure"
20929 cat confdefs.h
>>conftest.
$ac_ext
20930 cat >>conftest.
$ac_ext <<_ACEOF
20931 /* end confdefs.h. */
20932 #include <X11/Intrinsic.h>
20941 rm -f conftest.
$ac_objext conftest
$ac_exeext
20942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20943 (eval $ac_link) 2>&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } &&
20947 { ac_try
='test -s conftest$ac_exeext'
20948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20949 (eval $ac_try) 2>&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); }; }; then
20954 # We can link X programs with no special library path.
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.
$ac_ext >&5
20961 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20963 # Don't even attempt the hair of trying to link an X program!
20964 for ac_extension
in a so sl
; do
20965 if test -r $ac_dir/libXt.
$ac_extension; then
20966 ac_x_libraries
=$ac_dir
20972 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20973 fi # $ac_x_libraries = no
20975 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
20976 # Didn't find X anywhere. Cache the known absence of X.
20977 ac_cv_have_x
="have_x=no"
20979 # Record where we found X for the cache.
20980 ac_cv_have_x
="have_x=yes \
20981 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20986 eval "$ac_cv_have_x"
20989 if test "$have_x" != yes; then
20990 echo "$as_me:$LINENO: result: $have_x" >&5
20991 echo "${ECHO_T}$have_x" >&6
20994 # If each of the values was on the command line, it overrides each guess.
20995 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
20996 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
20997 # Update the cache value to reflect the command line values.
20998 ac_cv_have_x
="have_x=yes \
20999 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21000 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21001 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21004 if test "$no_x" = yes; then
21005 # Not all programs may use this symbol, but it does not hurt to define it.
21007 cat >>confdefs.h
<<\_ACEOF
21008 #define X_DISPLAY_MISSING 1
21011 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21013 if test -n "$x_includes"; then
21014 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21017 # It would also be nice to do this for all -L options, not just this one.
21018 if test -n "$x_libraries"; then
21019 X_LIBS
="$X_LIBS -L$x_libraries"
21020 # For Solaris; some versions of Sun CC require a space after -R and
21021 # others require no space. Words are not sufficient . . . .
21022 case `(uname -sr) 2>/dev/null` in
21024 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21025 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21026 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21027 cat >conftest.
$ac_ext <<_ACEOF
21028 #line $LINENO "configure"
21031 cat confdefs.h
>>conftest.
$ac_ext
21032 cat >>conftest.
$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21043 rm -f conftest.
$ac_objext conftest
$ac_exeext
21044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21045 (eval $ac_link) 2>&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); } &&
21049 { ac_try
='test -s conftest$ac_exeext'
21050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); }; }; then
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.
$ac_ext >&5
21062 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21063 if test $ac_R_nospace = yes; then
21064 echo "$as_me:$LINENO: result: no" >&5
21065 echo "${ECHO_T}no" >&6
21066 X_LIBS
="$X_LIBS -R$x_libraries"
21068 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21069 cat >conftest.
$ac_ext <<_ACEOF
21070 #line $LINENO "configure"
21073 cat confdefs.h
>>conftest.
$ac_ext
21074 cat >>conftest.
$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21085 rm -f conftest.
$ac_objext conftest
$ac_exeext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21087 (eval $ac_link) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } &&
21091 { ac_try
='test -s conftest$ac_exeext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.
$ac_ext >&5
21104 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21105 if test $ac_R_space = yes; then
21106 echo "$as_me:$LINENO: result: yes" >&5
21107 echo "${ECHO_T}yes" >&6
21108 X_LIBS
="$X_LIBS -R $x_libraries"
21110 echo "$as_me:$LINENO: result: neither works" >&5
21111 echo "${ECHO_T}neither works" >&6
21114 LIBS
=$ac_xsave_LIBS
21118 # Check for system-dependent libraries X programs must link with.
21119 # Do this before checking for the system-independent R6 libraries
21120 # (-lICE), since we may need -lsocket or whatever for X linking.
21122 if test "$ISC" = yes; then
21123 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21125 # Martyn Johnson says this is needed for Ultrix, if the X
21126 # libraries were built with DECnet support. And Karl Berry says
21127 # the Alpha needs dnet_stub (dnet does not exist).
21128 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21129 cat >conftest.
$ac_ext <<_ACEOF
21130 #line $LINENO "configure"
21133 cat confdefs.h
>>conftest.
$ac_ext
21134 cat >>conftest.
$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21137 /* Override any gcc2 internal prototype to avoid an error. */
21141 /* We use char because int might match the return type of a gcc2
21142 builtin and then its argument prototype would still apply. */
21143 char XOpenDisplay ();
21152 rm -f conftest.
$ac_objext conftest
$ac_exeext
21153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21154 (eval $ac_link) 2>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } &&
21158 { ac_try
='test -s conftest$ac_exeext'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.
$ac_ext >&5
21169 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21170 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21171 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21172 echo $ECHO_N "(cached) $ECHO_C" >&6
21174 ac_check_lib_save_LIBS
=$LIBS
21175 LIBS
="-ldnet $LIBS"
21176 cat >conftest.
$ac_ext <<_ACEOF
21177 #line $LINENO "configure"
21180 cat confdefs.h
>>conftest.
$ac_ext
21181 cat >>conftest.
$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21184 /* Override any gcc2 internal prototype to avoid an error. */
21188 /* We use char because int might match the return type of a gcc2
21189 builtin and then its argument prototype would still apply. */
21199 rm -f conftest.
$ac_objext conftest
$ac_exeext
21200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21201 (eval $ac_link) 2>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } &&
21205 { ac_try
='test -s conftest$ac_exeext'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_cv_lib_dnet_dnet_ntoa
=yes
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.
$ac_ext >&5
21216 ac_cv_lib_dnet_dnet_ntoa
=no
21218 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21219 LIBS
=$ac_check_lib_save_LIBS
21221 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21222 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21223 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21224 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21227 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21228 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21229 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21230 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21231 echo $ECHO_N "(cached) $ECHO_C" >&6
21233 ac_check_lib_save_LIBS
=$LIBS
21234 LIBS
="-ldnet_stub $LIBS"
21235 cat >conftest.
$ac_ext <<_ACEOF
21236 #line $LINENO "configure"
21239 cat confdefs.h
>>conftest.
$ac_ext
21240 cat >>conftest.
$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21243 /* Override any gcc2 internal prototype to avoid an error. */
21247 /* We use char because int might match the return type of a gcc2
21248 builtin and then its argument prototype would still apply. */
21258 rm -f conftest.
$ac_objext conftest
$ac_exeext
21259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21260 (eval $ac_link) 2>&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } &&
21264 { ac_try
='test -s conftest$ac_exeext'
21265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21266 (eval $ac_try) 2>&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); }; }; then
21270 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21272 echo "$as_me: failed program was:" >&5
21273 sed 's/^/| /' conftest.
$ac_ext >&5
21275 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21277 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21278 LIBS
=$ac_check_lib_save_LIBS
21280 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21281 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21282 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21283 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21288 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21289 LIBS
="$ac_xsave_LIBS"
21291 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21292 # to get the SysV transport functions.
21293 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21295 # The nsl library prevents programs from opening the X display
21296 # on Irix 5.2, according to T.E. Dickey.
21297 # The functions gethostbyname, getservbyname, and inet_addr are
21298 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21299 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21300 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21301 if test "${ac_cv_func_gethostbyname+set}" = set; then
21302 echo $ECHO_N "(cached) $ECHO_C" >&6
21304 cat >conftest.
$ac_ext <<_ACEOF
21305 #line $LINENO "configure"
21308 cat confdefs.h
>>conftest.
$ac_ext
21309 cat >>conftest.
$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 /* System header to define __stub macros and hopefully few prototypes,
21312 which can conflict with char gethostbyname (); below.
21313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21314 <limits.h> exists even on freestanding compilers. */
21316 # include <limits.h>
21318 # include <assert.h>
21320 /* Override any gcc2 internal prototype to avoid an error. */
21325 /* We use char because int might match the return type of a gcc2
21326 builtin and then its argument prototype would still apply. */
21327 char gethostbyname ();
21328 /* The GNU C library defines this for functions which it implements
21329 to always fail with ENOSYS. Some functions are actually named
21330 something starting with __ and the normal name is an alias. */
21331 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21334 char (*f) () = gethostbyname;
21343 return f != gethostbyname;
21348 rm -f conftest.
$ac_objext conftest
$ac_exeext
21349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21350 (eval $ac_link) 2>&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } &&
21354 { ac_try
='test -s conftest$ac_exeext'
21355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21356 (eval $ac_try) 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; }; then
21360 ac_cv_func_gethostbyname
=yes
21362 echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.
$ac_ext >&5
21365 ac_cv_func_gethostbyname
=no
21367 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21369 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21370 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21372 if test $ac_cv_func_gethostbyname = no
; then
21373 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21374 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21375 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21376 echo $ECHO_N "(cached) $ECHO_C" >&6
21378 ac_check_lib_save_LIBS
=$LIBS
21380 cat >conftest.
$ac_ext <<_ACEOF
21381 #line $LINENO "configure"
21384 cat confdefs.h
>>conftest.
$ac_ext
21385 cat >>conftest.
$ac_ext <<_ACEOF
21386 /* end confdefs.h. */
21388 /* Override any gcc2 internal prototype to avoid an error. */
21392 /* We use char because int might match the return type of a gcc2
21393 builtin and then its argument prototype would still apply. */
21394 char gethostbyname ();
21403 rm -f conftest.
$ac_objext conftest
$ac_exeext
21404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21405 (eval $ac_link) 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } &&
21409 { ac_try
='test -s conftest$ac_exeext'
21410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21411 (eval $ac_try) 2>&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); }; }; then
21415 ac_cv_lib_nsl_gethostbyname
=yes
21417 echo "$as_me: failed program was:" >&5
21418 sed 's/^/| /' conftest.
$ac_ext >&5
21420 ac_cv_lib_nsl_gethostbyname
=no
21422 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21423 LIBS
=$ac_check_lib_save_LIBS
21425 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21426 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21427 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21428 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21431 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21432 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21433 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21434 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21435 echo $ECHO_N "(cached) $ECHO_C" >&6
21437 ac_check_lib_save_LIBS
=$LIBS
21439 cat >conftest.
$ac_ext <<_ACEOF
21440 #line $LINENO "configure"
21443 cat confdefs.h
>>conftest.
$ac_ext
21444 cat >>conftest.
$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21447 /* Override any gcc2 internal prototype to avoid an error. */
21451 /* We use char because int might match the return type of a gcc2
21452 builtin and then its argument prototype would still apply. */
21453 char gethostbyname ();
21462 rm -f conftest.
$ac_objext conftest
$ac_exeext
21463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21464 (eval $ac_link) 2>&5
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); } &&
21468 { ac_try
='test -s conftest$ac_exeext'
21469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470 (eval $ac_try) 2>&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 ac_cv_lib_bsd_gethostbyname
=yes
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.
$ac_ext >&5
21479 ac_cv_lib_bsd_gethostbyname
=no
21481 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21482 LIBS
=$ac_check_lib_save_LIBS
21484 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21485 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21486 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21487 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21493 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21494 # socket/setsockopt and other routines are undefined under SCO ODT
21495 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21496 # on later versions), says Simon Leinen: it contains gethostby*
21497 # variants that don't use the name server (or something). -lsocket
21498 # must be given before -lnsl if both are needed. We assume that
21499 # if connect needs -lnsl, so does gethostbyname.
21500 echo "$as_me:$LINENO: checking for connect" >&5
21501 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21502 if test "${ac_cv_func_connect+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 cat >conftest.
$ac_ext <<_ACEOF
21506 #line $LINENO "configure"
21509 cat confdefs.h
>>conftest.
$ac_ext
21510 cat >>conftest.
$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 /* System header to define __stub macros and hopefully few prototypes,
21513 which can conflict with char connect (); below.
21514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21515 <limits.h> exists even on freestanding compilers. */
21517 # include <limits.h>
21519 # include <assert.h>
21521 /* Override any gcc2 internal prototype to avoid an error. */
21526 /* We use char because int might match the return type of a gcc2
21527 builtin and then its argument prototype would still apply. */
21529 /* The GNU C library defines this for functions which it implements
21530 to always fail with ENOSYS. Some functions are actually named
21531 something starting with __ and the normal name is an alias. */
21532 #if defined (__stub_connect) || defined (__stub___connect)
21535 char (*f) () = connect;
21544 return f != connect;
21549 rm -f conftest.
$ac_objext conftest
$ac_exeext
21550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21551 (eval $ac_link) 2>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); } &&
21555 { ac_try
='test -s conftest$ac_exeext'
21556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557 (eval $ac_try) 2>&5
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); }; }; then
21561 ac_cv_func_connect
=yes
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.
$ac_ext >&5
21566 ac_cv_func_connect
=no
21568 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21570 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21571 echo "${ECHO_T}$ac_cv_func_connect" >&6
21573 if test $ac_cv_func_connect = no
; then
21574 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21575 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21576 if test "${ac_cv_lib_socket_connect+set}" = set; then
21577 echo $ECHO_N "(cached) $ECHO_C" >&6
21579 ac_check_lib_save_LIBS
=$LIBS
21580 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21581 cat >conftest.
$ac_ext <<_ACEOF
21582 #line $LINENO "configure"
21585 cat confdefs.h
>>conftest.
$ac_ext
21586 cat >>conftest.
$ac_ext <<_ACEOF
21587 /* end confdefs.h. */
21589 /* Override any gcc2 internal prototype to avoid an error. */
21593 /* We use char because int might match the return type of a gcc2
21594 builtin and then its argument prototype would still apply. */
21604 rm -f conftest.
$ac_objext conftest
$ac_exeext
21605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21606 (eval $ac_link) 2>&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); } &&
21610 { ac_try
='test -s conftest$ac_exeext'
21611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21612 (eval $ac_try) 2>&5
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); }; }; then
21616 ac_cv_lib_socket_connect
=yes
21618 echo "$as_me: failed program was:" >&5
21619 sed 's/^/| /' conftest.
$ac_ext >&5
21621 ac_cv_lib_socket_connect
=no
21623 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21624 LIBS
=$ac_check_lib_save_LIBS
21626 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21627 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21628 if test $ac_cv_lib_socket_connect = yes; then
21629 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21634 # Guillermo Gomez says -lposix is necessary on A/UX.
21635 echo "$as_me:$LINENO: checking for remove" >&5
21636 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21637 if test "${ac_cv_func_remove+set}" = set; then
21638 echo $ECHO_N "(cached) $ECHO_C" >&6
21640 cat >conftest.
$ac_ext <<_ACEOF
21641 #line $LINENO "configure"
21644 cat confdefs.h
>>conftest.
$ac_ext
21645 cat >>conftest.
$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 /* System header to define __stub macros and hopefully few prototypes,
21648 which can conflict with char remove (); below.
21649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21650 <limits.h> exists even on freestanding compilers. */
21652 # include <limits.h>
21654 # include <assert.h>
21656 /* Override any gcc2 internal prototype to avoid an error. */
21661 /* We use char because int might match the return type of a gcc2
21662 builtin and then its argument prototype would still apply. */
21664 /* The GNU C library defines this for functions which it implements
21665 to always fail with ENOSYS. Some functions are actually named
21666 something starting with __ and the normal name is an alias. */
21667 #if defined (__stub_remove) || defined (__stub___remove)
21670 char (*f) () = remove;
21679 return f != remove;
21684 rm -f conftest.
$ac_objext conftest
$ac_exeext
21685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21686 (eval $ac_link) 2>&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } &&
21690 { ac_try
='test -s conftest$ac_exeext'
21691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21692 (eval $ac_try) 2>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; }; then
21696 ac_cv_func_remove
=yes
21698 echo "$as_me: failed program was:" >&5
21699 sed 's/^/| /' conftest.
$ac_ext >&5
21701 ac_cv_func_remove
=no
21703 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21705 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21706 echo "${ECHO_T}$ac_cv_func_remove" >&6
21708 if test $ac_cv_func_remove = no
; then
21709 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21710 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21711 if test "${ac_cv_lib_posix_remove+set}" = set; then
21712 echo $ECHO_N "(cached) $ECHO_C" >&6
21714 ac_check_lib_save_LIBS
=$LIBS
21715 LIBS
="-lposix $LIBS"
21716 cat >conftest.
$ac_ext <<_ACEOF
21717 #line $LINENO "configure"
21720 cat confdefs.h
>>conftest.
$ac_ext
21721 cat >>conftest.
$ac_ext <<_ACEOF
21722 /* end confdefs.h. */
21724 /* Override any gcc2 internal prototype to avoid an error. */
21728 /* We use char because int might match the return type of a gcc2
21729 builtin and then its argument prototype would still apply. */
21739 rm -f conftest.
$ac_objext conftest
$ac_exeext
21740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21741 (eval $ac_link) 2>&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); } &&
21745 { ac_try
='test -s conftest$ac_exeext'
21746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21747 (eval $ac_try) 2>&5
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; }; then
21751 ac_cv_lib_posix_remove
=yes
21753 echo "$as_me: failed program was:" >&5
21754 sed 's/^/| /' conftest.
$ac_ext >&5
21756 ac_cv_lib_posix_remove
=no
21758 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21759 LIBS
=$ac_check_lib_save_LIBS
21761 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21762 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21763 if test $ac_cv_lib_posix_remove = yes; then
21764 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
21769 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21770 echo "$as_me:$LINENO: checking for shmat" >&5
21771 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21772 if test "${ac_cv_func_shmat+set}" = set; then
21773 echo $ECHO_N "(cached) $ECHO_C" >&6
21775 cat >conftest.
$ac_ext <<_ACEOF
21776 #line $LINENO "configure"
21779 cat confdefs.h
>>conftest.
$ac_ext
21780 cat >>conftest.
$ac_ext <<_ACEOF
21781 /* end confdefs.h. */
21782 /* System header to define __stub macros and hopefully few prototypes,
21783 which can conflict with char shmat (); below.
21784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21785 <limits.h> exists even on freestanding compilers. */
21787 # include <limits.h>
21789 # include <assert.h>
21791 /* Override any gcc2 internal prototype to avoid an error. */
21796 /* We use char because int might match the return type of a gcc2
21797 builtin and then its argument prototype would still apply. */
21799 /* The GNU C library defines this for functions which it implements
21800 to always fail with ENOSYS. Some functions are actually named
21801 something starting with __ and the normal name is an alias. */
21802 #if defined (__stub_shmat) || defined (__stub___shmat)
21805 char (*f) () = shmat;
21819 rm -f conftest.
$ac_objext conftest
$ac_exeext
21820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21821 (eval $ac_link) 2>&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } &&
21825 { ac_try
='test -s conftest$ac_exeext'
21826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827 (eval $ac_try) 2>&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; }; then
21831 ac_cv_func_shmat
=yes
21833 echo "$as_me: failed program was:" >&5
21834 sed 's/^/| /' conftest.
$ac_ext >&5
21836 ac_cv_func_shmat
=no
21838 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21840 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21841 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21843 if test $ac_cv_func_shmat = no
; then
21844 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21845 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21846 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21849 ac_check_lib_save_LIBS
=$LIBS
21851 cat >conftest.
$ac_ext <<_ACEOF
21852 #line $LINENO "configure"
21855 cat confdefs.h
>>conftest.
$ac_ext
21856 cat >>conftest.
$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21859 /* Override any gcc2 internal prototype to avoid an error. */
21863 /* We use char because int might match the return type of a gcc2
21864 builtin and then its argument prototype would still apply. */
21874 rm -f conftest.
$ac_objext conftest
$ac_exeext
21875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21876 (eval $ac_link) 2>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try
='test -s conftest$ac_exeext'
21881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21882 (eval $ac_try) 2>&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); }; }; then
21886 ac_cv_lib_ipc_shmat
=yes
21888 echo "$as_me: failed program was:" >&5
21889 sed 's/^/| /' conftest.
$ac_ext >&5
21891 ac_cv_lib_ipc_shmat
=no
21893 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21894 LIBS
=$ac_check_lib_save_LIBS
21896 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21897 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21898 if test $ac_cv_lib_ipc_shmat = yes; then
21899 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
21905 # Check for libraries that X11R6 Xt/Xaw programs need.
21906 ac_save_LDFLAGS
=$LDFLAGS
21907 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
21908 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21909 # check for ICE first), but we must link in the order -lSM -lICE or
21910 # we get undefined symbols. So assume we have SM if we have ICE.
21911 # These have to be linked with before -lX11, unlike the other
21912 # libraries we check for below, so use a different variable.
21913 # John Interrante, Karl Berry
21914 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21915 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21916 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21917 echo $ECHO_N "(cached) $ECHO_C" >&6
21919 ac_check_lib_save_LIBS
=$LIBS
21920 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
21921 cat >conftest.
$ac_ext <<_ACEOF
21922 #line $LINENO "configure"
21925 cat confdefs.h
>>conftest.
$ac_ext
21926 cat >>conftest.
$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21929 /* Override any gcc2 internal prototype to avoid an error. */
21933 /* We use char because int might match the return type of a gcc2
21934 builtin and then its argument prototype would still apply. */
21935 char IceConnectionNumber ();
21939 IceConnectionNumber ();
21944 rm -f conftest.
$ac_objext conftest
$ac_exeext
21945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21946 (eval $ac_link) 2>&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } &&
21950 { ac_try
='test -s conftest$ac_exeext'
21951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21952 (eval $ac_try) 2>&5
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); }; }; then
21956 ac_cv_lib_ICE_IceConnectionNumber
=yes
21958 echo "$as_me: failed program was:" >&5
21959 sed 's/^/| /' conftest.
$ac_ext >&5
21961 ac_cv_lib_ICE_IceConnectionNumber
=no
21963 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21964 LIBS
=$ac_check_lib_save_LIBS
21966 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21967 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21968 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21969 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
21972 LDFLAGS
=$ac_save_LDFLAGS
21977 if test "$no_x" = "yes"; then
21978 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21979 echo "$as_me: error: X11 not found" >&2;}
21980 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
21983 GUI_TK_LIBRARY
="$X_LIBS"
21984 TOOLKIT_INCLUDE
="$X_CFLAGS"
21985 AFMINSTALL
=afminstall
21986 COMPILED_X_PROGRAM
=0
21988 if test "$wxUSE_NANOX" = "yes"; then
21989 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21990 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21991 if test "x$MICROWIN" = x
; then
21992 echo "$as_me:$LINENO: result: not found" >&5
21993 echo "${ECHO_T}not found" >&6
21994 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21995 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21996 { (exit 1); exit 1; }; }
21998 echo "$as_me:$LINENO: result: $MICROWIN" >&5
21999 echo "${ECHO_T}$MICROWIN" >&6
22000 cat >>confdefs.h
<<\_ACEOF
22001 #define wxUSE_NANOX 1
22008 echo "$as_me:$LINENO: checking for Xpm library" >&5
22009 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22012 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22014 for ac_extension
in a so sl dylib
; do
22015 if test -f "$ac_dir/libXpm.$ac_extension"; then
22016 ac_find_libraries
=$ac_dir
22022 if test "$ac_find_libraries" != "" ; then
22024 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22026 if test $result = 0; then
22029 ac_path_to_link
=" -L$ac_find_libraries"
22032 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22034 cat >>confdefs.h
<<\_ACEOF
22035 #define wxHAVE_LIB_XPM 1
22038 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22039 echo "${ECHO_T}found at $ac_find_libraries" >&6
22041 cat >conftest.
$ac_ext <<_ACEOF
22042 #line $LINENO "configure"
22045 cat confdefs.h
>>conftest.
$ac_ext
22046 cat >>conftest.
$ac_ext <<_ACEOF
22047 /* end confdefs.h. */
22049 #include <X11/xpm.h>
22056 version = XpmLibraryVersion();
22062 rm -f conftest.
$ac_objext
22063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22064 (eval $ac_compile) 2>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try
='test -s conftest.$ac_objext'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; }; then
22076 cat >>confdefs.h
<<\_ACEOF
22077 #define wxHAVE_LIB_XPM 1
22080 echo "$as_me:$LINENO: result: found in default search path" >&5
22081 echo "${ECHO_T}found in default search path" >&6
22082 COMPILED_X_PROGRAM
=0
22085 echo "$as_me: failed program was:" >&5
22086 sed 's/^/| /' conftest.
$ac_ext >&5
22089 echo "$as_me:$LINENO: result: no" >&5
22090 echo "${ECHO_T}no" >&6
22091 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22092 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22096 rm -f conftest.
$ac_objext conftest.
$ac_ext
22099 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22100 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22101 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22102 echo $ECHO_N "(cached) $ECHO_C" >&6
22104 ac_check_lib_save_LIBS
=$LIBS
22105 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22106 cat >conftest.
$ac_ext <<_ACEOF
22107 #line $LINENO "configure"
22110 cat confdefs.h
>>conftest.
$ac_ext
22111 cat >>conftest.
$ac_ext <<_ACEOF
22112 /* end confdefs.h. */
22114 /* Override any gcc2 internal prototype to avoid an error. */
22118 /* We use char because int might match the return type of a gcc2
22119 builtin and then its argument prototype would still apply. */
22120 char XShapeQueryExtension ();
22124 XShapeQueryExtension ();
22129 rm -f conftest.
$ac_objext conftest
$ac_exeext
22130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22131 (eval $ac_link) 2>&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); } &&
22135 { ac_try
='test -s conftest$ac_exeext'
22136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22137 (eval $ac_try) 2>&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); }; }; then
22141 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.
$ac_ext >&5
22146 ac_cv_lib_Xext_XShapeQueryExtension
=no
22148 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22149 LIBS
=$ac_check_lib_save_LIBS
22151 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22152 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22153 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22155 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22161 if test "$wxUSE_UNICODE" = "yes"; then
22165 if test -z "$PKG_CONFIG"; then
22166 # Extract the first word of "pkg-config", so it can be a program name with args.
22167 set dummy pkg
-config; ac_word
=$2
22168 echo "$as_me:$LINENO: checking for $ac_word" >&5
22169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22170 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22171 echo $ECHO_N "(cached) $ECHO_C" >&6
22173 case $PKG_CONFIG in
22175 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22179 for as_dir
in $PATH
22182 test -z "$as_dir" && as_dir
=.
22183 for ac_exec_ext
in '' $ac_executable_extensions; do
22184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22185 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22192 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22196 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22198 if test -n "$PKG_CONFIG"; then
22199 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22200 echo "${ECHO_T}$PKG_CONFIG" >&6
22202 echo "$as_me:$LINENO: result: no" >&5
22203 echo "${ECHO_T}no" >&6
22208 if test "$PKG_CONFIG" = "no" ; then
22209 echo "*** The pkg-config script could not be found. Make sure it is"
22210 echo "*** in your path, or set the PKG_CONFIG environment variable"
22211 echo "*** to the full path to pkg-config."
22212 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22214 PKG_CONFIG_MIN_VERSION
=0.9.0
22215 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22216 echo "$as_me:$LINENO: checking for pangox" >&5
22217 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22219 if $PKG_CONFIG --exists "pangox" ; then
22220 echo "$as_me:$LINENO: result: yes" >&5
22221 echo "${ECHO_T}yes" >&6
22224 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22225 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22226 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22227 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22228 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22230 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22231 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22232 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22233 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22234 echo "${ECHO_T}$PANGOX_LIBS" >&6
22238 ## If we have a custom action on failure, don't print errors, but
22239 ## do set a variable so people can do so.
22240 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22247 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22248 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22252 if test $succeeded = yes; then
22254 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22255 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22259 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22260 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22261 { (exit 1); exit 1; }; }
22269 if test -z "$PKG_CONFIG"; then
22270 # Extract the first word of "pkg-config", so it can be a program name with args.
22271 set dummy pkg
-config; ac_word
=$2
22272 echo "$as_me:$LINENO: checking for $ac_word" >&5
22273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22277 case $PKG_CONFIG in
22279 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22283 for as_dir
in $PATH
22286 test -z "$as_dir" && as_dir
=.
22287 for ac_exec_ext
in '' $ac_executable_extensions; do
22288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22289 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22296 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22300 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22302 if test -n "$PKG_CONFIG"; then
22303 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22304 echo "${ECHO_T}$PKG_CONFIG" >&6
22306 echo "$as_me:$LINENO: result: no" >&5
22307 echo "${ECHO_T}no" >&6
22312 if test "$PKG_CONFIG" = "no" ; then
22313 echo "*** The pkg-config script could not be found. Make sure it is"
22314 echo "*** in your path, or set the PKG_CONFIG environment variable"
22315 echo "*** to the full path to pkg-config."
22316 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22318 PKG_CONFIG_MIN_VERSION
=0.9.0
22319 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22320 echo "$as_me:$LINENO: checking for pangoft2" >&5
22321 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22323 if $PKG_CONFIG --exists "pangoft2" ; then
22324 echo "$as_me:$LINENO: result: yes" >&5
22325 echo "${ECHO_T}yes" >&6
22328 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22329 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22330 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22331 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22332 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22334 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22335 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22336 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22337 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22338 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22342 ## If we have a custom action on failure, don't print errors, but
22343 ## do set a variable so people can do so.
22344 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22351 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22352 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22356 if test $succeeded = yes; then
22358 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22359 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22363 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22364 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22365 wxUSE_PRINTING_ARCHITECTURE
="no"
22373 if test -z "$PKG_CONFIG"; then
22374 # Extract the first word of "pkg-config", so it can be a program name with args.
22375 set dummy pkg
-config; ac_word
=$2
22376 echo "$as_me:$LINENO: checking for $ac_word" >&5
22377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22378 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22379 echo $ECHO_N "(cached) $ECHO_C" >&6
22381 case $PKG_CONFIG in
22383 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22387 for as_dir
in $PATH
22390 test -z "$as_dir" && as_dir
=.
22391 for ac_exec_ext
in '' $ac_executable_extensions; do
22392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22393 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22400 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22404 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22406 if test -n "$PKG_CONFIG"; then
22407 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22408 echo "${ECHO_T}$PKG_CONFIG" >&6
22410 echo "$as_me:$LINENO: result: no" >&5
22411 echo "${ECHO_T}no" >&6
22416 if test "$PKG_CONFIG" = "no" ; then
22417 echo "*** The pkg-config script could not be found. Make sure it is"
22418 echo "*** in your path, or set the PKG_CONFIG environment variable"
22419 echo "*** to the full path to pkg-config."
22420 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22422 PKG_CONFIG_MIN_VERSION
=0.9.0
22423 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22424 echo "$as_me:$LINENO: checking for pangoxft" >&5
22425 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22427 if $PKG_CONFIG --exists "pangoxft" ; then
22428 echo "$as_me:$LINENO: result: yes" >&5
22429 echo "${ECHO_T}yes" >&6
22432 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22433 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22434 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22435 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22436 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22438 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22439 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22440 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22441 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22442 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22446 ## If we have a custom action on failure, don't print errors, but
22447 ## do set a variable so people can do so.
22448 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22455 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22456 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22460 if test $succeeded = yes; then
22462 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22463 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22467 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22468 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22475 wxUSE_UNIVERSAL
="yes"
22477 if test "$wxUSE_NANOX" = "yes"; then
22478 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22479 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"
22480 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22482 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22485 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22490 if test "$wxUSE_MOTIF" = 1; then
22491 if test "$no_x" = yes; then
22492 # Not all programs may use this symbol, but it does not hurt to define it.
22494 cat >>confdefs.h
<<\_ACEOF
22495 #define X_DISPLAY_MISSING 1
22498 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22500 if test -n "$x_includes"; then
22501 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22504 # It would also be nice to do this for all -L options, not just this one.
22505 if test -n "$x_libraries"; then
22506 X_LIBS
="$X_LIBS -L$x_libraries"
22507 # For Solaris; some versions of Sun CC require a space after -R and
22508 # others require no space. Words are not sufficient . . . .
22509 case `(uname -sr) 2>/dev/null` in
22511 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22512 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22513 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22514 cat >conftest.
$ac_ext <<_ACEOF
22515 #line $LINENO "configure"
22518 cat confdefs.h
>>conftest.
$ac_ext
22519 cat >>conftest.
$ac_ext <<_ACEOF
22520 /* end confdefs.h. */
22530 rm -f conftest.
$ac_objext conftest
$ac_exeext
22531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22532 (eval $ac_link) 2>&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } &&
22536 { ac_try
='test -s conftest$ac_exeext'
22537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22538 (eval $ac_try) 2>&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; }; then
22544 echo "$as_me: failed program was:" >&5
22545 sed 's/^/| /' conftest.
$ac_ext >&5
22549 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22550 if test $ac_R_nospace = yes; then
22551 echo "$as_me:$LINENO: result: no" >&5
22552 echo "${ECHO_T}no" >&6
22553 X_LIBS
="$X_LIBS -R$x_libraries"
22555 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22556 cat >conftest.
$ac_ext <<_ACEOF
22557 #line $LINENO "configure"
22560 cat confdefs.h
>>conftest.
$ac_ext
22561 cat >>conftest.
$ac_ext <<_ACEOF
22562 /* end confdefs.h. */
22572 rm -f conftest.
$ac_objext conftest
$ac_exeext
22573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22574 (eval $ac_link) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } &&
22578 { ac_try
='test -s conftest$ac_exeext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.
$ac_ext >&5
22591 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22592 if test $ac_R_space = yes; then
22593 echo "$as_me:$LINENO: result: yes" >&5
22594 echo "${ECHO_T}yes" >&6
22595 X_LIBS
="$X_LIBS -R $x_libraries"
22597 echo "$as_me:$LINENO: result: neither works" >&5
22598 echo "${ECHO_T}neither works" >&6
22601 LIBS
=$ac_xsave_LIBS
22605 # Check for system-dependent libraries X programs must link with.
22606 # Do this before checking for the system-independent R6 libraries
22607 # (-lICE), since we may need -lsocket or whatever for X linking.
22609 if test "$ISC" = yes; then
22610 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22612 # Martyn Johnson says this is needed for Ultrix, if the X
22613 # libraries were built with DECnet support. And Karl Berry says
22614 # the Alpha needs dnet_stub (dnet does not exist).
22615 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22616 cat >conftest.
$ac_ext <<_ACEOF
22617 #line $LINENO "configure"
22620 cat confdefs.h
>>conftest.
$ac_ext
22621 cat >>conftest.
$ac_ext <<_ACEOF
22622 /* end confdefs.h. */
22624 /* Override any gcc2 internal prototype to avoid an error. */
22628 /* We use char because int might match the return type of a gcc2
22629 builtin and then its argument prototype would still apply. */
22630 char XOpenDisplay ();
22639 rm -f conftest.
$ac_objext conftest
$ac_exeext
22640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22641 (eval $ac_link) 2>&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } &&
22645 { ac_try
='test -s conftest$ac_exeext'
22646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22647 (eval $ac_try) 2>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); }; }; then
22653 echo "$as_me: failed program was:" >&5
22654 sed 's/^/| /' conftest.
$ac_ext >&5
22656 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22657 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22658 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22659 echo $ECHO_N "(cached) $ECHO_C" >&6
22661 ac_check_lib_save_LIBS
=$LIBS
22662 LIBS
="-ldnet $LIBS"
22663 cat >conftest.
$ac_ext <<_ACEOF
22664 #line $LINENO "configure"
22667 cat confdefs.h
>>conftest.
$ac_ext
22668 cat >>conftest.
$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22671 /* Override any gcc2 internal prototype to avoid an error. */
22675 /* We use char because int might match the return type of a gcc2
22676 builtin and then its argument prototype would still apply. */
22686 rm -f conftest.
$ac_objext conftest
$ac_exeext
22687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22688 (eval $ac_link) 2>&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); } &&
22692 { ac_try
='test -s conftest$ac_exeext'
22693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22694 (eval $ac_try) 2>&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); }; }; then
22698 ac_cv_lib_dnet_dnet_ntoa
=yes
22700 echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.
$ac_ext >&5
22703 ac_cv_lib_dnet_dnet_ntoa
=no
22705 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22706 LIBS
=$ac_check_lib_save_LIBS
22708 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22709 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22710 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22711 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22714 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22715 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22716 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22717 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22718 echo $ECHO_N "(cached) $ECHO_C" >&6
22720 ac_check_lib_save_LIBS
=$LIBS
22721 LIBS
="-ldnet_stub $LIBS"
22722 cat >conftest.
$ac_ext <<_ACEOF
22723 #line $LINENO "configure"
22726 cat confdefs.h
>>conftest.
$ac_ext
22727 cat >>conftest.
$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22730 /* Override any gcc2 internal prototype to avoid an error. */
22734 /* We use char because int might match the return type of a gcc2
22735 builtin and then its argument prototype would still apply. */
22745 rm -f conftest.
$ac_objext conftest
$ac_exeext
22746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22747 (eval $ac_link) 2>&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try
='test -s conftest$ac_exeext'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; }; then
22757 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
22759 echo "$as_me: failed program was:" >&5
22760 sed 's/^/| /' conftest.
$ac_ext >&5
22762 ac_cv_lib_dnet_stub_dnet_ntoa
=no
22764 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22765 LIBS
=$ac_check_lib_save_LIBS
22767 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22768 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22769 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22770 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22775 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22776 LIBS
="$ac_xsave_LIBS"
22778 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22779 # to get the SysV transport functions.
22780 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22782 # The nsl library prevents programs from opening the X display
22783 # on Irix 5.2, according to T.E. Dickey.
22784 # The functions gethostbyname, getservbyname, and inet_addr are
22785 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22786 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22787 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22788 if test "${ac_cv_func_gethostbyname+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22791 cat >conftest.
$ac_ext <<_ACEOF
22792 #line $LINENO "configure"
22795 cat confdefs.h
>>conftest.
$ac_ext
22796 cat >>conftest.
$ac_ext <<_ACEOF
22797 /* end confdefs.h. */
22798 /* System header to define __stub macros and hopefully few prototypes,
22799 which can conflict with char gethostbyname (); below.
22800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22801 <limits.h> exists even on freestanding compilers. */
22803 # include <limits.h>
22805 # include <assert.h>
22807 /* Override any gcc2 internal prototype to avoid an error. */
22812 /* We use char because int might match the return type of a gcc2
22813 builtin and then its argument prototype would still apply. */
22814 char gethostbyname ();
22815 /* The GNU C library defines this for functions which it implements
22816 to always fail with ENOSYS. Some functions are actually named
22817 something starting with __ and the normal name is an alias. */
22818 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22821 char (*f) () = gethostbyname;
22830 return f != gethostbyname;
22835 rm -f conftest.
$ac_objext conftest
$ac_exeext
22836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22837 (eval $ac_link) 2>&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } &&
22841 { ac_try
='test -s conftest$ac_exeext'
22842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843 (eval $ac_try) 2>&5
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); }; }; then
22847 ac_cv_func_gethostbyname
=yes
22849 echo "$as_me: failed program was:" >&5
22850 sed 's/^/| /' conftest.
$ac_ext >&5
22852 ac_cv_func_gethostbyname
=no
22854 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22856 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22857 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22859 if test $ac_cv_func_gethostbyname = no
; then
22860 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22861 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22862 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22863 echo $ECHO_N "(cached) $ECHO_C" >&6
22865 ac_check_lib_save_LIBS
=$LIBS
22867 cat >conftest.
$ac_ext <<_ACEOF
22868 #line $LINENO "configure"
22871 cat confdefs.h
>>conftest.
$ac_ext
22872 cat >>conftest.
$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22875 /* Override any gcc2 internal prototype to avoid an error. */
22879 /* We use char because int might match the return type of a gcc2
22880 builtin and then its argument prototype would still apply. */
22881 char gethostbyname ();
22890 rm -f conftest.
$ac_objext conftest
$ac_exeext
22891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22892 (eval $ac_link) 2>&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); } &&
22896 { ac_try
='test -s conftest$ac_exeext'
22897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898 (eval $ac_try) 2>&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); }; }; then
22902 ac_cv_lib_nsl_gethostbyname
=yes
22904 echo "$as_me: failed program was:" >&5
22905 sed 's/^/| /' conftest.
$ac_ext >&5
22907 ac_cv_lib_nsl_gethostbyname
=no
22909 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22910 LIBS
=$ac_check_lib_save_LIBS
22912 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22913 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22914 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22915 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22918 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22919 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22920 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22921 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22922 echo $ECHO_N "(cached) $ECHO_C" >&6
22924 ac_check_lib_save_LIBS
=$LIBS
22926 cat >conftest.
$ac_ext <<_ACEOF
22927 #line $LINENO "configure"
22930 cat confdefs.h
>>conftest.
$ac_ext
22931 cat >>conftest.
$ac_ext <<_ACEOF
22932 /* end confdefs.h. */
22934 /* Override any gcc2 internal prototype to avoid an error. */
22938 /* We use char because int might match the return type of a gcc2
22939 builtin and then its argument prototype would still apply. */
22940 char gethostbyname ();
22949 rm -f conftest.
$ac_objext conftest
$ac_exeext
22950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22951 (eval $ac_link) 2>&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); } &&
22955 { ac_try
='test -s conftest$ac_exeext'
22956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22957 (eval $ac_try) 2>&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); }; }; then
22961 ac_cv_lib_bsd_gethostbyname
=yes
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.
$ac_ext >&5
22966 ac_cv_lib_bsd_gethostbyname
=no
22968 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22969 LIBS
=$ac_check_lib_save_LIBS
22971 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22972 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22973 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22974 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22980 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22981 # socket/setsockopt and other routines are undefined under SCO ODT
22982 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22983 # on later versions), says Simon Leinen: it contains gethostby*
22984 # variants that don't use the name server (or something). -lsocket
22985 # must be given before -lnsl if both are needed. We assume that
22986 # if connect needs -lnsl, so does gethostbyname.
22987 echo "$as_me:$LINENO: checking for connect" >&5
22988 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22989 if test "${ac_cv_func_connect+set}" = set; then
22990 echo $ECHO_N "(cached) $ECHO_C" >&6
22992 cat >conftest.
$ac_ext <<_ACEOF
22993 #line $LINENO "configure"
22996 cat confdefs.h
>>conftest.
$ac_ext
22997 cat >>conftest.
$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
22999 /* System header to define __stub macros and hopefully few prototypes,
23000 which can conflict with char connect (); below.
23001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23002 <limits.h> exists even on freestanding compilers. */
23004 # include <limits.h>
23006 # include <assert.h>
23008 /* Override any gcc2 internal prototype to avoid an error. */
23013 /* We use char because int might match the return type of a gcc2
23014 builtin and then its argument prototype would still apply. */
23016 /* The GNU C library defines this for functions which it implements
23017 to always fail with ENOSYS. Some functions are actually named
23018 something starting with __ and the normal name is an alias. */
23019 #if defined (__stub_connect) || defined (__stub___connect)
23022 char (*f) () = connect;
23031 return f != connect;
23036 rm -f conftest.
$ac_objext conftest
$ac_exeext
23037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23038 (eval $ac_link) 2>&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } &&
23042 { ac_try
='test -s conftest$ac_exeext'
23043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23044 (eval $ac_try) 2>&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); }; }; then
23048 ac_cv_func_connect
=yes
23050 echo "$as_me: failed program was:" >&5
23051 sed 's/^/| /' conftest.
$ac_ext >&5
23053 ac_cv_func_connect
=no
23055 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23057 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23058 echo "${ECHO_T}$ac_cv_func_connect" >&6
23060 if test $ac_cv_func_connect = no
; then
23061 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23062 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23063 if test "${ac_cv_lib_socket_connect+set}" = set; then
23064 echo $ECHO_N "(cached) $ECHO_C" >&6
23066 ac_check_lib_save_LIBS
=$LIBS
23067 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23068 cat >conftest.
$ac_ext <<_ACEOF
23069 #line $LINENO "configure"
23072 cat confdefs.h
>>conftest.
$ac_ext
23073 cat >>conftest.
$ac_ext <<_ACEOF
23074 /* end confdefs.h. */
23076 /* Override any gcc2 internal prototype to avoid an error. */
23080 /* We use char because int might match the return type of a gcc2
23081 builtin and then its argument prototype would still apply. */
23091 rm -f conftest.
$ac_objext conftest
$ac_exeext
23092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23093 (eval $ac_link) 2>&5
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); } &&
23097 { ac_try
='test -s conftest$ac_exeext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_cv_lib_socket_connect
=yes
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.
$ac_ext >&5
23108 ac_cv_lib_socket_connect
=no
23110 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23111 LIBS
=$ac_check_lib_save_LIBS
23113 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23114 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23115 if test $ac_cv_lib_socket_connect = yes; then
23116 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23121 # Guillermo Gomez says -lposix is necessary on A/UX.
23122 echo "$as_me:$LINENO: checking for remove" >&5
23123 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23124 if test "${ac_cv_func_remove+set}" = set; then
23125 echo $ECHO_N "(cached) $ECHO_C" >&6
23127 cat >conftest.
$ac_ext <<_ACEOF
23128 #line $LINENO "configure"
23131 cat confdefs.h
>>conftest.
$ac_ext
23132 cat >>conftest.
$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23134 /* System header to define __stub macros and hopefully few prototypes,
23135 which can conflict with char remove (); below.
23136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23137 <limits.h> exists even on freestanding compilers. */
23139 # include <limits.h>
23141 # include <assert.h>
23143 /* Override any gcc2 internal prototype to avoid an error. */
23148 /* We use char because int might match the return type of a gcc2
23149 builtin and then its argument prototype would still apply. */
23151 /* The GNU C library defines this for functions which it implements
23152 to always fail with ENOSYS. Some functions are actually named
23153 something starting with __ and the normal name is an alias. */
23154 #if defined (__stub_remove) || defined (__stub___remove)
23157 char (*f) () = remove;
23166 return f != remove;
23171 rm -f conftest.
$ac_objext conftest
$ac_exeext
23172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23173 (eval $ac_link) 2>&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } &&
23177 { ac_try
='test -s conftest$ac_exeext'
23178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179 (eval $ac_try) 2>&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; }; then
23183 ac_cv_func_remove
=yes
23185 echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.
$ac_ext >&5
23188 ac_cv_func_remove
=no
23190 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23192 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23193 echo "${ECHO_T}$ac_cv_func_remove" >&6
23195 if test $ac_cv_func_remove = no
; then
23196 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23197 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23198 if test "${ac_cv_lib_posix_remove+set}" = set; then
23199 echo $ECHO_N "(cached) $ECHO_C" >&6
23201 ac_check_lib_save_LIBS
=$LIBS
23202 LIBS
="-lposix $LIBS"
23203 cat >conftest.
$ac_ext <<_ACEOF
23204 #line $LINENO "configure"
23207 cat confdefs.h
>>conftest.
$ac_ext
23208 cat >>conftest.
$ac_ext <<_ACEOF
23209 /* end confdefs.h. */
23211 /* Override any gcc2 internal prototype to avoid an error. */
23215 /* We use char because int might match the return type of a gcc2
23216 builtin and then its argument prototype would still apply. */
23226 rm -f conftest.
$ac_objext conftest
$ac_exeext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23228 (eval $ac_link) 2>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try
='test -s conftest$ac_exeext'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 ac_cv_lib_posix_remove
=yes
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.
$ac_ext >&5
23243 ac_cv_lib_posix_remove
=no
23245 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23246 LIBS
=$ac_check_lib_save_LIBS
23248 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23249 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23250 if test $ac_cv_lib_posix_remove = yes; then
23251 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23256 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23257 echo "$as_me:$LINENO: checking for shmat" >&5
23258 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23259 if test "${ac_cv_func_shmat+set}" = set; then
23260 echo $ECHO_N "(cached) $ECHO_C" >&6
23262 cat >conftest.
$ac_ext <<_ACEOF
23263 #line $LINENO "configure"
23266 cat confdefs.h
>>conftest.
$ac_ext
23267 cat >>conftest.
$ac_ext <<_ACEOF
23268 /* end confdefs.h. */
23269 /* System header to define __stub macros and hopefully few prototypes,
23270 which can conflict with char shmat (); below.
23271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23272 <limits.h> exists even on freestanding compilers. */
23274 # include <limits.h>
23276 # include <assert.h>
23278 /* Override any gcc2 internal prototype to avoid an error. */
23283 /* We use char because int might match the return type of a gcc2
23284 builtin and then its argument prototype would still apply. */
23286 /* The GNU C library defines this for functions which it implements
23287 to always fail with ENOSYS. Some functions are actually named
23288 something starting with __ and the normal name is an alias. */
23289 #if defined (__stub_shmat) || defined (__stub___shmat)
23292 char (*f) () = shmat;
23306 rm -f conftest.
$ac_objext conftest
$ac_exeext
23307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23308 (eval $ac_link) 2>&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } &&
23312 { ac_try
='test -s conftest$ac_exeext'
23313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314 (eval $ac_try) 2>&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 ac_cv_func_shmat
=yes
23320 echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.
$ac_ext >&5
23323 ac_cv_func_shmat
=no
23325 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23327 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23328 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23330 if test $ac_cv_func_shmat = no
; then
23331 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23332 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23333 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23334 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 ac_check_lib_save_LIBS
=$LIBS
23338 cat >conftest.
$ac_ext <<_ACEOF
23339 #line $LINENO "configure"
23342 cat confdefs.h
>>conftest.
$ac_ext
23343 cat >>conftest.
$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23346 /* Override any gcc2 internal prototype to avoid an error. */
23350 /* We use char because int might match the return type of a gcc2
23351 builtin and then its argument prototype would still apply. */
23361 rm -f conftest.
$ac_objext conftest
$ac_exeext
23362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23363 (eval $ac_link) 2>&5
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); } &&
23367 { ac_try
='test -s conftest$ac_exeext'
23368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23369 (eval $ac_try) 2>&5
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); }; }; then
23373 ac_cv_lib_ipc_shmat
=yes
23375 echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.
$ac_ext >&5
23378 ac_cv_lib_ipc_shmat
=no
23380 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23381 LIBS
=$ac_check_lib_save_LIBS
23383 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23384 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23385 if test $ac_cv_lib_ipc_shmat = yes; then
23386 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23392 # Check for libraries that X11R6 Xt/Xaw programs need.
23393 ac_save_LDFLAGS
=$LDFLAGS
23394 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23395 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23396 # check for ICE first), but we must link in the order -lSM -lICE or
23397 # we get undefined symbols. So assume we have SM if we have ICE.
23398 # These have to be linked with before -lX11, unlike the other
23399 # libraries we check for below, so use a different variable.
23400 # John Interrante, Karl Berry
23401 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23402 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23403 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23404 echo $ECHO_N "(cached) $ECHO_C" >&6
23406 ac_check_lib_save_LIBS
=$LIBS
23407 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23408 cat >conftest.
$ac_ext <<_ACEOF
23409 #line $LINENO "configure"
23412 cat confdefs.h
>>conftest.
$ac_ext
23413 cat >>conftest.
$ac_ext <<_ACEOF
23414 /* end confdefs.h. */
23416 /* Override any gcc2 internal prototype to avoid an error. */
23420 /* We use char because int might match the return type of a gcc2
23421 builtin and then its argument prototype would still apply. */
23422 char IceConnectionNumber ();
23426 IceConnectionNumber ();
23431 rm -f conftest.
$ac_objext conftest
$ac_exeext
23432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23433 (eval $ac_link) 2>&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); } &&
23437 { ac_try
='test -s conftest$ac_exeext'
23438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23439 (eval $ac_try) 2>&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); }; }; then
23443 ac_cv_lib_ICE_IceConnectionNumber
=yes
23445 echo "$as_me: failed program was:" >&5
23446 sed 's/^/| /' conftest.
$ac_ext >&5
23448 ac_cv_lib_ICE_IceConnectionNumber
=no
23450 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23451 LIBS
=$ac_check_lib_save_LIBS
23453 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23454 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23455 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23456 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23459 LDFLAGS
=$ac_save_LDFLAGS
23464 if test "$no_x" = "yes"; then
23465 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23466 echo "$as_me: error: X11 not found" >&2;}
23467 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23470 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23471 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23472 AFMINSTALL
=afminstall
23473 COMPILED_X_PROGRAM
=0
23475 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23476 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23479 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23481 if test -f "$ac_dir/Xm/Xm.h"; then
23482 ac_find_includes
=$ac_dir
23487 if test "$ac_find_includes" != "" ; then
23488 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23489 echo "${ECHO_T}found in $ac_find_includes" >&6
23491 if test "x$ac_find_includes" = "x/usr/include"; then
23492 ac_path_to_include
=""
23494 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23496 if test $result = 0; then
23497 ac_path_to_include
=""
23499 ac_path_to_include
=" -I$ac_find_includes"
23503 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23505 cat >conftest.
$ac_ext <<_ACEOF
23506 #line $LINENO "configure"
23509 cat confdefs.h
>>conftest.
$ac_ext
23510 cat >>conftest.
$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23520 version = xmUseVersion;
23526 rm -f conftest.
$ac_objext
23527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23528 (eval $ac_compile) 2>&5
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); } &&
23532 { ac_try
='test -s conftest.$ac_objext'
23533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23534 (eval $ac_try) 2>&5
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); }; }; then
23539 echo "$as_me:$LINENO: result: found in default search path" >&5
23540 echo "${ECHO_T}found in default search path" >&6
23541 COMPILED_X_PROGRAM
=1
23544 echo "$as_me: failed program was:" >&5
23545 sed 's/^/| /' conftest.
$ac_ext >&5
23548 echo "$as_me:$LINENO: result: no" >&5
23549 echo "${ECHO_T}no" >&6
23550 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23551 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23552 { (exit 1); exit 1; }; }
23556 rm -f conftest.
$ac_objext conftest.
$ac_ext
23559 if test "$COMPILED_X_PROGRAM" = 0; then
23560 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23561 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23564 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23566 for ac_extension
in a so sl dylib
; do
23567 if test -f "$ac_dir/libXm.$ac_extension"; then
23568 ac_find_libraries
=$ac_dir
23574 if test "$ac_find_libraries" != "" ; then
23575 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23576 echo "${ECHO_T}found at $ac_find_libraries" >&6
23579 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23581 if test $result = 0; then
23584 ac_path_to_link
=" -L$ac_find_libraries"
23587 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23589 save_CFLAGS
=$CFLAGS
23590 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23592 cat >conftest.
$ac_ext <<_ACEOF
23593 #line $LINENO "configure"
23596 cat confdefs.h
>>conftest.
$ac_ext
23597 cat >>conftest.
$ac_ext <<_ACEOF
23598 /* end confdefs.h. */
23607 version = xmUseVersion;
23613 rm -f conftest.
$ac_objext
23614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23615 (eval $ac_compile) 2>&5
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); } &&
23619 { ac_try
='test -s conftest.$ac_objext'
23620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23621 (eval $ac_try) 2>&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); }; }; then
23626 echo "$as_me:$LINENO: result: found in default search path" >&5
23627 echo "${ECHO_T}found in default search path" >&6
23628 COMPILED_X_PROGRAM
=1
23631 echo "$as_me: failed program was:" >&5
23632 sed 's/^/| /' conftest.
$ac_ext >&5
23635 echo "$as_me:$LINENO: result: no" >&5
23636 echo "${ECHO_T}no" >&6
23637 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23638 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23639 { (exit 1); exit 1; }; }
23643 rm -f conftest.
$ac_objext conftest.
$ac_ext
23645 CFLAGS
=$save_CFLAGS
23650 echo "$as_me:$LINENO: checking for Xpm library" >&5
23651 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23654 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23656 for ac_extension
in a so sl dylib
; do
23657 if test -f "$ac_dir/libXpm.$ac_extension"; then
23658 ac_find_libraries
=$ac_dir
23664 if test "$ac_find_libraries" != "" ; then
23666 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23668 if test $result = 0; then
23671 ac_path_to_link
=" -L$ac_find_libraries"
23674 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23677 cat >>confdefs.h
<<\_ACEOF
23678 #define wxHAVE_LIB_XPM 1
23681 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23682 echo "${ECHO_T}found at $ac_find_libraries" >&6
23684 save_CFLAGS
=$CFLAGS
23685 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23687 cat >conftest.
$ac_ext <<_ACEOF
23688 #line $LINENO "configure"
23691 cat confdefs.h
>>conftest.
$ac_ext
23692 cat >>conftest.
$ac_ext <<_ACEOF
23693 /* end confdefs.h. */
23695 #include <X11/xpm.h>
23702 version = XpmLibraryVersion();
23708 rm -f conftest.
$ac_objext
23709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23710 (eval $ac_compile) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); } &&
23714 { ac_try
='test -s conftest.$ac_objext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23722 cat >>confdefs.h
<<\_ACEOF
23723 #define wxHAVE_LIB_XPM 1
23726 echo "$as_me:$LINENO: result: found in default search path" >&5
23727 echo "${ECHO_T}found in default search path" >&6
23728 COMPILED_X_PROGRAM
=0
23731 echo "$as_me: failed program was:" >&5
23732 sed 's/^/| /' conftest.
$ac_ext >&5
23735 echo "$as_me:$LINENO: result: no" >&5
23736 echo "${ECHO_T}no" >&6
23737 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23738 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23742 rm -f conftest.
$ac_objext conftest.
$ac_ext
23744 CFLAGS
=$save_CFLAGS
23747 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23748 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23752 for libp
in "" " -lXp"; do
23753 if test "$libs_found" = "0"; then
23754 for libsm_ice
in " -lSM -lICE"; do
23755 if test "$libs_found" = "0"; then
23757 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23758 save_CFLAGS
=$CFLAGS
23759 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23761 cat >conftest.
$ac_ext <<_ACEOF
23762 #line $LINENO "configure"
23765 cat confdefs.h
>>conftest.
$ac_ext
23766 cat >>conftest.
$ac_ext <<_ACEOF
23767 /* end confdefs.h. */
23770 #include <Xm/List.h>
23776 XmString string = NULL;
23779 XmListAddItem(w, string, position);
23785 rm -f conftest.
$ac_objext conftest
$ac_exeext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } &&
23791 { ac_try
='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23799 libsm_ice_link
="$libsm_ice"
23800 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23801 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.
$ac_ext >&5
23811 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23814 CFLAGS
=$save_CFLAGS
23820 if test "$libs_found" = "0"; then
23821 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23822 echo "${ECHO_T}can't find the right libraries" >&6
23823 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23824 echo "$as_me: error: can't link a simple motif program" >&2;}
23825 { (exit 1); exit 1; }; }
23828 save_CFLAGS
=$CFLAGS
23829 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23830 echo "$as_me:$LINENO: checking for Motif 2" >&5
23831 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23832 cat >conftest.
$ac_ext <<_ACEOF
23833 #line $LINENO "configure"
23836 cat confdefs.h
>>conftest.
$ac_ext
23837 cat >>conftest.
$ac_ext <<_ACEOF
23838 /* end confdefs.h. */
23846 #if XmVersion < 2000
23847 #error "Not Motif 2"
23854 rm -f conftest.
$ac_objext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23856 (eval $ac_compile) 2>&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); } &&
23860 { ac_try
='test -s conftest.$ac_objext'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; }; then
23867 cat >>confdefs.h
<<\_ACEOF
23868 #define __WXMOTIF20__ 1
23871 echo "$as_me:$LINENO: result: found" >&5
23872 echo "${ECHO_T}found" >&6
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.
$ac_ext >&5
23879 cat >>confdefs.h
<<\_ACEOF
23880 #define __WXMOTIF20__ 0
23883 echo "$as_me:$LINENO: result: not found" >&5
23884 echo "${ECHO_T}not found" >&6
23887 rm -f conftest.
$ac_objext conftest.
$ac_ext
23888 CFLAGS
=$save_CFLAGS
23890 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23891 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23897 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23898 test "$wxHAVE_XEXT_LIB" = 1; then
23899 save_CFLAGS
="$CFLAGS"
23900 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23902 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23903 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23904 cat >conftest.
$ac_ext <<_ACEOF
23905 #line $LINENO "configure"
23908 cat confdefs.h
>>conftest.
$ac_ext
23909 cat >>conftest.
$ac_ext <<_ACEOF
23910 /* end confdefs.h. */
23912 #include <X11/Xlib.h>
23913 #include <X11/extensions/shape.h>
23919 int dummy1, dummy2;
23920 XShapeQueryExtension((Display*)NULL,
23921 (int*)NULL, (int*)NULL);
23927 rm -f conftest.
$ac_objext
23928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23929 (eval $ac_compile) 2>&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } &&
23933 { ac_try
='test -s conftest.$ac_objext'
23934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935 (eval $ac_try) 2>&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); }; }; then
23940 cat >>confdefs.h
<<\_ACEOF
23941 #define HAVE_XSHAPE 1
23944 echo "$as_me:$LINENO: result: found" >&5
23945 echo "${ECHO_T}found" >&6
23948 echo "$as_me: failed program was:" >&5
23949 sed 's/^/| /' conftest.
$ac_ext >&5
23952 echo "$as_me:$LINENO: result: not found" >&5
23953 echo "${ECHO_T}not found" >&6
23956 rm -f conftest.
$ac_objext conftest.
$ac_ext
23957 CFLAGS
="$save_CFLAGS"
23960 if test "$wxUSE_MAC" = 1; then
23961 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23963 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23968 if test "$wxUSE_COCOA" = 1; then
23969 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
23974 if test "$wxUSE_PM" = 1; then
23977 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23978 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23982 if test "$TOOLKIT" = "PM" ; then
23985 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23988 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23990 if test "$wxUSE_UNIVERSAL" = "yes"; then
23991 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23993 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23994 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23996 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23997 if test "$wxUSE_X11" = 1; then
23998 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24000 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24002 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24005 ALL_OBJECTS
="\$(GUIOBJS)"
24006 ALL_SOURCES
="\$(ALL_SOURCES)"
24007 ALL_HEADERS
="\$(ALL_HEADERS)"
24010 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24012 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24013 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24016 if test "$wxUSE_HTML" = "yes"; then
24017 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24020 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24021 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24023 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24024 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24026 if test "$wxUSE_LIBPNG" = "builtin" ; then
24027 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24030 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24031 DISTDIR
="wx\$(TOOLKIT)"
24037 if test "$USE_WIN32" = 1 ; then
24038 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24039 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24043 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24044 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24047 ALL_SOURCES
="\$(ALL_SOURCES)"
24048 ALL_HEADERS
="\$(ALL_HEADERS)"
24050 PORT_FILES
="\${top_srcdir}/src/files.lst"
24052 GUIDIST
="BASE_DIST"
24062 if test "$TOOLKIT" != "MSW" ; then
24064 if test "$wxUSE_ODBC" != "no" ; then
24065 cat >>confdefs.h
<<\_ACEOF
24066 #define wxUSE_ODBC 1
24069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24071 WXODBCFLAG
="-D_IODBC_"
24074 if test "$wxUSE_ODBC" = "sys" ; then
24076 if test "${ac_cv_header_sql_h+set}" = set; then
24077 echo "$as_me:$LINENO: checking for sql.h" >&5
24078 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24079 if test "${ac_cv_header_sql_h+set}" = set; then
24080 echo $ECHO_N "(cached) $ECHO_C" >&6
24082 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24083 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24085 # Is the header compilable?
24086 echo "$as_me:$LINENO: checking sql.h usability" >&5
24087 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24088 cat >conftest.
$ac_ext <<_ACEOF
24089 #line $LINENO "configure"
24092 cat confdefs.h
>>conftest.
$ac_ext
24093 cat >>conftest.
$ac_ext <<_ACEOF
24094 /* end confdefs.h. */
24095 $ac_includes_default
24098 rm -f conftest.
$ac_objext
24099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24100 (eval $ac_compile) 2>&5
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); } &&
24104 { ac_try
='test -s conftest.$ac_objext'
24105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106 (eval $ac_try) 2>&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); }; }; then
24110 ac_header_compiler
=yes
24112 echo "$as_me: failed program was:" >&5
24113 sed 's/^/| /' conftest.
$ac_ext >&5
24115 ac_header_compiler
=no
24117 rm -f conftest.
$ac_objext conftest.
$ac_ext
24118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24119 echo "${ECHO_T}$ac_header_compiler" >&6
24121 # Is the header present?
24122 echo "$as_me:$LINENO: checking sql.h presence" >&5
24123 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24124 cat >conftest.
$ac_ext <<_ACEOF
24125 #line $LINENO "configure"
24128 cat confdefs.h
>>conftest.
$ac_ext
24129 cat >>conftest.
$ac_ext <<_ACEOF
24130 /* end confdefs.h. */
24133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24136 grep -v '^ *+' conftest.er1
>conftest.err
24138 cat conftest.err
>&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); } >/dev
/null
; then
24141 if test -s conftest.err
; then
24142 ac_cpp_err
=$ac_c_preproc_warn_flag
24149 if test -z "$ac_cpp_err"; then
24150 ac_header_preproc
=yes
24152 echo "$as_me: failed program was:" >&5
24153 sed 's/^/| /' conftest.
$ac_ext >&5
24155 ac_header_preproc
=no
24157 rm -f conftest.err conftest.
$ac_ext
24158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24159 echo "${ECHO_T}$ac_header_preproc" >&6
24161 # So? What about this header?
24162 case $ac_header_compiler:$ac_header_preproc in
24164 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24165 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24166 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24167 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24170 ## ------------------------------------ ##
24171 ## Report this to bug-autoconf@gnu.org. ##
24172 ## ------------------------------------ ##
24175 sed "s/^/$as_me: WARNING: /" >&2
24178 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24179 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24180 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24181 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24182 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24183 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24186 ## ------------------------------------ ##
24187 ## Report this to bug-autoconf@gnu.org. ##
24188 ## ------------------------------------ ##
24191 sed "s/^/$as_me: WARNING: /" >&2
24194 echo "$as_me:$LINENO: checking for sql.h" >&5
24195 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24196 if test "${ac_cv_header_sql_h+set}" = set; then
24197 echo $ECHO_N "(cached) $ECHO_C" >&6
24199 ac_cv_header_sql_h
=$ac_header_preproc
24201 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24202 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24207 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24208 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24209 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24210 echo $ECHO_N "(cached) $ECHO_C" >&6
24212 ac_func_search_save_LIBS
=$LIBS
24213 ac_cv_search_SQLAllocEnv
=no
24214 cat >conftest.
$ac_ext <<_ACEOF
24215 #line $LINENO "configure"
24218 cat confdefs.h
>>conftest.
$ac_ext
24219 cat >>conftest.
$ac_ext <<_ACEOF
24220 /* end confdefs.h. */
24222 /* Override any gcc2 internal prototype to avoid an error. */
24226 /* We use char because int might match the return type of a gcc2
24227 builtin and then its argument prototype would still apply. */
24228 char SQLAllocEnv ();
24237 rm -f conftest.
$ac_objext conftest
$ac_exeext
24238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24239 (eval $ac_link) 2>&5
24241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242 (exit $ac_status); } &&
24243 { ac_try
='test -s conftest$ac_exeext'
24244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245 (eval $ac_try) 2>&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; }; then
24249 ac_cv_search_SQLAllocEnv
="none required"
24251 echo "$as_me: failed program was:" >&5
24252 sed 's/^/| /' conftest.
$ac_ext >&5
24255 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24256 if test "$ac_cv_search_SQLAllocEnv" = no
; then
24257 for ac_lib
in iodbc unixodbc odbc
; do
24258 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24259 cat >conftest.
$ac_ext <<_ACEOF
24260 #line $LINENO "configure"
24263 cat confdefs.h
>>conftest.
$ac_ext
24264 cat >>conftest.
$ac_ext <<_ACEOF
24265 /* end confdefs.h. */
24267 /* Override any gcc2 internal prototype to avoid an error. */
24271 /* We use char because int might match the return type of a gcc2
24272 builtin and then its argument prototype would still apply. */
24273 char SQLAllocEnv ();
24282 rm -f conftest.
$ac_objext conftest
$ac_exeext
24283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24284 (eval $ac_link) 2>&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); } &&
24288 { ac_try
='test -s conftest$ac_exeext'
24289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24290 (eval $ac_try) 2>&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); }; }; then
24294 ac_cv_search_SQLAllocEnv
="-l$ac_lib"
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.
$ac_ext >&5
24301 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24304 LIBS
=$ac_func_search_save_LIBS
24306 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24307 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24308 if test "$ac_cv_search_SQLAllocEnv" != no
; then
24309 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS
="$ac_cv_search_SQLAllocEnv $LIBS"
24313 wxUSE_ODBC
=builtin;
24314 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24315 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24320 if test "$wxUSE_ODBC" != "sys" ; then
24321 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
24328 if test "$wxUSE_REGEX" = "builtin" ; then
24329 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24331 if test "$wxUSE_ZLIB" = "builtin" ; then
24332 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24336 if test "$wxUSE_OPENGL" = "yes"; then
24337 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24338 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24339 elif test "$wxUSE_MSW" = 1; then
24340 OPENGL_LIBS
="-lopengl32 -lglu32"
24345 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24347 if test -f "$ac_dir/GL/gl.h"; then
24348 ac_find_includes
=$ac_dir
24353 if test "$ac_find_includes" != "" ; then
24354 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24355 echo "${ECHO_T}found in $ac_find_includes" >&6
24358 if test "x$ac_find_includes" = "x/usr/include"; then
24359 ac_path_to_include
=""
24361 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24363 if test $result = 0; then
24364 ac_path_to_include
=""
24366 ac_path_to_include
=" -I$ac_find_includes"
24370 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24374 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24375 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24376 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24377 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24378 echo $ECHO_N "(cached) $ECHO_C" >&6
24380 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24381 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24383 # Is the header compilable?
24384 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24385 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24386 cat >conftest.
$ac_ext <<_ACEOF
24387 #line $LINENO "configure"
24390 cat confdefs.h
>>conftest.
$ac_ext
24391 cat >>conftest.
$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24393 $ac_includes_default
24396 rm -f conftest.
$ac_objext
24397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24398 (eval $ac_compile) 2>&5
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); } &&
24402 { ac_try
='test -s conftest.$ac_objext'
24403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24404 (eval $ac_try) 2>&5
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); }; }; then
24408 ac_header_compiler
=yes
24410 echo "$as_me: failed program was:" >&5
24411 sed 's/^/| /' conftest.
$ac_ext >&5
24413 ac_header_compiler
=no
24415 rm -f conftest.
$ac_objext conftest.
$ac_ext
24416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24417 echo "${ECHO_T}$ac_header_compiler" >&6
24419 # Is the header present?
24420 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24421 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24422 cat >conftest.
$ac_ext <<_ACEOF
24423 #line $LINENO "configure"
24426 cat confdefs.h
>>conftest.
$ac_ext
24427 cat >>conftest.
$ac_ext <<_ACEOF
24428 /* end confdefs.h. */
24431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24432 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24434 grep -v '^ *+' conftest.er1
>conftest.err
24436 cat conftest.err
>&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); } >/dev
/null
; then
24439 if test -s conftest.err
; then
24440 ac_cpp_err
=$ac_c_preproc_warn_flag
24447 if test -z "$ac_cpp_err"; then
24448 ac_header_preproc
=yes
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.
$ac_ext >&5
24453 ac_header_preproc
=no
24455 rm -f conftest.err conftest.
$ac_ext
24456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24457 echo "${ECHO_T}$ac_header_preproc" >&6
24459 # So? What about this header?
24460 case $ac_header_compiler:$ac_header_preproc in
24462 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24463 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24464 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24465 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24468 ## ------------------------------------ ##
24469 ## Report this to bug-autoconf@gnu.org. ##
24470 ## ------------------------------------ ##
24473 sed "s/^/$as_me: WARNING: /" >&2
24476 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24477 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24478 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24479 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24480 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24481 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24484 ## ------------------------------------ ##
24485 ## Report this to bug-autoconf@gnu.org. ##
24486 ## ------------------------------------ ##
24489 sed "s/^/$as_me: WARNING: /" >&2
24492 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24493 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24494 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24495 echo $ECHO_N "(cached) $ECHO_C" >&6
24497 ac_cv_header_GL_gl_h
=$ac_header_preproc
24499 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24500 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24503 if test $ac_cv_header_GL_gl_h = yes; then
24507 echo "$as_me:$LINENO: checking for -lGL" >&5
24508 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24511 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24513 for ac_extension
in a so sl dylib
; do
24514 if test -f "$ac_dir/libGL.$ac_extension"; then
24515 ac_find_libraries
=$ac_dir
24521 if test "$ac_find_libraries" != "" ; then
24523 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24525 if test $result = 0; then
24528 ac_path_to_link
=" -L$ac_find_libraries"
24531 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24532 LDFLAGS_GL
="$ac_path_to_link"
24537 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24539 for ac_extension
in a so sl dylib
; do
24540 if test -f "$ac_dir/libGLU.$ac_extension"; then
24541 ac_find_libraries
=$ac_dir
24547 if test "$ac_find_libraries" != "" ; then
24549 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24551 if test $result = 0; then
24554 ac_path_to_link
=" -L$ac_find_libraries"
24557 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24558 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24559 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24563 OPENGL_LIBS
="-lGL -lGLU"
24564 echo "$as_me:$LINENO: result: yes" >&5
24565 echo "${ECHO_T}yes" >&6
24569 if "$found_gl" != 1; then
24570 echo "$as_me:$LINENO: result: no" >&5
24571 echo "${ECHO_T}no" >&6
24572 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24573 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24576 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24578 for ac_extension
in a so sl dylib
; do
24579 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24580 ac_find_libraries
=$ac_dir
24586 if test "$ac_find_libraries" != "" ; then
24588 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24590 if test $result = 0; then
24593 ac_path_to_link
=" -L$ac_find_libraries"
24596 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24597 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24598 echo "$as_me:$LINENO: result: yes" >&5
24599 echo "${ECHO_T}yes" >&6
24601 echo "$as_me:$LINENO: result: no" >&5
24602 echo "${ECHO_T}no" >&6
24610 if test "x$OPENGL_LIBS" = "x"; then
24611 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24612 echo "$as_me: error: OpenGL libraries not available" >&2;}
24613 { (exit 1); exit 1; }; }
24617 if test "$wxUSE_OPENGL" = "yes"; then
24618 cat >>confdefs.h
<<\_ACEOF
24619 #define wxUSE_OPENGL 1
24622 cat >>confdefs.h
<<\_ACEOF
24623 #define wxUSE_GLCANVAS 1
24626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
24630 if test -z "$TOOLKIT_VPATH" ; then
24631 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
24634 if test -n "$TOOLKIT" ; then
24635 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24639 lib_unicode_suffix
=
24640 if test "$wxUSE_UNICODE" = "yes"; then
24641 lib_unicode_suffix
=u
24647 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24652 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24654 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24655 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24657 if test "$cross_compiling" = "yes"; then
24658 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
24659 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
24662 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
24663 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
24664 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24666 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24667 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24669 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24670 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24671 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24672 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24675 *-*-cygwin* | *-*-mingw32* )
24679 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24680 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24681 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24682 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
24683 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24685 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24686 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24692 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24693 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24695 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24696 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24697 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24698 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24700 if test "$wxUSE_MAC" = 1; then
24701 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24702 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24707 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
24708 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
24710 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
24711 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
24713 if test "$wxUSE_OPENGL" = "yes"; then
24714 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24715 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24720 if test "$wxUSE_SHARED" = "yes"; then
24722 *-pc-os2_emx | *-pc-os2-emx | \
24725 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24726 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24732 if test "$wxUSE_SHARED" = "yes"; then
24736 found_versioning
=no
24739 if test $found_versioning = no
; then
24740 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24741 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24742 if test "${wx_cv_version_script+set}" = set; then
24743 echo $ECHO_N "(cached) $ECHO_C" >&6
24746 echo "VER_1 { *; };" >conftest.sym
24747 echo "int main() { return 0; }" >conftest.cpp
24750 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24751 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24753 (eval $ac_try) 2>&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); }; } ; then
24757 if test -s conftest.stderr
; then
24758 wx_cv_version_script
=no
24760 wx_cv_version_script
=yes
24763 wx_cv_version_script
=no
24765 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24768 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24769 echo "${ECHO_T}$wx_cv_version_script" >&6
24770 if test $wx_cv_version_script = yes ; then
24771 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
24777 *-*-linux* | *-*-gnu* )
24778 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
24782 if test "$GCC" = yes ; then
24783 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
24785 saveLdflags
="$LDFLAGS"
24786 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
24787 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24788 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24789 cat >conftest.
$ac_ext <<_ACEOF
24790 #line $LINENO "configure"
24793 cat confdefs.h
>>conftest.
$ac_ext
24794 cat >>conftest.
$ac_ext <<_ACEOF
24795 /* end confdefs.h. */
24805 rm -f conftest.
$ac_objext conftest
$ac_exeext
24806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24807 (eval $ac_link) 2>&5
24809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24810 (exit $ac_status); } &&
24811 { ac_try
='test -s conftest$ac_exeext'
24812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24813 (eval $ac_try) 2>&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); }; }; then
24818 echo "$as_me:$LINENO: result: yes" >&5
24819 echo "${ECHO_T}yes" >&6
24820 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
24823 echo "$as_me: failed program was:" >&5
24824 sed 's/^/| /' conftest.
$ac_ext >&5
24827 echo "$as_me:$LINENO: result: no" >&5
24828 echo "${ECHO_T}no" >&6
24829 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24830 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24831 LDFLAGS
="$saveLdflags -Wl,-R,/"
24832 cat >conftest.
$ac_ext <<_ACEOF
24833 #line $LINENO "configure"
24836 cat confdefs.h
>>conftest.
$ac_ext
24837 cat >>conftest.
$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24848 rm -f conftest.
$ac_objext conftest
$ac_exeext
24849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24850 (eval $ac_link) 2>&5
24852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853 (exit $ac_status); } &&
24854 { ac_try
='test -s conftest$ac_exeext'
24855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856 (eval $ac_try) 2>&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); }; }; then
24861 echo "$as_me:$LINENO: result: yes" >&5
24862 echo "${ECHO_T}yes" >&6
24863 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
24865 echo "$as_me: failed program was:" >&5
24866 sed 's/^/| /' conftest.
$ac_ext >&5
24869 echo "$as_me:$LINENO: result: no" >&5
24870 echo "${ECHO_T}no" >&6
24873 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24876 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24877 LDFLAGS
="$saveLdflags"
24879 SHARED_LD
="${CXX} -G -o"
24881 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
24885 *-*-cygwin* | *-*-mingw32* )
24886 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24887 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
24889 if test "$wxUSE_OPENGL" = "yes"; then
24890 LIBS
="${LIBS} ${OPENGL_LIBS}"
24895 if test "x$WX_TARGET_LIBRARY" = "x"; then
24896 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
24897 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
24900 WX_TARGET_LIBRARY_TYPE
="so"
24901 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
24904 if test "$wxUSE_SHARED" = "no"; then
24906 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
24907 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
24910 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
24911 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
24914 if test "$wxUSE_OPENGL" = "yes"; then
24915 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
24916 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
24918 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
24921 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
24922 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
24924 WX_TARGET_LIBRARY_TYPE
="a"
24925 INSTALL_LIBRARY
='$(INSTALL_DATA)'
24935 if test "$wxUSE_MAC" = 1; then
24936 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
24937 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
24938 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
24939 # Extract the first word of "Rez", so it can be a program name with args.
24940 set dummy Rez
; ac_word
=$2
24941 echo "$as_me:$LINENO: checking for $ac_word" >&5
24942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24943 if test "${ac_cv_prog_RESCOMP+set}" = set; then
24944 echo $ECHO_N "(cached) $ECHO_C" >&6
24946 if test -n "$RESCOMP"; then
24947 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
24949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24950 for as_dir
in $PATH
24953 test -z "$as_dir" && as_dir
=.
24954 for ac_exec_ext
in '' $ac_executable_extensions; do
24955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24956 ac_cv_prog_RESCOMP
="Rez"
24957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24963 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
24966 RESCOMP
=$ac_cv_prog_RESCOMP
24967 if test -n "$RESCOMP"; then
24968 echo "$as_me:$LINENO: result: $RESCOMP" >&5
24969 echo "${ECHO_T}$RESCOMP" >&6
24971 echo "$as_me:$LINENO: result: no" >&5
24972 echo "${ECHO_T}no" >&6
24975 # Extract the first word of "DeRez", so it can be a program name with args.
24976 set dummy DeRez
; ac_word
=$2
24977 echo "$as_me:$LINENO: checking for $ac_word" >&5
24978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24979 if test "${ac_cv_prog_DEREZ+set}" = set; then
24980 echo $ECHO_N "(cached) $ECHO_C" >&6
24982 if test -n "$DEREZ"; then
24983 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
24985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24986 for as_dir
in $PATH
24989 test -z "$as_dir" && as_dir
=.
24990 for ac_exec_ext
in '' $ac_executable_extensions; do
24991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24992 ac_cv_prog_DEREZ
="DeRez"
24993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24999 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25002 DEREZ
=$ac_cv_prog_DEREZ
25003 if test -n "$DEREZ"; then
25004 echo "$as_me:$LINENO: result: $DEREZ" >&5
25005 echo "${ECHO_T}$DEREZ" >&6
25007 echo "$as_me:$LINENO: result: no" >&5
25008 echo "${ECHO_T}no" >&6
25011 # Extract the first word of "SetFile", so it can be a program name with args.
25012 set dummy SetFile
; ac_word
=$2
25013 echo "$as_me:$LINENO: checking for $ac_word" >&5
25014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25015 if test "${ac_cv_prog_SETFILE+set}" = set; then
25016 echo $ECHO_N "(cached) $ECHO_C" >&6
25018 if test -n "$SETFILE"; then
25019 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25022 for as_dir
in $PATH
25025 test -z "$as_dir" && as_dir
=.
25026 for ac_exec_ext
in '' $ac_executable_extensions; do
25027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25028 ac_cv_prog_SETFILE
="SetFile"
25029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25035 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25038 SETFILE
=$ac_cv_prog_SETFILE
25039 if test -n "$SETFILE"; then
25040 echo "$as_me:$LINENO: result: $SETFILE" >&5
25041 echo "${ECHO_T}$SETFILE" >&6
25043 echo "$as_me:$LINENO: result: no" >&5
25044 echo "${ECHO_T}no" >&6
25047 MACOSX_BUNDLE
="bundle"
25048 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25049 MACSETFILE
="\$(SETFILE)"
25050 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25051 elif test "$wxUSE_COCOA" = 1; then
25052 # Extract the first word of "Rez", so it can be a program name with args.
25053 set dummy Rez
; ac_word
=$2
25054 echo "$as_me:$LINENO: checking for $ac_word" >&5
25055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25056 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25057 echo $ECHO_N "(cached) $ECHO_C" >&6
25059 if test -n "$RESCOMP"; then
25060 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25063 for as_dir
in $PATH
25066 test -z "$as_dir" && as_dir
=.
25067 for ac_exec_ext
in '' $ac_executable_extensions; do
25068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25069 ac_cv_prog_RESCOMP
="Rez"
25070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25076 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25079 RESCOMP
=$ac_cv_prog_RESCOMP
25080 if test -n "$RESCOMP"; then
25081 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25082 echo "${ECHO_T}$RESCOMP" >&6
25084 echo "$as_me:$LINENO: result: no" >&5
25085 echo "${ECHO_T}no" >&6
25088 # Extract the first word of "DeRez", so it can be a program name with args.
25089 set dummy DeRez
; ac_word
=$2
25090 echo "$as_me:$LINENO: checking for $ac_word" >&5
25091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25092 if test "${ac_cv_prog_DEREZ+set}" = set; then
25093 echo $ECHO_N "(cached) $ECHO_C" >&6
25095 if test -n "$DEREZ"; then
25096 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25099 for as_dir
in $PATH
25102 test -z "$as_dir" && as_dir
=.
25103 for ac_exec_ext
in '' $ac_executable_extensions; do
25104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25105 ac_cv_prog_DEREZ
="DeRez"
25106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25112 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25115 DEREZ
=$ac_cv_prog_DEREZ
25116 if test -n "$DEREZ"; then
25117 echo "$as_me:$LINENO: result: $DEREZ" >&5
25118 echo "${ECHO_T}$DEREZ" >&6
25120 echo "$as_me:$LINENO: result: no" >&5
25121 echo "${ECHO_T}no" >&6
25124 # Extract the first word of "SetFile", so it can be a program name with args.
25125 set dummy SetFile
; ac_word
=$2
25126 echo "$as_me:$LINENO: checking for $ac_word" >&5
25127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25128 if test "${ac_cv_prog_SETFILE+set}" = set; then
25129 echo $ECHO_N "(cached) $ECHO_C" >&6
25131 if test -n "$SETFILE"; then
25132 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25135 for as_dir
in $PATH
25138 test -z "$as_dir" && as_dir
=.
25139 for ac_exec_ext
in '' $ac_executable_extensions; do
25140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25141 ac_cv_prog_SETFILE
="SetFile"
25142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25148 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25151 SETFILE
=$ac_cv_prog_SETFILE
25152 if test -n "$SETFILE"; then
25153 echo "$as_me:$LINENO: result: $SETFILE" >&5
25154 echo "${ECHO_T}$SETFILE" >&6
25156 echo "$as_me:$LINENO: result: no" >&5
25157 echo "${ECHO_T}no" >&6
25160 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25161 MACSETFILE
="\$(SETFILE)"
25162 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25164 if test "$wxUSE_PM" = 1; then
25165 MACRESCOMP
="emxbind -ep"
25170 echo "$as_me:$LINENO: checking for mode_t" >&5
25171 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25172 if test "${ac_cv_type_mode_t+set}" = set; then
25173 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 cat >conftest.
$ac_ext <<_ACEOF
25176 #line $LINENO "configure"
25179 cat confdefs.h
>>conftest.
$ac_ext
25180 cat >>conftest.
$ac_ext <<_ACEOF
25181 /* end confdefs.h. */
25182 $ac_includes_default
25188 if (sizeof (mode_t))
25194 rm -f conftest.
$ac_objext
25195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25196 (eval $ac_compile) 2>&5
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); } &&
25200 { ac_try
='test -s conftest.$ac_objext'
25201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25202 (eval $ac_try) 2>&5
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); }; }; then
25206 ac_cv_type_mode_t
=yes
25208 echo "$as_me: failed program was:" >&5
25209 sed 's/^/| /' conftest.
$ac_ext >&5
25211 ac_cv_type_mode_t
=no
25213 rm -f conftest.
$ac_objext conftest.
$ac_ext
25215 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25216 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25217 if test $ac_cv_type_mode_t = yes; then
25221 cat >>confdefs.h
<<_ACEOF
25227 echo "$as_me:$LINENO: checking for off_t" >&5
25228 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25229 if test "${ac_cv_type_off_t+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 cat >conftest.
$ac_ext <<_ACEOF
25233 #line $LINENO "configure"
25236 cat confdefs.h
>>conftest.
$ac_ext
25237 cat >>conftest.
$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 $ac_includes_default
25245 if (sizeof (off_t))
25251 rm -f conftest.
$ac_objext
25252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25253 (eval $ac_compile) 2>&5
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); } &&
25257 { ac_try
='test -s conftest.$ac_objext'
25258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25259 (eval $ac_try) 2>&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); }; }; then
25263 ac_cv_type_off_t
=yes
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.
$ac_ext >&5
25268 ac_cv_type_off_t
=no
25270 rm -f conftest.
$ac_objext conftest.
$ac_ext
25272 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25273 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25274 if test $ac_cv_type_off_t = yes; then
25278 cat >>confdefs.h
<<_ACEOF
25284 echo "$as_me:$LINENO: checking for pid_t" >&5
25285 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25286 if test "${ac_cv_type_pid_t+set}" = set; then
25287 echo $ECHO_N "(cached) $ECHO_C" >&6
25289 cat >conftest.
$ac_ext <<_ACEOF
25290 #line $LINENO "configure"
25293 cat confdefs.h
>>conftest.
$ac_ext
25294 cat >>conftest.
$ac_ext <<_ACEOF
25295 /* end confdefs.h. */
25296 $ac_includes_default
25302 if (sizeof (pid_t))
25308 rm -f conftest.
$ac_objext
25309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25310 (eval $ac_compile) 2>&5
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); } &&
25314 { ac_try
='test -s conftest.$ac_objext'
25315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25316 (eval $ac_try) 2>&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); }; }; then
25320 ac_cv_type_pid_t
=yes
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.
$ac_ext >&5
25325 ac_cv_type_pid_t
=no
25327 rm -f conftest.
$ac_objext conftest.
$ac_ext
25329 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25330 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25331 if test $ac_cv_type_pid_t = yes; then
25335 cat >>confdefs.h
<<_ACEOF
25341 echo "$as_me:$LINENO: checking for size_t" >&5
25342 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25343 if test "${ac_cv_type_size_t+set}" = set; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25346 cat >conftest.
$ac_ext <<_ACEOF
25347 #line $LINENO "configure"
25350 cat confdefs.h
>>conftest.
$ac_ext
25351 cat >>conftest.
$ac_ext <<_ACEOF
25352 /* end confdefs.h. */
25353 $ac_includes_default
25359 if (sizeof (size_t))
25365 rm -f conftest.
$ac_objext
25366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25367 (eval $ac_compile) 2>&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } &&
25371 { ac_try
='test -s conftest.$ac_objext'
25372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25373 (eval $ac_try) 2>&5
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); }; }; then
25377 ac_cv_type_size_t
=yes
25379 echo "$as_me: failed program was:" >&5
25380 sed 's/^/| /' conftest.
$ac_ext >&5
25382 ac_cv_type_size_t
=no
25384 rm -f conftest.
$ac_objext conftest.
$ac_ext
25386 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25387 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25388 if test $ac_cv_type_size_t = yes; then
25392 cat >>confdefs.h
<<_ACEOF
25393 #define size_t unsigned
25398 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25399 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25400 if test "${ac_cv_type_uid_t+set}" = set; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25403 cat >conftest.
$ac_ext <<_ACEOF
25404 #line $LINENO "configure"
25407 cat confdefs.h
>>conftest.
$ac_ext
25408 cat >>conftest.
$ac_ext <<_ACEOF
25409 /* end confdefs.h. */
25410 #include <sys/types.h>
25413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25414 $EGREP "uid_t" >/dev
/null
2>&1; then
25415 ac_cv_type_uid_t
=yes
25417 ac_cv_type_uid_t
=no
25422 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25423 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25424 if test $ac_cv_type_uid_t = no
; then
25426 cat >>confdefs.h
<<\_ACEOF
25431 cat >>confdefs.h
<<\_ACEOF
25441 ac_cpp
='$CXXCPP $CPPFLAGS'
25442 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25446 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25447 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25448 if test "${wx_cv_size_t_is_uint+set}" = set; then
25449 echo $ECHO_N "(cached) $ECHO_C" >&6
25452 cat >conftest.
$ac_ext <<_ACEOF
25453 #line $LINENO "configure"
25456 cat confdefs.h
>>conftest.
$ac_ext
25457 cat >>conftest.
$ac_ext <<_ACEOF
25458 /* end confdefs.h. */
25459 #include <stddef.h>
25466 struct Foo { void foo(size_t); void foo(unsigned int); };
25474 rm -f conftest.
$ac_objext
25475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25476 (eval $ac_compile) 2>&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try
='test -s conftest.$ac_objext'
25481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25482 (eval $ac_try) 2>&5
25484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485 (exit $ac_status); }; }; then
25486 wx_cv_size_t_is_uint
=no
25488 echo "$as_me: failed program was:" >&5
25489 sed 's/^/| /' conftest.
$ac_ext >&5
25491 wx_cv_size_t_is_uint
=yes
25494 rm -f conftest.
$ac_objext conftest.
$ac_ext
25498 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25499 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25501 if test "$wx_cv_size_t_is_uint" = "yes"; then
25502 cat >>confdefs.h
<<\_ACEOF
25503 #define wxSIZE_T_IS_UINT 1
25507 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25508 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25509 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25510 echo $ECHO_N "(cached) $ECHO_C" >&6
25512 cat >conftest.
$ac_ext <<_ACEOF
25513 #line $LINENO "configure"
25516 cat confdefs.h
>>conftest.
$ac_ext
25517 cat >>conftest.
$ac_ext <<_ACEOF
25518 /* end confdefs.h. */
25519 #include <stddef.h>
25526 struct Foo { void foo(size_t); void foo(unsigned long); };
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 wx_cv_size_t_is_ulong
=no
25548 echo "$as_me: failed program was:" >&5
25549 sed 's/^/| /' conftest.
$ac_ext >&5
25551 wx_cv_size_t_is_ulong
=yes
25554 rm -f conftest.
$ac_objext conftest.
$ac_ext
25557 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25558 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25560 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25561 cat >>confdefs.h
<<\_ACEOF
25562 #define wxSIZE_T_IS_ULONG 1
25569 ac_cpp
='$CPP $CPPFLAGS'
25570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25576 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25577 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25578 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 cat >conftest.
$ac_ext <<_ACEOF
25583 #line $LINENO "configure"
25586 cat confdefs.h
>>conftest.
$ac_ext
25587 cat >>conftest.
$ac_ext <<_ACEOF
25588 /* end confdefs.h. */
25602 rm -f conftest.
$ac_objext
25603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25604 (eval $ac_compile) 2>&5
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); } &&
25608 { ac_try
='test -s conftest.$ac_objext'
25609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610 (eval $ac_try) 2>&5
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); }; }; then
25615 wx_cv_struct_pw_gecos
=yes
25618 echo "$as_me: failed program was:" >&5
25619 sed 's/^/| /' conftest.
$ac_ext >&5
25622 wx_cv_struct_pw_gecos
=no
25626 rm -f conftest.
$ac_objext conftest.
$ac_ext
25630 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25631 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25633 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25634 cat >>confdefs.h
<<\_ACEOF
25635 #define HAVE_PW_GECOS 1
25641 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25642 cat >>confdefs.h
<<\_ACEOF
25643 #define wxUSE_WCHAR_T 1
25650 for ac_func
in wcslen
25652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25653 echo "$as_me:$LINENO: checking for $ac_func" >&5
25654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25655 if eval "test \"\${$as_ac_var+set}\" = set"; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 cat >conftest.
$ac_ext <<_ACEOF
25659 #line $LINENO "configure"
25662 cat confdefs.h
>>conftest.
$ac_ext
25663 cat >>conftest.
$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665 /* System header to define __stub macros and hopefully few prototypes,
25666 which can conflict with char $ac_func (); below.
25667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25668 <limits.h> exists even on freestanding compilers. */
25670 # include <limits.h>
25672 # include <assert.h>
25674 /* Override any gcc2 internal prototype to avoid an error. */
25679 /* We use char because int might match the return type of a gcc2
25680 builtin and then its argument prototype would still apply. */
25682 /* The GNU C library defines this for functions which it implements
25683 to always fail with ENOSYS. Some functions are actually named
25684 something starting with __ and the normal name is an alias. */
25685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25688 char (*f) () = $ac_func;
25697 return f != $ac_func;
25702 rm -f conftest.
$ac_objext conftest
$ac_exeext
25703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25704 (eval $ac_link) 2>&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } &&
25708 { ac_try
='test -s conftest$ac_exeext'
25709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25710 (eval $ac_try) 2>&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); }; }; then
25714 eval "$as_ac_var=yes"
25716 echo "$as_me: failed program was:" >&5
25717 sed 's/^/| /' conftest.
$ac_ext >&5
25719 eval "$as_ac_var=no"
25721 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25725 if test `eval echo '${'$as_ac_var'}'` = yes; then
25726 cat >>confdefs.h
<<_ACEOF
25727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25734 if test "$WCSLEN_FOUND" = 0; then
25735 if test "$TOOLKIT" = "MSW"; then
25736 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25737 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25738 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25739 echo $ECHO_N "(cached) $ECHO_C" >&6
25741 ac_check_lib_save_LIBS
=$LIBS
25742 LIBS
="-lmsvcrt $LIBS"
25743 cat >conftest.
$ac_ext <<_ACEOF
25744 #line $LINENO "configure"
25747 cat confdefs.h
>>conftest.
$ac_ext
25748 cat >>conftest.
$ac_ext <<_ACEOF
25749 /* end confdefs.h. */
25751 /* Override any gcc2 internal prototype to avoid an error. */
25755 /* We use char because int might match the return type of a gcc2
25756 builtin and then its argument prototype would still apply. */
25766 rm -f conftest.
$ac_objext conftest
$ac_exeext
25767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25768 (eval $ac_link) 2>&5
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); } &&
25772 { ac_try
='test -s conftest$ac_exeext'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; }; then
25778 ac_cv_lib_msvcrt_wcslen
=yes
25780 echo "$as_me: failed program was:" >&5
25781 sed 's/^/| /' conftest.
$ac_ext >&5
25783 ac_cv_lib_msvcrt_wcslen
=no
25785 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25786 LIBS
=$ac_check_lib_save_LIBS
25788 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25789 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25790 if test $ac_cv_lib_msvcrt_wcslen = yes; then
25795 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25796 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25797 if test "${ac_cv_lib_w_wcslen+set}" = set; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25800 ac_check_lib_save_LIBS
=$LIBS
25802 cat >conftest.
$ac_ext <<_ACEOF
25803 #line $LINENO "configure"
25806 cat confdefs.h
>>conftest.
$ac_ext
25807 cat >>conftest.
$ac_ext <<_ACEOF
25808 /* end confdefs.h. */
25810 /* Override any gcc2 internal prototype to avoid an error. */
25814 /* We use char because int might match the return type of a gcc2
25815 builtin and then its argument prototype would still apply. */
25825 rm -f conftest.
$ac_objext conftest
$ac_exeext
25826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25827 (eval $ac_link) 2>&5
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); } &&
25831 { ac_try
='test -s conftest$ac_exeext'
25832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25833 (eval $ac_try) 2>&5
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); }; }; then
25837 ac_cv_lib_w_wcslen
=yes
25839 echo "$as_me: failed program was:" >&5
25840 sed 's/^/| /' conftest.
$ac_ext >&5
25842 ac_cv_lib_w_wcslen
=no
25844 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25845 LIBS
=$ac_check_lib_save_LIBS
25847 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
25848 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
25849 if test $ac_cv_lib_w_wcslen = yes; then
25859 if test "$WCSLEN_FOUND" = 1; then
25860 cat >>confdefs.h
<<\_ACEOF
25861 #define HAVE_WCSLEN 1
25867 for ac_func
in wcsrtombs
25869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25870 echo "$as_me:$LINENO: checking for $ac_func" >&5
25871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25872 if eval "test \"\${$as_ac_var+set}\" = set"; then
25873 echo $ECHO_N "(cached) $ECHO_C" >&6
25875 cat >conftest.
$ac_ext <<_ACEOF
25876 #line $LINENO "configure"
25879 cat confdefs.h
>>conftest.
$ac_ext
25880 cat >>conftest.
$ac_ext <<_ACEOF
25881 /* end confdefs.h. */
25882 /* System header to define __stub macros and hopefully few prototypes,
25883 which can conflict with char $ac_func (); below.
25884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25885 <limits.h> exists even on freestanding compilers. */
25887 # include <limits.h>
25889 # include <assert.h>
25891 /* Override any gcc2 internal prototype to avoid an error. */
25896 /* We use char because int might match the return type of a gcc2
25897 builtin and then its argument prototype would still apply. */
25899 /* The GNU C library defines this for functions which it implements
25900 to always fail with ENOSYS. Some functions are actually named
25901 something starting with __ and the normal name is an alias. */
25902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25905 char (*f) () = $ac_func;
25914 return f != $ac_func;
25919 rm -f conftest.
$ac_objext conftest
$ac_exeext
25920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25921 (eval $ac_link) 2>&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } &&
25925 { ac_try
='test -s conftest$ac_exeext'
25926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25927 (eval $ac_try) 2>&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); }; }; then
25931 eval "$as_ac_var=yes"
25933 echo "$as_me: failed program was:" >&5
25934 sed 's/^/| /' conftest.
$ac_ext >&5
25936 eval "$as_ac_var=no"
25938 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25942 if test `eval echo '${'$as_ac_var'}'` = yes; then
25943 cat >>confdefs.h
<<_ACEOF
25944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25951 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
25952 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
25958 ac_cpp
='$CXXCPP $CPPFLAGS'
25959 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25960 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25961 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25965 for ac_func
in vsnprintf
25967 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25968 echo "$as_me:$LINENO: checking for $ac_func" >&5
25969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25970 if eval "test \"\${$as_ac_var+set}\" = set"; then
25971 echo $ECHO_N "(cached) $ECHO_C" >&6
25973 cat >conftest.
$ac_ext <<_ACEOF
25974 #line $LINENO "configure"
25977 cat confdefs.h
>>conftest.
$ac_ext
25978 cat >>conftest.
$ac_ext <<_ACEOF
25979 /* end confdefs.h. */
25980 /* System header to define __stub macros and hopefully few prototypes,
25981 which can conflict with char $ac_func (); below.
25982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25983 <limits.h> exists even on freestanding compilers. */
25985 # include <limits.h>
25987 # include <assert.h>
25989 /* Override any gcc2 internal prototype to avoid an error. */
25994 /* We use char because int might match the return type of a gcc2
25995 builtin and then its argument prototype would still apply. */
25997 /* The GNU C library defines this for functions which it implements
25998 to always fail with ENOSYS. Some functions are actually named
25999 something starting with __ and the normal name is an alias. */
26000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26003 char (*f) () = $ac_func;
26012 return f != $ac_func;
26017 rm -f conftest.
$ac_objext conftest
$ac_exeext
26018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26019 (eval $ac_link) 2>&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); } &&
26023 { ac_try
='test -s conftest$ac_exeext'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; }; then
26029 eval "$as_ac_var=yes"
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.
$ac_ext >&5
26034 eval "$as_ac_var=no"
26036 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26040 if test `eval echo '${'$as_ac_var'}'` = yes; then
26041 cat >>confdefs.h
<<_ACEOF
26042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26049 if test "$ac_cv_func_vsnprintf" = "yes"; then
26050 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26051 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26052 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26053 echo $ECHO_N "(cached) $ECHO_C" >&6
26056 cat >conftest.
$ac_ext <<_ACEOF
26057 #line $LINENO "configure"
26060 cat confdefs.h
>>conftest.
$ac_ext
26061 cat >>conftest.
$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26065 #include <stdarg.h>
26073 vsnprintf(buf, 10u, "%s", ap);
26079 rm -f conftest.
$ac_objext
26080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26081 (eval $ac_compile) 2>&5
26083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084 (exit $ac_status); } &&
26085 { ac_try
='test -s conftest.$ac_objext'
26086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26087 (eval $ac_try) 2>&5
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); }; }; then
26091 wx_cv_func_vsnprintf_decl
=yes
26093 echo "$as_me: failed program was:" >&5
26094 sed 's/^/| /' conftest.
$ac_ext >&5
26096 wx_cv_func_vsnprintf_decl
=no
26099 rm -f conftest.
$ac_objext conftest.
$ac_ext
26103 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26104 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26106 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26107 cat >>confdefs.h
<<\_ACEOF
26108 #define HAVE_VSNPRINTF_DECL 1
26114 if test "$wxUSE_UNICODE" = yes; then
26118 for ac_func
in fputwc wprintf vswprintf
26120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26121 echo "$as_me:$LINENO: checking for $ac_func" >&5
26122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26123 if eval "test \"\${$as_ac_var+set}\" = set"; then
26124 echo $ECHO_N "(cached) $ECHO_C" >&6
26126 cat >conftest.
$ac_ext <<_ACEOF
26127 #line $LINENO "configure"
26130 cat confdefs.h
>>conftest.
$ac_ext
26131 cat >>conftest.
$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26133 /* System header to define __stub macros and hopefully few prototypes,
26134 which can conflict with char $ac_func (); below.
26135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26136 <limits.h> exists even on freestanding compilers. */
26138 # include <limits.h>
26140 # include <assert.h>
26142 /* Override any gcc2 internal prototype to avoid an error. */
26147 /* We use char because int might match the return type of a gcc2
26148 builtin and then its argument prototype would still apply. */
26150 /* The GNU C library defines this for functions which it implements
26151 to always fail with ENOSYS. Some functions are actually named
26152 something starting with __ and the normal name is an alias. */
26153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26156 char (*f) () = $ac_func;
26165 return f != $ac_func;
26170 rm -f conftest.
$ac_objext conftest
$ac_exeext
26171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26172 (eval $ac_link) 2>&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } &&
26176 { ac_try
='test -s conftest$ac_exeext'
26177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26178 (eval $ac_try) 2>&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); }; }; then
26182 eval "$as_ac_var=yes"
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.
$ac_ext >&5
26187 eval "$as_ac_var=no"
26189 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26193 if test `eval echo '${'$as_ac_var'}'` = yes; then
26194 cat >>confdefs.h
<<_ACEOF
26195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26202 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26203 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26204 cat >conftest.
$ac_ext <<_ACEOF
26205 #line $LINENO "configure"
26208 cat confdefs.h
>>conftest.
$ac_ext
26209 cat >>conftest.
$ac_ext <<_ACEOF
26210 /* end confdefs.h. */
26220 rm -f conftest.
$ac_objext
26221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26222 (eval $ac_compile) 2>&5
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); } &&
26226 { ac_try
='test -s conftest.$ac_objext'
26227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26228 (eval $ac_try) 2>&5
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); }; }; then
26232 echo "$as_me:$LINENO: result: yes" >&5
26233 echo "${ECHO_T}yes" >&6
26234 cat >>confdefs.h
<<\_ACEOF
26235 #define HAVE__VSNWPRINTF 1
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.
$ac_ext >&5
26242 echo "$as_me:$LINENO: result: no" >&5
26243 echo "${ECHO_T}no" >&6
26245 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26249 ac_cpp
='$CPP $CPPFLAGS'
26250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26257 if test "$TOOLKIT" != "MSW"; then
26263 ac_cpp
='$CXXCPP $CPPFLAGS'
26264 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26271 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26272 if test "${with_libiconv_prefix+set}" = set; then
26273 withval
="$with_libiconv_prefix"
26275 for dir
in `echo "$withval" | tr : ' '`; do
26276 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26277 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26282 echo "$as_me:$LINENO: checking for iconv" >&5
26283 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26284 if test "${am_cv_func_iconv+set}" = set; then
26285 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 am_cv_func_iconv
="no, consider installing GNU libiconv"
26290 cat >conftest.
$ac_ext <<_ACEOF
26291 #line $LINENO "configure"
26294 cat confdefs.h
>>conftest.
$ac_ext
26295 cat >>conftest.
$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297 #include <stdlib.h>
26302 iconv_t cd = iconv_open("","");
26303 iconv(cd,NULL,NULL,NULL,NULL);
26309 rm -f conftest.
$ac_objext conftest
$ac_exeext
26310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26311 (eval $ac_link) 2>&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); } &&
26315 { ac_try
='test -s conftest$ac_exeext'
26316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26317 (eval $ac_try) 2>&5
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); }; }; then
26321 am_cv_func_iconv
=yes
26323 echo "$as_me: failed program was:" >&5
26324 sed 's/^/| /' conftest.
$ac_ext >&5
26327 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26328 if test "$am_cv_func_iconv" != yes; then
26329 am_save_LIBS
="$LIBS"
26330 LIBS
="$LIBS -liconv"
26331 cat >conftest.
$ac_ext <<_ACEOF
26332 #line $LINENO "configure"
26335 cat confdefs.h
>>conftest.
$ac_ext
26336 cat >>conftest.
$ac_ext <<_ACEOF
26337 /* end confdefs.h. */
26338 #include <stdlib.h>
26343 iconv_t cd = iconv_open("","");
26344 iconv(cd,NULL,NULL,NULL,NULL);
26350 rm -f conftest.
$ac_objext conftest
$ac_exeext
26351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26352 (eval $ac_link) 2>&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } &&
26356 { ac_try
='test -s conftest$ac_exeext'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; }; then
26362 am_cv_lib_iconv
=yes
26363 am_cv_func_iconv
=yes
26365 echo "$as_me: failed program was:" >&5
26366 sed 's/^/| /' conftest.
$ac_ext >&5
26369 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26370 LIBS
="$am_save_LIBS"
26374 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26375 echo "${ECHO_T}$am_cv_func_iconv" >&6
26376 if test "$am_cv_func_iconv" = yes; then
26378 cat >>confdefs.h
<<\_ACEOF
26379 #define HAVE_ICONV 1
26382 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26383 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26384 if test "${wx_cv_func_iconv_const+set}" = set; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 cat >conftest.
$ac_ext <<_ACEOF
26388 #line $LINENO "configure"
26391 cat confdefs.h
>>conftest.
$ac_ext
26392 cat >>conftest.
$ac_ext <<_ACEOF
26393 /* end confdefs.h. */
26395 #include <stdlib.h>
26401 #if defined(__STDC__) || defined(__cplusplus)
26402 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26415 rm -f conftest.
$ac_objext
26416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26417 (eval $ac_compile) 2>&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); } &&
26421 { ac_try
='test -s conftest.$ac_objext'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; }; then
26427 wx_cv_func_iconv_const
="no"
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.
$ac_ext >&5
26432 wx_cv_func_iconv_const
="yes"
26435 rm -f conftest.
$ac_objext conftest.
$ac_ext
26438 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26439 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26442 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26443 iconv_const
="const"
26447 cat >>confdefs.h
<<_ACEOF
26448 #define ICONV_CONST $iconv_const
26453 if test "$am_cv_lib_iconv" = yes; then
26458 LIBS
="$LIBICONV $LIBS"
26460 ac_cpp
='$CPP $CPPFLAGS'
26461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26466 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26468 for ac_func
in sigaction
26470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26471 echo "$as_me:$LINENO: checking for $ac_func" >&5
26472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26473 if eval "test \"\${$as_ac_var+set}\" = set"; then
26474 echo $ECHO_N "(cached) $ECHO_C" >&6
26476 cat >conftest.
$ac_ext <<_ACEOF
26477 #line $LINENO "configure"
26480 cat confdefs.h
>>conftest.
$ac_ext
26481 cat >>conftest.
$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26483 /* System header to define __stub macros and hopefully few prototypes,
26484 which can conflict with char $ac_func (); below.
26485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26486 <limits.h> exists even on freestanding compilers. */
26488 # include <limits.h>
26490 # include <assert.h>
26492 /* Override any gcc2 internal prototype to avoid an error. */
26497 /* We use char because int might match the return type of a gcc2
26498 builtin and then its argument prototype would still apply. */
26500 /* The GNU C library defines this for functions which it implements
26501 to always fail with ENOSYS. Some functions are actually named
26502 something starting with __ and the normal name is an alias. */
26503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26506 char (*f) () = $ac_func;
26515 return f != $ac_func;
26520 rm -f conftest.
$ac_objext conftest
$ac_exeext
26521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26522 (eval $ac_link) 2>&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try
='test -s conftest$ac_exeext'
26527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26528 (eval $ac_try) 2>&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); }; }; then
26532 eval "$as_ac_var=yes"
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.
$ac_ext >&5
26537 eval "$as_ac_var=no"
26539 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26543 if test `eval echo '${'$as_ac_var'}'` = yes; then
26544 cat >>confdefs.h
<<_ACEOF
26545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26552 if test "$ac_cv_func_sigaction" = "no"; then
26553 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26554 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26555 wxUSE_ON_FATAL_EXCEPTION
=no
26558 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26562 ac_cpp
='$CXXCPP $CPPFLAGS'
26563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26568 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26569 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26570 if test "${wx_cv_type_sa_handler+set}" = set; then
26571 echo $ECHO_N "(cached) $ECHO_C" >&6
26574 cat >conftest.
$ac_ext <<_ACEOF
26575 #line $LINENO "configure"
26578 cat confdefs.h
>>conftest.
$ac_ext
26579 cat >>conftest.
$ac_ext <<_ACEOF
26580 /* end confdefs.h. */
26581 #include <signal.h>
26586 extern void testSigHandler(int);
26588 struct sigaction sa;
26589 sa.sa_handler = testSigHandler;
26595 rm -f conftest.
$ac_objext
26596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26597 (eval $ac_compile) 2>&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); } &&
26601 { ac_try
='test -s conftest.$ac_objext'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; }; then
26608 wx_cv_type_sa_handler
=int
26611 echo "$as_me: failed program was:" >&5
26612 sed 's/^/| /' conftest.
$ac_ext >&5
26615 wx_cv_type_sa_handler
=void
26618 rm -f conftest.
$ac_objext conftest.
$ac_ext
26621 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26622 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26625 ac_cpp
='$CPP $CPPFLAGS'
26626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26631 cat >>confdefs.h
<<_ACEOF
26632 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26640 for ac_func
in mkstemp mktemp
26642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26643 echo "$as_me:$LINENO: checking for $ac_func" >&5
26644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26645 if eval "test \"\${$as_ac_var+set}\" = set"; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 cat >conftest.
$ac_ext <<_ACEOF
26649 #line $LINENO "configure"
26652 cat confdefs.h
>>conftest.
$ac_ext
26653 cat >>conftest.
$ac_ext <<_ACEOF
26654 /* end confdefs.h. */
26655 /* System header to define __stub macros and hopefully few prototypes,
26656 which can conflict with char $ac_func (); below.
26657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26658 <limits.h> exists even on freestanding compilers. */
26660 # include <limits.h>
26662 # include <assert.h>
26664 /* Override any gcc2 internal prototype to avoid an error. */
26669 /* We use char because int might match the return type of a gcc2
26670 builtin and then its argument prototype would still apply. */
26672 /* The GNU C library defines this for functions which it implements
26673 to always fail with ENOSYS. Some functions are actually named
26674 something starting with __ and the normal name is an alias. */
26675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26678 char (*f) () = $ac_func;
26687 return f != $ac_func;
26692 rm -f conftest.
$ac_objext conftest
$ac_exeext
26693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26694 (eval $ac_link) 2>&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); } &&
26698 { ac_try
='test -s conftest$ac_exeext'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); }; }; then
26704 eval "$as_ac_var=yes"
26706 echo "$as_me: failed program was:" >&5
26707 sed 's/^/| /' conftest.
$ac_ext >&5
26709 eval "$as_ac_var=no"
26711 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26715 if test `eval echo '${'$as_ac_var'}'` = yes; then
26716 cat >>confdefs.h
<<_ACEOF
26717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26724 echo "$as_me:$LINENO: checking for statfs" >&5
26725 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26726 if test "${wx_cv_func_statfs+set}" = set; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26729 cat >conftest.
$ac_ext <<_ACEOF
26730 #line $LINENO "configure"
26733 cat confdefs.h
>>conftest.
$ac_ext
26734 cat >>conftest.
$ac_ext <<_ACEOF
26735 /* end confdefs.h. */
26737 #if defined(__BSD__)
26738 #include <sys/param.h>
26739 #include <sys/mount.h>
26741 #include <sys/vfs.h>
26759 rm -f conftest.
$ac_objext
26760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26761 (eval $ac_compile) 2>&5
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); } &&
26765 { ac_try
='test -s conftest.$ac_objext'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; }; then
26772 wx_cv_func_statfs
=yes
26775 echo "$as_me: failed program was:" >&5
26776 sed 's/^/| /' conftest.
$ac_ext >&5
26779 wx_cv_func_statfs
=no
26783 rm -f conftest.
$ac_objext conftest.
$ac_ext
26786 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26787 echo "${ECHO_T}$wx_cv_func_statfs" >&6
26789 if test "$wx_cv_func_statfs" = "yes"; then
26790 wx_cv_type_statvfs_t
="struct statfs"
26791 cat >>confdefs.h
<<\_ACEOF
26792 #define HAVE_STATFS 1
26796 echo "$as_me:$LINENO: checking for statvfs" >&5
26797 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26798 if test "${wx_cv_func_statvfs+set}" = set; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26801 cat >conftest.
$ac_ext <<_ACEOF
26802 #line $LINENO "configure"
26805 cat confdefs.h
>>conftest.
$ac_ext
26806 cat >>conftest.
$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26809 #include <stddef.h>
26810 #include <sys/statvfs.h>
26816 statvfs("/", NULL);
26822 rm -f conftest.
$ac_objext
26823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26824 (eval $ac_compile) 2>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } &&
26828 { ac_try
='test -s conftest.$ac_objext'
26829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830 (eval $ac_try) 2>&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); }; }; then
26834 wx_cv_func_statvfs
=yes
26836 echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.
$ac_ext >&5
26839 wx_cv_func_statvfs
=no
26842 rm -f conftest.
$ac_objext conftest.
$ac_ext
26845 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
26846 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
26848 if test "$wx_cv_func_statvfs" = "yes"; then
26852 ac_cpp
='$CXXCPP $CPPFLAGS'
26853 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26858 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
26859 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
26860 if test "${wx_cv_type_statvfs_t+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 cat >conftest.
$ac_ext <<_ACEOF
26864 #line $LINENO "configure"
26867 cat confdefs.h
>>conftest.
$ac_ext
26868 cat >>conftest.
$ac_ext <<_ACEOF
26869 /* end confdefs.h. */
26871 #include <sys/statvfs.h>
26888 rm -f conftest.
$ac_objext
26889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26890 (eval $ac_compile) 2>&5
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); } &&
26894 { ac_try
='test -s conftest.$ac_objext'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; }; then
26900 wx_cv_type_statvfs_t
=statvfs_t
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.
$ac_ext >&5
26906 cat >conftest.
$ac_ext <<_ACEOF
26907 #line $LINENO "configure"
26910 cat confdefs.h
>>conftest.
$ac_ext
26911 cat >>conftest.
$ac_ext <<_ACEOF
26912 /* end confdefs.h. */
26914 #include <sys/statvfs.h>
26931 rm -f conftest.
$ac_objext
26932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26933 (eval $ac_compile) 2>&5
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); } &&
26937 { ac_try
='test -s conftest.$ac_objext'
26938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26939 (eval $ac_try) 2>&5
26941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26942 (exit $ac_status); }; }; then
26943 wx_cv_type_statvfs_t
="struct statvfs"
26945 echo "$as_me: failed program was:" >&5
26946 sed 's/^/| /' conftest.
$ac_ext >&5
26948 wx_cv_type_statvfs_t
="unknown"
26951 rm -f conftest.
$ac_objext conftest.
$ac_ext
26955 rm -f conftest.
$ac_objext conftest.
$ac_ext
26958 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
26959 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
26962 ac_cpp
='$CPP $CPPFLAGS'
26963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26968 if test "$wx_cv_type_statvfs_t" != "unknown"; then
26969 cat >>confdefs.h
<<\_ACEOF
26970 #define HAVE_STATVFS 1
26975 wx_cv_type_statvfs_t
="unknown"
26979 if test "$wx_cv_type_statvfs_t" != "unknown"; then
26980 cat >>confdefs.h
<<_ACEOF
26981 #define WX_STATFS_T $wx_cv_type_statvfs_t
26985 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
26986 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
26989 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
26992 for ac_func
in fcntl flock
26994 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26995 echo "$as_me:$LINENO: checking for $ac_func" >&5
26996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26997 if eval "test \"\${$as_ac_var+set}\" = set"; then
26998 echo $ECHO_N "(cached) $ECHO_C" >&6
27000 cat >conftest.
$ac_ext <<_ACEOF
27001 #line $LINENO "configure"
27004 cat confdefs.h
>>conftest.
$ac_ext
27005 cat >>conftest.
$ac_ext <<_ACEOF
27006 /* end confdefs.h. */
27007 /* System header to define __stub macros and hopefully few prototypes,
27008 which can conflict with char $ac_func (); below.
27009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27010 <limits.h> exists even on freestanding compilers. */
27012 # include <limits.h>
27014 # include <assert.h>
27016 /* Override any gcc2 internal prototype to avoid an error. */
27021 /* We use char because int might match the return type of a gcc2
27022 builtin and then its argument prototype would still apply. */
27024 /* The GNU C library defines this for functions which it implements
27025 to always fail with ENOSYS. Some functions are actually named
27026 something starting with __ and the normal name is an alias. */
27027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27030 char (*f) () = $ac_func;
27039 return f != $ac_func;
27044 rm -f conftest.
$ac_objext conftest
$ac_exeext
27045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27046 (eval $ac_link) 2>&5
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); } &&
27050 { ac_try
='test -s conftest$ac_exeext'
27051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052 (eval $ac_try) 2>&5
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); }; }; then
27056 eval "$as_ac_var=yes"
27058 echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.
$ac_ext >&5
27061 eval "$as_ac_var=no"
27063 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27067 if test `eval echo '${'$as_ac_var'}'` = yes; then
27068 cat >>confdefs.h
<<_ACEOF
27069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27076 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27077 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27078 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27079 wxUSE_SNGLINST_CHECKER
=no
27084 for ac_func
in timegm
27086 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27087 echo "$as_me:$LINENO: checking for $ac_func" >&5
27088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27089 if eval "test \"\${$as_ac_var+set}\" = set"; then
27090 echo $ECHO_N "(cached) $ECHO_C" >&6
27092 cat >conftest.
$ac_ext <<_ACEOF
27093 #line $LINENO "configure"
27096 cat confdefs.h
>>conftest.
$ac_ext
27097 cat >>conftest.
$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27099 /* System header to define __stub macros and hopefully few prototypes,
27100 which can conflict with char $ac_func (); below.
27101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27102 <limits.h> exists even on freestanding compilers. */
27104 # include <limits.h>
27106 # include <assert.h>
27108 /* Override any gcc2 internal prototype to avoid an error. */
27113 /* We use char because int might match the return type of a gcc2
27114 builtin and then its argument prototype would still apply. */
27116 /* The GNU C library defines this for functions which it implements
27117 to always fail with ENOSYS. Some functions are actually named
27118 something starting with __ and the normal name is an alias. */
27119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27122 char (*f) () = $ac_func;
27131 return f != $ac_func;
27136 rm -f conftest.
$ac_objext conftest
$ac_exeext
27137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27138 (eval $ac_link) 2>&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); } &&
27142 { ac_try
='test -s conftest$ac_exeext'
27143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27144 (eval $ac_try) 2>&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); }; }; then
27148 eval "$as_ac_var=yes"
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.
$ac_ext >&5
27153 eval "$as_ac_var=no"
27155 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27159 if test `eval echo '${'$as_ac_var'}'` = yes; then
27160 cat >>confdefs.h
<<_ACEOF
27161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27170 for ac_func
in putenv setenv
27172 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27173 echo "$as_me:$LINENO: checking for $ac_func" >&5
27174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27175 if eval "test \"\${$as_ac_var+set}\" = set"; then
27176 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 cat >conftest.
$ac_ext <<_ACEOF
27179 #line $LINENO "configure"
27182 cat confdefs.h
>>conftest.
$ac_ext
27183 cat >>conftest.
$ac_ext <<_ACEOF
27184 /* end confdefs.h. */
27185 /* System header to define __stub macros and hopefully few prototypes,
27186 which can conflict with char $ac_func (); below.
27187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27188 <limits.h> exists even on freestanding compilers. */
27190 # include <limits.h>
27192 # include <assert.h>
27194 /* Override any gcc2 internal prototype to avoid an error. */
27199 /* We use char because int might match the return type of a gcc2
27200 builtin and then its argument prototype would still apply. */
27202 /* The GNU C library defines this for functions which it implements
27203 to always fail with ENOSYS. Some functions are actually named
27204 something starting with __ and the normal name is an alias. */
27205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27208 char (*f) () = $ac_func;
27217 return f != $ac_func;
27222 rm -f conftest.
$ac_objext conftest
$ac_exeext
27223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27224 (eval $ac_link) 2>&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); } &&
27228 { ac_try
='test -s conftest$ac_exeext'
27229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27230 (eval $ac_try) 2>&5
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); }; }; then
27234 eval "$as_ac_var=yes"
27236 echo "$as_me: failed program was:" >&5
27237 sed 's/^/| /' conftest.
$ac_ext >&5
27239 eval "$as_ac_var=no"
27241 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27245 if test `eval echo '${'$as_ac_var'}'` = yes; then
27246 cat >>confdefs.h
<<_ACEOF
27247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27254 HAVE_SOME_SLEEP_FUNC
=0
27255 if test "$USE_BEOS" = 1; then
27256 cat >>confdefs.h
<<\_ACEOF
27257 #define HAVE_SLEEP 1
27260 HAVE_SOME_SLEEP_FUNC
=1
27263 if test "$USE_DARWIN" = 1; then
27264 cat >>confdefs.h
<<\_ACEOF
27265 #define HAVE_USLEEP 1
27268 HAVE_SOME_SLEEP_FUNC
=1
27271 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27274 for ac_func
in nanosleep
27276 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27277 echo "$as_me:$LINENO: checking for $ac_func" >&5
27278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27279 if eval "test \"\${$as_ac_var+set}\" = set"; then
27280 echo $ECHO_N "(cached) $ECHO_C" >&6
27282 cat >conftest.
$ac_ext <<_ACEOF
27283 #line $LINENO "configure"
27286 cat confdefs.h
>>conftest.
$ac_ext
27287 cat >>conftest.
$ac_ext <<_ACEOF
27288 /* end confdefs.h. */
27289 /* System header to define __stub macros and hopefully few prototypes,
27290 which can conflict with char $ac_func (); below.
27291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27292 <limits.h> exists even on freestanding compilers. */
27294 # include <limits.h>
27296 # include <assert.h>
27298 /* Override any gcc2 internal prototype to avoid an error. */
27303 /* We use char because int might match the return type of a gcc2
27304 builtin and then its argument prototype would still apply. */
27306 /* The GNU C library defines this for functions which it implements
27307 to always fail with ENOSYS. Some functions are actually named
27308 something starting with __ and the normal name is an alias. */
27309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27312 char (*f) () = $ac_func;
27321 return f != $ac_func;
27326 rm -f conftest.
$ac_objext conftest
$ac_exeext
27327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27328 (eval $ac_link) 2>&5
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); } &&
27332 { ac_try
='test -s conftest$ac_exeext'
27333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27334 (eval $ac_try) 2>&5
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); }; }; then
27338 eval "$as_ac_var=yes"
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.
$ac_ext >&5
27343 eval "$as_ac_var=no"
27345 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27349 if test `eval echo '${'$as_ac_var'}'` = yes; then
27350 cat >>confdefs.h
<<_ACEOF
27351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27353 cat >>confdefs.h
<<\_ACEOF
27354 #define HAVE_NANOSLEEP 1
27359 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27360 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27361 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27362 echo $ECHO_N "(cached) $ECHO_C" >&6
27364 ac_check_lib_save_LIBS
=$LIBS
27365 LIBS
="-lposix4 $LIBS"
27366 cat >conftest.
$ac_ext <<_ACEOF
27367 #line $LINENO "configure"
27370 cat confdefs.h
>>conftest.
$ac_ext
27371 cat >>conftest.
$ac_ext <<_ACEOF
27372 /* end confdefs.h. */
27374 /* Override any gcc2 internal prototype to avoid an error. */
27378 /* We use char because int might match the return type of a gcc2
27379 builtin and then its argument prototype would still apply. */
27389 rm -f conftest.
$ac_objext conftest
$ac_exeext
27390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27391 (eval $ac_link) 2>&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } &&
27395 { ac_try
='test -s conftest$ac_exeext'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; }; then
27401 ac_cv_lib_posix4_nanosleep
=yes
27403 echo "$as_me: failed program was:" >&5
27404 sed 's/^/| /' conftest.
$ac_ext >&5
27406 ac_cv_lib_posix4_nanosleep
=no
27408 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27409 LIBS
=$ac_check_lib_save_LIBS
27411 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27412 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27413 if test $ac_cv_lib_posix4_nanosleep = yes; then
27415 cat >>confdefs.h
<<\_ACEOF
27416 #define HAVE_NANOSLEEP 1
27419 POSIX4_LINK
=" -lposix4"
27424 for ac_func
in usleep
27426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27427 echo "$as_me:$LINENO: checking for $ac_func" >&5
27428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27429 if eval "test \"\${$as_ac_var+set}\" = set"; then
27430 echo $ECHO_N "(cached) $ECHO_C" >&6
27432 cat >conftest.
$ac_ext <<_ACEOF
27433 #line $LINENO "configure"
27436 cat confdefs.h
>>conftest.
$ac_ext
27437 cat >>conftest.
$ac_ext <<_ACEOF
27438 /* end confdefs.h. */
27439 /* System header to define __stub macros and hopefully few prototypes,
27440 which can conflict with char $ac_func (); below.
27441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27442 <limits.h> exists even on freestanding compilers. */
27444 # include <limits.h>
27446 # include <assert.h>
27448 /* Override any gcc2 internal prototype to avoid an error. */
27453 /* We use char because int might match the return type of a gcc2
27454 builtin and then its argument prototype would still apply. */
27456 /* The GNU C library defines this for functions which it implements
27457 to always fail with ENOSYS. Some functions are actually named
27458 something starting with __ and the normal name is an alias. */
27459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27462 char (*f) () = $ac_func;
27471 return f != $ac_func;
27476 rm -f conftest.
$ac_objext conftest
$ac_exeext
27477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27478 (eval $ac_link) 2>&5
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); } &&
27482 { ac_try
='test -s conftest$ac_exeext'
27483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27484 (eval $ac_try) 2>&5
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); }; }; then
27488 eval "$as_ac_var=yes"
27490 echo "$as_me: failed program was:" >&5
27491 sed 's/^/| /' conftest.
$ac_ext >&5
27493 eval "$as_ac_var=no"
27495 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27499 if test `eval echo '${'$as_ac_var'}'` = yes; then
27500 cat >>confdefs.h
<<_ACEOF
27501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27503 cat >>confdefs.h
<<\_ACEOF
27504 #define HAVE_USLEEP 1
27508 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27509 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27527 for ac_func
in uname gethostname
27529 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27530 echo "$as_me:$LINENO: checking for $ac_func" >&5
27531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27532 if eval "test \"\${$as_ac_var+set}\" = set"; then
27533 echo $ECHO_N "(cached) $ECHO_C" >&6
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. */
27542 /* System header to define __stub macros and hopefully few prototypes,
27543 which can conflict with char $ac_func (); below.
27544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27545 <limits.h> exists even on freestanding compilers. */
27547 # include <limits.h>
27549 # include <assert.h>
27551 /* Override any gcc2 internal prototype to avoid an error. */
27556 /* We use char because int might match the return type of a gcc2
27557 builtin and then its argument prototype would still apply. */
27559 /* The GNU C library defines this for functions which it implements
27560 to always fail with ENOSYS. Some functions are actually named
27561 something starting with __ and the normal name is an alias. */
27562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27565 char (*f) () = $ac_func;
27574 return f != $ac_func;
27579 rm -f conftest.
$ac_objext conftest
$ac_exeext
27580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27581 (eval $ac_link) 2>&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); } &&
27585 { ac_try
='test -s conftest$ac_exeext'
27586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 (eval $ac_try) 2>&5
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); }; }; then
27591 eval "$as_ac_var=yes"
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.
$ac_ext >&5
27596 eval "$as_ac_var=no"
27598 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27602 if test `eval echo '${'$as_ac_var'}'` = yes; then
27603 cat >>confdefs.h
<<_ACEOF
27604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27614 ac_cpp
='$CXXCPP $CPPFLAGS'
27615 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27616 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27617 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27621 for ac_func
in strtok_r
27623 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27624 echo "$as_me:$LINENO: checking for $ac_func" >&5
27625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27626 if eval "test \"\${$as_ac_var+set}\" = set"; then
27627 echo $ECHO_N "(cached) $ECHO_C" >&6
27629 cat >conftest.
$ac_ext <<_ACEOF
27630 #line $LINENO "configure"
27633 cat confdefs.h
>>conftest.
$ac_ext
27634 cat >>conftest.
$ac_ext <<_ACEOF
27635 /* end confdefs.h. */
27636 /* System header to define __stub macros and hopefully few prototypes,
27637 which can conflict with char $ac_func (); below.
27638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27639 <limits.h> exists even on freestanding compilers. */
27641 # include <limits.h>
27643 # include <assert.h>
27645 /* Override any gcc2 internal prototype to avoid an error. */
27650 /* We use char because int might match the return type of a gcc2
27651 builtin and then its argument prototype would still apply. */
27653 /* The GNU C library defines this for functions which it implements
27654 to always fail with ENOSYS. Some functions are actually named
27655 something starting with __ and the normal name is an alias. */
27656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27659 char (*f) () = $ac_func;
27668 return f != $ac_func;
27673 rm -f conftest.
$ac_objext conftest
$ac_exeext
27674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27675 (eval $ac_link) 2>&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); } &&
27679 { ac_try
='test -s conftest$ac_exeext'
27680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27681 (eval $ac_try) 2>&5
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); }; }; then
27685 eval "$as_ac_var=yes"
27687 echo "$as_me: failed program was:" >&5
27688 sed 's/^/| /' conftest.
$ac_ext >&5
27690 eval "$as_ac_var=no"
27692 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27696 if test `eval echo '${'$as_ac_var'}'` = yes; then
27697 cat >>confdefs.h
<<_ACEOF
27698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27706 ac_cpp
='$CPP $CPPFLAGS'
27707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27714 for ac_func
in inet_addr
27716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27717 echo "$as_me:$LINENO: checking for $ac_func" >&5
27718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27719 if eval "test \"\${$as_ac_var+set}\" = set"; then
27720 echo $ECHO_N "(cached) $ECHO_C" >&6
27722 cat >conftest.
$ac_ext <<_ACEOF
27723 #line $LINENO "configure"
27726 cat confdefs.h
>>conftest.
$ac_ext
27727 cat >>conftest.
$ac_ext <<_ACEOF
27728 /* end confdefs.h. */
27729 /* System header to define __stub macros and hopefully few prototypes,
27730 which can conflict with char $ac_func (); below.
27731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27732 <limits.h> exists even on freestanding compilers. */
27734 # include <limits.h>
27736 # include <assert.h>
27738 /* Override any gcc2 internal prototype to avoid an error. */
27743 /* We use char because int might match the return type of a gcc2
27744 builtin and then its argument prototype would still apply. */
27746 /* The GNU C library defines this for functions which it implements
27747 to always fail with ENOSYS. Some functions are actually named
27748 something starting with __ and the normal name is an alias. */
27749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27752 char (*f) () = $ac_func;
27761 return f != $ac_func;
27766 rm -f conftest.
$ac_objext conftest
$ac_exeext
27767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27768 (eval $ac_link) 2>&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } &&
27772 { ac_try
='test -s conftest$ac_exeext'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; }; then
27778 eval "$as_ac_var=yes"
27780 echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.
$ac_ext >&5
27783 eval "$as_ac_var=no"
27785 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27789 if test `eval echo '${'$as_ac_var'}'` = yes; then
27790 cat >>confdefs.h
<<_ACEOF
27791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27793 cat >>confdefs.h
<<\_ACEOF
27794 #define HAVE_INET_ADDR 1
27799 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27800 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27801 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27802 echo $ECHO_N "(cached) $ECHO_C" >&6
27804 ac_check_lib_save_LIBS
=$LIBS
27806 cat >conftest.
$ac_ext <<_ACEOF
27807 #line $LINENO "configure"
27810 cat confdefs.h
>>conftest.
$ac_ext
27811 cat >>conftest.
$ac_ext <<_ACEOF
27812 /* end confdefs.h. */
27814 /* Override any gcc2 internal prototype to avoid an error. */
27818 /* We use char because int might match the return type of a gcc2
27819 builtin and then its argument prototype would still apply. */
27829 rm -f conftest.
$ac_objext conftest
$ac_exeext
27830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27831 (eval $ac_link) 2>&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); } &&
27835 { ac_try
='test -s conftest$ac_exeext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 ac_cv_lib_nsl_inet_addr
=yes
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.
$ac_ext >&5
27846 ac_cv_lib_nsl_inet_addr
=no
27848 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27849 LIBS
=$ac_check_lib_save_LIBS
27851 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
27852 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
27853 if test $ac_cv_lib_nsl_inet_addr = yes; then
27856 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
27857 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
27858 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
27859 echo $ECHO_N "(cached) $ECHO_C" >&6
27861 ac_check_lib_save_LIBS
=$LIBS
27862 LIBS
="-lresolv $LIBS"
27863 cat >conftest.
$ac_ext <<_ACEOF
27864 #line $LINENO "configure"
27867 cat confdefs.h
>>conftest.
$ac_ext
27868 cat >>conftest.
$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27871 /* Override any gcc2 internal prototype to avoid an error. */
27875 /* We use char because int might match the return type of a gcc2
27876 builtin and then its argument prototype would still apply. */
27886 rm -f conftest.
$ac_objext conftest
$ac_exeext
27887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27888 (eval $ac_link) 2>&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); } &&
27892 { ac_try
='test -s conftest$ac_exeext'
27893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27894 (eval $ac_try) 2>&5
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); }; }; then
27898 ac_cv_lib_resolv_inet_addr
=yes
27900 echo "$as_me: failed program was:" >&5
27901 sed 's/^/| /' conftest.
$ac_ext >&5
27903 ac_cv_lib_resolv_inet_addr
=no
27905 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27906 LIBS
=$ac_check_lib_save_LIBS
27908 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
27909 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
27910 if test $ac_cv_lib_resolv_inet_addr = yes; then
27913 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
27914 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
27915 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
27916 echo $ECHO_N "(cached) $ECHO_C" >&6
27918 ac_check_lib_save_LIBS
=$LIBS
27919 LIBS
="-lsocket $LIBS"
27920 cat >conftest.
$ac_ext <<_ACEOF
27921 #line $LINENO "configure"
27924 cat confdefs.h
>>conftest.
$ac_ext
27925 cat >>conftest.
$ac_ext <<_ACEOF
27926 /* end confdefs.h. */
27928 /* Override any gcc2 internal prototype to avoid an error. */
27932 /* We use char because int might match the return type of a gcc2
27933 builtin and then its argument prototype would still apply. */
27943 rm -f conftest.
$ac_objext conftest
$ac_exeext
27944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27945 (eval $ac_link) 2>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try
='test -s conftest$ac_exeext'
27950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27951 (eval $ac_try) 2>&5
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); }; }; then
27955 ac_cv_lib_socket_inet_addr
=yes
27957 echo "$as_me: failed program was:" >&5
27958 sed 's/^/| /' conftest.
$ac_ext >&5
27960 ac_cv_lib_socket_inet_addr
=no
27962 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27963 LIBS
=$ac_check_lib_save_LIBS
27965 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
27966 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
27967 if test $ac_cv_lib_socket_inet_addr = yes; then
27985 for ac_func
in inet_aton
27987 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27988 echo "$as_me:$LINENO: checking for $ac_func" >&5
27989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27990 if eval "test \"\${$as_ac_var+set}\" = set"; then
27991 echo $ECHO_N "(cached) $ECHO_C" >&6
27993 cat >conftest.
$ac_ext <<_ACEOF
27994 #line $LINENO "configure"
27997 cat confdefs.h
>>conftest.
$ac_ext
27998 cat >>conftest.
$ac_ext <<_ACEOF
27999 /* end confdefs.h. */
28000 /* System header to define __stub macros and hopefully few prototypes,
28001 which can conflict with char $ac_func (); below.
28002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28003 <limits.h> exists even on freestanding compilers. */
28005 # include <limits.h>
28007 # include <assert.h>
28009 /* Override any gcc2 internal prototype to avoid an error. */
28014 /* We use char because int might match the return type of a gcc2
28015 builtin and then its argument prototype would still apply. */
28017 /* The GNU C library defines this for functions which it implements
28018 to always fail with ENOSYS. Some functions are actually named
28019 something starting with __ and the normal name is an alias. */
28020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28023 char (*f) () = $ac_func;
28032 return f != $ac_func;
28037 rm -f conftest.
$ac_objext conftest
$ac_exeext
28038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28039 (eval $ac_link) 2>&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); } &&
28043 { ac_try
='test -s conftest$ac_exeext'
28044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28045 (eval $ac_try) 2>&5
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); }; }; then
28049 eval "$as_ac_var=yes"
28051 echo "$as_me: failed program was:" >&5
28052 sed 's/^/| /' conftest.
$ac_ext >&5
28054 eval "$as_ac_var=no"
28056 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28060 if test `eval echo '${'$as_ac_var'}'` = yes; then
28061 cat >>confdefs.h
<<_ACEOF
28062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28064 cat >>confdefs.h
<<\_ACEOF
28065 #define HAVE_INET_ATON 1
28070 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28071 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28072 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28073 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28074 echo $ECHO_N "(cached) $ECHO_C" >&6
28076 ac_check_lib_save_LIBS
=$LIBS
28077 LIBS
="-l$INET_LINK $LIBS"
28078 cat >conftest.
$ac_ext <<_ACEOF
28079 #line $LINENO "configure"
28082 cat confdefs.h
>>conftest.
$ac_ext
28083 cat >>conftest.
$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28086 /* Override any gcc2 internal prototype to avoid an error. */
28090 /* We use char because int might match the return type of a gcc2
28091 builtin and then its argument prototype would still apply. */
28101 rm -f conftest.
$ac_objext conftest
$ac_exeext
28102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28103 (eval $ac_link) 2>&5
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); } &&
28107 { ac_try
='test -s conftest$ac_exeext'
28108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28109 (eval $ac_try) 2>&5
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); }; }; then
28113 eval "$as_ac_Lib=yes"
28115 echo "$as_me: failed program was:" >&5
28116 sed 's/^/| /' conftest.
$ac_ext >&5
28118 eval "$as_ac_Lib=no"
28120 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28121 LIBS
=$ac_check_lib_save_LIBS
28123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28124 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28125 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28126 cat >>confdefs.h
<<\_ACEOF
28127 #define HAVE_INET_ATON 1
28137 if test "x$INET_LINK" != "x"; then
28138 cat >>confdefs.h
<<\_ACEOF
28139 #define HAVE_INET_ADDR 1
28142 INET_LINK
=" -l$INET_LINK"
28150 if test "${ac_cv_header_esd_h+set}" = set; then
28151 echo "$as_me:$LINENO: checking for esd.h" >&5
28152 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28153 if test "${ac_cv_header_esd_h+set}" = set; then
28154 echo $ECHO_N "(cached) $ECHO_C" >&6
28156 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28157 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28159 # Is the header compilable?
28160 echo "$as_me:$LINENO: checking esd.h usability" >&5
28161 echo $ECHO_N "checking esd.h usability... $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 $ac_includes_default
28172 rm -f conftest.
$ac_objext
28173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28174 (eval $ac_compile) 2>&5
28176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28177 (exit $ac_status); } &&
28178 { ac_try
='test -s conftest.$ac_objext'
28179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28180 (eval $ac_try) 2>&5
28182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183 (exit $ac_status); }; }; then
28184 ac_header_compiler
=yes
28186 echo "$as_me: failed program was:" >&5
28187 sed 's/^/| /' conftest.
$ac_ext >&5
28189 ac_header_compiler
=no
28191 rm -f conftest.
$ac_objext conftest.
$ac_ext
28192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28193 echo "${ECHO_T}$ac_header_compiler" >&6
28195 # Is the header present?
28196 echo "$as_me:$LINENO: checking esd.h presence" >&5
28197 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28198 cat >conftest.
$ac_ext <<_ACEOF
28199 #line $LINENO "configure"
28202 cat confdefs.h
>>conftest.
$ac_ext
28203 cat >>conftest.
$ac_ext <<_ACEOF
28204 /* end confdefs.h. */
28207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28208 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28210 grep -v '^ *+' conftest.er1
>conftest.err
28212 cat conftest.err
>&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); } >/dev
/null
; then
28215 if test -s conftest.err
; then
28216 ac_cpp_err
=$ac_c_preproc_warn_flag
28223 if test -z "$ac_cpp_err"; then
28224 ac_header_preproc
=yes
28226 echo "$as_me: failed program was:" >&5
28227 sed 's/^/| /' conftest.
$ac_ext >&5
28229 ac_header_preproc
=no
28231 rm -f conftest.err conftest.
$ac_ext
28232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28233 echo "${ECHO_T}$ac_header_preproc" >&6
28235 # So? What about this header?
28236 case $ac_header_compiler:$ac_header_preproc in
28238 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28239 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28240 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28241 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28244 ## ------------------------------------ ##
28245 ## Report this to bug-autoconf@gnu.org. ##
28246 ## ------------------------------------ ##
28249 sed "s/^/$as_me: WARNING: /" >&2
28252 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28253 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28254 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28255 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28256 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28257 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28260 ## ------------------------------------ ##
28261 ## Report this to bug-autoconf@gnu.org. ##
28262 ## ------------------------------------ ##
28265 sed "s/^/$as_me: WARNING: /" >&2
28268 echo "$as_me:$LINENO: checking for esd.h" >&5
28269 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28270 if test "${ac_cv_header_esd_h+set}" = set; then
28271 echo $ECHO_N "(cached) $ECHO_C" >&6
28273 ac_cv_header_esd_h
=$ac_header_preproc
28275 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28276 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28279 if test $ac_cv_header_esd_h = yes; then
28281 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28282 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28283 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28284 echo $ECHO_N "(cached) $ECHO_C" >&6
28286 ac_check_lib_save_LIBS
=$LIBS
28288 cat >conftest.
$ac_ext <<_ACEOF
28289 #line $LINENO "configure"
28292 cat confdefs.h
>>conftest.
$ac_ext
28293 cat >>conftest.
$ac_ext <<_ACEOF
28294 /* end confdefs.h. */
28296 /* Override any gcc2 internal prototype to avoid an error. */
28300 /* We use char because int might match the return type of a gcc2
28301 builtin and then its argument prototype would still apply. */
28311 rm -f conftest.
$ac_objext conftest
$ac_exeext
28312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28313 (eval $ac_link) 2>&5
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); } &&
28317 { ac_try
='test -s conftest$ac_exeext'
28318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28319 (eval $ac_try) 2>&5
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); }; }; then
28323 ac_cv_lib_esd_esd_close
=yes
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.
$ac_ext >&5
28328 ac_cv_lib_esd_esd_close
=no
28330 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28331 LIBS
=$ac_check_lib_save_LIBS
28333 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28334 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28335 if test $ac_cv_lib_esd_esd_close = yes; then
28348 cat >confcache
<<\_ACEOF
28349 # This file is a shell script that caches the results of configure
28350 # tests run on this system so they can be shared between configure
28351 # scripts and configure runs, see configure's option --config-cache.
28352 # It is not useful on other systems. If it contains results you don't
28353 # want to keep, you may remove or edit it.
28355 # config.status only pays attention to the cache file if you give it
28356 # the --recheck option to rerun configure.
28358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28360 # following values.
28364 # The following way of writing the cache mishandles newlines in values,
28365 # but we know of no workaround that is simple, portable, and efficient.
28366 # So, don't put newlines in cache variables' values.
28367 # Ultrix sh set writes to stderr and can't be redirected directly,
28368 # and sets the high bit in the cache file unless we assign to the vars.
28371 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28373 # `set' does not quote correctly, so add quotes (double-quote
28374 # substitution turns \\\\ into \\, and sed turns \\ into \).
28377 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28380 # `set' quotes correctly as required by POSIX, so do not add quotes.
28382 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28389 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28391 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28393 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28394 if test -w $cache_file; then
28395 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28396 cat confcache
>$cache_file
28398 echo "not updating unwritable cache $cache_file"
28405 if test "$TOOLKIT" != "MSW"; then
28411 if test "$wxUSE_THREADS" = "yes" ; then
28412 if test "$USE_BEOS" = 1; then
28413 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28414 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28419 if test "$wxUSE_THREADS" = "yes" ; then
28422 THREAD_OPTS
="-pthread"
28424 *-*-solaris2* | *-*-sunos4* )
28425 if test "x$GCC" = "xyes"; then
28426 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28428 THREAD_OPTS
="-mt $THREAD_OPTS"
28432 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28434 *-*-darwin* | *-*-cygwin* )
28438 THREAD_OPTS
="pthreads"
28441 if test "x$GCC" != "xyes"; then
28447 if test "x$GCC" = "xyes"; then
28453 if test "x$GCC" != "xyes"; then
28454 THREAD_OPTS
="-Ethread"
28459 THREAD_OPTS
="$THREAD_OPTS pthread none"
28462 for flag
in $THREAD_OPTS; do
28465 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28466 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28470 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28471 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28472 THREADS_CFLAGS
="$flag"
28476 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28477 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28478 THREADS_LINK
="-l$flag"
28483 save_CFLAGS
="$CFLAGS"
28484 LIBS
="$THREADS_LINK $LIBS"
28485 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28487 cat >conftest.
$ac_ext <<_ACEOF
28488 #line $LINENO "configure"
28491 cat confdefs.h
>>conftest.
$ac_ext
28492 cat >>conftest.
$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494 #include <pthread.h>
28498 pthread_create(0,0,0,0);
28503 rm -f conftest.
$ac_objext conftest
$ac_exeext
28504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28505 (eval $ac_link) 2>&5
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); } &&
28509 { ac_try
='test -s conftest$ac_exeext'
28510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28511 (eval $ac_try) 2>&5
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; }; then
28517 echo "$as_me: failed program was:" >&5
28518 sed 's/^/| /' conftest.
$ac_ext >&5
28521 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28524 CFLAGS
="$save_CFLAGS"
28526 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28527 echo "${ECHO_T}$THREADS_OK" >&6
28528 if test "x$THREADS_OK" = "xyes"; then
28536 if test "x$THREADS_OK" != "xyes"; then
28538 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28539 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28541 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28542 LIBS
="$THREADS_LINK $LIBS"
28544 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28545 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28549 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28550 flag
="-D_THREAD_SAFE"
28553 flag
="-D_THREAD_SAFE"
28556 flag
="-D_REENTRANT"
28557 if test "x$GCC" != "xyes"; then
28558 flag
="$flag -D_RWSTD_MULTI_THREAD"
28561 *solaris
* | alpha
*-osf*)
28562 flag
="-D_REENTRANT"
28565 echo "$as_me:$LINENO: result: ${flag}" >&5
28566 echo "${ECHO_T}${flag}" >&6
28567 if test "x$flag" != xno
; then
28568 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28571 if test "x$THREADS_CFLAGS" != "x"; then
28572 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28573 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28578 if test "$wxUSE_THREADS" = "yes" ; then
28580 for ac_func
in thr_setconcurrency
28582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28583 echo "$as_me:$LINENO: checking for $ac_func" >&5
28584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28585 if eval "test \"\${$as_ac_var+set}\" = set"; then
28586 echo $ECHO_N "(cached) $ECHO_C" >&6
28588 cat >conftest.
$ac_ext <<_ACEOF
28589 #line $LINENO "configure"
28592 cat confdefs.h
>>conftest.
$ac_ext
28593 cat >>conftest.
$ac_ext <<_ACEOF
28594 /* end confdefs.h. */
28595 /* System header to define __stub macros and hopefully few prototypes,
28596 which can conflict with char $ac_func (); below.
28597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28598 <limits.h> exists even on freestanding compilers. */
28600 # include <limits.h>
28602 # include <assert.h>
28604 /* Override any gcc2 internal prototype to avoid an error. */
28609 /* We use char because int might match the return type of a gcc2
28610 builtin and then its argument prototype would still apply. */
28612 /* The GNU C library defines this for functions which it implements
28613 to always fail with ENOSYS. Some functions are actually named
28614 something starting with __ and the normal name is an alias. */
28615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28618 char (*f) () = $ac_func;
28627 return f != $ac_func;
28632 rm -f conftest.
$ac_objext conftest
$ac_exeext
28633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28634 (eval $ac_link) 2>&5
28636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637 (exit $ac_status); } &&
28638 { ac_try
='test -s conftest$ac_exeext'
28639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28640 (eval $ac_try) 2>&5
28642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28643 (exit $ac_status); }; }; then
28644 eval "$as_ac_var=yes"
28646 echo "$as_me: failed program was:" >&5
28647 sed 's/^/| /' conftest.
$ac_ext >&5
28649 eval "$as_ac_var=no"
28651 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28655 if test `eval echo '${'$as_ac_var'}'` = yes; then
28656 cat >>confdefs.h
<<_ACEOF
28657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28665 for ac_header
in sched.h
28667 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28669 echo "$as_me:$LINENO: checking for $ac_header" >&5
28670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28677 # Is the header compilable?
28678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28680 cat >conftest.
$ac_ext <<_ACEOF
28681 #line $LINENO "configure"
28684 cat confdefs.h
>>conftest.
$ac_ext
28685 cat >>conftest.
$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28687 $ac_includes_default
28688 #include <$ac_header>
28690 rm -f conftest.
$ac_objext
28691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28692 (eval $ac_compile) 2>&5
28694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28695 (exit $ac_status); } &&
28696 { ac_try
='test -s conftest.$ac_objext'
28697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28698 (eval $ac_try) 2>&5
28700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28701 (exit $ac_status); }; }; then
28702 ac_header_compiler
=yes
28704 echo "$as_me: failed program was:" >&5
28705 sed 's/^/| /' conftest.
$ac_ext >&5
28707 ac_header_compiler
=no
28709 rm -f conftest.
$ac_objext conftest.
$ac_ext
28710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28711 echo "${ECHO_T}$ac_header_compiler" >&6
28713 # Is the header present?
28714 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28715 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28716 cat >conftest.
$ac_ext <<_ACEOF
28717 #line $LINENO "configure"
28720 cat confdefs.h
>>conftest.
$ac_ext
28721 cat >>conftest.
$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28723 #include <$ac_header>
28725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28728 grep -v '^ *+' conftest.er1
>conftest.err
28730 cat conftest.err
>&5
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); } >/dev
/null
; then
28733 if test -s conftest.err
; then
28734 ac_cpp_err
=$ac_c_preproc_warn_flag
28741 if test -z "$ac_cpp_err"; then
28742 ac_header_preproc
=yes
28744 echo "$as_me: failed program was:" >&5
28745 sed 's/^/| /' conftest.
$ac_ext >&5
28747 ac_header_preproc
=no
28749 rm -f conftest.err conftest.
$ac_ext
28750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28751 echo "${ECHO_T}$ac_header_preproc" >&6
28753 # So? What about this header?
28754 case $ac_header_compiler:$ac_header_preproc in
28756 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28757 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28762 ## ------------------------------------ ##
28763 ## Report this to bug-autoconf@gnu.org. ##
28764 ## ------------------------------------ ##
28767 sed "s/^/$as_me: WARNING: /" >&2
28770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28778 ## ------------------------------------ ##
28779 ## Report this to bug-autoconf@gnu.org. ##
28780 ## ------------------------------------ ##
28783 sed "s/^/$as_me: WARNING: /" >&2
28786 echo "$as_me:$LINENO: checking for $ac_header" >&5
28787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28789 echo $ECHO_N "(cached) $ECHO_C" >&6
28791 eval "$as_ac_Header=$ac_header_preproc"
28793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28798 cat >>confdefs.h
<<_ACEOF
28799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28806 if test "$ac_cv_header_sched_h" = "yes"; then
28807 echo "$as_me:$LINENO: checking for sched_yield" >&5
28808 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28809 if test "${ac_cv_func_sched_yield+set}" = set; then
28810 echo $ECHO_N "(cached) $ECHO_C" >&6
28812 cat >conftest.
$ac_ext <<_ACEOF
28813 #line $LINENO "configure"
28816 cat confdefs.h
>>conftest.
$ac_ext
28817 cat >>conftest.
$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28819 /* System header to define __stub macros and hopefully few prototypes,
28820 which can conflict with char sched_yield (); below.
28821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28822 <limits.h> exists even on freestanding compilers. */
28824 # include <limits.h>
28826 # include <assert.h>
28828 /* Override any gcc2 internal prototype to avoid an error. */
28833 /* We use char because int might match the return type of a gcc2
28834 builtin and then its argument prototype would still apply. */
28835 char sched_yield ();
28836 /* The GNU C library defines this for functions which it implements
28837 to always fail with ENOSYS. Some functions are actually named
28838 something starting with __ and the normal name is an alias. */
28839 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
28842 char (*f) () = sched_yield;
28851 return f != sched_yield;
28856 rm -f conftest.
$ac_objext conftest
$ac_exeext
28857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28858 (eval $ac_link) 2>&5
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); } &&
28862 { ac_try
='test -s conftest$ac_exeext'
28863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28864 (eval $ac_try) 2>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; }; then
28868 ac_cv_func_sched_yield
=yes
28870 echo "$as_me: failed program was:" >&5
28871 sed 's/^/| /' conftest.
$ac_ext >&5
28873 ac_cv_func_sched_yield
=no
28875 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28877 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
28878 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
28879 if test $ac_cv_func_sched_yield = yes; then
28880 cat >>confdefs.h
<<\_ACEOF
28881 #define HAVE_SCHED_YIELD 1
28886 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
28887 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
28888 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28891 ac_check_lib_save_LIBS
=$LIBS
28892 LIBS
="-lposix4 $LIBS"
28893 cat >conftest.
$ac_ext <<_ACEOF
28894 #line $LINENO "configure"
28897 cat confdefs.h
>>conftest.
$ac_ext
28898 cat >>conftest.
$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28901 /* Override any gcc2 internal prototype to avoid an error. */
28905 /* We use char because int might match the return type of a gcc2
28906 builtin and then its argument prototype would still apply. */
28907 char sched_yield ();
28916 rm -f conftest.
$ac_objext conftest
$ac_exeext
28917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28918 (eval $ac_link) 2>&5
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); } &&
28922 { ac_try
='test -s conftest$ac_exeext'
28923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 (eval $ac_try) 2>&5
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); }; }; then
28928 ac_cv_lib_posix4_sched_yield
=yes
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.
$ac_ext >&5
28933 ac_cv_lib_posix4_sched_yield
=no
28935 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28936 LIBS
=$ac_check_lib_save_LIBS
28938 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
28939 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
28940 if test $ac_cv_lib_posix4_sched_yield = yes; then
28941 cat >>confdefs.h
<<\_ACEOF
28942 #define HAVE_SCHED_YIELD 1
28944 POSIX4_LINK
=" -lposix4"
28946 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
28947 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
28958 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
28959 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
28960 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
28961 echo $ECHO_N "(cached) $ECHO_C" >&6
28963 cat >conftest.
$ac_ext <<_ACEOF
28964 #line $LINENO "configure"
28967 cat confdefs.h
>>conftest.
$ac_ext
28968 cat >>conftest.
$ac_ext <<_ACEOF
28969 /* end confdefs.h. */
28970 /* System header to define __stub macros and hopefully few prototypes,
28971 which can conflict with char pthread_attr_getschedpolicy (); below.
28972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28973 <limits.h> exists even on freestanding compilers. */
28975 # include <limits.h>
28977 # include <assert.h>
28979 /* Override any gcc2 internal prototype to avoid an error. */
28984 /* We use char because int might match the return type of a gcc2
28985 builtin and then its argument prototype would still apply. */
28986 char pthread_attr_getschedpolicy ();
28987 /* The GNU C library defines this for functions which it implements
28988 to always fail with ENOSYS. Some functions are actually named
28989 something starting with __ and the normal name is an alias. */
28990 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
28993 char (*f) () = pthread_attr_getschedpolicy;
29002 return f != pthread_attr_getschedpolicy;
29007 rm -f conftest.
$ac_objext conftest
$ac_exeext
29008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29009 (eval $ac_link) 2>&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } &&
29013 { ac_try
='test -s conftest$ac_exeext'
29014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29015 (eval $ac_try) 2>&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); }; }; then
29019 ac_cv_func_pthread_attr_getschedpolicy
=yes
29021 echo "$as_me: failed program was:" >&5
29022 sed 's/^/| /' conftest.
$ac_ext >&5
29024 ac_cv_func_pthread_attr_getschedpolicy
=no
29026 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29028 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29029 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29030 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29031 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29032 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29033 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29034 echo $ECHO_N "(cached) $ECHO_C" >&6
29036 cat >conftest.
$ac_ext <<_ACEOF
29037 #line $LINENO "configure"
29040 cat confdefs.h
>>conftest.
$ac_ext
29041 cat >>conftest.
$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29043 /* System header to define __stub macros and hopefully few prototypes,
29044 which can conflict with char pthread_attr_setschedparam (); below.
29045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29046 <limits.h> exists even on freestanding compilers. */
29048 # include <limits.h>
29050 # include <assert.h>
29052 /* Override any gcc2 internal prototype to avoid an error. */
29057 /* We use char because int might match the return type of a gcc2
29058 builtin and then its argument prototype would still apply. */
29059 char pthread_attr_setschedparam ();
29060 /* The GNU C library defines this for functions which it implements
29061 to always fail with ENOSYS. Some functions are actually named
29062 something starting with __ and the normal name is an alias. */
29063 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29066 char (*f) () = pthread_attr_setschedparam;
29075 return f != pthread_attr_setschedparam;
29080 rm -f conftest.
$ac_objext conftest
$ac_exeext
29081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29082 (eval $ac_link) 2>&5
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } &&
29086 { ac_try
='test -s conftest$ac_exeext'
29087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29088 (eval $ac_try) 2>&5
29090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29091 (exit $ac_status); }; }; then
29092 ac_cv_func_pthread_attr_setschedparam
=yes
29094 echo "$as_me: failed program was:" >&5
29095 sed 's/^/| /' conftest.
$ac_ext >&5
29097 ac_cv_func_pthread_attr_setschedparam
=no
29099 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29101 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29102 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29103 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29104 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29105 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29106 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29107 echo $ECHO_N "(cached) $ECHO_C" >&6
29109 cat >conftest.
$ac_ext <<_ACEOF
29110 #line $LINENO "configure"
29113 cat confdefs.h
>>conftest.
$ac_ext
29114 cat >>conftest.
$ac_ext <<_ACEOF
29115 /* end confdefs.h. */
29116 /* System header to define __stub macros and hopefully few prototypes,
29117 which can conflict with char sched_get_priority_max (); below.
29118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29119 <limits.h> exists even on freestanding compilers. */
29121 # include <limits.h>
29123 # include <assert.h>
29125 /* Override any gcc2 internal prototype to avoid an error. */
29130 /* We use char because int might match the return type of a gcc2
29131 builtin and then its argument prototype would still apply. */
29132 char sched_get_priority_max ();
29133 /* The GNU C library defines this for functions which it implements
29134 to always fail with ENOSYS. Some functions are actually named
29135 something starting with __ and the normal name is an alias. */
29136 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29139 char (*f) () = sched_get_priority_max;
29148 return f != sched_get_priority_max;
29153 rm -f conftest.
$ac_objext conftest
$ac_exeext
29154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29155 (eval $ac_link) 2>&5
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); } &&
29159 { ac_try
='test -s conftest$ac_exeext'
29160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161 (eval $ac_try) 2>&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); }; }; then
29165 ac_cv_func_sched_get_priority_max
=yes
29167 echo "$as_me: failed program was:" >&5
29168 sed 's/^/| /' conftest.
$ac_ext >&5
29170 ac_cv_func_sched_get_priority_max
=no
29172 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29174 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29175 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29176 if test $ac_cv_func_sched_get_priority_max = yes; then
29179 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29180 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29181 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29182 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 ac_check_lib_save_LIBS
=$LIBS
29185 LIBS
="-lposix4 $LIBS"
29186 cat >conftest.
$ac_ext <<_ACEOF
29187 #line $LINENO "configure"
29190 cat confdefs.h
>>conftest.
$ac_ext
29191 cat >>conftest.
$ac_ext <<_ACEOF
29192 /* end confdefs.h. */
29194 /* Override any gcc2 internal prototype to avoid an error. */
29198 /* We use char because int might match the return type of a gcc2
29199 builtin and then its argument prototype would still apply. */
29200 char sched_get_priority_max ();
29204 sched_get_priority_max ();
29209 rm -f conftest.
$ac_objext conftest
$ac_exeext
29210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29211 (eval $ac_link) 2>&5
29213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 (exit $ac_status); } &&
29215 { ac_try
='test -s conftest$ac_exeext'
29216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29217 (eval $ac_try) 2>&5
29219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29220 (exit $ac_status); }; }; then
29221 ac_cv_lib_posix4_sched_get_priority_max
=yes
29223 echo "$as_me: failed program was:" >&5
29224 sed 's/^/| /' conftest.
$ac_ext >&5
29226 ac_cv_lib_posix4_sched_get_priority_max
=no
29228 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29229 LIBS
=$ac_check_lib_save_LIBS
29231 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29232 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29233 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29236 POSIX4_LINK
=" -lposix4"
29250 if test "$HAVE_PRIOR_FUNCS" = 1; then
29251 cat >>confdefs.h
<<\_ACEOF
29252 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29256 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29257 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29260 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29261 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29262 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 cat >conftest.
$ac_ext <<_ACEOF
29266 #line $LINENO "configure"
29269 cat confdefs.h
>>conftest.
$ac_ext
29270 cat >>conftest.
$ac_ext <<_ACEOF
29271 /* end confdefs.h. */
29272 /* System header to define __stub macros and hopefully few prototypes,
29273 which can conflict with char pthread_cancel (); below.
29274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29275 <limits.h> exists even on freestanding compilers. */
29277 # include <limits.h>
29279 # include <assert.h>
29281 /* Override any gcc2 internal prototype to avoid an error. */
29286 /* We use char because int might match the return type of a gcc2
29287 builtin and then its argument prototype would still apply. */
29288 char pthread_cancel ();
29289 /* The GNU C library defines this for functions which it implements
29290 to always fail with ENOSYS. Some functions are actually named
29291 something starting with __ and the normal name is an alias. */
29292 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29295 char (*f) () = pthread_cancel;
29304 return f != pthread_cancel;
29309 rm -f conftest.
$ac_objext conftest
$ac_exeext
29310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29311 (eval $ac_link) 2>&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } &&
29315 { ac_try
='test -s conftest$ac_exeext'
29316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29317 (eval $ac_try) 2>&5
29319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320 (exit $ac_status); }; }; then
29321 ac_cv_func_pthread_cancel
=yes
29323 echo "$as_me: failed program was:" >&5
29324 sed 's/^/| /' conftest.
$ac_ext >&5
29326 ac_cv_func_pthread_cancel
=no
29328 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29330 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29331 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29332 if test $ac_cv_func_pthread_cancel = yes; then
29333 cat >>confdefs.h
<<\_ACEOF
29334 #define HAVE_PTHREAD_CANCEL 1
29338 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29339 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29343 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29344 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29345 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29346 echo $ECHO_N "(cached) $ECHO_C" >&6
29349 cat >conftest.
$ac_ext <<_ACEOF
29350 #line $LINENO "configure"
29353 cat confdefs.h
>>conftest.
$ac_ext
29354 cat >>conftest.
$ac_ext <<_ACEOF
29355 /* end confdefs.h. */
29356 #include <pthread.h>
29361 pthread_cleanup_push(NULL, NULL);
29362 pthread_cleanup_pop(0);
29368 rm -f conftest.
$ac_objext
29369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29370 (eval $ac_compile) 2>&5
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); } &&
29374 { ac_try
='test -s conftest.$ac_objext'
29375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376 (eval $ac_try) 2>&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; }; then
29381 wx_cv_func_pthread_cleanup_push
=yes
29384 echo "$as_me: failed program was:" >&5
29385 sed 's/^/| /' conftest.
$ac_ext >&5
29388 wx_cv_func_pthread_cleanup_push
=no
29391 rm -f conftest.
$ac_objext conftest.
$ac_ext
29394 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29395 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29397 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29398 cat >>confdefs.h
<<\_ACEOF
29399 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29405 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29406 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29407 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29408 echo $ECHO_N "(cached) $ECHO_C" >&6
29411 cat >conftest.
$ac_ext <<_ACEOF
29412 #line $LINENO "configure"
29415 cat confdefs.h
>>conftest.
$ac_ext
29416 cat >>conftest.
$ac_ext <<_ACEOF
29417 /* end confdefs.h. */
29418 #include <pthread.h>
29423 pthread_mutexattr_t attr;
29424 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29430 rm -f conftest.
$ac_objext
29431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29432 (eval $ac_compile) 2>&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); } &&
29436 { ac_try
='test -s conftest.$ac_objext'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29443 wx_cv_type_pthread_mutexattr_t
=yes
29446 echo "$as_me: failed program was:" >&5
29447 sed 's/^/| /' conftest.
$ac_ext >&5
29450 wx_cv_type_pthread_mutexattr_t
=no
29454 rm -f conftest.
$ac_objext conftest.
$ac_ext
29457 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29458 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29460 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29461 cat >>confdefs.h
<<\_ACEOF
29462 #define HAVE_PTHREAD_MUTEXATTR_T 1
29466 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29467 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29468 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29469 echo $ECHO_N "(cached) $ECHO_C" >&6
29472 cat >conftest.
$ac_ext <<_ACEOF
29473 #line $LINENO "configure"
29476 cat confdefs.h
>>conftest.
$ac_ext
29477 cat >>conftest.
$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 #include <pthread.h>
29484 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29490 rm -f conftest.
$ac_objext
29491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29492 (eval $ac_compile) 2>&5
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); } &&
29496 { ac_try
='test -s conftest.$ac_objext'
29497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29498 (eval $ac_try) 2>&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; }; then
29503 wx_cv_type_pthread_rec_mutex_init
=yes
29506 echo "$as_me: failed program was:" >&5
29507 sed 's/^/| /' conftest.
$ac_ext >&5
29510 wx_cv_type_pthread_rec_mutex_init
=no
29514 rm -f conftest.
$ac_objext conftest.
$ac_ext
29517 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29518 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29519 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29520 cat >>confdefs.h
<<\_ACEOF
29521 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29525 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29526 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29532 if test "$wxUSE_THREADS" = "yes" ; then
29535 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29536 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29537 if test "${wx_cv_cflags_mthread+set}" = set; then
29538 echo $ECHO_N "(cached) $ECHO_C" >&6
29541 CFLAGS_OLD
="$CFLAGS"
29542 CFLAGS
="$CFLAGS -mthreads"
29543 cat >conftest.
$ac_ext <<_ACEOF
29544 #line $LINENO "configure"
29547 cat confdefs.h
>>conftest.
$ac_ext
29548 cat >>conftest.
$ac_ext <<_ACEOF
29549 /* end confdefs.h. */
29559 rm -f conftest.
$ac_objext
29560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29561 (eval $ac_compile) 2>&5
29563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 (exit $ac_status); } &&
29565 { ac_try
='test -s conftest.$ac_objext'
29566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29567 (eval $ac_try) 2>&5
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); }; }; then
29571 wx_cv_cflags_mthread
=yes
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.
$ac_ext >&5
29576 wx_cv_cflags_mthread
=no
29579 rm -f conftest.
$ac_objext conftest.
$ac_ext
29583 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29584 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29586 if test "$wx_cv_cflags_mthread" = "yes"; then
29587 CXXFLAGS
="$CXXFLAGS -mthreads"
29588 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29589 LDFLAGS
="$LDFLAGS -mthreads"
29591 CFLAGS
="$CFLAGS_OLD"
29598 if test "$wxUSE_THREADS" = "yes"; then
29599 cat >>confdefs.h
<<\_ACEOF
29600 #define wxUSE_THREADS 1
29604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
29606 if test "$ac_cv_func_strtok_r" = "yes"; then
29607 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29608 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29609 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29610 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
29611 echo "$as_me:$LINENO: result: yes" >&5
29612 echo "${ECHO_T}yes" >&6
29614 echo "$as_me:$LINENO: result: no" >&5
29615 echo "${ECHO_T}no" >&6
29620 if test "$WXGTK20" = 1 ; then
29621 cat >>confdefs.h
<<_ACEOF
29622 #define __WXGTK20__ $WXGTK20
29628 if test "$WXGTK12" = 1 ; then
29629 cat >>confdefs.h
<<_ACEOF
29630 #define __WXGTK12__ $WXGTK12
29635 if test "$WXGTK127" = 1 ; then
29636 cat >>confdefs.h
<<_ACEOF
29637 #define __WXGTK127__ $WXGTK127
29644 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29649 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29650 wxUSE_DEBUG_INFO
=yes
29654 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29655 cat >>confdefs.h
<<\_ACEOF
29659 WXDEBUG_DEFINE
="-D__WXDEBUG__"
29661 if test "$wxUSE_GTK" = 1 ; then
29662 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
29666 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29667 cat >>confdefs.h
<<\_ACEOF
29668 #define wxUSE_MEMORY_TRACING 1
29671 cat >>confdefs.h
<<\_ACEOF
29672 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29675 cat >>confdefs.h
<<\_ACEOF
29676 #define wxUSE_DEBUG_NEW_ALWAYS 1
29679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
29682 if test "$wxUSE_DMALLOC" = "yes" ; then
29683 DMALLOC_LIBS
="-ldmalloc"
29687 if test "$wxUSE_PROFILE" = "yes" ; then
29692 CODE_GEN_FLAGS_CXX
=
29693 if test "$GCC" = "yes" ; then
29694 if test "$wxUSE_NO_RTTI" = "yes" ; then
29695 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
29697 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29698 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29700 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29701 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
29703 if test "$USE_WIN32" = 1 ; then
29704 # I'm not even really sure what this was ever added to solve,
29705 # but someone added it for mingw native builds, so I guess
29706 # they had a reason, right??
29707 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29712 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
29715 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
29721 if test "$wxUSE_OPTIMISE" = "no" ; then
29722 if test "$GCC" = yes ; then
29726 if test "$GCC" = yes ; then
29730 i586
-*-*|i686
-*-* )
29731 OPTIMISE
="${OPTIMISE} "
29740 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29741 cat >>confdefs.h
<<\_ACEOF
29742 #define WXWIN_COMPATIBILITY_2 1
29746 WXWIN_COMPATIBILITY_2_2
="yes"
29749 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29750 cat >>confdefs.h
<<\_ACEOF
29751 #define WXWIN_COMPATIBILITY_2_2 1
29755 WXWIN_COMPATIBILITY_2_4
="yes"
29758 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29759 cat >>confdefs.h
<<\_ACEOF
29760 #define WXWIN_COMPATIBILITY_2_4 1
29766 if test "$wxUSE_GUI" = "yes"; then
29767 cat >>confdefs.h
<<\_ACEOF
29768 #define wxUSE_GUI 1
29773 cat >>confdefs.h
<<\_ACEOF
29774 #define wxUSE_NOGUI 1
29780 if test "$wxUSE_UNIX" = "yes"; then
29781 cat >>confdefs.h
<<\_ACEOF
29782 #define wxUSE_UNIX 1
29788 if test "$wxUSE_APPLE_IEEE" = "yes"; then
29789 cat >>confdefs.h
<<\_ACEOF
29790 #define wxUSE_APPLE_IEEE 1
29795 if test "$wxUSE_TIMER" = "yes"; then
29796 cat >>confdefs.h
<<\_ACEOF
29797 #define wxUSE_TIMER 1
29802 if test "$wxUSE_WAVE" = "yes"; then
29803 cat >>confdefs.h
<<\_ACEOF
29804 #define wxUSE_WAVE 1
29809 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29810 cat >>confdefs.h
<<\_ACEOF
29811 #define wxUSE_CMDLINE_PARSER 1
29816 if test "$wxUSE_STOPWATCH" = "yes"; then
29817 cat >>confdefs.h
<<\_ACEOF
29818 #define wxUSE_STOPWATCH 1
29823 if test "$wxUSE_DATETIME" = "yes"; then
29824 cat >>confdefs.h
<<\_ACEOF
29825 #define wxUSE_DATETIME 1
29830 if test "$wxUSE_FILE" = "yes"; then
29831 cat >>confdefs.h
<<\_ACEOF
29832 #define wxUSE_FILE 1
29837 if test "$wxUSE_FFILE" = "yes"; then
29838 cat >>confdefs.h
<<\_ACEOF
29839 #define wxUSE_FFILE 1
29844 if test "$wxUSE_FILESYSTEM" = "yes"; then
29845 cat >>confdefs.h
<<\_ACEOF
29846 #define wxUSE_FILESYSTEM 1
29851 if test "$wxUSE_FS_INET" = "yes"; then
29852 cat >>confdefs.h
<<\_ACEOF
29853 #define wxUSE_FS_INET 1
29858 if test "$wxUSE_FS_ZIP" = "yes"; then
29859 cat >>confdefs.h
<<\_ACEOF
29860 #define wxUSE_FS_ZIP 1
29865 if test "$wxUSE_ZIPSTREAM" = "yes"; then
29866 cat >>confdefs.h
<<\_ACEOF
29867 #define wxUSE_ZIPSTREAM 1
29872 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29873 cat >>confdefs.h
<<\_ACEOF
29874 #define wxUSE_ON_FATAL_EXCEPTION 1
29879 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29880 cat >>confdefs.h
<<\_ACEOF
29881 #define wxUSE_SNGLINST_CHECKER 1
29886 if test "$wxUSE_BUSYINFO" = "yes"; then
29887 cat >>confdefs.h
<<\_ACEOF
29888 #define wxUSE_BUSYINFO 1
29893 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
29894 cat >>confdefs.h
<<\_ACEOF
29895 #define wxUSE_STD_IOSTREAM 1
29900 if test "$wxUSE_TEXTBUFFER" = "yes"; then
29901 cat >>confdefs.h
<<\_ACEOF
29902 #define wxUSE_TEXTBUFFER 1
29907 if test "$wxUSE_TEXTFILE" = "yes"; then
29908 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
29909 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
29910 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
29912 cat >>confdefs.h
<<\_ACEOF
29913 #define wxUSE_TEXTFILE 1
29919 if test "$wxUSE_CONFIG" = "yes" ; then
29920 if test "$wxUSE_TEXTFILE" != "yes"; then
29921 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
29922 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
29924 cat >>confdefs.h
<<\_ACEOF
29925 #define wxUSE_CONFIG 1
29928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
29932 if test "$wxUSE_INTL" = "yes" ; then
29933 if test "$wxUSE_FILE" != "yes"; then
29934 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
29935 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
29937 cat >>confdefs.h
<<\_ACEOF
29938 #define wxUSE_INTL 1
29941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
29942 GUIDIST
="$GUIDIST INTL_DIST"
29946 if test "$wxUSE_LOG" = "yes"; then
29947 cat >>confdefs.h
<<\_ACEOF
29948 #define wxUSE_LOG 1
29952 if test "$wxUSE_LOGGUI" = "yes"; then
29953 cat >>confdefs.h
<<\_ACEOF
29954 #define wxUSE_LOGGUI 1
29959 if test "$wxUSE_LOGWINDOW" = "yes"; then
29960 cat >>confdefs.h
<<\_ACEOF
29961 #define wxUSE_LOGWINDOW 1
29966 if test "$wxUSE_LOGDIALOG" = "yes"; then
29967 cat >>confdefs.h
<<\_ACEOF
29968 #define wxUSE_LOG_DIALOG 1
29974 if test "$wxUSE_LONGLONG" = "yes"; then
29975 cat >>confdefs.h
<<\_ACEOF
29976 #define wxUSE_LONGLONG 1
29981 if test "$wxUSE_GEOMETRY" = "yes"; then
29982 cat >>confdefs.h
<<\_ACEOF
29983 #define wxUSE_GEOMETRY 1
29988 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
29989 cat >>confdefs.h
<<\_ACEOF
29990 #define wxUSE_DIALUP_MANAGER 1
29993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
29996 if test "$wxUSE_STREAMS" = "yes" ; then
29997 cat >>confdefs.h
<<\_ACEOF
29998 #define wxUSE_STREAMS 1
30004 if test "$wxUSE_DATETIME" = "yes"; then
30006 for ac_func
in strptime
30008 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30009 echo "$as_me:$LINENO: checking for $ac_func" >&5
30010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30011 if eval "test \"\${$as_ac_var+set}\" = set"; then
30012 echo $ECHO_N "(cached) $ECHO_C" >&6
30014 cat >conftest.
$ac_ext <<_ACEOF
30015 #line $LINENO "configure"
30018 cat confdefs.h
>>conftest.
$ac_ext
30019 cat >>conftest.
$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021 /* System header to define __stub macros and hopefully few prototypes,
30022 which can conflict with char $ac_func (); below.
30023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30024 <limits.h> exists even on freestanding compilers. */
30026 # include <limits.h>
30028 # include <assert.h>
30030 /* Override any gcc2 internal prototype to avoid an error. */
30035 /* We use char because int might match the return type of a gcc2
30036 builtin and then its argument prototype would still apply. */
30038 /* The GNU C library defines this for functions which it implements
30039 to always fail with ENOSYS. Some functions are actually named
30040 something starting with __ and the normal name is an alias. */
30041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30044 char (*f) () = $ac_func;
30053 return f != $ac_func;
30058 rm -f conftest.
$ac_objext conftest
$ac_exeext
30059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30060 (eval $ac_link) 2>&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); } &&
30064 { ac_try
='test -s conftest$ac_exeext'
30065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30066 (eval $ac_try) 2>&5
30068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30069 (exit $ac_status); }; }; then
30070 eval "$as_ac_var=yes"
30072 echo "$as_me: failed program was:" >&5
30073 sed 's/^/| /' conftest.
$ac_ext >&5
30075 eval "$as_ac_var=no"
30077 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30081 if test `eval echo '${'$as_ac_var'}'` = yes; then
30082 cat >>confdefs.h
<<_ACEOF
30083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30090 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30091 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30092 if test "${wx_cv_var_timezone+set}" = set; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30096 cat >conftest.
$ac_ext <<_ACEOF
30097 #line $LINENO "configure"
30100 cat confdefs.h
>>conftest.
$ac_ext
30101 cat >>conftest.
$ac_ext <<_ACEOF
30102 /* end confdefs.h. */
30117 rm -f conftest.
$ac_objext
30118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30119 (eval $ac_compile) 2>&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } &&
30123 { ac_try
='test -s conftest.$ac_objext'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; }; then
30130 wx_cv_var_timezone
=timezone
30133 echo "$as_me: failed program was:" >&5
30134 sed 's/^/| /' conftest.
$ac_ext >&5
30137 cat >conftest.
$ac_ext <<_ACEOF
30138 #line $LINENO "configure"
30141 cat confdefs.h
>>conftest.
$ac_ext
30142 cat >>conftest.
$ac_ext <<_ACEOF
30143 /* end confdefs.h. */
30158 rm -f conftest.
$ac_objext
30159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30160 (eval $ac_compile) 2>&5
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); } &&
30164 { ac_try
='test -s conftest.$ac_objext'
30165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30166 (eval $ac_try) 2>&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); }; }; then
30171 wx_cv_var_timezone
=_timezone
30174 echo "$as_me: failed program was:" >&5
30175 sed 's/^/| /' conftest.
$ac_ext >&5
30178 cat >conftest.
$ac_ext <<_ACEOF
30179 #line $LINENO "configure"
30182 cat confdefs.h
>>conftest.
$ac_ext
30183 cat >>conftest.
$ac_ext <<_ACEOF
30184 /* end confdefs.h. */
30199 rm -f conftest.
$ac_objext
30200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30201 (eval $ac_compile) 2>&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } &&
30205 { ac_try
='test -s conftest.$ac_objext'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }; then
30212 wx_cv_var_timezone
=__timezone
30215 echo "$as_me: failed program was:" >&5
30216 sed 's/^/| /' conftest.
$ac_ext >&5
30219 if test "$USE_DOS" = 0 ; then
30220 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30221 echo "$as_me: WARNING: no timezone variable" >&2;}
30226 rm -f conftest.
$ac_objext conftest.
$ac_ext
30230 rm -f conftest.
$ac_objext conftest.
$ac_ext
30234 rm -f conftest.
$ac_objext conftest.
$ac_ext
30238 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30239 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30241 if test "x$wx_cv_var_timezone" != x
; then
30242 cat >>confdefs.h
<<_ACEOF
30243 #define WX_TIMEZONE $wx_cv_var_timezone
30249 for ac_func
in localtime
30251 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30252 echo "$as_me:$LINENO: checking for $ac_func" >&5
30253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30254 if eval "test \"\${$as_ac_var+set}\" = set"; then
30255 echo $ECHO_N "(cached) $ECHO_C" >&6
30257 cat >conftest.
$ac_ext <<_ACEOF
30258 #line $LINENO "configure"
30261 cat confdefs.h
>>conftest.
$ac_ext
30262 cat >>conftest.
$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264 /* System header to define __stub macros and hopefully few prototypes,
30265 which can conflict with char $ac_func (); below.
30266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30267 <limits.h> exists even on freestanding compilers. */
30269 # include <limits.h>
30271 # include <assert.h>
30273 /* Override any gcc2 internal prototype to avoid an error. */
30278 /* We use char because int might match the return type of a gcc2
30279 builtin and then its argument prototype would still apply. */
30281 /* The GNU C library defines this for functions which it implements
30282 to always fail with ENOSYS. Some functions are actually named
30283 something starting with __ and the normal name is an alias. */
30284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30287 char (*f) () = $ac_func;
30296 return f != $ac_func;
30301 rm -f conftest.
$ac_objext conftest
$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>&5
30305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306 (exit $ac_status); } &&
30307 { ac_try
='test -s conftest$ac_exeext'
30308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30309 (eval $ac_try) 2>&5
30311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30312 (exit $ac_status); }; }; then
30313 eval "$as_ac_var=yes"
30315 echo "$as_me: failed program was:" >&5
30316 sed 's/^/| /' conftest.
$ac_ext >&5
30318 eval "$as_ac_var=no"
30320 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30324 if test `eval echo '${'$as_ac_var'}'` = yes; then
30325 cat >>confdefs.h
<<_ACEOF
30326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30333 if test "$ac_cv_func_localtime" = "yes"; then
30334 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30335 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30336 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30337 echo $ECHO_N "(cached) $ECHO_C" >&6
30340 cat >conftest.
$ac_ext <<_ACEOF
30341 #line $LINENO "configure"
30344 cat confdefs.h
>>conftest.
$ac_ext
30345 cat >>conftest.
$ac_ext <<_ACEOF
30346 /* end confdefs.h. */
30361 rm -f conftest.
$ac_objext
30362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30363 (eval $ac_compile) 2>&5
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); } &&
30367 { ac_try
='test -s conftest.$ac_objext'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; }; then
30374 wx_cv_struct_tm_has_gmtoff
=yes
30377 echo "$as_me: failed program was:" >&5
30378 sed 's/^/| /' conftest.
$ac_ext >&5
30380 wx_cv_struct_tm_has_gmtoff
=no
30383 rm -f conftest.
$ac_objext conftest.
$ac_ext
30386 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30387 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30390 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30391 cat >>confdefs.h
<<\_ACEOF
30392 #define WX_GMTOFF_IN_TM 1
30399 for ac_func
in gettimeofday ftime
30401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30402 echo "$as_me:$LINENO: checking for $ac_func" >&5
30403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30404 if eval "test \"\${$as_ac_var+set}\" = set"; then
30405 echo $ECHO_N "(cached) $ECHO_C" >&6
30407 cat >conftest.
$ac_ext <<_ACEOF
30408 #line $LINENO "configure"
30411 cat confdefs.h
>>conftest.
$ac_ext
30412 cat >>conftest.
$ac_ext <<_ACEOF
30413 /* end confdefs.h. */
30414 /* System header to define __stub macros and hopefully few prototypes,
30415 which can conflict with char $ac_func (); below.
30416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30417 <limits.h> exists even on freestanding compilers. */
30419 # include <limits.h>
30421 # include <assert.h>
30423 /* Override any gcc2 internal prototype to avoid an error. */
30428 /* We use char because int might match the return type of a gcc2
30429 builtin and then its argument prototype would still apply. */
30431 /* The GNU C library defines this for functions which it implements
30432 to always fail with ENOSYS. Some functions are actually named
30433 something starting with __ and the normal name is an alias. */
30434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30437 char (*f) () = $ac_func;
30446 return f != $ac_func;
30451 rm -f conftest.
$ac_objext conftest
$ac_exeext
30452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30453 (eval $ac_link) 2>&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); } &&
30457 { ac_try
='test -s conftest$ac_exeext'
30458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30459 (eval $ac_try) 2>&5
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }; }; then
30463 eval "$as_ac_var=yes"
30465 echo "$as_me: failed program was:" >&5
30466 sed 's/^/| /' conftest.
$ac_ext >&5
30468 eval "$as_ac_var=no"
30470 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30474 if test `eval echo '${'$as_ac_var'}'` = yes; then
30475 cat >>confdefs.h
<<_ACEOF
30476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30483 if test "$ac_cv_func_gettimeofday" = "yes"; then
30484 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30485 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30486 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30493 ac_cpp
='$CXXCPP $CPPFLAGS'
30494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30499 cat >conftest.
$ac_ext <<_ACEOF
30500 #line $LINENO "configure"
30503 cat confdefs.h
>>conftest.
$ac_ext
30504 cat >>conftest.
$ac_ext <<_ACEOF
30505 /* end confdefs.h. */
30507 #include <sys/time.h>
30508 #include <unistd.h>
30515 gettimeofday(&tv, NULL);
30521 rm -f conftest.
$ac_objext
30522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30523 (eval $ac_compile) 2>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); } &&
30527 { ac_try
='test -s conftest.$ac_objext'
30528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529 (eval $ac_try) 2>&5
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); }; }; then
30533 wx_cv_func_gettimeofday_has_2_args
=yes
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.
$ac_ext >&5
30538 cat >conftest.
$ac_ext <<_ACEOF
30539 #line $LINENO "configure"
30542 cat confdefs.h
>>conftest.
$ac_ext
30543 cat >>conftest.
$ac_ext <<_ACEOF
30544 /* end confdefs.h. */
30546 #include <sys/time.h>
30547 #include <unistd.h>
30560 rm -f conftest.
$ac_objext
30561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30562 (eval $ac_compile) 2>&5
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); } &&
30566 { ac_try
='test -s conftest.$ac_objext'
30567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30568 (eval $ac_try) 2>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; }; then
30572 wx_cv_func_gettimeofday_has_2_args
=no
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.
$ac_ext >&5
30578 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30579 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30580 wx_cv_func_gettimeofday_has_2_args
=unknown
30584 rm -f conftest.
$ac_objext conftest.
$ac_ext
30587 rm -f conftest.
$ac_objext conftest.
$ac_ext
30589 ac_cpp
='$CPP $CPPFLAGS'
30590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30596 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30597 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30599 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30600 cat >>confdefs.h
<<\_ACEOF
30601 #define WX_GETTIMEOFDAY_NO_TZ 1
30607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30611 if test "$wxUSE_SOCKETS" = "yes"; then
30612 if test "$wxUSE_MGL" = "1"; then
30613 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30614 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30619 if test "$wxUSE_SOCKETS" = "yes"; then
30620 if test "$TOOLKIT" != "MSW"; then
30621 echo "$as_me:$LINENO: checking for socket" >&5
30622 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30623 if test "${ac_cv_func_socket+set}" = set; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30626 cat >conftest.
$ac_ext <<_ACEOF
30627 #line $LINENO "configure"
30630 cat confdefs.h
>>conftest.
$ac_ext
30631 cat >>conftest.
$ac_ext <<_ACEOF
30632 /* end confdefs.h. */
30633 /* System header to define __stub macros and hopefully few prototypes,
30634 which can conflict with char socket (); below.
30635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30636 <limits.h> exists even on freestanding compilers. */
30638 # include <limits.h>
30640 # include <assert.h>
30642 /* Override any gcc2 internal prototype to avoid an error. */
30647 /* We use char because int might match the return type of a gcc2
30648 builtin and then its argument prototype would still apply. */
30650 /* The GNU C library defines this for functions which it implements
30651 to always fail with ENOSYS. Some functions are actually named
30652 something starting with __ and the normal name is an alias. */
30653 #if defined (__stub_socket) || defined (__stub___socket)
30656 char (*f) () = socket;
30665 return f != socket;
30670 rm -f conftest.
$ac_objext conftest
$ac_exeext
30671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30672 (eval $ac_link) 2>&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); } &&
30676 { ac_try
='test -s conftest$ac_exeext'
30677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; }; then
30682 ac_cv_func_socket
=yes
30684 echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.
$ac_ext >&5
30687 ac_cv_func_socket
=no
30689 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30691 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30692 echo "${ECHO_T}$ac_cv_func_socket" >&6
30693 if test $ac_cv_func_socket = yes; then
30696 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30697 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30698 if test "${ac_cv_lib_socket_socket+set}" = set; then
30699 echo $ECHO_N "(cached) $ECHO_C" >&6
30701 ac_check_lib_save_LIBS
=$LIBS
30702 LIBS
="-lsocket $LIBS"
30703 cat >conftest.
$ac_ext <<_ACEOF
30704 #line $LINENO "configure"
30707 cat confdefs.h
>>conftest.
$ac_ext
30708 cat >>conftest.
$ac_ext <<_ACEOF
30709 /* end confdefs.h. */
30711 /* Override any gcc2 internal prototype to avoid an error. */
30715 /* We use char because int might match the return type of a gcc2
30716 builtin and then its argument prototype would still apply. */
30726 rm -f conftest.
$ac_objext conftest
$ac_exeext
30727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30728 (eval $ac_link) 2>&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } &&
30732 { ac_try
='test -s conftest$ac_exeext'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; }; then
30738 ac_cv_lib_socket_socket
=yes
30740 echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.
$ac_ext >&5
30743 ac_cv_lib_socket_socket
=no
30745 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30746 LIBS
=$ac_check_lib_save_LIBS
30748 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30749 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30750 if test $ac_cv_lib_socket_socket = yes; then
30751 if test "$INET_LINK" != " -lsocket"; then
30752 INET_LINK
="$INET_LINK -lsocket"
30756 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30757 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30769 if test "$wxUSE_SOCKETS" = "yes" ; then
30770 if test "$TOOLKIT" != "MSW"; then
30771 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30772 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30773 if test "${wx_cv_type_getsockname3+set}" = set; then
30774 echo $ECHO_N "(cached) $ECHO_C" >&6
30777 cat >conftest.
$ac_ext <<_ACEOF
30778 #line $LINENO "configure"
30781 cat confdefs.h
>>conftest.
$ac_ext
30782 cat >>conftest.
$ac_ext <<_ACEOF
30783 /* end confdefs.h. */
30785 #include <sys/types.h>
30786 #include <sys/socket.h>
30793 getsockname(0, 0, &len);
30799 rm -f conftest.
$ac_objext
30800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30801 (eval $ac_compile) 2>&5
30803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30804 (exit $ac_status); } &&
30805 { ac_try
='test -s conftest.$ac_objext'
30806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30807 (eval $ac_try) 2>&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); }; }; then
30811 wx_cv_type_getsockname3
=socklen_t
30813 echo "$as_me: failed program was:" >&5
30814 sed 's/^/| /' conftest.
$ac_ext >&5
30817 CFLAGS_OLD
="$CFLAGS"
30818 if test "$GCC" = yes ; then
30819 CFLAGS
="$CFLAGS -Werror"
30822 cat >conftest.
$ac_ext <<_ACEOF
30823 #line $LINENO "configure"
30826 cat confdefs.h
>>conftest.
$ac_ext
30827 cat >>conftest.
$ac_ext <<_ACEOF
30828 /* end confdefs.h. */
30830 #include <sys/types.h>
30831 #include <sys/socket.h>
30838 getsockname(0, 0, &len);
30844 rm -f conftest.
$ac_objext
30845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30846 (eval $ac_compile) 2>&5
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try
='test -s conftest.$ac_objext'
30851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30852 (eval $ac_try) 2>&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); }; }; then
30856 wx_cv_type_getsockname3
=size_t
30858 echo "$as_me: failed program was:" >&5
30859 sed 's/^/| /' conftest.
$ac_ext >&5
30861 cat >conftest.
$ac_ext <<_ACEOF
30862 #line $LINENO "configure"
30865 cat confdefs.h
>>conftest.
$ac_ext
30866 cat >>conftest.
$ac_ext <<_ACEOF
30867 /* end confdefs.h. */
30869 #include <sys/types.h>
30870 #include <sys/socket.h>
30877 getsockname(0, 0, &len);
30883 rm -f conftest.
$ac_objext
30884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30885 (eval $ac_compile) 2>&5
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); } &&
30889 { ac_try
='test -s conftest.$ac_objext'
30890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30891 (eval $ac_try) 2>&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); }; }; then
30895 wx_cv_type_getsockname3
=int
30897 echo "$as_me: failed program was:" >&5
30898 sed 's/^/| /' conftest.
$ac_ext >&5
30900 wx_cv_type_getsockname3
=unknown
30903 rm -f conftest.
$ac_objext conftest.
$ac_ext
30906 rm -f conftest.
$ac_objext conftest.
$ac_ext
30908 CFLAGS
="$CFLAGS_OLD"
30912 rm -f conftest.
$ac_objext conftest.
$ac_ext
30915 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
30916 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
30918 if test "$wx_cv_type_getsockname3" = "unknown"; then
30920 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
30921 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
30923 cat >>confdefs.h
<<_ACEOF
30924 #define SOCKLEN_T $wx_cv_type_getsockname3
30931 if test "$wxUSE_SOCKETS" = "yes" ; then
30932 cat >>confdefs.h
<<\_ACEOF
30933 #define wxUSE_SOCKETS 1
30936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
30940 if test "$wxUSE_GUI" = "yes"; then
30942 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
30943 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
30944 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
30947 if test "$TOOLKIT" = "MOTIF"; then
30948 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
30949 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
30952 if test "$TOOLKIT" = "X11"; then
30953 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
30954 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
30958 if test "$TOOLKIT" != "MSW"; then
30959 if test "$wxUSE_JOYSTICK" = "yes"; then
30961 for ac_header
in linux
/joystick.h
30963 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30965 echo "$as_me:$LINENO: checking for $ac_header" >&5
30966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30968 echo $ECHO_N "(cached) $ECHO_C" >&6
30970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30973 # Is the header compilable?
30974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30976 cat >conftest.
$ac_ext <<_ACEOF
30977 #line $LINENO "configure"
30980 cat confdefs.h
>>conftest.
$ac_ext
30981 cat >>conftest.
$ac_ext <<_ACEOF
30982 /* end confdefs.h. */
30983 $ac_includes_default
30984 #include <$ac_header>
30986 rm -f conftest.
$ac_objext
30987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30988 (eval $ac_compile) 2>&5
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); } &&
30992 { ac_try
='test -s conftest.$ac_objext'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; }; then
30998 ac_header_compiler
=yes
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.
$ac_ext >&5
31003 ac_header_compiler
=no
31005 rm -f conftest.
$ac_objext conftest.
$ac_ext
31006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31007 echo "${ECHO_T}$ac_header_compiler" >&6
31009 # Is the header present?
31010 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31012 cat >conftest.
$ac_ext <<_ACEOF
31013 #line $LINENO "configure"
31016 cat confdefs.h
>>conftest.
$ac_ext
31017 cat >>conftest.
$ac_ext <<_ACEOF
31018 /* end confdefs.h. */
31019 #include <$ac_header>
31021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31024 grep -v '^ *+' conftest.er1
>conftest.err
31026 cat conftest.err
>&5
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); } >/dev
/null
; then
31029 if test -s conftest.err
; then
31030 ac_cpp_err
=$ac_c_preproc_warn_flag
31037 if test -z "$ac_cpp_err"; then
31038 ac_header_preproc
=yes
31040 echo "$as_me: failed program was:" >&5
31041 sed 's/^/| /' conftest.
$ac_ext >&5
31043 ac_header_preproc
=no
31045 rm -f conftest.err conftest.
$ac_ext
31046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31047 echo "${ECHO_T}$ac_header_preproc" >&6
31049 # So? What about this header?
31050 case $ac_header_compiler:$ac_header_preproc in
31052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31058 ## ------------------------------------ ##
31059 ## Report this to bug-autoconf@gnu.org. ##
31060 ## ------------------------------------ ##
31063 sed "s/^/$as_me: WARNING: /" >&2
31066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31067 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31069 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31074 ## ------------------------------------ ##
31075 ## Report this to bug-autoconf@gnu.org. ##
31076 ## ------------------------------------ ##
31079 sed "s/^/$as_me: WARNING: /" >&2
31082 echo "$as_me:$LINENO: checking for $ac_header" >&5
31083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31085 echo $ECHO_N "(cached) $ECHO_C" >&6
31087 eval "$as_ac_Header=$ac_header_preproc"
31089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31094 cat >>confdefs.h
<<_ACEOF
31095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31102 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31104 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31105 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31110 if test "$wxUSE_JOYSTICK" = "yes"; then
31111 cat >>confdefs.h
<<\_ACEOF
31112 #define wxUSE_JOYSTICK 1
31115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31120 if test "$TOOLKIT" != "MSW"; then
31124 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31125 if test "$USE_DARWIN" = 1; then
31129 for ac_func
in dlopen
31131 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31132 echo "$as_me:$LINENO: checking for $ac_func" >&5
31133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31134 if eval "test \"\${$as_ac_var+set}\" = set"; then
31135 echo $ECHO_N "(cached) $ECHO_C" >&6
31137 cat >conftest.
$ac_ext <<_ACEOF
31138 #line $LINENO "configure"
31141 cat confdefs.h
>>conftest.
$ac_ext
31142 cat >>conftest.
$ac_ext <<_ACEOF
31143 /* end confdefs.h. */
31144 /* System header to define __stub macros and hopefully few prototypes,
31145 which can conflict with char $ac_func (); below.
31146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31147 <limits.h> exists even on freestanding compilers. */
31149 # include <limits.h>
31151 # include <assert.h>
31153 /* Override any gcc2 internal prototype to avoid an error. */
31158 /* We use char because int might match the return type of a gcc2
31159 builtin and then its argument prototype would still apply. */
31161 /* The GNU C library defines this for functions which it implements
31162 to always fail with ENOSYS. Some functions are actually named
31163 something starting with __ and the normal name is an alias. */
31164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31167 char (*f) () = $ac_func;
31176 return f != $ac_func;
31181 rm -f conftest.
$ac_objext conftest
$ac_exeext
31182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31183 (eval $ac_link) 2>&5
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); } &&
31187 { ac_try
='test -s conftest$ac_exeext'
31188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31189 (eval $ac_try) 2>&5
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); }; }; then
31193 eval "$as_ac_var=yes"
31195 echo "$as_me: failed program was:" >&5
31196 sed 's/^/| /' conftest.
$ac_ext >&5
31198 eval "$as_ac_var=no"
31200 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31204 if test `eval echo '${'$as_ac_var'}'` = yes; then
31205 cat >>confdefs.h
<<_ACEOF
31206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31209 cat >>confdefs.h
<<\_ACEOF
31210 #define HAVE_DLOPEN 1
31217 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31218 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31219 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31220 echo $ECHO_N "(cached) $ECHO_C" >&6
31222 ac_check_lib_save_LIBS
=$LIBS
31224 cat >conftest.
$ac_ext <<_ACEOF
31225 #line $LINENO "configure"
31228 cat confdefs.h
>>conftest.
$ac_ext
31229 cat >>conftest.
$ac_ext <<_ACEOF
31230 /* end confdefs.h. */
31232 /* Override any gcc2 internal prototype to avoid an error. */
31236 /* We use char because int might match the return type of a gcc2
31237 builtin and then its argument prototype would still apply. */
31247 rm -f conftest.
$ac_objext conftest
$ac_exeext
31248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31249 (eval $ac_link) 2>&5
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); } &&
31253 { ac_try
='test -s conftest$ac_exeext'
31254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31255 (eval $ac_try) 2>&5
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); }; }; then
31259 ac_cv_lib_dl_dlopen
=yes
31261 echo "$as_me: failed program was:" >&5
31262 sed 's/^/| /' conftest.
$ac_ext >&5
31264 ac_cv_lib_dl_dlopen
=no
31266 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31267 LIBS
=$ac_check_lib_save_LIBS
31269 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31270 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31271 if test $ac_cv_lib_dl_dlopen = yes; then
31273 cat >>confdefs.h
<<\_ACEOF
31274 #define HAVE_DLOPEN 1
31278 DL_LINK
=" -ldl$DL_LINK"
31283 for ac_func
in shl_load
31285 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31286 echo "$as_me:$LINENO: checking for $ac_func" >&5
31287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31288 if eval "test \"\${$as_ac_var+set}\" = set"; then
31289 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 cat >conftest.
$ac_ext <<_ACEOF
31292 #line $LINENO "configure"
31295 cat confdefs.h
>>conftest.
$ac_ext
31296 cat >>conftest.
$ac_ext <<_ACEOF
31297 /* end confdefs.h. */
31298 /* System header to define __stub macros and hopefully few prototypes,
31299 which can conflict with char $ac_func (); below.
31300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31301 <limits.h> exists even on freestanding compilers. */
31303 # include <limits.h>
31305 # include <assert.h>
31307 /* Override any gcc2 internal prototype to avoid an error. */
31312 /* We use char because int might match the return type of a gcc2
31313 builtin and then its argument prototype would still apply. */
31315 /* The GNU C library defines this for functions which it implements
31316 to always fail with ENOSYS. Some functions are actually named
31317 something starting with __ and the normal name is an alias. */
31318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31321 char (*f) () = $ac_func;
31330 return f != $ac_func;
31335 rm -f conftest.
$ac_objext conftest
$ac_exeext
31336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31337 (eval $ac_link) 2>&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); } &&
31341 { ac_try
='test -s conftest$ac_exeext'
31342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343 (eval $ac_try) 2>&5
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); }; }; then
31347 eval "$as_ac_var=yes"
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.
$ac_ext >&5
31352 eval "$as_ac_var=no"
31354 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31358 if test `eval echo '${'$as_ac_var'}'` = yes; then
31359 cat >>confdefs.h
<<_ACEOF
31360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31363 cat >>confdefs.h
<<\_ACEOF
31364 #define HAVE_SHL_LOAD 1
31371 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31372 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31373 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31374 echo $ECHO_N "(cached) $ECHO_C" >&6
31376 ac_check_lib_save_LIBS
=$LIBS
31377 LIBS
="-lshl_load $LIBS"
31378 cat >conftest.
$ac_ext <<_ACEOF
31379 #line $LINENO "configure"
31382 cat confdefs.h
>>conftest.
$ac_ext
31383 cat >>conftest.
$ac_ext <<_ACEOF
31384 /* end confdefs.h. */
31386 /* Override any gcc2 internal prototype to avoid an error. */
31390 /* We use char because int might match the return type of a gcc2
31391 builtin and then its argument prototype would still apply. */
31401 rm -f conftest.
$ac_objext conftest
$ac_exeext
31402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31403 (eval $ac_link) 2>&5
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); } &&
31407 { ac_try
='test -s conftest$ac_exeext'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; }; then
31413 ac_cv_lib_shl_load_dld
=yes
31415 echo "$as_me: failed program was:" >&5
31416 sed 's/^/| /' conftest.
$ac_ext >&5
31418 ac_cv_lib_shl_load_dld
=no
31420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31421 LIBS
=$ac_check_lib_save_LIBS
31423 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31424 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31425 if test $ac_cv_lib_shl_load_dld = yes; then
31428 DL_LINK
=" -ldld$DL_LINK"
31444 if test "$HAVE_DL_FUNCS" = 1; then
31446 for ac_func
in dlerror
31448 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31449 echo "$as_me:$LINENO: checking for $ac_func" >&5
31450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31451 if eval "test \"\${$as_ac_var+set}\" = set"; then
31452 echo $ECHO_N "(cached) $ECHO_C" >&6
31454 cat >conftest.
$ac_ext <<_ACEOF
31455 #line $LINENO "configure"
31458 cat confdefs.h
>>conftest.
$ac_ext
31459 cat >>conftest.
$ac_ext <<_ACEOF
31460 /* end confdefs.h. */
31461 /* System header to define __stub macros and hopefully few prototypes,
31462 which can conflict with char $ac_func (); below.
31463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31464 <limits.h> exists even on freestanding compilers. */
31466 # include <limits.h>
31468 # include <assert.h>
31470 /* Override any gcc2 internal prototype to avoid an error. */
31475 /* We use char because int might match the return type of a gcc2
31476 builtin and then its argument prototype would still apply. */
31478 /* The GNU C library defines this for functions which it implements
31479 to always fail with ENOSYS. Some functions are actually named
31480 something starting with __ and the normal name is an alias. */
31481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31484 char (*f) () = $ac_func;
31493 return f != $ac_func;
31498 rm -f conftest.
$ac_objext conftest
$ac_exeext
31499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31500 (eval $ac_link) 2>&5
31502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31503 (exit $ac_status); } &&
31504 { ac_try
='test -s conftest$ac_exeext'
31505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31506 (eval $ac_try) 2>&5
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); }; }; then
31510 eval "$as_ac_var=yes"
31512 echo "$as_me: failed program was:" >&5
31513 sed 's/^/| /' conftest.
$ac_ext >&5
31515 eval "$as_ac_var=no"
31517 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31521 if test `eval echo '${'$as_ac_var'}'` = yes; then
31522 cat >>confdefs.h
<<_ACEOF
31523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31525 cat >>confdefs.h
<<\_ACEOF
31526 #define HAVE_DLERROR 1
31530 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31531 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31532 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31533 echo $ECHO_N "(cached) $ECHO_C" >&6
31535 ac_check_lib_save_LIBS
=$LIBS
31537 cat >conftest.
$ac_ext <<_ACEOF
31538 #line $LINENO "configure"
31541 cat confdefs.h
>>conftest.
$ac_ext
31542 cat >>conftest.
$ac_ext <<_ACEOF
31543 /* end confdefs.h. */
31545 /* Override any gcc2 internal prototype to avoid an error. */
31549 /* We use char because int might match the return type of a gcc2
31550 builtin and then its argument prototype would still apply. */
31560 rm -f conftest.
$ac_objext conftest
$ac_exeext
31561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31562 (eval $ac_link) 2>&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } &&
31566 { ac_try
='test -s conftest$ac_exeext'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; }; then
31572 ac_cv_lib_dl_dlerror
=yes
31574 echo "$as_me: failed program was:" >&5
31575 sed 's/^/| /' conftest.
$ac_ext >&5
31577 ac_cv_lib_dl_dlerror
=no
31579 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31580 LIBS
=$ac_check_lib_save_LIBS
31582 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31583 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31584 if test $ac_cv_lib_dl_dlerror = yes; then
31585 cat >>confdefs.h
<<\_ACEOF
31586 #define HAVE_DLERROR 1
31597 if test "$HAVE_DL_FUNCS" = 0; then
31598 if test "$HAVE_SHL_FUNCS" = 0; then
31599 if test "$USE_UNIX" = 1; then
31600 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31601 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31602 wxUSE_DYNAMIC_LOADER
=no
31603 wxUSE_DYNLIB_CLASS
=no
31605 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31606 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31613 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31614 cat >>confdefs.h
<<\_ACEOF
31615 #define wxUSE_DYNAMIC_LOADER 1
31618 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31619 cat >>confdefs.h
<<\_ACEOF
31620 #define wxUSE_DYNLIB_CLASS 1
31626 if test "$wxUSE_FONTMAP" = "yes" ; then
31627 cat >>confdefs.h
<<\_ACEOF
31628 #define wxUSE_FONTMAP 1
31633 if test "$wxUSE_UNICODE" = "yes" ; then
31634 cat >>confdefs.h
<<\_ACEOF
31635 #define wxUSE_UNICODE 1
31639 if test "$wxUSE_MSW" != 1; then
31640 wxUSE_UNICODE_MSLU
=no
31643 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31644 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31645 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31646 if test "${ac_cv_lib_unicows_main+set}" = set; then
31647 echo $ECHO_N "(cached) $ECHO_C" >&6
31649 ac_check_lib_save_LIBS
=$LIBS
31650 LIBS
="-lunicows $LIBS"
31651 cat >conftest.
$ac_ext <<_ACEOF
31652 #line $LINENO "configure"
31655 cat confdefs.h
>>conftest.
$ac_ext
31656 cat >>conftest.
$ac_ext <<_ACEOF
31657 /* end confdefs.h. */
31668 rm -f conftest.
$ac_objext conftest
$ac_exeext
31669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31670 (eval $ac_link) 2>&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); } &&
31674 { ac_try
='test -s conftest$ac_exeext'
31675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31676 (eval $ac_try) 2>&5
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); }; }; then
31680 ac_cv_lib_unicows_main
=yes
31682 echo "$as_me: failed program was:" >&5
31683 sed 's/^/| /' conftest.
$ac_ext >&5
31685 ac_cv_lib_unicows_main
=no
31687 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31688 LIBS
=$ac_check_lib_save_LIBS
31690 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31691 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31692 if test $ac_cv_lib_unicows_main = yes; then
31694 cat >>confdefs.h
<<\_ACEOF
31695 #define wxUSE_UNICODE_MSLU 1
31701 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31702 Applications will only run on Windows NT/2000/XP!" >&5
31703 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31704 Applications will only run on Windows NT/2000/XP!" >&2;}
31705 wxUSE_UNICODE_MSLU
=no
31712 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31713 cat >>confdefs.h
<<\_ACEOF
31714 #define wxUSE_EXPERIMENTAL_PRINTF 1
31720 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31721 cat >>confdefs.h
<<\_ACEOF
31722 #define wxUSE_POSTSCRIPT 1
31727 cat >>confdefs.h
<<\_ACEOF
31728 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31732 cat >>confdefs.h
<<\_ACEOF
31733 #define wxUSE_NORMALIZED_PS_FONTS 1
31738 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31739 cat >>confdefs.h
<<\_ACEOF
31740 #define wxUSE_CONSTRAINTS 1
31743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
31746 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31749 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31750 cat >>confdefs.h
<<\_ACEOF
31751 #define wxUSE_MDI_ARCHITECTURE 1
31754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
31758 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31759 cat >>confdefs.h
<<\_ACEOF
31760 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
31764 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
31769 if test "$wxUSE_HELP" = "yes"; then
31770 cat >>confdefs.h
<<\_ACEOF
31771 #define wxUSE_HELP 1
31774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
31776 if test "$wxUSE_MSW" = 1; then
31777 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31778 cat >>confdefs.h
<<\_ACEOF
31779 #define wxUSE_MS_HTML_HELP 1
31785 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31786 if test "$wxUSE_HTML" = "yes"; then
31787 cat >>confdefs.h
<<\_ACEOF
31788 #define wxUSE_WXHTML_HELP 1
31792 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31793 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31794 wxUSE_WXHTML_HELP
=no
31799 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31800 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31801 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31802 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31804 cat >>confdefs.h
<<\_ACEOF
31805 #define wxUSE_PRINTING_ARCHITECTURE 1
31809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
31812 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31813 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31814 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31815 { (exit 1); exit 1; }; }
31819 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
31820 -o "$wxUSE_CLIPBOARD" = "yes" \
31821 -o "$wxUSE_OLE" = "yes" \
31822 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
31824 for ac_header
in ole2.h
31826 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31828 echo "$as_me:$LINENO: checking for $ac_header" >&5
31829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31831 echo $ECHO_N "(cached) $ECHO_C" >&6
31833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31836 # Is the header compilable?
31837 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31838 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31839 cat >conftest.
$ac_ext <<_ACEOF
31840 #line $LINENO "configure"
31843 cat confdefs.h
>>conftest.
$ac_ext
31844 cat >>conftest.
$ac_ext <<_ACEOF
31845 /* end confdefs.h. */
31846 $ac_includes_default
31847 #include <$ac_header>
31849 rm -f conftest.
$ac_objext
31850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31851 (eval $ac_compile) 2>&5
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); } &&
31855 { ac_try
='test -s conftest.$ac_objext'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; }; then
31861 ac_header_compiler
=yes
31863 echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.
$ac_ext >&5
31866 ac_header_compiler
=no
31868 rm -f conftest.
$ac_objext conftest.
$ac_ext
31869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31870 echo "${ECHO_T}$ac_header_compiler" >&6
31872 # Is the header present?
31873 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31875 cat >conftest.
$ac_ext <<_ACEOF
31876 #line $LINENO "configure"
31879 cat confdefs.h
>>conftest.
$ac_ext
31880 cat >>conftest.
$ac_ext <<_ACEOF
31881 /* end confdefs.h. */
31882 #include <$ac_header>
31884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31885 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31887 grep -v '^ *+' conftest.er1
>conftest.err
31889 cat conftest.err
>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } >/dev
/null
; then
31892 if test -s conftest.err
; then
31893 ac_cpp_err
=$ac_c_preproc_warn_flag
31900 if test -z "$ac_cpp_err"; then
31901 ac_header_preproc
=yes
31903 echo "$as_me: failed program was:" >&5
31904 sed 's/^/| /' conftest.
$ac_ext >&5
31906 ac_header_preproc
=no
31908 rm -f conftest.err conftest.
$ac_ext
31909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31910 echo "${ECHO_T}$ac_header_preproc" >&6
31912 # So? What about this header?
31913 case $ac_header_compiler:$ac_header_preproc in
31915 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31921 ## ------------------------------------ ##
31922 ## Report this to bug-autoconf@gnu.org. ##
31923 ## ------------------------------------ ##
31926 sed "s/^/$as_me: WARNING: /" >&2
31929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31937 ## ------------------------------------ ##
31938 ## Report this to bug-autoconf@gnu.org. ##
31939 ## ------------------------------------ ##
31942 sed "s/^/$as_me: WARNING: /" >&2
31945 echo "$as_me:$LINENO: checking for $ac_header" >&5
31946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31948 echo $ECHO_N "(cached) $ECHO_C" >&6
31950 eval "$as_ac_Header=$ac_header_preproc"
31952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31957 cat >>confdefs.h
<<_ACEOF
31958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31966 if test "$ac_cv_header_ole2_h" = "yes" ; then
31967 if test "$GCC" = yes ; then
31971 ac_cpp
='$CXXCPP $CPPFLAGS'
31972 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31973 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31974 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31977 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
31978 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
31979 cat >conftest.
$ac_ext <<_ACEOF
31980 #line $LINENO "configure"
31983 cat confdefs.h
>>conftest.
$ac_ext
31984 cat >>conftest.
$ac_ext <<_ACEOF
31985 /* end confdefs.h. */
31986 #include <windows.h>
31996 rm -f conftest.
$ac_objext
31997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998 (eval $ac_compile) 2>&5
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); } &&
32002 { ac_try
='test -s conftest.$ac_objext'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; }; then
32008 echo "$as_me:$LINENO: result: no" >&5
32009 echo "${ECHO_T}no" >&6
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.
$ac_ext >&5
32014 echo "$as_me:$LINENO: result: yes" >&5
32015 echo "${ECHO_T}yes" >&6
32016 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32018 rm -f conftest.
$ac_objext conftest.
$ac_ext
32020 ac_cpp
='$CPP $CPPFLAGS'
32021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32025 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32026 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32027 cat >>confdefs.h
<<\_ACEOF
32028 #define wxUSE_OLE 1
32034 cat >>confdefs.h
<<\_ACEOF
32035 #define wxUSE_DATAOBJ 1
32039 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32040 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32043 wxUSE_DRAG_AND_DROP
=no
32048 if test "$wxUSE_METAFILE" = "yes"; then
32049 cat >>confdefs.h
<<\_ACEOF
32050 #define wxUSE_METAFILE 1
32054 cat >>confdefs.h
<<\_ACEOF
32055 #define wxUSE_ENH_METAFILE 1
32061 if test "$wxUSE_IPC" = "yes"; then
32062 if test "$wxUSE_SOCKETS" != "yes"; then
32063 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32064 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32067 cat >>confdefs.h
<<\_ACEOF
32068 #define wxUSE_IPC 1
32073 if test "$wxUSE_CLIPBOARD" = "yes"; then
32074 if test "$wxUSE_MGL" = 1; then
32075 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32076 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32080 if test "$wxUSE_CLIPBOARD" = "yes"; then
32081 cat >>confdefs.h
<<\_ACEOF
32082 #define wxUSE_CLIPBOARD 1
32086 cat >>confdefs.h
<<\_ACEOF
32087 #define wxUSE_DATAOBJ 1
32093 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32094 if test "$wxUSE_GTK" = 1; then
32095 if test "$WXGTK12" != 1; then
32096 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32097 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32098 wxUSE_DRAG_AND_DROP
=no
32102 if test "$wxUSE_MOTIF" = 1; then
32103 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32104 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32105 wxUSE_DRAG_AND_DROP
=no
32108 if test "$wxUSE_X11" = 1; then
32109 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32110 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32111 wxUSE_DRAG_AND_DROP
=no
32114 if test "$wxUSE_MGL" = 1; then
32115 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32116 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32117 wxUSE_DRAG_AND_DROP
=no
32120 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32121 cat >>confdefs.h
<<\_ACEOF
32122 #define wxUSE_DRAG_AND_DROP 1
32125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32130 if test "$wxUSE_SPLINES" = "yes" ; then
32131 cat >>confdefs.h
<<\_ACEOF
32132 #define wxUSE_SPLINES 1
32139 if test "$wxUSE_CONTROLS" = "yes"; then
32143 if test "$wxUSE_ACCEL" = "yes"; then
32144 cat >>confdefs.h
<<\_ACEOF
32145 #define wxUSE_ACCEL 1
32151 if test "$wxUSE_BUTTON" = "yes"; then
32152 cat >>confdefs.h
<<\_ACEOF
32153 #define wxUSE_BUTTON 1
32159 if test "$wxUSE_BMPBUTTON" = "yes"; then
32160 cat >>confdefs.h
<<\_ACEOF
32161 #define wxUSE_BMPBUTTON 1
32167 if test "$wxUSE_CALCTRL" = "yes"; then
32168 cat >>confdefs.h
<<\_ACEOF
32169 #define wxUSE_CALENDARCTRL 1
32173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32176 if test "$wxUSE_CARET" = "yes"; then
32177 cat >>confdefs.h
<<\_ACEOF
32178 #define wxUSE_CARET 1
32182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32185 if test "$wxUSE_COMBOBOX" = "yes"; then
32186 cat >>confdefs.h
<<\_ACEOF
32187 #define wxUSE_COMBOBOX 1
32193 if test "$wxUSE_CHOICE" = "yes"; then
32194 cat >>confdefs.h
<<\_ACEOF
32195 #define wxUSE_CHOICE 1
32201 if test "$wxUSE_CHECKBOX" = "yes"; then
32202 cat >>confdefs.h
<<\_ACEOF
32203 #define wxUSE_CHECKBOX 1
32209 if test "$wxUSE_CHECKLST" = "yes"; then
32210 cat >>confdefs.h
<<\_ACEOF
32211 #define wxUSE_CHECKLISTBOX 1
32215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32218 if test "$wxUSE_DISPLAY" = "yes"; then
32219 cat >>confdefs.h
<<\_ACEOF
32220 #define wxUSE_DISPLAY 1
32223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32226 if test "$wxUSE_GAUGE" = "yes"; then
32227 cat >>confdefs.h
<<\_ACEOF
32228 #define wxUSE_GAUGE 1
32234 if test "$wxUSE_GRID" = "yes"; then
32235 cat >>confdefs.h
<<\_ACEOF
32236 #define wxUSE_GRID 1
32240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32243 if test "$wxUSE_IMAGLIST" = "yes"; then
32244 cat >>confdefs.h
<<\_ACEOF
32245 #define wxUSE_IMAGLIST 1
32250 if test "$wxUSE_LISTBOX" = "yes"; then
32251 cat >>confdefs.h
<<\_ACEOF
32252 #define wxUSE_LISTBOX 1
32258 if test "$wxUSE_LISTCTRL" = "yes"; then
32259 if test "$wxUSE_IMAGLIST" = "yes"; then
32260 cat >>confdefs.h
<<\_ACEOF
32261 #define wxUSE_LISTCTRL 1
32265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32267 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32268 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32272 if test "$wxUSE_NOTEBOOK" = "yes"; then
32273 cat >>confdefs.h
<<\_ACEOF
32274 #define wxUSE_NOTEBOOK 1
32278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32282 if test "$wxUSE_RADIOBOX" = "yes"; then
32283 cat >>confdefs.h
<<\_ACEOF
32284 #define wxUSE_RADIOBOX 1
32290 if test "$wxUSE_RADIOBTN" = "yes"; then
32291 cat >>confdefs.h
<<\_ACEOF
32292 #define wxUSE_RADIOBTN 1
32298 if test "$wxUSE_SASH" = "yes"; then
32299 cat >>confdefs.h
<<\_ACEOF
32300 #define wxUSE_SASH 1
32303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32306 if test "$wxUSE_SCROLLBAR" = "yes"; then
32307 cat >>confdefs.h
<<\_ACEOF
32308 #define wxUSE_SCROLLBAR 1
32312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32315 if test "$wxUSE_SLIDER" = "yes"; then
32316 cat >>confdefs.h
<<\_ACEOF
32317 #define wxUSE_SLIDER 1
32323 if test "$wxUSE_SPINBTN" = "yes"; then
32324 cat >>confdefs.h
<<\_ACEOF
32325 #define wxUSE_SPINBTN 1
32331 if test "$wxUSE_SPINCTRL" = "yes"; then
32332 cat >>confdefs.h
<<\_ACEOF
32333 #define wxUSE_SPINCTRL 1
32339 if test "$wxUSE_SPLITTER" = "yes"; then
32340 cat >>confdefs.h
<<\_ACEOF
32341 #define wxUSE_SPLITTER 1
32344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32347 if test "$wxUSE_STATBMP" = "yes"; then
32348 cat >>confdefs.h
<<\_ACEOF
32349 #define wxUSE_STATBMP 1
32355 if test "$wxUSE_STATBOX" = "yes"; then
32356 cat >>confdefs.h
<<\_ACEOF
32357 #define wxUSE_STATBOX 1
32363 if test "$wxUSE_STATTEXT" = "yes"; then
32364 cat >>confdefs.h
<<\_ACEOF
32365 #define wxUSE_STATTEXT 1
32371 if test "$wxUSE_STATLINE" = "yes"; then
32372 cat >>confdefs.h
<<\_ACEOF
32373 #define wxUSE_STATLINE 1
32379 if test "$wxUSE_STATUSBAR" = "yes"; then
32380 cat >>confdefs.h
<<\_ACEOF
32381 #define wxUSE_STATUSBAR 1
32386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32389 if test "$wxUSE_TABDIALOG" = "yes"; then
32390 cat >>confdefs.h
<<\_ACEOF
32391 #define wxUSE_TAB_DIALOG 1
32394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32397 if test "$wxUSE_TEXTCTRL" = "yes"; then
32398 cat >>confdefs.h
<<\_ACEOF
32399 #define wxUSE_TEXTCTRL 1
32403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32406 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32407 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32408 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32409 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32412 if test "$wxUSE_UNIVERSAL" = "yes"; then
32413 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32414 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32418 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32419 cat >>confdefs.h
<<\_ACEOF
32420 #define wxUSE_TOGGLEBTN 1
32427 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32428 cat >>confdefs.h
<<\_ACEOF
32429 #define wxUSE_TOOLBAR_SIMPLE 1
32432 wxUSE_TOOLBAR
="yes"
32436 if test "$wxUSE_TOOLBAR" = "yes"; then
32437 cat >>confdefs.h
<<\_ACEOF
32438 #define wxUSE_TOOLBAR 1
32443 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32444 wxUSE_TOOLBAR_NATIVE
="yes"
32447 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32448 cat >>confdefs.h
<<\_ACEOF
32449 #define wxUSE_TOOLBAR_NATIVE 1
32455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32458 if test "$wxUSE_TOOLTIPS" = "yes"; then
32459 if test "$wxUSE_MOTIF" = 1; then
32460 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32461 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32463 if test "$wxUSE_UNIVERSAL" = "yes"; then
32464 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32465 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32467 cat >>confdefs.h
<<\_ACEOF
32468 #define wxUSE_TOOLTIPS 1
32475 if test "$wxUSE_TREECTRL" = "yes"; then
32476 if test "$wxUSE_IMAGLIST" = "yes"; then
32477 cat >>confdefs.h
<<\_ACEOF
32478 #define wxUSE_TREECTRL 1
32482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32484 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32485 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32489 if test "$wxUSE_POPUPWIN" = "yes"; then
32490 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32491 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32492 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32494 if test "$wxUSE_MOTIF" = 1; then
32495 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32496 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32498 if test "$wxUSE_PM" = 1; then
32499 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32500 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32502 cat >>confdefs.h
<<\_ACEOF
32503 #define wxUSE_POPUPWIN 1
32513 if test "$wxUSE_TIPWINDOW" = "yes"; then
32514 if test "$wxUSE_PM" = 1; then
32515 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32516 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32518 cat >>confdefs.h
<<\_ACEOF
32519 #define wxUSE_TIPWINDOW 1
32525 if test "$USES_CONTROLS" = 1; then
32526 cat >>confdefs.h
<<\_ACEOF
32527 #define wxUSE_CONTROLS 1
32534 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32535 cat >>confdefs.h
<<\_ACEOF
32536 #define wxUSE_DRAGIMAGE 1
32539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32542 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32543 cat >>confdefs.h
<<\_ACEOF
32544 #define wxUSE_ACCESSIBILITY 1
32547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32550 if test "$wxUSE_MENUS" = "yes"; then
32551 cat >>confdefs.h
<<\_ACEOF
32552 #define wxUSE_MENUS 1
32555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
32558 if test "$wxUSE_METAFILE" = "yes"; then
32559 cat >>confdefs.h
<<\_ACEOF
32560 #define wxUSE_METAFILE 1
32565 if test "$wxUSE_MIMETYPE" = "yes"; then
32566 cat >>confdefs.h
<<\_ACEOF
32567 #define wxUSE_MIMETYPE 1
32572 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32573 cat >>confdefs.h
<<\_ACEOF
32574 #define wxUSE_SYSTEM_OPTIONS 1
32577 if test "$TOOLKIT" = "MSW"; then
32578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
32583 if test "$wxUSE_PROTOCOL" = "yes"; then
32584 if test "$wxUSE_SOCKETS" != "yes"; then
32585 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32586 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32590 if test "$wxUSE_PROTOCOL" = "yes"; then
32591 cat >>confdefs.h
<<\_ACEOF
32592 #define wxUSE_PROTOCOL 1
32596 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32597 cat >>confdefs.h
<<\_ACEOF
32598 #define wxUSE_PROTOCOL_HTTP 1
32602 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32603 cat >>confdefs.h
<<\_ACEOF
32604 #define wxUSE_PROTOCOL_FTP 1
32608 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32609 cat >>confdefs.h
<<\_ACEOF
32610 #define wxUSE_PROTOCOL_FILE 1
32617 if test "$wxUSE_URL" = "yes"; then
32618 if test "$wxUSE_PROTOCOL" != "yes"; then
32619 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32620 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32623 if test "$wxUSE_URL" = "yes"; then
32624 cat >>confdefs.h
<<\_ACEOF
32625 #define wxUSE_URL 1
32631 if test "$wxUSE_MINIFRAME" = "yes"; then
32632 cat >>confdefs.h
<<\_ACEOF
32633 #define wxUSE_MINIFRAME 1
32636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
32639 if test "$wxUSE_HTML" = "yes"; then
32640 cat >>confdefs.h
<<\_ACEOF
32641 #define wxUSE_HTML 1
32644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32647 if test "$wxUSE_VALIDATORS" = "yes"; then
32648 cat >>confdefs.h
<<\_ACEOF
32649 #define wxUSE_VALIDATORS 1
32652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
32655 if test "$wxUSE_PALETTE" = "yes" ; then
32656 cat >>confdefs.h
<<\_ACEOF
32657 #define wxUSE_PALETTE 1
32662 if test "$wxUSE_IMAGE" = "yes" ; then
32663 cat >>confdefs.h
<<\_ACEOF
32664 #define wxUSE_IMAGE 1
32669 if test "$wxUSE_GIF" = "yes" ; then
32670 cat >>confdefs.h
<<\_ACEOF
32671 #define wxUSE_GIF 1
32676 if test "$wxUSE_PCX" = "yes" ; then
32677 cat >>confdefs.h
<<\_ACEOF
32678 #define wxUSE_PCX 1
32683 if test "$wxUSE_IFF" = "yes" ; then
32684 cat >>confdefs.h
<<\_ACEOF
32685 #define wxUSE_IFF 1
32690 if test "$wxUSE_PNM" = "yes" ; then
32691 cat >>confdefs.h
<<\_ACEOF
32692 #define wxUSE_PNM 1
32697 if test "$wxUSE_XPM" = "yes" ; then
32698 cat >>confdefs.h
<<\_ACEOF
32699 #define wxUSE_XPM 1
32704 if test "$wxUSE_ICO_CUR" = "yes" ; then
32705 cat >>confdefs.h
<<\_ACEOF
32706 #define wxUSE_ICO_CUR 1
32711 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32712 LIBS
=" -lunicows $LIBS"
32716 if test "$wxUSE_CHOICEDLG" = "yes"; then
32717 cat >>confdefs.h
<<\_ACEOF
32718 #define wxUSE_CHOICEDLG 1
32723 if test "$wxUSE_COLOURDLG" = "yes"; then
32724 cat >>confdefs.h
<<\_ACEOF
32725 #define wxUSE_COLOURDLG 1
32730 if test "$wxUSE_FILEDLG" = "yes"; then
32731 cat >>confdefs.h
<<\_ACEOF
32732 #define wxUSE_FILEDLG 1
32737 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32738 cat >>confdefs.h
<<\_ACEOF
32739 #define wxUSE_FINDREPLDLG 1
32744 if test "$wxUSE_FONTDLG" = "yes"; then
32745 cat >>confdefs.h
<<\_ACEOF
32746 #define wxUSE_FONTDLG 1
32751 if test "$wxUSE_DIRDLG" = "yes"; then
32752 if test "$wxUSE_TREECTRL" != "yes"; then
32753 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32754 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32756 cat >>confdefs.h
<<\_ACEOF
32757 #define wxUSE_DIRDLG 1
32763 if test "$wxUSE_MSGDLG" = "yes"; then
32764 cat >>confdefs.h
<<\_ACEOF
32765 #define wxUSE_MSGDLG 1
32770 if test "$wxUSE_NUMBERDLG" = "yes"; then
32771 cat >>confdefs.h
<<\_ACEOF
32772 #define wxUSE_NUMBERDLG 1
32777 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32778 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32779 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32780 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32782 cat >>confdefs.h
<<\_ACEOF
32783 #define wxUSE_PROGRESSDLG 1
32789 if test "$wxUSE_SPLASH" = "yes"; then
32790 cat >>confdefs.h
<<\_ACEOF
32791 #define wxUSE_SPLASH 1
32796 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32797 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32798 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32799 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32801 cat >>confdefs.h
<<\_ACEOF
32802 #define wxUSE_STARTUP_TIPS 1
32808 if test "$wxUSE_TEXTDLG" = "yes"; then
32809 cat >>confdefs.h
<<\_ACEOF
32810 #define wxUSE_TEXTDLG 1
32815 if test "$wxUSE_WIZARDDLG" = "yes"; then
32816 cat >>confdefs.h
<<\_ACEOF
32817 #define wxUSE_WIZARDDLG 1
32820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
32824 if test "$cross_compiling" = "yes"; then
32827 OSINFO
=`uname -s -r -m`
32828 OSINFO
="\"$OSINFO\""
32831 cat >>confdefs.h
<<_ACEOF
32832 #define WXWIN_OS_DESCRIPTION $OSINFO
32837 if test "x$prefix" != "xNONE"; then
32840 wxPREFIX
=$ac_default_prefix
32843 cat >>confdefs.h
<<_ACEOF
32844 #define wxINSTALL_PREFIX "$wxPREFIX"
32848 top_builddir_wxconfig
=`pwd`
32853 if test "$wxUSE_MAC" = 1 ; then
32854 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
32856 if test "$wxUSE_COCOA" = 1 ; then
32857 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
32861 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
32868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32869 echo "$as_me:$LINENO: checking for $ac_func" >&5
32870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32871 if eval "test \"\${$as_ac_var+set}\" = set"; then
32872 echo $ECHO_N "(cached) $ECHO_C" >&6
32874 cat >conftest.
$ac_ext <<_ACEOF
32875 #line $LINENO "configure"
32878 cat confdefs.h
>>conftest.
$ac_ext
32879 cat >>conftest.
$ac_ext <<_ACEOF
32880 /* end confdefs.h. */
32881 /* System header to define __stub macros and hopefully few prototypes,
32882 which can conflict with char $ac_func (); below.
32883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32884 <limits.h> exists even on freestanding compilers. */
32886 # include <limits.h>
32888 # include <assert.h>
32890 /* Override any gcc2 internal prototype to avoid an error. */
32895 /* We use char because int might match the return type of a gcc2
32896 builtin and then its argument prototype would still apply. */
32898 /* The GNU C library defines this for functions which it implements
32899 to always fail with ENOSYS. Some functions are actually named
32900 something starting with __ and the normal name is an alias. */
32901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32904 char (*f) () = $ac_func;
32913 return f != $ac_func;
32918 rm -f conftest.
$ac_objext conftest
$ac_exeext
32919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32920 (eval $ac_link) 2>&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } &&
32924 { ac_try
='test -s conftest$ac_exeext'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; }; then
32930 eval "$as_ac_var=yes"
32932 echo "$as_me: failed program was:" >&5
32933 sed 's/^/| /' conftest.
$ac_ext >&5
32935 eval "$as_ac_var=no"
32937 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32941 if test `eval echo '${'$as_ac_var'}'` = yes; then
32942 cat >>confdefs.h
<<_ACEOF
32943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32950 for ac_func
in floor
32952 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32953 echo "$as_me:$LINENO: checking for $ac_func" >&5
32954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32955 if eval "test \"\${$as_ac_var+set}\" = set"; then
32956 echo $ECHO_N "(cached) $ECHO_C" >&6
32958 cat >conftest.
$ac_ext <<_ACEOF
32959 #line $LINENO "configure"
32962 cat confdefs.h
>>conftest.
$ac_ext
32963 cat >>conftest.
$ac_ext <<_ACEOF
32964 /* end confdefs.h. */
32965 /* System header to define __stub macros and hopefully few prototypes,
32966 which can conflict with char $ac_func (); below.
32967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32968 <limits.h> exists even on freestanding compilers. */
32970 # include <limits.h>
32972 # include <assert.h>
32974 /* Override any gcc2 internal prototype to avoid an error. */
32979 /* We use char because int might match the return type of a gcc2
32980 builtin and then its argument prototype would still apply. */
32982 /* The GNU C library defines this for functions which it implements
32983 to always fail with ENOSYS. Some functions are actually named
32984 something starting with __ and the normal name is an alias. */
32985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32988 char (*f) () = $ac_func;
32997 return f != $ac_func;
33002 rm -f conftest.
$ac_objext conftest
$ac_exeext
33003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33004 (eval $ac_link) 2>&5
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); } &&
33008 { ac_try
='test -s conftest$ac_exeext'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; }; then
33014 eval "$as_ac_var=yes"
33016 echo "$as_me: failed program was:" >&5
33017 sed 's/^/| /' conftest.
$ac_ext >&5
33019 eval "$as_ac_var=no"
33021 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33025 if test `eval echo '${'$as_ac_var'}'` = yes; then
33026 cat >>confdefs.h
<<_ACEOF
33027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33033 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33034 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33035 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33036 echo "$as_me:$LINENO: result: yes" >&5
33037 echo "${ECHO_T}yes" >&6
33039 echo "$as_me:$LINENO: result: no" >&5
33040 echo "${ECHO_T}no" >&6
33042 # use different functions to avoid configure caching
33048 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33049 echo "$as_me:$LINENO: checking for $ac_func" >&5
33050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33051 if eval "test \"\${$as_ac_var+set}\" = set"; then
33052 echo $ECHO_N "(cached) $ECHO_C" >&6
33054 cat >conftest.
$ac_ext <<_ACEOF
33055 #line $LINENO "configure"
33058 cat confdefs.h
>>conftest.
$ac_ext
33059 cat >>conftest.
$ac_ext <<_ACEOF
33060 /* end confdefs.h. */
33061 /* System header to define __stub macros and hopefully few prototypes,
33062 which can conflict with char $ac_func (); below.
33063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33064 <limits.h> exists even on freestanding compilers. */
33066 # include <limits.h>
33068 # include <assert.h>
33070 /* Override any gcc2 internal prototype to avoid an error. */
33075 /* We use char because int might match the return type of a gcc2
33076 builtin and then its argument prototype would still apply. */
33078 /* The GNU C library defines this for functions which it implements
33079 to always fail with ENOSYS. Some functions are actually named
33080 something starting with __ and the normal name is an alias. */
33081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33084 char (*f) () = $ac_func;
33093 return f != $ac_func;
33098 rm -f conftest.
$ac_objext conftest
$ac_exeext
33099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33100 (eval $ac_link) 2>&5
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); } &&
33104 { ac_try
='test -s conftest$ac_exeext'
33105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33106 (eval $ac_try) 2>&5
33108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109 (exit $ac_status); }; }; then
33110 eval "$as_ac_var=yes"
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.
$ac_ext >&5
33115 eval "$as_ac_var=no"
33117 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33121 if test `eval echo '${'$as_ac_var'}'` = yes; then
33122 cat >>confdefs.h
<<_ACEOF
33123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33130 for ac_func
in ceil
33132 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33133 echo "$as_me:$LINENO: checking for $ac_func" >&5
33134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33135 if eval "test \"\${$as_ac_var+set}\" = set"; then
33136 echo $ECHO_N "(cached) $ECHO_C" >&6
33138 cat >conftest.
$ac_ext <<_ACEOF
33139 #line $LINENO "configure"
33142 cat confdefs.h
>>conftest.
$ac_ext
33143 cat >>conftest.
$ac_ext <<_ACEOF
33144 /* end confdefs.h. */
33145 /* System header to define __stub macros and hopefully few prototypes,
33146 which can conflict with char $ac_func (); below.
33147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33148 <limits.h> exists even on freestanding compilers. */
33150 # include <limits.h>
33152 # include <assert.h>
33154 /* Override any gcc2 internal prototype to avoid an error. */
33159 /* We use char because int might match the return type of a gcc2
33160 builtin and then its argument prototype would still apply. */
33162 /* The GNU C library defines this for functions which it implements
33163 to always fail with ENOSYS. Some functions are actually named
33164 something starting with __ and the normal name is an alias. */
33165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33168 char (*f) () = $ac_func;
33177 return f != $ac_func;
33182 rm -f conftest.
$ac_objext conftest
$ac_exeext
33183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33184 (eval $ac_link) 2>&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } &&
33188 { ac_try
='test -s conftest$ac_exeext'
33189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190 (eval $ac_try) 2>&5
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); }; }; then
33194 eval "$as_ac_var=yes"
33196 echo "$as_me: failed program was:" >&5
33197 sed 's/^/| /' conftest.
$ac_ext >&5
33199 eval "$as_ac_var=no"
33201 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33205 if test `eval echo '${'$as_ac_var'}'` = yes; then
33206 cat >>confdefs.h
<<_ACEOF
33207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33213 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33214 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33215 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33216 echo "$as_me:$LINENO: result: yes" >&5
33217 echo "${ECHO_T}yes" >&6
33219 echo "$as_me:$LINENO: result: no" >&5
33220 echo "${ECHO_T}no" >&6
33221 # not sure we should warn the user, crash, etc.
33225 if test "$wxUSE_GUI" = "yes"; then
33228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33229 drawing dynamic erase event exec font image \
33230 minimal propsize rotate shaped widgets"
33232 if test "$wxUSE_MONOLITHIC" != "yes"; then
33233 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33236 SAMPLES_SUBDIRS
="console"
33240 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33241 -I\${top_srcdir}/include \
33242 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33245 if test "$GXX" = yes ; then
33246 CXXWARNINGS
="-Wall"
33249 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33251 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33252 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33253 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33256 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33257 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33258 if test "$wxUSE_GUI" = "yes"; then
33259 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33262 LDFLAGS
="$LDFLAGS $PROFILE"
33264 if test "$wxUSE_GTK" = 1; then
33267 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33270 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33283 if test $wxUSE_MONOLITHIC = "yes" ; then
33301 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33307 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33309 if test -n "$ac_tool_prefix"; then
33310 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33311 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33312 echo "$as_me:$LINENO: checking for $ac_word" >&5
33313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33314 if test "${ac_cv_prog_RANLIB+set}" = set; then
33315 echo $ECHO_N "(cached) $ECHO_C" >&6
33317 if test -n "$RANLIB"; then
33318 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33321 for as_dir
in $PATH
33324 test -z "$as_dir" && as_dir
=.
33325 for ac_exec_ext
in '' $ac_executable_extensions; do
33326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33327 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33336 RANLIB
=$ac_cv_prog_RANLIB
33337 if test -n "$RANLIB"; then
33338 echo "$as_me:$LINENO: result: $RANLIB" >&5
33339 echo "${ECHO_T}$RANLIB" >&6
33341 echo "$as_me:$LINENO: result: no" >&5
33342 echo "${ECHO_T}no" >&6
33346 if test -z "$ac_cv_prog_RANLIB"; then
33347 ac_ct_RANLIB
=$RANLIB
33348 # Extract the first word of "ranlib", so it can be a program name with args.
33349 set dummy ranlib
; ac_word
=$2
33350 echo "$as_me:$LINENO: checking for $ac_word" >&5
33351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33352 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33353 echo $ECHO_N "(cached) $ECHO_C" >&6
33355 if test -n "$ac_ct_RANLIB"; then
33356 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33359 for as_dir
in $PATH
33362 test -z "$as_dir" && as_dir
=.
33363 for ac_exec_ext
in '' $ac_executable_extensions; do
33364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33365 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33372 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33375 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33376 if test -n "$ac_ct_RANLIB"; then
33377 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33378 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33380 echo "$as_me:$LINENO: result: no" >&5
33381 echo "${ECHO_T}no" >&6
33384 RANLIB
=$ac_ct_RANLIB
33386 RANLIB
="$ac_cv_prog_RANLIB"
33389 # Find a good install program. We prefer a C program (faster),
33390 # so one script is as good as another. But avoid the broken or
33391 # incompatible versions:
33392 # SysV /etc/install, /usr/sbin/install
33393 # SunOS /usr/etc/install
33394 # IRIX /sbin/install
33396 # AmigaOS /C/install, which installs bootblocks on floppy discs
33397 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33398 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33399 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33400 # ./install, which can be erroneously created by make from ./install.sh.
33401 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33402 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33403 if test -z "$INSTALL"; then
33404 if test "${ac_cv_path_install+set}" = set; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33408 for as_dir
in $PATH
33411 test -z "$as_dir" && as_dir
=.
33412 # Account for people who put trailing slashes in PATH elements.
33414 .
/ | .
// | /cC
/* | \
33415 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33418 # OSF1 and SCO ODT 3.0 have their own names for install.
33419 # Don't use installbsd from OSF since it installs stuff as root
33421 for ac_prog
in ginstall scoinst
install; do
33422 for ac_exec_ext
in '' $ac_executable_extensions; do
33423 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33424 if test $ac_prog = install &&
33425 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33426 # AIX install. It has an incompatible calling convention.
33428 elif test $ac_prog = install &&
33429 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33430 # program-specific install script used by HP pwplus--don't use.
33433 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33445 if test "${ac_cv_path_install+set}" = set; then
33446 INSTALL
=$ac_cv_path_install
33448 # As a last resort, use the slow shell script. We don't cache a
33449 # path for INSTALL within a source directory, because that will
33450 # break other packages using the cache if that directory is
33451 # removed, or if the path is relative.
33452 INSTALL
=$ac_install_sh
33455 echo "$as_me:$LINENO: result: $INSTALL" >&5
33456 echo "${ECHO_T}$INSTALL" >&6
33458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33459 # It thinks the first close brace ends the variable substitution.
33460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33464 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33466 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33467 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33469 if test "$LN_S" = "ln -s"; then
33470 echo "$as_me:$LINENO: result: yes" >&5
33471 echo "${ECHO_T}yes" >&6
33473 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33474 echo "${ECHO_T}no, using $LN_S" >&6
33478 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33479 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33480 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33481 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33482 echo $ECHO_N "(cached) $ECHO_C" >&6
33484 cat >conftest.
make <<\_ACEOF
33486 @
echo 'ac_maketemp="$(MAKE)"'
33488 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33489 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33490 if test -n "$ac_maketemp"; then
33491 eval ac_cv_prog_make_
${ac_make}_set
=yes
33493 eval ac_cv_prog_make_
${ac_make}_set
=no
33495 rm -f conftest.
make
33497 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33498 echo "$as_me:$LINENO: result: yes" >&5
33499 echo "${ECHO_T}yes" >&6
33502 echo "$as_me:$LINENO: result: no" >&5
33503 echo "${ECHO_T}no" >&6
33504 SET_MAKE
="MAKE=${MAKE-make}"
33509 if test "$build" != "$host" ; then
33511 STRIP
=$host_alias-strip
33513 # Extract the first word of "ar", so it can be a program name with args.
33514 set dummy
ar; ac_word
=$2
33515 echo "$as_me:$LINENO: checking for $ac_word" >&5
33516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33517 if test "${ac_cv_prog_AR+set}" = set; then
33518 echo $ECHO_N "(cached) $ECHO_C" >&6
33520 if test -n "$AR"; then
33521 ac_cv_prog_AR
="$AR" # Let the user override the test.
33523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33524 for as_dir
in $PATH
33527 test -z "$as_dir" && as_dir
=.
33528 for ac_exec_ext
in '' $ac_executable_extensions; do
33529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33537 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
33541 if test -n "$AR"; then
33542 echo "$as_me:$LINENO: result: $AR" >&5
33543 echo "${ECHO_T}$AR" >&6
33545 echo "$as_me:$LINENO: result: no" >&5
33546 echo "${ECHO_T}no" >&6
33549 # Extract the first word of "strip", so it can be a program name with args.
33550 set dummy strip
; ac_word
=$2
33551 echo "$as_me:$LINENO: checking for $ac_word" >&5
33552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33553 if test "${ac_cv_prog_STRIP+set}" = set; then
33554 echo $ECHO_N "(cached) $ECHO_C" >&6
33556 if test -n "$STRIP"; then
33557 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
33559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33560 for as_dir
in $PATH
33563 test -z "$as_dir" && as_dir
=.
33564 for ac_exec_ext
in '' $ac_executable_extensions; do
33565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33566 ac_cv_prog_STRIP
="strip"
33567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33573 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
33576 STRIP
=$ac_cv_prog_STRIP
33577 if test -n "$STRIP"; then
33578 echo "$as_me:$LINENO: result: $STRIP" >&5
33579 echo "${ECHO_T}$STRIP" >&6
33581 echo "$as_me:$LINENO: result: no" >&5
33582 echo "${ECHO_T}no" >&6
33589 INSTALL_DIR
="mkdir"
33591 *) INSTALL_DIR
="$INSTALL -d"
33598 *-*-cygwin* | *-*-mingw32* )
33599 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
33605 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33606 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33607 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33611 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
33612 egrep -s GNU
> /dev
/null
); then
33613 bakefile_cv_prog_makeisgnu
="yes"
33615 bakefile_cv_prog_makeisgnu
="no"
33619 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33620 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33622 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33637 *-*-cygwin* | *-*-mingw32* )
33640 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33643 powerpc
-*-darwin* )
33670 *-*-cygwin* | *-*-mingw32* )
33675 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33679 powerpc
-*-darwin* )
33689 SHARED_LD_CC
="\$(CC) -shared -o"
33690 SHARED_LD_CXX
="\$(CXX) -shared -o"
33692 if test "x$GCC" = "xyes"; then
33698 if test "x$GCC" = "xyes"; then
33699 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
33700 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
33702 LDFLAGS
="$LDFLAGS -L/usr/lib"
33704 SHARED_LD_CC
="${CC} -b -o"
33705 SHARED_LD_CXX
="${CXX} -b -o"
33711 if test "x$GCC" != "xyes"; then
33712 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33713 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33714 if test "${bakefile_cv_prog_icc+set}" = set; then
33715 echo $ECHO_N "(cached) $ECHO_C" >&6
33718 cat >conftest.
$ac_ext <<_ACEOF
33719 #line $LINENO "configure"
33722 cat confdefs.h
>>conftest.
$ac_ext
33723 cat >>conftest.
$ac_ext <<_ACEOF
33724 /* end confdefs.h. */
33730 #ifndef __INTEL_COMPILER
33738 rm -f conftest.
$ac_objext
33739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33740 (eval $ac_compile) 2>&5
33742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33743 (exit $ac_status); } &&
33744 { ac_try
='test -s conftest.$ac_objext'
33745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33746 (eval $ac_try) 2>&5
33748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749 (exit $ac_status); }; }; then
33750 bakefile_cv_prog_icc
=yes
33752 echo "$as_me: failed program was:" >&5
33753 sed 's/^/| /' conftest.
$ac_ext >&5
33755 bakefile_cv_prog_icc
=no
33758 rm -f conftest.
$ac_objext conftest.
$ac_ext
33761 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33762 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33763 if test "$bakefile_cv_prog_icc" = "yes"; then
33770 if test "x$GCC" != xyes
; then
33771 SHARED_LD_CC
="${CC} -G -o"
33772 SHARED_LD_CXX
="${CXX} -G -o"
33778 CFLAGS
="$CFLAGS -fno-common"
33779 CXXFLAGS
="$CXXFLAGS -fno-common"
33782 cat <<EOF >shared-ld-sh
33784 #-----------------------------------------------------------------------------
33785 #-- Name: distrib/mac/shared-ld-sh
33786 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33787 #-- Author: Gilles Depeyrot
33788 #-- Copyright: (c) 2002 Gilles Depeyrot
33789 #-- Licence: any use permitted
33790 #-----------------------------------------------------------------------------
33796 while test \${#} -gt 0; do
33803 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33804 # collect these options and values
33805 args="\${args} \${1} \${2}"
33809 -l*|-L*|-flat_namespace)
33810 # collect these options
33811 args="\${args} \${1}"
33815 # skip these options
33819 echo "shared-ld: unhandled option '\${1}'"
33824 # collect object files
33825 objects="\${objects} \${1}"
33829 echo "shared-ld: unhandled argument '\${1}'"
33838 # Link one module containing all the others
33840 if test \${verbose} = 1; then
33841 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33843 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33845 if test \${status} != 0; then
33850 # Link the shared library from the single module created
33852 if test \${verbose} = 1; then
33853 echo "cc -dynamiclib master.\$\$.o \${args}"
33855 c++ -dynamiclib master.\$\$.o \${args}
33857 if test \${status} != 0; then
33862 # Remove intermediate module
33864 rm -f master.\$\$.o
33868 chmod +x shared
-ld-sh
33870 SHARED_LD_CC
="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
33871 SHARED_LD_CXX
="$SHARED_LD_CC"
33872 PIC_FLAG
="-dynamic -fPIC"
33876 if test "x$GCC" != "xyes"; then
33877 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
33878 set dummy makeC
++SharedLib
; ac_word
=$2
33879 echo "$as_me:$LINENO: checking for $ac_word" >&5
33880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33881 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
33882 echo $ECHO_N "(cached) $ECHO_C" >&6
33884 if test -n "$AIX_CXX_LD"; then
33885 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
33887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33888 for as_dir
in $PATH
33891 test -z "$as_dir" && as_dir
=.
33892 for ac_exec_ext
in '' $ac_executable_extensions; do
33893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33894 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
33895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33901 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
33904 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
33905 if test -n "$AIX_CXX_LD"; then
33906 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
33907 echo "${ECHO_T}$AIX_CXX_LD" >&6
33909 echo "$as_me:$LINENO: result: no" >&5
33910 echo "${ECHO_T}no" >&6
33913 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
33914 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
33919 SHARED_LD_CC
="${LD} -shared -o"
33920 SHARED_LD_CXX
="${LD} -shared -o"
33924 if test "x$GCC" != "xyes"; then
33929 *-*-cygwin* | *-*-mingw32* )
33933 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
33941 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
33942 echo "$as_me: error: unknown system type $host." >&2;}
33943 { (exit 1); exit 1; }; }
33960 SONAME_FLAG
="-Wl,-soname,"
33988 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
33989 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
33992 if test "x$GCC" = "xyes"; then
33995 echo "$as_me:$LINENO: result: gcc" >&5
33996 echo "${ECHO_T}gcc" >&6
33998 echo "$as_me:$LINENO: result: none" >&5
33999 echo "${ECHO_T}none" >&6
34002 if test $DEPS_TRACKING = 1 ; then
34006 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34007 # It is used to track C/C++ files dependencies in portable way.
34009 # Permission is given to use this file in any way.
34016 if test \$DEPSMODE = gcc ; then
34019 if test \${status} != 0 ; then
34022 # move created file to the location we want it in:
34023 while test \${#} -gt 0; do
34037 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34038 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34039 if test -f \$depfile ; then
34040 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34043 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34044 if test -f \$depfile ; then
34045 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34065 *-*-cygwin* | *-*-mingw32* )
34066 if test "$build" != "$host" ; then
34067 RESCOMP
=$host_alias-windres
34069 # Extract the first word of "windres", so it can be a program name with args.
34070 set dummy windres
; ac_word
=$2
34071 echo "$as_me:$LINENO: checking for $ac_word" >&5
34072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34073 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34074 echo $ECHO_N "(cached) $ECHO_C" >&6
34076 if test -n "$RESCOMP"; then
34077 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34080 for as_dir
in $PATH
34083 test -z "$as_dir" && as_dir
=.
34084 for ac_exec_ext
in '' $ac_executable_extensions; do
34085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34086 ac_cv_prog_RESCOMP
="windres"
34087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34093 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34096 RESCOMP
=$ac_cv_prog_RESCOMP
34097 if test -n "$RESCOMP"; then
34098 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34099 echo "${ECHO_T}$RESCOMP" >&6
34101 echo "$as_me:$LINENO: result: no" >&5
34102 echo "${ECHO_T}no" >&6
34109 # Extract the first word of "Rez", so it can be a program name with args.
34110 set dummy Rez
; ac_word
=$2
34111 echo "$as_me:$LINENO: checking for $ac_word" >&5
34112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34113 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34114 echo $ECHO_N "(cached) $ECHO_C" >&6
34116 if test -n "$RESCOMP"; then
34117 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34120 for as_dir
in $PATH
34123 test -z "$as_dir" && as_dir
=.
34124 for ac_exec_ext
in '' $ac_executable_extensions; do
34125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34126 ac_cv_prog_RESCOMP
="Rez"
34127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34133 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34136 RESCOMP
=$ac_cv_prog_RESCOMP
34137 if test -n "$RESCOMP"; then
34138 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34139 echo "${ECHO_T}$RESCOMP" >&6
34141 echo "$as_me:$LINENO: result: no" >&5
34142 echo "${ECHO_T}no" >&6
34145 # Extract the first word of "SetFile", so it can be a program name with args.
34146 set dummy SetFile
; ac_word
=$2
34147 echo "$as_me:$LINENO: checking for $ac_word" >&5
34148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34149 if test "${ac_cv_prog_SETFILE+set}" = set; then
34150 echo $ECHO_N "(cached) $ECHO_C" >&6
34152 if test -n "$SETFILE"; then
34153 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34156 for as_dir
in $PATH
34159 test -z "$as_dir" && as_dir
=.
34160 for ac_exec_ext
in '' $ac_executable_extensions; do
34161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34162 ac_cv_prog_SETFILE
="SetFile"
34163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34169 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34172 SETFILE
=$ac_cv_prog_SETFILE
34173 if test -n "$SETFILE"; then
34174 echo "$as_me:$LINENO: result: $SETFILE" >&5
34175 echo "${ECHO_T}$SETFILE" >&6
34177 echo "$as_me:$LINENO: result: no" >&5
34178 echo "${ECHO_T}no" >&6
34190 COND_BUILD_DEBUG
="#"
34191 if test "x$BUILD" = "xdebug" ; then
34192 COND_BUILD_DEBUG
=""
34195 COND_BUILD_RELEASE
="#"
34196 if test "x$BUILD" = "xrelease" ; then
34197 COND_BUILD_RELEASE
=""
34200 COND_DEPS_TRACKING_0
="#"
34201 if test "x$DEPS_TRACKING" = "x0" ; then
34202 COND_DEPS_TRACKING_0
=""
34205 COND_DEPS_TRACKING_1
="#"
34206 if test "x$DEPS_TRACKING" = "x1" ; then
34207 COND_DEPS_TRACKING_1
=""
34210 COND_MONOLITHIC_0
="#"
34211 if test "x$MONOLITHIC" = "x0" ; then
34212 COND_MONOLITHIC_0
=""
34215 COND_MONOLITHIC_0_SHARED_0
="#"
34216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34217 COND_MONOLITHIC_0_SHARED_0
=""
34220 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34222 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34225 COND_MONOLITHIC_0_SHARED_1
="#"
34226 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34227 COND_MONOLITHIC_0_SHARED_1
=""
34230 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34231 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34232 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34235 COND_MONOLITHIC_1
="#"
34236 if test "x$MONOLITHIC" = "x1" ; then
34237 COND_MONOLITHIC_1
=""
34240 COND_MONOLITHIC_1_SHARED_0
="#"
34241 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34242 COND_MONOLITHIC_1_SHARED_0
=""
34245 COND_MONOLITHIC_1_SHARED_1
="#"
34246 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34247 COND_MONOLITHIC_1_SHARED_1
=""
34250 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
34251 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34252 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
34255 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
34256 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34257 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
34260 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
34261 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34262 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
34265 COND_PLATFORM_MACOSX_1
="#"
34266 if test "x$PLATFORM_MACOSX" = "x1" ; then
34267 COND_PLATFORM_MACOSX_1
=""
34270 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
34271 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34272 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
34275 COND_PLATFORM_UNIX_1
="#"
34276 if test "x$PLATFORM_UNIX" = "x1" ; then
34277 COND_PLATFORM_UNIX_1
=""
34280 COND_PLATFORM_WIN32_0
="#"
34281 if test "x$PLATFORM_WIN32" = "x0" ; then
34282 COND_PLATFORM_WIN32_0
=""
34285 COND_PLATFORM_WIN32_1
="#"
34286 if test "x$PLATFORM_WIN32" = "x1" ; then
34287 COND_PLATFORM_WIN32_1
=""
34290 COND_TOOLKIT_COCOA
="#"
34291 if test "x$TOOLKIT" = "xCOCOA" ; then
34292 COND_TOOLKIT_COCOA
=""
34295 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
34296 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34297 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
34300 COND_TOOLKIT_GTK
="#"
34301 if test "x$TOOLKIT" = "xGTK" ; then
34302 COND_TOOLKIT_GTK
=""
34305 COND_TOOLKIT_GTK_USE_GUI_1
="#"
34306 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34307 COND_TOOLKIT_GTK_USE_GUI_1
=""
34310 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
34311 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34312 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
34315 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1
="#"
34316 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34317 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1
=""
34320 COND_TOOLKIT_MAC
="#"
34321 if test "x$TOOLKIT" = "xMAC" ; then
34322 COND_TOOLKIT_MAC
=""
34325 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
34326 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34327 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
34330 COND_TOOLKIT_MGL
="#"
34331 if test "x$TOOLKIT" = "xMGL" ; then
34332 COND_TOOLKIT_MGL
=""
34335 COND_TOOLKIT_MGL_USE_GUI_1
="#"
34336 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34337 COND_TOOLKIT_MGL_USE_GUI_1
=""
34340 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1
="#"
34341 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34342 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1
=""
34345 COND_TOOLKIT_MOTIF
="#"
34346 if test "x$TOOLKIT" = "xMOTIF" ; then
34347 COND_TOOLKIT_MOTIF
=""
34350 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
34351 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34352 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
34355 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
34356 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34357 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
34360 COND_TOOLKIT_MSW
="#"
34361 if test "x$TOOLKIT" = "xMSW" ; then
34362 COND_TOOLKIT_MSW
=""
34365 COND_TOOLKIT_MSW_USE_GUI_1
="#"
34366 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34367 COND_TOOLKIT_MSW_USE_GUI_1
=""
34370 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
34371 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34372 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
34375 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1
="#"
34376 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34377 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1
=""
34380 COND_TOOLKIT_OS2
="#"
34381 if test "x$TOOLKIT" = "xOS2" ; then
34382 COND_TOOLKIT_OS2
=""
34385 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
34386 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34387 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
34390 COND_TOOLKIT_X11
="#"
34391 if test "x$TOOLKIT" = "xX11" ; then
34392 COND_TOOLKIT_X11
=""
34395 COND_TOOLKIT_X11_USE_GUI_1
="#"
34396 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34397 COND_TOOLKIT_X11_USE_GUI_1
=""
34400 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
="#"
34401 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34402 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
=""
34406 if test "x$UNICODE" = "x1" ; then
34411 if test "x$USE_GUI" = "x0" ; then
34416 if test "x$USE_GUI" = "x1" ; then
34420 COND_USE_GUI_1_WXUNIV_0
="#"
34421 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34422 COND_USE_GUI_1_WXUNIV_0
=""
34425 COND_USE_GUI_1_WXUNIV_1
="#"
34426 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34427 COND_USE_GUI_1_WXUNIV_1
=""
34430 COND_USE_SOSYMLINKS_1
="#"
34431 if test "x$USE_SOSYMLINKS" = "x1" ; then
34432 COND_USE_SOSYMLINKS_1
=""
34435 COND_USE_SOVERLINUX_1
="#"
34436 if test "x$USE_SOVERLINUX" = "x1" ; then
34437 COND_USE_SOVERLINUX_1
=""
34440 COND_USE_SOVERSION_0
="#"
34441 if test "x$USE_SOVERSION" = "x0" ; then
34442 COND_USE_SOVERSION_0
=""
34445 COND_USE_SOVERSOLARIS_1
="#"
34446 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34447 COND_USE_SOVERSOLARIS_1
=""
34451 if test "x$WXUNIV" = "x1" ; then
34455 COND_WXUSE_LIBJPEG_BUILTIN
="#"
34456 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34457 COND_WXUSE_LIBJPEG_BUILTIN
=""
34460 COND_WXUSE_LIBPNG_BUILTIN
="#"
34461 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34462 COND_WXUSE_LIBPNG_BUILTIN
=""
34465 COND_WXUSE_LIBTIFF_BUILTIN
="#"
34466 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34467 COND_WXUSE_LIBTIFF_BUILTIN
=""
34470 COND_WXUSE_ODBC_BUILTIN
="#"
34471 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34472 COND_WXUSE_ODBC_BUILTIN
=""
34475 COND_WXUSE_REGEX_BUILTIN
="#"
34476 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34477 COND_WXUSE_REGEX_BUILTIN
=""
34480 COND_WXUSE_ZLIB_BUILTIN
="#"
34481 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34482 COND_WXUSE_ZLIB_BUILTIN
=""
34485 COND_PLATFORM_MAC_1
="#"
34486 if test "x$PLATFORM_MAC" = "x1" ; then
34487 COND_PLATFORM_MAC_1
=""
34491 if test "x$SHARED" = "x1" ; then
34496 if test "x$SHARED" = "x0" ; then
34505 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34606 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34607 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34608 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34609 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34610 echo $ECHO_N "(cached) $ECHO_C" >&6
34612 cat >conftest.
make <<\_ACEOF
34614 @
echo 'ac_maketemp="$(MAKE)"'
34616 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34617 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34618 if test -n "$ac_maketemp"; then
34619 eval ac_cv_prog_make_
${ac_make}_set
=yes
34621 eval ac_cv_prog_make_
${ac_make}_set
=no
34623 rm -f conftest.
make
34625 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34626 echo "$as_me:$LINENO: result: yes" >&5
34627 echo "${ECHO_T}yes" >&6
34630 echo "$as_me:$LINENO: result: no" >&5
34631 echo "${ECHO_T}no" >&6
34632 SET_MAKE
="MAKE=${MAKE-make}"
34636 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
34637 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
34640 ac_config_headers
="$ac_config_headers setup.h"
34643 ac_config_files
="$ac_config_files wx-config version-script Makefile"
34646 ac_config_commands
="$ac_config_commands default"
34650 if test "$wxUSE_GUI" = "yes"; then
34651 SUBDIRS
="samples demos utils contrib"
34652 else SUBDIRS
="samples utils"
34655 for subdir
in `echo $SUBDIRS`; do
34656 if test -d ${srcdir}/${subdir} ; then
34657 if test "$wxUSE_GUI" = "yes"; then
34658 if test ${subdir} = "samples"; then
34659 for sample
in `echo $SAMPLES_SUBDIRS`; do
34660 if test -d $srcdir/samples
/$sample; then
34661 makefiles
="samples/$sample/Makefile.in $makefiles"
34664 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
34666 else if test ${subdir} = "samples"; then
34667 makefiles
="samples/console/Makefile.in"
34668 else makefiles
="utils/HelpGen/Makefile.in \
34669 utils/HelpGen/src/Makefile.in \
34670 utils/makegen/Makefile.in"
34674 for mkin
in $makefiles ; do
34675 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34676 ac_config_files
="$ac_config_files $mk"
34683 cat >confcache
<<\_ACEOF
34684 # This file is a shell script that caches the results of configure
34685 # tests run on this system so they can be shared between configure
34686 # scripts and configure runs, see configure's option --config-cache.
34687 # It is not useful on other systems. If it contains results you don't
34688 # want to keep, you may remove or edit it.
34690 # config.status only pays attention to the cache file if you give it
34691 # the --recheck option to rerun configure.
34693 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34694 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34695 # following values.
34699 # The following way of writing the cache mishandles newlines in values,
34700 # but we know of no workaround that is simple, portable, and efficient.
34701 # So, don't put newlines in cache variables' values.
34702 # Ultrix sh set writes to stderr and can't be redirected directly,
34703 # and sets the high bit in the cache file unless we assign to the vars.
34706 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34708 # `set' does not quote correctly, so add quotes (double-quote
34709 # substitution turns \\\\ into \\, and sed turns \\ into \).
34712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34715 # `set' quotes correctly as required by POSIX, so do not add quotes.
34717 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34726 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34728 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34729 if test -w $cache_file; then
34730 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34731 cat confcache
>$cache_file
34733 echo "not updating unwritable cache $cache_file"
34738 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34739 # Let make expand exec_prefix.
34740 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34742 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34743 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34744 # trailing colons and then remove the whole line if VPATH becomes empty
34745 # (actually we leave an empty line to preserve line numbers).
34746 if test "x$srcdir" = x.
; then
34747 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34748 s/:*\$(srcdir):*/:/;
34749 s/:*\${srcdir}:*/:/;
34751 s/^\([^=]*=[ ]*\):*/\1/;
34757 DEFS
=-DHAVE_CONFIG_H
34761 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34762 # 1. Remove the extension, and $U if already installed.
34763 ac_i
=`echo "$ac_i" |
34764 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34766 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
34767 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
34769 LIBOBJS
=$ac_libobjs
34771 LTLIBOBJS
=$ac_ltlibobjs
34775 : ${CONFIG_STATUS=./config.status}
34776 ac_clean_files_save
=$ac_clean_files
34777 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34778 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34779 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34780 cat >$CONFIG_STATUS <<_ACEOF
34782 # Generated by $as_me.
34783 # Run this file to recreate the current configuration.
34784 # Compiler output produced by configure, useful for debugging
34785 # configure, is in config.log if it exists.
34788 ac_cs_recheck=false
34790 SHELL=\${CONFIG_SHELL-$SHELL}
34793 cat >>$CONFIG_STATUS <<\_ACEOF
34794 ## --------------------- ##
34795 ## M4sh Initialization. ##
34796 ## --------------------- ##
34798 # Be Bourne compatible
34799 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34802 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34803 # is contrary to our usage. Disable this feature.
34804 alias -g '${1+"$@"}'='"$@"'
34805 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
34809 # Support unset when possible.
34810 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
34817 # Work around bugs in pre-3.0 UWIN ksh.
34818 $as_unset ENV MAIL MAILPATH
34825 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34826 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34827 LC_TELEPHONE LC_TIME
34829 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34830 eval $as_var=C
; export $as_var
34836 # Required to use basename.
34837 if expr a
: '\(a\)' >/dev
/null
2>&1; then
34843 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
34844 as_basename
=basename
34850 # Name of the executable.
34851 as_me
=`$as_basename "$0" ||
34852 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34853 X"$0" : 'X\(//\)$' \| \
34854 X"$0" : 'X\(/\)$' \| \
34855 . : '\(.\)' 2>/dev/null ||
34857 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34858 /^X\/\(\/\/\)$/{ s//\1/; q; }
34859 /^X\/\(\/\).*/{ s//\1/; q; }
34863 # PATH needs CR, and LINENO needs CR and PATH.
34864 # Avoid depending upon Character Ranges.
34865 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34866 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34867 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34868 as_cr_digits
='0123456789'
34869 as_cr_alnum
=$as_cr_Letters$as_cr_digits
34871 # The user is always right.
34872 if test "${PATH_SEPARATOR+set}" != set; then
34873 echo "#! /bin/sh" >conf$$.sh
34874 echo "exit 0" >>conf$$.sh
34876 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34885 as_lineno_1
=$LINENO
34886 as_lineno_2
=$LINENO
34887 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
34888 test "x$as_lineno_1" != "x$as_lineno_2" &&
34889 test "x$as_lineno_3" = "x$as_lineno_2" || {
34890 # Find who we are. Look in the path if we contain no path at all
34893 *[\\/]* ) as_myself
=$0 ;;
34894 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34895 for as_dir
in $PATH
34898 test -z "$as_dir" && as_dir
=.
34899 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34904 # We did not find ourselves, most probably we were run as `sh COMMAND'
34905 # in which case we are not to be found in the path.
34906 if test "x$as_myself" = x
; then
34909 if test ! -f "$as_myself"; then
34910 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34911 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34912 { (exit 1); exit 1; }; }
34914 case $CONFIG_SHELL in
34916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34917 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
34920 test -z "$as_dir" && as_dir
=.
34921 for as_base
in sh bash ksh sh5
; do
34924 if ("$as_dir/$as_base" -c '
34925 as_lineno_1=$LINENO
34926 as_lineno_2=$LINENO
34927 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34928 test "x$as_lineno_1" != "x$as_lineno_2" &&
34929 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
34930 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
34931 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
34932 CONFIG_SHELL
=$as_dir/$as_base
34933 export CONFIG_SHELL
34934 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34942 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34943 # uniformly replaced by the line number. The first 'sed' inserts a
34944 # line-number line before each line; the second 'sed' does the real
34945 # work. The second script uses 'N' to pair each line-number line
34946 # with the numbered line, and appends trailing '-' during
34947 # substitution so that $LINENO is not a special case at line end.
34948 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34949 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34950 sed '=' <$as_myself |
34955 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34958 s,^['$as_cr_digits']*\n,,
34959 ' >$as_me.lineno
&&
34960 chmod +x
$as_me.lineno
||
34961 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34962 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34963 { (exit 1); exit 1; }; }
34965 # Don't try to exec as it changes $[0], causing all sort of problems
34966 # (the dirname of $[0] is not the place where we might find the
34967 # original and so on. Autoconf is especially sensible to this).
34969 # Exit status is that of the last command.
34974 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34975 *c
*,-n*) ECHO_N
= ECHO_C
='
34977 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
34978 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
34981 if expr a
: '\(a\)' >/dev
/null
2>&1; then
34987 rm -f conf$$ conf$$.exe conf$$.
file
34989 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34990 # We could just check for DJGPP; but this test a) works b) is more generic
34991 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34992 if test -f conf$$.exe
; then
34993 # Don't use ln at all; we don't have any links
34998 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35003 rm -f conf$$ conf$$.exe conf$$.
file
35005 if mkdir -p .
2>/dev
/null
; then
35011 as_executable_p
="test -f"
35013 # Sed expression to map a string onto a valid CPP name.
35014 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35016 # Sed expression to map a string onto a valid variable name.
35017 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35021 # We need space, tab and new line, in precisely that order.
35031 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35032 # report actual input values of CONFIG_FILES etc. instead of their
35033 # values after options handling. Logging --version etc. is OK.
35037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35038 ## Running $as_me. ##
35043 This file was extended by wxWindows $as_me 2.5.0, which was
35044 generated by GNU Autoconf 2.57. Invocation command line was
35046 CONFIG_FILES = $CONFIG_FILES
35047 CONFIG_HEADERS = $CONFIG_HEADERS
35048 CONFIG_LINKS = $CONFIG_LINKS
35049 CONFIG_COMMANDS = $CONFIG_COMMANDS
35053 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35057 # Files that config.status was made for.
35058 if test -n "$ac_config_files"; then
35059 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35062 if test -n "$ac_config_headers"; then
35063 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35066 if test -n "$ac_config_links"; then
35067 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35070 if test -n "$ac_config_commands"; then
35071 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35074 cat >>$CONFIG_STATUS <<\_ACEOF
35077 \`$as_me' instantiates files from templates according to the
35078 current configuration.
35080 Usage: $0 [OPTIONS] [FILE]...
35082 -h, --help print this help, then exit
35083 -V, --version print version number, then exit
35084 -q, --quiet do not print progress messages
35085 -d, --debug don't remove temporary files
35086 --recheck update $as_me by reconfiguring in the same conditions
35087 --file=FILE[:TEMPLATE]
35088 instantiate the configuration file FILE
35089 --header=FILE[:TEMPLATE]
35090 instantiate the configuration header FILE
35092 Configuration files:
35095 Configuration headers:
35098 Configuration commands:
35101 Report bugs to <bug-autoconf@gnu.org>."
35104 cat >>$CONFIG_STATUS <<_ACEOF
35106 wxWindows config.status 2.5.0
35107 configured by $0, generated by GNU Autoconf 2.57,
35108 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35110 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35111 Free Software Foundation, Inc.
35112 This config.status script is free software; the Free Software Foundation
35113 gives unlimited permission to copy, distribute and modify it."
35118 cat >>$CONFIG_STATUS <<\_ACEOF
35119 # If no file are specified by the user, then we need to provide default
35120 # value. By we need to know if files were specified by the user.
35126 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35127 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35135 *) # This is not an option, so the user has probably given explicit
35138 ac_need_defaults
=false
;;
35142 # Handling of the options.
35144 cat >>$CONFIG_STATUS <<\_ACEOF
35145 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35147 --version | --vers* | -V )
35148 echo "$ac_cs_version"; exit 0 ;;
35150 # Conflict between --help and --header
35151 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35152 Try \`$0 --help' for more information." >&5
35153 echo "$as_me: error: ambiguous option: $1
35154 Try \`$0 --help' for more information." >&2;}
35155 { (exit 1); exit 1; }; };;
35156 --help | --hel | -h )
35157 echo "$ac_cs_usage"; exit 0 ;;
35158 --debug | --d* | -d )
35160 --file | --fil | --fi | --f )
35162 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35163 ac_need_defaults
=false
;;
35164 --header | --heade | --head | --hea )
35166 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35167 ac_need_defaults
=false
;;
35168 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35169 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35172 # This is an error.
35173 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35174 Try \`$0 --help' for more information." >&5
35175 echo "$as_me: error: unrecognized option: $1
35176 Try \`$0 --help' for more information." >&2;}
35177 { (exit 1); exit 1; }; } ;;
35179 *) ac_config_targets
="$ac_config_targets $1" ;;
35185 ac_configure_extra_args
=
35187 if $ac_cs_silent; then
35189 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35193 cat >>$CONFIG_STATUS <<_ACEOF
35194 if \$ac_cs_recheck; then
35195 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35196 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35201 cat >>$CONFIG_STATUS <<_ACEOF
35203 # INIT-COMMANDS section.
35207 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35216 cat >>$CONFIG_STATUS <<\_ACEOF
35217 for ac_config_target
in $ac_config_targets
35219 case "$ac_config_target" in
35220 # Handling of arguments.
35221 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
35222 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
35223 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35224 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
35225 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
35226 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
35227 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35228 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35229 { (exit 1); exit 1; }; };;
35233 # If the user did not use the arguments to specify the items to instantiate,
35234 # then the envvar interface is used. Set only those that are not.
35235 # We use the long form for the default assignment because of an extremely
35236 # bizarre bug on SunOS 4.1.3.
35237 if $ac_need_defaults; then
35238 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35239 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35240 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35243 # Have a temporary directory for convenience. Make it in the build tree
35244 # simply because there is no reason to put it here, and in addition,
35245 # creating and moving files from /tmp can sometimes cause problems.
35246 # Create a temporary directory, and hook for its removal unless debugging.
35249 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35250 trap '{ (exit 1); exit 1; }' 1 2 13 15
35253 # Create a (secure) tmp directory for tmp files.
35256 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35257 test -n "$tmp" && test -d "$tmp"
35260 tmp
=.
/confstat$$
-$RANDOM
35261 (umask 077 && mkdir $tmp)
35264 echo "$me: cannot create a temporary directory in ." >&2
35265 { (exit 1); exit 1; }
35270 cat >>$CONFIG_STATUS <<_ACEOF
35273 # CONFIG_FILES section.
35276 # No need to generate the scripts if there are no CONFIG_FILES.
35277 # This happens for instance when ./config.status config.h
35278 if test -n "\$CONFIG_FILES"; then
35279 # Protect against being on the right side of a sed subst in config.status.
35280 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35281 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35282 s,@SHELL@,$SHELL,;t t
35283 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35284 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35285 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35286 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35287 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35288 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35289 s,@exec_prefix@,$exec_prefix,;t t
35290 s,@prefix@,$prefix,;t t
35291 s,@program_transform_name@,$program_transform_name,;t t
35292 s,@bindir@,$bindir,;t t
35293 s,@sbindir@,$sbindir,;t t
35294 s,@libexecdir@,$libexecdir,;t t
35295 s,@datadir@,$datadir,;t t
35296 s,@sysconfdir@,$sysconfdir,;t t
35297 s,@sharedstatedir@,$sharedstatedir,;t t
35298 s,@localstatedir@,$localstatedir,;t t
35299 s,@libdir@,$libdir,;t t
35300 s,@includedir@,$includedir,;t t
35301 s,@oldincludedir@,$oldincludedir,;t t
35302 s,@infodir@,$infodir,;t t
35303 s,@mandir@,$mandir,;t t
35304 s,@build_alias@,$build_alias,;t t
35305 s,@host_alias@,$host_alias,;t t
35306 s,@target_alias@,$target_alias,;t t
35307 s,@DEFS@,$DEFS,;t t
35308 s,@ECHO_C@,$ECHO_C,;t t
35309 s,@ECHO_N@,$ECHO_N,;t t
35310 s,@ECHO_T@,$ECHO_T,;t t
35311 s,@LIBS@,$LIBS,;t t
35312 s,@build@,$build,;t t
35313 s,@build_cpu@,$build_cpu,;t t
35314 s,@build_vendor@,$build_vendor,;t t
35315 s,@build_os@,$build_os,;t t
35316 s,@host@,$host,;t t
35317 s,@host_cpu@,$host_cpu,;t t
35318 s,@host_vendor@,$host_vendor,;t t
35319 s,@host_os@,$host_os,;t t
35320 s,@target@,$target,;t t
35321 s,@target_cpu@,$target_cpu,;t t
35322 s,@target_vendor@,$target_vendor,;t t
35323 s,@target_os@,$target_os,;t t
35325 s,@CFLAGS@,$CFLAGS,;t t
35326 s,@LDFLAGS@,$LDFLAGS,;t t
35327 s,@CPPFLAGS@,$CPPFLAGS,;t t
35328 s,@ac_ct_CC@,$ac_ct_CC,;t t
35329 s,@EXEEXT@,$EXEEXT,;t t
35330 s,@OBJEXT@,$OBJEXT,;t t
35332 s,@EGREP@,$EGREP,;t t
35334 s,@CXXFLAGS@,$CXXFLAGS,;t t
35335 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35336 s,@RANLIB@,$RANLIB,;t t
35337 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35339 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35340 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35341 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35342 s,@STRIP@,$STRIP,;t t
35343 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35344 s,@YACC@,$YACC,;t t
35346 s,@LEXLIB@,$LEXLIB,;t t
35347 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35348 s,@LN_S@,$LN_S,;t t
35349 s,@CXXCPP@,$CXXCPP,;t t
35350 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35351 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35352 s,@GTK_LIBS@,$GTK_LIBS,;t t
35353 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35354 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35355 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35356 s,@X_CFLAGS@,$X_CFLAGS,;t t
35357 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35358 s,@X_LIBS@,$X_LIBS,;t t
35359 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35360 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35361 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35362 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35363 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35364 s,@RESCOMP@,$RESCOMP,;t t
35365 s,@DEREZ@,$DEREZ,;t t
35366 s,@SETFILE@,$SETFILE,;t t
35367 s,@LIBICONV@,$LIBICONV,;t t
35368 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35369 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35370 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35371 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35372 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35373 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35374 s,@VENDOR@,$VENDOR,;t t
35375 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35376 s,@WXUNIV@,$WXUNIV,;t t
35377 s,@MONOLITHIC@,$MONOLITHIC,;t t
35378 s,@EXTRALIBS@,$EXTRALIBS,;t t
35379 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
35380 s,@UNICODE@,$UNICODE,;t t
35381 s,@BUILD@,$BUILD,;t t
35382 s,@SHARED@,$SHARED,;t t
35383 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35384 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35385 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35386 s,@SET_MAKE@,$SET_MAKE,;t t
35387 s,@MAKE_SET@,$MAKE_SET,;t t
35388 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35389 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35390 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35391 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35392 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35393 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35394 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35395 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35396 s,@DLLPREFIX@,$DLLPREFIX,;t t
35397 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35398 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35399 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35400 s,@PIC_FLAG@,$PIC_FLAG,;t t
35401 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35402 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35403 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35404 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35405 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35406 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35407 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35408 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35409 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35410 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35411 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35412 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35413 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35414 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35415 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35416 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35417 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35418 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35419 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35420 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
35421 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
35422 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35423 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35424 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35425 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35426 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35427 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35428 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35429 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35430 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35431 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35432 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35433 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35434 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35435 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35436 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35437 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35438 s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35439 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35440 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35441 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35442 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35443 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35444 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35445 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35446 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35447 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35448 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35449 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35450 s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35451 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35452 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35453 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35454 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35455 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35456 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35457 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35458 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35459 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35460 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35461 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35462 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35463 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35464 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35465 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35466 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35467 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35468 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35469 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35470 s,@LEX_STEM@,$LEX_STEM,;t t
35471 s,@PATH_IFS@,$PATH_IFS,;t t
35472 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35473 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35474 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35475 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35476 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35477 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35478 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35479 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35480 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35481 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35482 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35483 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35484 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35485 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35486 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35487 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35488 s,@WX_ALL@,$WX_ALL,;t t
35489 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35490 s,@SHARED_LD@,$SHARED_LD,;t t
35491 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35492 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35493 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35494 s,@USE_GUI@,$USE_GUI,;t t
35495 s,@AFMINSTALL@,$AFMINSTALL,;t t
35496 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35497 s,@TOOLKIT@,$TOOLKIT,;t t
35498 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35499 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35500 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35501 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35502 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35503 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35504 s,@cross_compiling@,$cross_compiling,;t t
35505 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35506 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35507 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35508 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35509 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35510 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35511 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35512 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35513 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35514 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35515 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35516 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35517 s,@GUIDIST@,$GUIDIST,;t t
35518 s,@PORT_FILES@,$PORT_FILES,;t t
35519 s,@DISTDIR@,$DISTDIR,;t t
35520 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35521 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35522 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35523 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35524 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35525 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35526 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35527 s,@RESFLAGS@,$RESFLAGS,;t t
35528 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35529 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35530 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35531 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35532 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35533 s,@MACRESCOMP@,$MACRESCOMP,;t t
35534 s,@MACSETFILE@,$MACSETFILE,;t t
35535 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35537 s,@DLLTOOL@,$DLLTOOL,;t t
35541 s,@MAKEINFO@,$MAKEINFO,;t t
35542 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35543 s,@ESD_LINK@,$ESD_LINK,;t t
35544 s,@LIBOBJS@,$LIBOBJS,;t t
35545 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35550 cat >>$CONFIG_STATUS <<\_ACEOF
35551 # Split the substitutions into bite-sized pieces for seds with
35552 # small command number limits, like on Digital OSF/1 and HP-UX.
35553 ac_max_sed_lines
=48
35554 ac_sed_frag
=1 # Number of current file.
35555 ac_beg
=1 # First line for current file.
35556 ac_end
=$ac_max_sed_lines # Line after last line for current file.
35559 while $ac_more_lines; do
35560 if test $ac_beg -gt 1; then
35561 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35563 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35565 if test ! -s $tmp/subs.frag
; then
35566 ac_more_lines
=false
35568 # The purpose of the label and of the branching condition is to
35569 # speed up the sed processing (if there are no `@' at all, there
35570 # is no need to browse any of the substitutions).
35571 # These are the two extra sed commands mentioned above.
35573 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
35574 if test -z "$ac_sed_cmds"; then
35575 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
35577 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35579 ac_sed_frag
=`expr $ac_sed_frag + 1`
35581 ac_end
=`expr $ac_end + $ac_max_sed_lines`
35584 if test -z "$ac_sed_cmds"; then
35587 fi # test -n "$CONFIG_FILES"
35590 cat >>$CONFIG_STATUS <<\_ACEOF
35591 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
35592 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35594 - | *:- | *:-:* ) # input from stdin
35596 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35597 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35598 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35599 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35600 * ) ac_file_in
=$ac_file.
in ;;
35603 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35604 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35605 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35606 X"$ac_file" : 'X\(//\)[^/]' \| \
35607 X"$ac_file" : 'X\(//\)$' \| \
35608 X"$ac_file" : 'X\(/\)' \| \
35609 . : '\(.\)' 2>/dev/null ||
35611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35612 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35613 /^X\(\/\/\)$/{ s//\1/; q; }
35614 /^X\(\/\).*/{ s//\1/; q; }
35616 { if $as_mkdir_p; then
35621 while test ! -d "$as_dir"; do
35622 as_dirs
="$as_dir $as_dirs"
35623 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35625 X"$as_dir" : 'X\(//\)[^/]' \| \
35626 X"$as_dir" : 'X\(//\)$' \| \
35627 X"$as_dir" : 'X\(/\)' \| \
35628 . : '\(.\)' 2>/dev/null ||
35630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35631 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35632 /^X\(\/\/\)$/{ s//\1/; q; }
35633 /^X\(\/\).*/{ s//\1/; q; }
35636 test ! -n "$as_dirs" || mkdir $as_dirs
35637 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35638 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35639 { (exit 1); exit 1; }; }; }
35643 if test "$ac_dir" != .
; then
35644 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35645 # A "../" for each directory in $ac_dir_suffix.
35646 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35648 ac_dir_suffix
= ac_top_builddir
=
35652 .
) # No --srcdir option. We are building in place.
35654 if test -z "$ac_top_builddir"; then
35657 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
35659 [\\/]* | ?
:[\\/]* ) # Absolute path.
35660 ac_srcdir
=$srcdir$ac_dir_suffix;
35661 ac_top_srcdir
=$srcdir ;;
35662 *) # Relative path.
35663 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
35664 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
35666 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35668 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
35669 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35670 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35671 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35675 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35676 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
35679 if test x
"$ac_file" != x
-; then
35680 { echo "$as_me:$LINENO: creating $ac_file" >&5
35681 echo "$as_me: creating $ac_file" >&6;}
35684 # Let's still pretend it is `configure' which instantiates (i.e., don't
35685 # use $as_me), people would be surprised to read:
35686 # /* config.h. Generated by config.status. */
35687 if test x
"$ac_file" = x
-; then
35690 configure_input
="$ac_file. "
35692 configure_input
=$configure_input"Generated from `echo $ac_file_in |
35693 sed 's,.*/,,'` by configure."
35695 # First look for the input files in the build tree, otherwise in the
35697 ac_file_inputs
=`IFS=:
35698 for f in $ac_file_in; do
35700 -) echo $tmp/stdin ;;
35702 # Absolute (can't be DOS-style, as IFS=:)
35703 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35704 echo "$as_me: error: cannot find input file: $f" >&2;}
35705 { (exit 1); exit 1; }; }
35708 if test -f "$f"; then
35711 elif test -f "$srcdir/$f"; then
35716 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35717 echo "$as_me: error: cannot find input file: $f" >&2;}
35718 { (exit 1); exit 1; }; }
35721 done` || { (exit 1); exit 1; }
35723 cat >>$CONFIG_STATUS <<_ACEOF
35727 cat >>$CONFIG_STATUS <<\_ACEOF
35729 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
35730 s
,@configure_input@
,$configure_input,;t t
35731 s
,@srcdir@
,$ac_srcdir,;t t
35732 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
35733 s
,@top_srcdir@
,$ac_top_srcdir,;t t
35734 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
35735 s
,@builddir@
,$ac_builddir,;t t
35736 s
,@abs_builddir@
,$ac_abs_builddir,;t t
35737 s
,@top_builddir@
,$ac_top_builddir,;t t
35738 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
35739 s
,@INSTALL@
,$ac_INSTALL,;t t
35740 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35742 if test x"$ac_file" != x-; then
35743 mv $tmp/out $ac_file
35751 cat >>$CONFIG_STATUS <<\_ACEOF
35754 # CONFIG_HEADER section.
35757 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
35758 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35760 # ac_d sets the value in "#define NAME VALUE" lines.
35761 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35762 ac_dB
='[ ].*$,\1#\2'
35765 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35766 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35767 ac_uB
='$,\1#\2define\3'
35771 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
35772 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35774 - | *:- | *:-:* ) # input from stdin
35776 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35777 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35778 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35779 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35780 * ) ac_file_in
=$ac_file.
in ;;
35783 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35784 echo "$as_me: creating $ac_file" >&6;}
35786 # First look for the input files in the build tree, otherwise in the
35788 ac_file_inputs
=`IFS=:
35789 for f in $ac_file_in; do
35791 -) echo $tmp/stdin ;;
35793 # Absolute (can't be DOS-style, as IFS=:)
35794 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35795 echo "$as_me: error: cannot find input file: $f" >&2;}
35796 { (exit 1); exit 1; }; }
35799 if test -f "$f"; then
35802 elif test -f "$srcdir/$f"; then
35807 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35808 echo "$as_me: error: cannot find input file: $f" >&2;}
35809 { (exit 1); exit 1; }; }
35812 done` || { (exit 1); exit 1; }
35813 # Remove the trailing spaces.
35814 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35818 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35819 # `conftest.undefs', that substitutes the proper values into
35820 # config.h.in to produce config.h. The first handles `#define'
35821 # templates, and the second `#undef' templates.
35822 # And first: Protect against being on the right side of a sed subst in
35823 # config.status. Protect against being in an unquoted here document
35824 # in config.status.
35825 rm -f conftest.defines conftest.undefs
35826 # Using a here document instead of a string reduces the quoting nightmare.
35827 # Putting comments in sed scripts is not portable.
35829 # `end' is used to avoid that the second main sed command (meant for
35830 # 0-ary CPP macros) applies to n-ary macro definitions.
35831 # See the Autoconf documentation for `clear'.
35832 cat >confdef2sed.
sed <<\_ACEOF
35837 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35839 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35842 # If some macros were called several times there might be several times
35843 # the same #defines, which is useless. Nevertheless, we may not want to
35844 # sort them, since we want the *last* AC-DEFINE to be honored.
35845 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35846 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35847 rm -f confdef2sed.sed
35849 # This sed command replaces #undef with comments. This is necessary, for
35850 # example, in the case of _POSIX_SOURCE, which is predefined and required
35851 # on some systems where configure will not decide to define it.
35852 cat >>conftest.undefs <<\_ACEOF
35853 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35856 # Break up conftest.defines because some shells have a limit on the size
35857 # of here documents, and old seds have small limits too (100 cmds).
35858 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35859 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35860 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35861 echo ' :' >>$CONFIG_STATUS
35862 rm -f conftest.tail
35863 while grep . conftest.defines >/dev/null
35865 # Write a limited-size here document to $tmp/defines.sed.
35866 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35867 # Speed up: don't consider the non `#define' lines.
35868 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35869 # Work around the forget-to-reset-the-flag bug.
35870 echo 't clr' >>$CONFIG_STATUS
35871 echo ': clr' >>$CONFIG_STATUS
35872 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
35874 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35876 mv $tmp/out $tmp/in
35878 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
35879 rm -f conftest.defines
35880 mv conftest.
tail conftest.defines
35882 rm -f conftest.defines
35883 echo ' fi # grep' >>$CONFIG_STATUS
35884 echo >>$CONFIG_STATUS
35886 # Break up conftest.undefs because some shells have a limit on the size
35887 # of here documents, and old seds have small limits too (100 cmds).
35888 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35889 rm -f conftest.
tail
35890 while grep . conftest.undefs
>/dev
/null
35892 # Write a limited-size here document to $tmp/undefs.sed.
35893 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35894 # Speed up: don't consider the non
`#undef'
35895 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35896 # Work around the forget-to-reset-the-flag bug.
35897 echo 't clr' >>$CONFIG_STATUS
35898 echo ': clr' >>$CONFIG_STATUS
35899 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35901 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35903 mv $tmp/out $tmp/in
35905 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35906 rm -f conftest.undefs
35907 mv conftest.tail conftest.undefs
35909 rm -f conftest.undefs
35911 cat >>$CONFIG_STATUS <<\_ACEOF
35912 # Let's still pretend it is `configure
' which instantiates (i.e., don't
35913 # use $as_me), people would be surprised to read:
35914 # /* config.h. Generated by config.status. */
35915 if test x
"$ac_file" = x
-; then
35916 echo "/* Generated by configure. */" >$tmp/config.h
35918 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35920 cat $tmp/in >>$tmp/config.h
35922 if test x
"$ac_file" != x
-; then
35923 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
35924 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35925 echo "$as_me: $ac_file is unchanged" >&6;}
35927 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35928 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35929 X"$ac_file" : 'X\(//\)[^/]' \| \
35930 X"$ac_file" : 'X\(//\)$' \| \
35931 X"$ac_file" : 'X\(/\)' \| \
35932 . : '\(.\)' 2>/dev/null ||
35934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35935 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35936 /^X\(\/\/\)$/{ s//\1/; q; }
35937 /^X\(\/\).*/{ s//\1/; q; }
35939 { if $as_mkdir_p; then
35944 while test ! -d "$as_dir"; do
35945 as_dirs
="$as_dir $as_dirs"
35946 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35947 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35948 X"$as_dir" : 'X\(//\)[^/]' \| \
35949 X"$as_dir" : 'X\(//\)$' \| \
35950 X"$as_dir" : 'X\(/\)' \| \
35951 . : '\(.\)' 2>/dev/null ||
35953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35955 /^X\(\/\/\)$/{ s//\1/; q; }
35956 /^X\(\/\).*/{ s//\1/; q; }
35959 test ! -n "$as_dirs" || mkdir $as_dirs
35960 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35961 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35962 { (exit 1); exit 1; }; }; }
35965 mv $tmp/config.h
$ac_file
35969 rm -f $tmp/config.h
35973 cat >>$CONFIG_STATUS <<\_ACEOF
35976 # CONFIG_COMMANDS section.
35978 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
35979 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
35980 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35981 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
35982 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35983 X"$ac_dest" : 'X\(//\)[^/]' \| \
35984 X"$ac_dest" : 'X\(//\)$' \| \
35985 X"$ac_dest" : 'X\(/\)' \| \
35986 . : '\(.\)' 2>/dev/null ||
35988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35989 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35990 /^X\(\/\/\)$/{ s//\1/; q; }
35991 /^X\(\/\).*/{ s//\1/; q; }
35995 if test "$ac_dir" != .
; then
35996 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35997 # A "../" for each directory in $ac_dir_suffix.
35998 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36000 ac_dir_suffix
= ac_top_builddir
=
36004 .
) # No --srcdir option. We are building in place.
36006 if test -z "$ac_top_builddir"; then
36009 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36011 [\\/]* | ?
:[\\/]* ) # Absolute path.
36012 ac_srcdir
=$srcdir$ac_dir_suffix;
36013 ac_top_srcdir
=$srcdir ;;
36014 *) # Relative path.
36015 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36016 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36018 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36020 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36021 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36022 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36023 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36026 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36027 echo "$as_me: executing $ac_dest commands" >&6;}
36030 if test ! -h wx
-config; then
36032 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36033 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36036 if test ! -d lib
; then
36039 if test ! -d lib
/wx
; then
36042 if test ! -d lib
/wx
/include
; then
36043 mkdir lib
/wx
/include
36045 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36046 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36048 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36049 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36051 if test -f setup.h
; then
36052 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36059 cat >>$CONFIG_STATUS <<\_ACEOF
36061 { (exit 0); exit 0; }
36063 chmod +x
$CONFIG_STATUS
36064 ac_clean_files
=$ac_clean_files_save
36067 # configure is writing to config.log, and then calls config.status.
36068 # config.status does its own redirection, appending to config.log.
36069 # Unfortunately, on DOS this fails, as config.log is still kept open
36070 # by configure, so config.status won't be able to write to it; its
36071 # output is simply discarded. So we exec the FD to /dev/null,
36072 # effectively closing config.log, so it can be properly (re)opened and
36073 # appended to by config.status. When coming back to configure, we
36074 # need to make the FD available again.
36075 if test "$no_create" != yes; then
36077 ac_config_status_args
=
36078 test "$silent" = yes &&
36079 ac_config_status_args
="$ac_config_status_args --quiet"
36081 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36083 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36084 # would make configure fail if this is the last instruction.
36085 $ac_cs_success || { (exit 1); exit 1; }
36090 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36092 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36093 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36095 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36096 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36097 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36099 echo " What level of wxWindows compatibility should be enabled?"
36100 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36101 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36102 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36104 echo " Which libraries should wxWindows use?"
36105 echo " jpeg ${wxUSE_LIBJPEG-none}"
36106 echo " png ${wxUSE_LIBPNG-none}"
36107 echo " regex ${wxUSE_REGEX}"
36108 echo " tiff ${wxUSE_LIBTIFF-none}"
36109 echo " zlib ${wxUSE_ZLIB}"
36110 echo " odbc ${wxUSE_ODBC}"